Home
last modified time | relevance | path

Searched refs:strLen (Results 1 – 25 of 2141) sorted by relevance

12345678910>>...86

/dports/security/cryptlib/cryptlib-3.4.3/misc/
H A Dint_string.c31 REQUIRES( strLen > 0 && strLen < MAX_INTLENGTH_SHORT ); in strFindCh()
55 REQUIRES( strLen > 0 && strLen < MAX_INTLENGTH_SHORT ); in strFindStr()
77 REQUIRES( strLen > 0 && strLen < MAX_INTLENGTH_SHORT ); in strSkipWhitespace()
91 REQUIRES( strLen > 0 && strLen < MAX_INTLENGTH_SHORT ); in strSkipNonWhitespace()
110 REQUIRES( strLen > 0 && strLen < MAX_INTLENGTH_SHORT ); in strStripWhitespace()
172 REQUIRES( strLen > 0 && strLen < MAX_INTLENGTH_SHORT ); in strExtract()
205 REQUIRES( strLen > 0 && strLen < MAX_INTLENGTH_SHORT ); in IN_BUFFER()
213 if( strLen < 1 || strLen > 7 ) in IN_BUFFER()
270 REQUIRES( strLen > 0 && strLen < MAX_INTLENGTH_SHORT ); in IN_BUFFER()
279 if( strLen < 1 || strLen > strMaxLen ) in IN_BUFFER()
[all …]
/dports/security/cryptlib/cryptlib-3.4.3/io/
H A Dnet_url.c222 if( strLen < MIN_DNS_SIZE || strLen >= MAX_URL_SIZE ) in parseURL()
235 strLen = strExtract( &strPtr, strPtr, offset, strLen ); in parseURL()
236 if( strLen < MIN_DNS_SIZE || strLen > MAX_URL_SIZE ) in parseURL()
262 strLen = strExtract( &strPtr, strPtr, offset + 1, strLen ); in parseURL()
263 if( strLen < MIN_DNS_SIZE || strLen > MAX_URL_SIZE ) in parseURL()
349 strLen = strExtract( &strPtr, strPtr, offset, strLen ); in parseURL()
357 if( strLen < 3 || strLen > MAX_URL_SIZE ) in parseURL()
366 strLen = strExtract( &strPtr, strPtr, 1, strLen ); in parseURL()
367 if( strLen < 2 || strLen > MAX_URL_SIZE ) in parseURL()
390 strLen = strExtract( &strPtr, strPtr, portStrLen, strLen ); in parseURL()
[all …]
/dports/lang/mono/mono-5.10.1.57/mcs/class/referencesource/mscorlib/system/globalization/
H A Dtextelementenumerator.cs47 internal TextElementEnumerator(String str, int startIndex, int strLen) in TextElementEnumerator() argument
50 …Contract.Assert(startIndex >= 0 && strLen >= 0, "TextElementEnumerator(): startIndex >= 0 && strLe… in TextElementEnumerator()
51 Contract.Assert(strLen >= startIndex, "TextElementEnumerator(): strLen >= startIndex"); in TextElementEnumerator()
54 this.strLen = strLen; in TextElementEnumerator()
73 strLen = endIndex + 1; in OnDeserialized()
85 endIndex = strLen - 1; in OnSerializing()
95 if (index >= strLen) in MoveNext()
98 index = strLen + 1; in MoveNext()
101 … currTextElementLen = StringInfo.GetCurrentTextElementLen(str, index, strLen, ref uc, ref charLen); in MoveNext()
125 if (index > strLen) { in GetTextElement()
[all …]
/dports/cad/digital/Digital-0.27/src/test/java/de/neemann/digital/core/
H A DIntFormatTest.java176 assertEquals(6, vf.strLen(16)); in testStrLen()
188 assertEquals(3, vf.strLen(8)); in testStrLen()
189 assertEquals(3, vf.strLen(9)); in testStrLen()
198 assertEquals(4, vf.strLen(8)); in testStrLen()
199 assertEquals(4, vf.strLen(9)); in testStrLen()
207 assertEquals(4, vf.strLen(4)); in testStrLen()
208 assertEquals(4, vf.strLen(5)); in testStrLen()
209 assertEquals(4, vf.strLen(6)); in testStrLen()
210 assertEquals(5, vf.strLen(7)); in testStrLen()
211 assertEquals(5, vf.strLen(8)); in testStrLen()
[all …]
/dports/security/yubikey-personalization-gui/yubikey-personalization-gui-yubikey-personalization-gui-3.1.25/lib/
H A Dyubikeyutil.cpp41 const char *str, size_t strLen, in hexModhexDecode() argument
45 if ((strLen % 2 != 0) || (strLen < minSize) || (strLen > maxSize)) { in hexModhexDecode()
50 *resultLen = strLen / 2; in hexModhexDecode()
70 *resultLen = strLen * 2; in hexModhexEncode()
75 yubikey_hex_encode((char *)result, (char *)str, strLen); in hexModhexEncode()
83 char result[strLen * 2 + 1]; in qstrHexEncode()
116 char result[strLen * 2 + 1]; in qstrModhexEncode()
168 size_t strLen = strByteArr.size() + 1; in qstrToRaw() local
169 strLen = (resultLen < strLen)? resultLen : strLen; in qstrToRaw()
171 memset(result, 0, strLen); in qstrToRaw()
[all …]
/dports/devel/liblognorm/liblognorm-2.0.6/src/
H A Dv1_parser.c650 if( i+7 > strLen
1887 if(i + 2 > strLen)
2142 if(i+5 > strLen)
2327 if(*offs == strLen)
2507 while(i < strLen) {
2529 while(i < strLen) {
2704 *parsed = strLen;
2736 while(i < strLen) {
2752 while(i < strLen) {
2868 if(i < strLen) {
[all …]
/dports/java/apache-commons-lang/commons-lang-2.6-src/src/main/java/org/apache/commons/lang/text/
H A DStrBuilder.java477 if (strLen > 0) { in append()
481 size += strLen; in append()
526 if (strLen > 0) { in append()
530 size += strLen; in append()
575 if (strLen > 0) { in append()
579 size += strLen; in append()
624 if (strLen > 0) { in append()
628 size += strLen; in append()
1247 str.getChars(strLen - width, strLen, buffer, size); in appendFixedWidthPadLeft()
1353 if (strLen > 0) { in insert()
[all …]
/dports/games/minetest/minetest-5.4.1/src/network/
H A Dnetworkpacket.cpp107 if (strLen == 0) { in operator >>()
111 checkReadOffset(m_read_offset, strLen); in operator >>()
113 dst.reserve(strLen); in operator >>()
116 m_read_offset += strLen; in operator >>()
158 if (strLen == 0) { in operator >>()
164 dst.reserve(strLen); in operator >>()
165 for (u16 i = 0; i < strLen; i++) { in operator >>()
227 if (strLen == 0) { in readLongString()
231 if (strLen > LONG_STRING_MAX_LEN) { in readLongString()
239 dst.reserve(strLen); in readLongString()
[all …]
/dports/sysutils/isomaster/isomaster-1.3.16/
H A Dfsbrowser.c502 int strLen = strlen(name); in fsRowDblClickCbk() local
504 if( (name[strLen - 4] == '.' && in fsRowDblClickCbk()
505 (name[strLen - 3] == 'i' || name[strLen - 3] == 'I') && in fsRowDblClickCbk()
506 (name[strLen - 2] == 's' || name[strLen - 2] == 'S') && in fsRowDblClickCbk()
507 (name[strLen - 1] == 'o' || name[strLen - 1] == 'O')) in fsRowDblClickCbk()
510 (name[strLen - 3] == 'n' || name[strLen - 3] == 'N') && in fsRowDblClickCbk()
511 (name[strLen - 2] == 'r' || name[strLen - 2] == 'R') && in fsRowDblClickCbk()
512 (name[strLen - 1] == 'g' || name[strLen - 1] == 'G')) in fsRowDblClickCbk()
515 (name[strLen - 3] == 'm' || name[strLen - 3] == 'M') && in fsRowDblClickCbk()
516 (name[strLen - 2] == 'd' || name[strLen - 2] == 'D') && in fsRowDblClickCbk()
[all …]
/dports/www/firefox-legacy/firefox-52.8.0esr/js/src/jsapi-tests/
H A DtestSourcePolicy.cpp14 const size_t strLen = 60002; in BEGIN_TEST() local
15 char* s = static_cast<char*>(JS_malloc(cx, strLen)); in BEGIN_TEST()
19 memset(s + 1, 'x', strLen - 2); in BEGIN_TEST()
20 s[strLen - 1] = '"'; in BEGIN_TEST()
26 CHECK(JS::Evaluate(cx, opts, s, strLen, &unused)); in BEGIN_TEST()
35 CHECK(JS::CompileFunction(cx, emptyScopeChain, opts, "f", 0, nullptr, s, strLen, &fun)); in BEGIN_TEST()
/dports/lang/spidermonkey60/firefox-60.9.0/js/src/jsapi-tests/
H A DtestSourcePolicy.cpp12 const size_t strLen = 60002; in BEGIN_TEST() local
13 char* s = static_cast<char*>(JS_malloc(cx, strLen)); in BEGIN_TEST()
17 memset(s + 1, 'x', strLen - 2); in BEGIN_TEST()
18 s[strLen - 1] = '"'; in BEGIN_TEST()
24 CHECK(JS::Evaluate(cx, opts, s, strLen, &unused)); in BEGIN_TEST()
34 strLen, &fun)); in BEGIN_TEST()
/dports/java/apache-commons-lang/commons-lang-2.6-src/src/main/java/org/apache/commons/lang/
H A DWordUtils.java280 int strLen = str.length(); in capitalize() local
281 StringBuffer buffer = new StringBuffer(strLen); in capitalize()
283 for (int i = 0; i < strLen; i++) { in capitalize()
410 int strLen = str.length(); in uncapitalize() local
411 StringBuffer buffer = new StringBuffer(strLen); in uncapitalize()
413 for (int i = 0; i < strLen; i++) { in uncapitalize()
453 int strLen; in swapCase() local
463 for (int i = 0; i < strLen; i++) { in swapCase()
545 int strLen = str.length(); in initials() local
546 char[] buf = new char[strLen / 2 + 1]; in initials()
[all …]
/dports/databases/mariadb105-client/mariadb-10.5.15/storage/columnstore/columnstore/utils/funcexp/
H A Dfunc_substring_index.cpp58 int64_t strLen = str.length(); in getStrVal() local
69 if (strLen == 0 || delimLen == 0 || count == 0) in getStrVal()
72 if (count > strLen) in getStrVal()
75 if ((count < 0) && ((count * -1) > strLen)) in getStrVal()
84 const char* srcEnd = src + strLen; in getStrVal()
169 int64_t end = strLen; in getStrVal()
185 int pointer = strLen; in getStrVal()
194 if ( count > strLen ) in getStrVal()
204 value = str.substr(start, strLen); in getStrVal()
/dports/databases/mariadb105-server/mariadb-10.5.15/storage/columnstore/columnstore/utils/funcexp/
H A Dfunc_substring_index.cpp58 int64_t strLen = str.length(); in getStrVal() local
69 if (strLen == 0 || delimLen == 0 || count == 0) in getStrVal()
72 if (count > strLen) in getStrVal()
75 if ((count < 0) && ((count * -1) > strLen)) in getStrVal()
84 const char* srcEnd = src + strLen; in getStrVal()
169 int64_t end = strLen; in getStrVal()
185 int pointer = strLen; in getStrVal()
194 if ( count > strLen ) in getStrVal()
204 value = str.substr(start, strLen); in getStrVal()
/dports/net/wireshark-lite/wireshark-3.6.1/epan/dissectors/
H A Dpacket-netgear-ensemble.c47 guint strLen=0; in dissect_nge_esemble() local
79 …ret_length(ensemble_tree, hf_nge_ensemble_name, tvb, offset, 4, ENC_ASCII|ENC_BIG_ENDIAN, &strLen); in dissect_nge_esemble()
80 offset += strLen; in dissect_nge_esemble()
82 …ret_length(ensemble_tree, hf_nge_firmware_name, tvb, offset, 4, ENC_ASCII|ENC_BIG_ENDIAN, &strLen); in dissect_nge_esemble()
83 offset += strLen; in dissect_nge_esemble()
85 …m_ret_length(ensemble_tree, hf_nge_region_name, tvb, offset, 4, ENC_ASCII|ENC_BIG_ENDIAN, &strLen); in dissect_nge_esemble()
86 offset += strLen; in dissect_nge_esemble()
92 …_length(ensemble_tree, hf_nge_firmware_version, tvb, offset, 4, ENC_ASCII|ENC_BIG_ENDIAN, &strLen); in dissect_nge_esemble()
93 offset += strLen; in dissect_nge_esemble()
102 …_item_ret_length(ensemble_tree, hf_nge_ap_name, tvb, offset, 4, ENC_ASCII|ENC_BIG_ENDIAN, &strLen); in dissect_nge_esemble()
[all …]
/dports/net/wireshark/wireshark-3.6.1/epan/dissectors/
H A Dpacket-netgear-ensemble.c47 guint strLen=0; in dissect_nge_esemble() local
79 …ret_length(ensemble_tree, hf_nge_ensemble_name, tvb, offset, 4, ENC_ASCII|ENC_BIG_ENDIAN, &strLen); in dissect_nge_esemble()
80 offset += strLen; in dissect_nge_esemble()
82 …ret_length(ensemble_tree, hf_nge_firmware_name, tvb, offset, 4, ENC_ASCII|ENC_BIG_ENDIAN, &strLen); in dissect_nge_esemble()
83 offset += strLen; in dissect_nge_esemble()
85 …m_ret_length(ensemble_tree, hf_nge_region_name, tvb, offset, 4, ENC_ASCII|ENC_BIG_ENDIAN, &strLen); in dissect_nge_esemble()
86 offset += strLen; in dissect_nge_esemble()
92 …_length(ensemble_tree, hf_nge_firmware_version, tvb, offset, 4, ENC_ASCII|ENC_BIG_ENDIAN, &strLen); in dissect_nge_esemble()
93 offset += strLen; in dissect_nge_esemble()
102 …_item_ret_length(ensemble_tree, hf_nge_ap_name, tvb, offset, 4, ENC_ASCII|ENC_BIG_ENDIAN, &strLen); in dissect_nge_esemble()
[all …]
/dports/net/tshark-lite/wireshark-3.6.1/epan/dissectors/
H A Dpacket-netgear-ensemble.c47 guint strLen=0; in dissect_nge_esemble() local
79 …ret_length(ensemble_tree, hf_nge_ensemble_name, tvb, offset, 4, ENC_ASCII|ENC_BIG_ENDIAN, &strLen); in dissect_nge_esemble()
80 offset += strLen; in dissect_nge_esemble()
82 …ret_length(ensemble_tree, hf_nge_firmware_name, tvb, offset, 4, ENC_ASCII|ENC_BIG_ENDIAN, &strLen); in dissect_nge_esemble()
83 offset += strLen; in dissect_nge_esemble()
85 …m_ret_length(ensemble_tree, hf_nge_region_name, tvb, offset, 4, ENC_ASCII|ENC_BIG_ENDIAN, &strLen); in dissect_nge_esemble()
86 offset += strLen; in dissect_nge_esemble()
92 …_length(ensemble_tree, hf_nge_firmware_version, tvb, offset, 4, ENC_ASCII|ENC_BIG_ENDIAN, &strLen); in dissect_nge_esemble()
93 offset += strLen; in dissect_nge_esemble()
102 …_item_ret_length(ensemble_tree, hf_nge_ap_name, tvb, offset, 4, ENC_ASCII|ENC_BIG_ENDIAN, &strLen); in dissect_nge_esemble()
[all …]
/dports/net/tshark/wireshark-3.6.1/epan/dissectors/
H A Dpacket-netgear-ensemble.c47 guint strLen=0; in dissect_nge_esemble() local
79 …ret_length(ensemble_tree, hf_nge_ensemble_name, tvb, offset, 4, ENC_ASCII|ENC_BIG_ENDIAN, &strLen); in dissect_nge_esemble()
80 offset += strLen; in dissect_nge_esemble()
82 …ret_length(ensemble_tree, hf_nge_firmware_name, tvb, offset, 4, ENC_ASCII|ENC_BIG_ENDIAN, &strLen); in dissect_nge_esemble()
83 offset += strLen; in dissect_nge_esemble()
85 …m_ret_length(ensemble_tree, hf_nge_region_name, tvb, offset, 4, ENC_ASCII|ENC_BIG_ENDIAN, &strLen); in dissect_nge_esemble()
86 offset += strLen; in dissect_nge_esemble()
92 …_length(ensemble_tree, hf_nge_firmware_version, tvb, offset, 4, ENC_ASCII|ENC_BIG_ENDIAN, &strLen); in dissect_nge_esemble()
93 offset += strLen; in dissect_nge_esemble()
102 …_item_ret_length(ensemble_tree, hf_nge_ap_name, tvb, offset, 4, ENC_ASCII|ENC_BIG_ENDIAN, &strLen); in dissect_nge_esemble()
[all …]
/dports/multimedia/intel-media-sdk/MediaSDK-intel-mediasdk-22.1.0/_studio/mfx_lib/shared/src/
H A Dmfx_log.cpp155 void AddString(const char *pStr, size_t strLen) in AddString() argument
172 AddStringSafe(pStr, strLen); in AddString()
218 void AddStringSafe(const char *pStr, size_t strLen) in AddStringSafe() argument
222 (strLen > MFX_LOG_DEF_SIZE)) in AddStringSafe()
232 copySize = (m_bufSize < strLen) ? (m_bufSize) : (strLen); in AddStringSafe()
237 strLen -= copySize; in AddStringSafe()
245 } while (strLen); in AddStringSafe()
374 size_t strLen; in mfxLogWriteA() local
384 strLen = vsprintf(cStr, pString, argList); in mfxLogWriteA()
386 pLog->AddString(cStr, strLen); in mfxLogWriteA()
/dports/java/openjdk11/jdk11u-jdk-11.0.13-8-1/src/java.desktop/share/classes/com/sun/imageio/plugins/common/
H A DLZWStringTable.java60 int[] strLen; field in LZWStringTable
68 strLen = new int[MAXSTR]; in LZWStringTable()
95 strLen[numStrings] = 1; in addCharString()
98 strLen[numStrings] = strLen[index] + 1; in addCharString()
176 skipHead == strLen[code]) // DONE no more unpacked in expandCode()
182 int codeLen = strLen[code] - skipHead; // length of expanded code left in expandCode()
215 + " strLen " + Integer.toHexString(strLen[i])); in dump()
/dports/java/openjdk13/jdk13u-jdk-13.0.10-1-1/src/java.desktop/share/classes/com/sun/imageio/plugins/common/
H A DLZWStringTable.java60 int[] strLen; field in LZWStringTable
68 strLen = new int[MAXSTR]; in LZWStringTable()
95 strLen[numStrings] = 1; in addCharString()
98 strLen[numStrings] = strLen[index] + 1; in addCharString()
176 skipHead == strLen[code]) // DONE no more unpacked in expandCode()
182 int codeLen = strLen[code] - skipHead; // length of expanded code left in expandCode()
215 + " strLen " + Integer.toHexString(strLen[i])); in dump()
/dports/java/openjdk11-jre/jdk11u-jdk-11.0.13-8-1/src/java.desktop/share/classes/com/sun/imageio/plugins/common/
H A DLZWStringTable.java60 int[] strLen; field in LZWStringTable
68 strLen = new int[MAXSTR]; in LZWStringTable()
95 strLen[numStrings] = 1; in addCharString()
98 strLen[numStrings] = strLen[index] + 1; in addCharString()
176 skipHead == strLen[code]) // DONE no more unpacked in expandCode()
182 int codeLen = strLen[code] - skipHead; // length of expanded code left in expandCode()
215 + " strLen " + Integer.toHexString(strLen[i])); in dump()
/dports/java/openjdk8/jdk8u-jdk8u312-b07.1/jdk/src/share/classes/com/sun/imageio/plugins/common/
H A DLZWStringTable.java60 int[] strLen; field in LZWStringTable
68 strLen = new int[MAXSTR]; in LZWStringTable()
95 strLen[numStrings] = 1; in addCharString()
98 strLen[numStrings] = strLen[index] + 1; in addCharString()
176 skipHead == strLen[code]) // DONE no more unpacked in expandCode()
182 int codeLen = strLen[code] - skipHead; // length of expanded code left in expandCode()
215 + " strLen " + Integer.toHexString(strLen[i])); in dump()
/dports/java/openjdk12/openjdk-jdk12u-jdk-12.0.2-10-4/src/java.desktop/share/classes/com/sun/imageio/plugins/common/
H A DLZWStringTable.java60 int[] strLen; field in LZWStringTable
68 strLen = new int[MAXSTR]; in LZWStringTable()
95 strLen[numStrings] = 1; in addCharString()
98 strLen[numStrings] = strLen[index] + 1; in addCharString()
176 skipHead == strLen[code]) // DONE no more unpacked in expandCode()
182 int codeLen = strLen[code] - skipHead; // length of expanded code left in expandCode()
215 + " strLen " + Integer.toHexString(strLen[i])); in dump()
/dports/java/openjdk16/jdk16u-jdk-16.0.2-7-1/src/java.desktop/share/classes/com/sun/imageio/plugins/common/
H A DLZWStringTable.java60 int[] strLen; field in LZWStringTable
68 strLen = new int[MAXSTR]; in LZWStringTable()
95 strLen[numStrings] = 1; in addCharString()
98 strLen[numStrings] = strLen[index] + 1; in addCharString()
176 skipHead == strLen[code]) // DONE no more unpacked in expandCode()
182 int codeLen = strLen[code] - skipHead; // length of expanded code left in expandCode()
215 + " strLen " + Integer.toHexString(strLen[i])); in dump()

12345678910>>...86