Home
last modified time | relevance | path

Searched refs:srcLen (Results 1 - 25 of 84) sorted by relevance

1234

/third_party/icu/icu4c/source/test/perf/normperf/
H A Dnormperf.h32 typedef int32_t (*NormFn)(const UChar* src,int32_t srcLen, UChar* dest,int32_t dstLen, int32_t options, UErrorCode* status);
33 typedef int32_t (*QuickCheckFn)(const UChar* src,int32_t srcLen, UNormalizationMode mode, int32_t options, UErrorCode* status);
44 int32_t srcLen; member in QuickCheckPerfFunction
63 retVal = (*fn)(src,srcLen,mode, options, status); in call()
78 return srcLen; in getOperationsPerIteration()
88 srcLen = 0; in QuickCheckPerfFunction()
98 srcLen = sourceLen; in QuickCheckPerfFunction()
115 int32_t srcLen; member in NormPerfFunction
133 retVal = (*fn)(src,srcLen,pDest,destLen, options, status); in call()
147 return srcLen; in getOperationsPerIteration()
261 ICUNormNFD(const UChar* src, int32_t srcLen,UChar* dest, int32_t dstLen, int32_t options, UErrorCode* status) ICUNormNFD() argument
265 ICUNormNFC(const UChar* src, int32_t srcLen,UChar* dest, int32_t dstLen, int32_t options, UErrorCode* status) ICUNormNFC() argument
269 ICUNormNFKD(const UChar* src, int32_t srcLen,UChar* dest, int32_t dstLen, int32_t options, UErrorCode* status) ICUNormNFKD() argument
272 ICUNormNFKC(const UChar* src, int32_t srcLen,UChar* dest, int32_t dstLen, int32_t options, UErrorCode* status) ICUNormNFKC() argument
276 ICUNormFCD(const UChar* src, int32_t srcLen,UChar* dest, int32_t dstLen, int32_t options, UErrorCode* status) ICUNormFCD() argument
280 ICUQuickCheck(const UChar* src,int32_t srcLen, UNormalizationMode mode, int32_t options, UErrorCode* status) ICUQuickCheck() argument
287 ICUIsNormalized(const UChar* src,int32_t srcLen, UNormalizationMode mode, int32_t options, UErrorCode* status) ICUIsNormalized() argument
294 ICUNormNFD(const UChar* src, int32_t srcLen,UChar* dest, int32_t dstLen, int32_t options, UErrorCode* status) ICUNormNFD() argument
298 ICUNormNFC(const UChar* src, int32_t srcLen,UChar* dest, int32_t dstLen, int32_t options, UErrorCode* status) ICUNormNFC() argument
302 ICUNormNFKD(const UChar* src, int32_t srcLen,UChar* dest, int32_t dstLen, int32_t options, UErrorCode* status) ICUNormNFKD() argument
305 ICUNormNFKC(const UChar* src, int32_t srcLen,UChar* dest, int32_t dstLen, int32_t options, UErrorCode* status) ICUNormNFKC() argument
309 ICUNormFCD(const UChar* src, int32_t srcLen,UChar* dest, int32_t dstLen, int32_t options, UErrorCode* status) ICUNormFCD() argument
313 ICUQuickCheck(const UChar* src,int32_t srcLen, UNormalizationMode mode, int32_t options, UErrorCode* status) ICUQuickCheck() argument
317 ICUIsNormalized(const UChar* src,int32_t srcLen, UNormalizationMode mode, int32_t options, UErrorCode* status) ICUIsNormalized() argument
324 WinNormNFD(const UChar* src, int32_t srcLen, UChar* dest, int32_t dstLen, int32_t options, UErrorCode* status) WinNormNFD() argument
328 WinNormNFC(const UChar* src, int32_t srcLen, UChar* dest, int32_t dstLen, int32_t options, UErrorCode* status) WinNormNFC() argument
332 WinNormNFKD(const UChar* src, int32_t srcLen, UChar* dest, int32_t dstLen, int32_t options, UErrorCode* status) WinNormNFKD() argument
335 WinNormNFKC(const UChar* src, int32_t srcLen, UChar* dest, int32_t dstLen, int32_t options, UErrorCode* status) WinNormNFKC() argument
339 WinNormNFD(const UChar* src, int32_t srcLen, UChar* dest, int32_t dstLen, int32_t options, UErrorCode* status) WinNormNFD() argument
343 WinNormNFC(const UChar* src, int32_t srcLen, UChar* dest, int32_t dstLen, int32_t options, UErrorCode* status) WinNormNFC() argument
347 WinNormNFKD(const UChar* src, int32_t srcLen, UChar* dest, int32_t dstLen, int32_t options, UErrorCode* status) WinNormNFKD() argument
350 WinNormNFKC(const UChar* src, int32_t srcLen, UChar* dest, int32_t dstLen, int32_t options, UErrorCode* status) WinNormNFKC() argument
[all...]
/third_party/icu/icu4c/source/tools/genrb/
H A Dprscmnts.cpp47 removeText(UChar *source, int32_t srcLen, in removeText() argument
55 UnicodeString src(source, srcLen); in removeText()
67 return dest.extract(source, srcLen, *status); in removeText()
71 trim(UChar *src, int32_t srcLen, UErrorCode *status){ in trim() argument
72 srcLen = removeText(src, srcLen, UnicodeString("^[ \\r\\n]+ "), 0, UnicodeString(), status); // remove leading new lines in trim()
73 srcLen = removeText(src, srcLen, UnicodeString("^\\s+"), 0, UnicodeString(), status); // remove leading spaces in trim()
74 srcLen = removeText(src, srcLen, UnicodeStrin in trim()
79 removeCmtText(UChar* source, int32_t srcLen, UErrorCode* status) removeCmtText() argument
87 getText(const UChar* source, int32_t srcLen, UChar** dest, int32_t destCapacity, UnicodeString patternString, UErrorCode* status) getText() argument
124 getDescription( const UChar* source, int32_t srcLen, UChar** dest, int32_t destCapacity, UErrorCode* status) getDescription() argument
148 getCount(const UChar* source, int32_t srcLen, UParseCommentsOption option, UErrorCode *status) getCount() argument
185 getAt(const UChar* source, int32_t srcLen, UChar** dest, int32_t destCapacity, int32_t index, UParseCommentsOption option, UErrorCode* status) getAt() argument
227 getTranslate( const UChar* source, int32_t srcLen, UChar** dest, int32_t destCapacity, UErrorCode* status) getTranslate() argument
237 getNote(const UChar* source, int32_t srcLen, UChar** dest, int32_t destCapacity, UErrorCode* status) getNote() argument
[all...]
H A Drle.c151 usArrayToRLEString(const uint16_t* src,int32_t srcLen,uint16_t* buffer, int32_t bufLen,UErrorCode* status) { in usArrayToRLEString() argument
155 *buffer++ = (uint16_t)(srcLen>>16); in usArrayToRLEString()
160 *buffer++ = (uint16_t) srcLen; in usArrayToRLEString()
162 for (; i<srcLen; ++i) { in usArrayToRLEString()
197 byteArrayToRLEString(const uint8_t* src,int32_t srcLen, uint16_t* buffer,int32_t bufLen, UErrorCode* status) { in byteArrayToRLEString() argument
201 *buffer++ = ((uint16_t) (srcLen >> 16)); in byteArrayToRLEString()
208 *buffer++=((uint16_t) srcLen); in byteArrayToRLEString()
209 for (; i<srcLen; ++i) { in byteArrayToRLEString()
242 rleStringToUCharArray(uint16_t* src, int32_t srcLen, uint16_t* target, int32_t tgtLen, UErrorCode* status) { in rleStringToUCharArray() argument
251 if(srcLen in rleStringToUCharArray()
298 rleStringToByteArray(uint16_t* src, int32_t srcLen, uint8_t* target, int32_t tgtLen, UErrorCode* status) rleStringToByteArray() argument
[all...]
H A Dprscmnts.h37 getNote(const UChar* source, int32_t srcLen,
41 removeCmtText(UChar* source, int32_t srcLen, UErrorCode* status);
44 getDescription( const UChar* source, int32_t srcLen,
48 getTranslate( const UChar* source, int32_t srcLen,
53 getAt(const UChar* source, int32_t srcLen,
60 getCount(const UChar* source, int32_t srcLen,
/third_party/node/deps/icu-small/source/tools/genrb/
H A Dprscmnts.cpp47 removeText(char16_t *source, int32_t srcLen, in removeText() argument
55 UnicodeString src(source, srcLen); in removeText()
67 return dest.extract(source, srcLen, *status); in removeText()
71 trim(char16_t *src, int32_t srcLen, UErrorCode *status){ in trim() argument
72 srcLen = removeText(src, srcLen, UnicodeString("^[ \\r\\n]+ "), 0, UnicodeString(), status); // remove leading new lines in trim()
73 srcLen = removeText(src, srcLen, UnicodeString("^\\s+"), 0, UnicodeString(), status); // remove leading spaces in trim()
74 srcLen = removeText(src, srcLen, UnicodeStrin in trim()
79 removeCmtText(char16_t* source, int32_t srcLen, UErrorCode* status) removeCmtText() argument
87 getText(const char16_t* source, int32_t srcLen, char16_t** dest, int32_t destCapacity, UnicodeString patternString, UErrorCode* status) getText() argument
124 getDescription( const char16_t* source, int32_t srcLen, char16_t** dest, int32_t destCapacity, UErrorCode* status) getDescription() argument
148 getCount(const char16_t* source, int32_t srcLen, UParseCommentsOption option, UErrorCode *status) getCount() argument
185 getAt(const char16_t* source, int32_t srcLen, char16_t** dest, int32_t destCapacity, int32_t index, UParseCommentsOption option, UErrorCode* status) getAt() argument
227 getTranslate( const char16_t* source, int32_t srcLen, char16_t** dest, int32_t destCapacity, UErrorCode* status) getTranslate() argument
237 getNote(const char16_t* source, int32_t srcLen, char16_t** dest, int32_t destCapacity, UErrorCode* status) getNote() argument
[all...]
H A Drle.c151 usArrayToRLEString(const uint16_t* src,int32_t srcLen,uint16_t* buffer, int32_t bufLen,UErrorCode* status) { in usArrayToRLEString() argument
155 *buffer++ = (uint16_t)(srcLen>>16); in usArrayToRLEString()
160 *buffer++ = (uint16_t) srcLen; in usArrayToRLEString()
162 for (; i<srcLen; ++i) { in usArrayToRLEString()
197 byteArrayToRLEString(const uint8_t* src,int32_t srcLen, uint16_t* buffer,int32_t bufLen, UErrorCode* status) { in byteArrayToRLEString() argument
201 *buffer++ = ((uint16_t) (srcLen >> 16)); in byteArrayToRLEString()
208 *buffer++=((uint16_t) srcLen); in byteArrayToRLEString()
209 for (; i<srcLen; ++i) { in byteArrayToRLEString()
242 rleStringToUCharArray(uint16_t* src, int32_t srcLen, uint16_t* target, int32_t tgtLen, UErrorCode* status) { in rleStringToUCharArray() argument
251 if(srcLen in rleStringToUCharArray()
298 rleStringToByteArray(uint16_t* src, int32_t srcLen, uint8_t* target, int32_t tgtLen, UErrorCode* status) rleStringToByteArray() argument
[all...]
H A Dprscmnts.h37 getNote(const UChar* source, int32_t srcLen,
41 removeCmtText(UChar* source, int32_t srcLen, UErrorCode* status);
44 getDescription( const UChar* source, int32_t srcLen,
48 getTranslate( const UChar* source, int32_t srcLen,
53 getAt(const UChar* source, int32_t srcLen,
60 getCount(const UChar* source, int32_t srcLen,
/third_party/skia/third_party/externals/icu/source/tools/genrb/
H A Dprscmnts.cpp47 removeText(UChar *source, int32_t srcLen, in removeText() argument
55 UnicodeString src(source, srcLen); in removeText()
67 return dest.extract(source, srcLen, *status); in removeText()
71 trim(UChar *src, int32_t srcLen, UErrorCode *status){ in trim() argument
72 srcLen = removeText(src, srcLen, UnicodeString("^[ \\r\\n]+ "), 0, UnicodeString(), status); // remove leading new lines in trim()
73 srcLen = removeText(src, srcLen, UnicodeString("^\\s+"), 0, UnicodeString(), status); // remove leading spaces in trim()
74 srcLen = removeText(src, srcLen, UnicodeStrin in trim()
79 removeCmtText(UChar* source, int32_t srcLen, UErrorCode* status) removeCmtText() argument
87 getText(const UChar* source, int32_t srcLen, UChar** dest, int32_t destCapacity, UnicodeString patternString, UErrorCode* status) getText() argument
124 getDescription( const UChar* source, int32_t srcLen, UChar** dest, int32_t destCapacity, UErrorCode* status) getDescription() argument
148 getCount(const UChar* source, int32_t srcLen, UParseCommentsOption option, UErrorCode *status) getCount() argument
185 getAt(const UChar* source, int32_t srcLen, UChar** dest, int32_t destCapacity, int32_t index, UParseCommentsOption option, UErrorCode* status) getAt() argument
227 getTranslate( const UChar* source, int32_t srcLen, UChar** dest, int32_t destCapacity, UErrorCode* status) getTranslate() argument
237 getNote(const UChar* source, int32_t srcLen, UChar** dest, int32_t destCapacity, UErrorCode* status) getNote() argument
[all...]
H A Drle.c151 usArrayToRLEString(const uint16_t* src,int32_t srcLen,uint16_t* buffer, int32_t bufLen,UErrorCode* status) { in usArrayToRLEString() argument
155 *buffer++ = (uint16_t)(srcLen>>16); in usArrayToRLEString()
160 *buffer++ = (uint16_t) srcLen; in usArrayToRLEString()
162 for (; i<srcLen; ++i) { in usArrayToRLEString()
197 byteArrayToRLEString(const uint8_t* src,int32_t srcLen, uint16_t* buffer,int32_t bufLen, UErrorCode* status) { in byteArrayToRLEString() argument
201 *buffer++ = ((uint16_t) (srcLen >> 16)); in byteArrayToRLEString()
208 *buffer++=((uint16_t) srcLen); in byteArrayToRLEString()
209 for (; i<srcLen; ++i) { in byteArrayToRLEString()
242 rleStringToUCharArray(uint16_t* src, int32_t srcLen, uint16_t* target, int32_t tgtLen, UErrorCode* status) { in rleStringToUCharArray() argument
251 if(srcLen in rleStringToUCharArray()
298 rleStringToByteArray(uint16_t* src, int32_t srcLen, uint8_t* target, int32_t tgtLen, UErrorCode* status) rleStringToByteArray() argument
[all...]
H A Dprscmnts.h37 getNote(const UChar* source, int32_t srcLen,
41 removeCmtText(UChar* source, int32_t srcLen, UErrorCode* status);
44 getDescription( const UChar* source, int32_t srcLen,
48 getTranslate( const UChar* source, int32_t srcLen,
53 getAt(const UChar* source, int32_t srcLen,
60 getCount(const UChar* source, int32_t srcLen,
/third_party/icu/icu4c/source/test/perf/ustrperf/
H A Dstringperf.h63 typedef void (*ICUStringPerfFn)(const UChar* src,int32_t srcLen, UnicodeString s0);
64 typedef void (*StdStringPerfFn)(const wchar_t* src,int32_t srcLen, stlstring s0);
391 inline void ctor(const UChar* src,int32_t srcLen, UnicodeString s0) in ctor() argument
396 inline void ctor1(const UChar* src,int32_t srcLen, UnicodeString s0) in ctor1() argument
401 inline void ctor2(const UChar* src,int32_t srcLen, UnicodeString s0) in ctor2() argument
406 inline void ctor3(const UChar* src,int32_t srcLen, UnicodeString s0) in ctor3() argument
408 UnicodeString d(src,srcLen); in ctor3()
411 inline UnicodeString icu_assign_helper(const UChar* src,int32_t srcLen) in icu_assign_helper() argument
413 if (srcLen==-1) { return src;} in icu_assign_helper()
414 else { return UnicodeString(src, srcLen);} in icu_assign_helper()
417 assign(const UChar* src,int32_t srcLen, UnicodeString s0) assign() argument
422 assign1(const UChar* src,int32_t srcLen, UnicodeString s0) assign1() argument
427 assign2(const UChar* src,int32_t srcLen, UnicodeString s0) assign2() argument
432 getch(const UChar* src,int32_t srcLen, UnicodeString s0) getch() argument
438 catenate(const UChar* src,int32_t srcLen, UnicodeString s0) catenate() argument
454 scan(const UChar* src,int32_t srcLen, UnicodeString s0) scan() argument
460 scan1(const UChar* src,int32_t srcLen, UnicodeString s0) scan1() argument
465 scan2(const UChar* src,int32_t srcLen, UnicodeString s0) scan2() argument
474 StdLibCtor(const wchar_t* src,int32_t srcLen, stlstring s0) StdLibCtor() argument
479 StdLibCtor1(const wchar_t* src,int32_t srcLen, stlstring s0) StdLibCtor1() argument
484 StdLibCtor2(const wchar_t* src,int32_t srcLen, stlstring s0) StdLibCtor2() argument
489 StdLibCtor3(const wchar_t* src,int32_t srcLen, stlstring s0) StdLibCtor3() argument
498 stl_assign_helper(const wchar_t* src,int32_t srcLen) stl_assign_helper() argument
504 StdLibAssign(const wchar_t* src,int32_t srcLen, stlstring s0) StdLibAssign() argument
509 StdLibAssign1(const wchar_t* src,int32_t srcLen, stlstring s0) StdLibAssign1() argument
515 StdLibAssign2(const wchar_t* src,int32_t srcLen, stlstring s0) StdLibAssign2() argument
520 StdLibGetch(const wchar_t* src,int32_t srcLen, stlstring s0) StdLibGetch() argument
525 StdLibCatenate(const wchar_t* src,int32_t srcLen, stlstring s0) StdLibCatenate() argument
538 StdLibScan(const wchar_t* src,int32_t srcLen, stlstring s0) StdLibScan() argument
543 StdLibScan1(const wchar_t* src,int32_t srcLen, stlstring s0) StdLibScan1() argument
548 StdLibScan2(const wchar_t* src,int32_t srcLen, stlstring s0) StdLibScan2() argument
[all...]
/third_party/lz4/tests/
H A Ddecompress-partial-usingDict.c33 int srcLen = (int)strlen(source); in main() local
49 cmpSize = LZ4_compress_default(source, cmpBuffer, srcLen, BUFFER_SIZE); in main()
52 int result = LZ4_decompress_safe_partial_usingDict(cmpBuffer, outBuffer, i, srcLen, BUFFER_SIZE, NULL, 0); in main()
54 || (result != srcLen) in main()
55 || memcmp(source, outBuffer, (size_t)srcLen) ) { in main()
62 int result = LZ4_decompress_safe_partial_usingDict(cmpBuffer, outBuffer, i, srcLen, BUFFER_SIZE, outBuffer - smallSize, smallSize); in main()
64 || (result != srcLen) in main()
65 || memcmp(source, outBuffer, (size_t)srcLen) ) { in main()
72 int result = LZ4_decompress_safe_partial_usingDict(cmpBuffer, outBuffer, i, srcLen, BUFFER_SIZE, buffer, largeSize); in main()
74 || (result != srcLen) in main()
[all...]
H A Ddecompress-partial.c31 int srcLen = (int)strlen(source); in main() local
37 cmpSize = LZ4_compress_default(source, cmpBuffer, srcLen, BUFFER_SIZE); in main()
40 int result = LZ4_decompress_safe_partial(cmpBuffer, outBuffer, i, srcLen, BUFFER_SIZE); in main()
41 if ((result < 0) || (result != srcLen) || memcmp(source, outBuffer, srcLen)) { in main()
/third_party/icu/icu4c/source/test/perf/convperf/
H A Dconvperf.h32 int32_t srcLen; member in ICUToUnicodePerfFunction
40 srcLen = sourceLen; in ICUToUnicodePerfFunction()
48 source, srcLen, &status); in ICUToUnicodePerfFunction()
61 const char* sourceLimit = src + srcLen; in call()
66 return srcLen; in getOperationsPerIteration()
77 int32_t srcLen; member in ICUFromUnicodePerfFunction
86 srcLen = sourceLen; in ICUFromUnicodePerfFunction()
94 source, srcLen, &status); in ICUFromUnicodePerfFunction()
107 const UChar* sourceLimit = src + srcLen; in call()
112 return srcLen; in getOperationsPerIteration()
157 UINT srcLen; global() member in WinANSIToUnicodePerfFunction
209 UINT srcLen; global() member in WinANSIFromUnicodePerfFunction
278 UINT srcLen; global() member in WinIMultiLanguageToUnicodePerfFunction
334 UINT srcLen; global() member in WinIMultiLanguageFromUnicodePerfFunction
390 UINT srcLen; global() member in WinIMultiLanguage2ToUnicodePerfFunction
443 UINT srcLen; global() member in WinIMultiLanguage2FromUnicodePerfFunction
[all...]
/third_party/lzma/C/
H A DLzma2Dec.c177 const Byte *src, SizeT *srcLen, ELzmaFinishMode finishMode, ELzmaStatus *status) in Lzma2Dec_DecodeToDic()
179 SizeT inSize = *srcLen; in Lzma2Dec_DecodeToDic()
180 *srcLen = 0; in Lzma2Dec_DecodeToDic()
203 if (*srcLen == inSize) in Lzma2Dec_DecodeToDic()
208 (*srcLen)++; in Lzma2Dec_DecodeToDic()
216 SizeT inCur = inSize - *srcLen; in Lzma2Dec_DecodeToDic()
248 *srcLen += inCur; in Lzma2Dec_DecodeToDic()
270 *srcLen += inCur; in Lzma2Dec_DecodeToDic()
309 const Byte *src, SizeT *srcLen, in Lzma2Dec_Parse()
312 SizeT inSize = *srcLen; in Lzma2Dec_Parse()
176 Lzma2Dec_DecodeToDic(CLzma2Dec *p, SizeT dicLimit, const Byte *src, SizeT *srcLen, ELzmaFinishMode finishMode, ELzmaStatus *status) Lzma2Dec_DecodeToDic() argument
307 Lzma2Dec_Parse(CLzma2Dec *p, SizeT outSize, const Byte *src, SizeT *srcLen, int checkFinishBlock) Lzma2Dec_Parse() argument
428 Lzma2Dec_DecodeToBuf(CLzma2Dec *p, Byte *dest, SizeT *destLen, const Byte *src, SizeT *srcLen, ELzmaFinishMode finishMode, ELzmaStatus *status) Lzma2Dec_DecodeToBuf() argument
469 Lzma2Decode(Byte *dest, SizeT *destLen, const Byte *src, SizeT *srcLen, Byte prop, ELzmaFinishMode finishMode, ELzmaStatus *status, ISzAllocPtr alloc) Lzma2Decode() argument
[all...]
H A DLzma86Dec.c12 SRes Lzma86_GetUnpackSize(const Byte *src, SizeT srcLen, UInt64 *unpackSize) in Lzma86_GetUnpackSize() argument
15 if (srcLen < LZMA86_HEADER_SIZE) in Lzma86_GetUnpackSize()
23 SRes Lzma86_Decode(Byte *dest, SizeT *destLen, const Byte *src, SizeT *srcLen) in Lzma86_Decode() argument
30 if (*srcLen < LZMA86_HEADER_SIZE) in Lzma86_Decode()
41 inSizePure = *srcLen - LZMA86_HEADER_SIZE; in Lzma86_Decode()
44 *srcLen = inSizePure + LZMA86_HEADER_SIZE; in Lzma86_Decode()
H A DLzma86Enc.c14 int Lzma86_Encode(Byte *dest, size_t *destLen, const Byte *src, size_t srcLen, in Lzma86_Encode() argument
32 UInt64 t = srcLen; in Lzma86_Encode()
41 if (srcLen != 0) in Lzma86_Encode()
43 filteredStream = (Byte *)MyAlloc(srcLen); in Lzma86_Encode()
46 memcpy(filteredStream, src, srcLen); in Lzma86_Encode()
50 z7_BranchConvSt_X86_Enc(filteredStream, srcLen, 0, &x86State); in Lzma86_Encode()
78 curModeIsFiltered ? filteredStream : src, srcLen, in Lzma86_Encode()
/third_party/icu/icu4c/source/test/cintltst/
H A Dspreptst.c296 unescapeData(const char* src, int32_t srcLen, in unescapeData() argument
299 (void)srcLen; // suppress compiler warnings about unused variable in unescapeData()
447 int32_t srcLen; in Test_nfs4_mixed_prep() local
454 srcLen = unescapeData(mixed_prep_data[i], (int32_t)strlen(mixed_prep_data[i]), src, MAX_BUFFER_SIZE, &status); in Test_nfs4_mixed_prep()
459 destLen = nfs4_mixed_prepare(src, srcLen, NULL, 0, &parseError, &status); in Test_nfs4_mixed_prep()
463 destLen = nfs4_mixed_prepare(src, srcLen, dest, destLen, &parseError, &status); in Test_nfs4_mixed_prep()
480 int32_t srcLen = unescapeData(source, (int32_t)strlen(source), src, MAX_BUFFER_SIZE, &status); in Test_nfs4_mixed_prep() local
482 nfs4_mixed_prepare(src, srcLen, dest, MAX_BUFFER_SIZE, &parseError, &status); in Test_nfs4_mixed_prep()
507 int32_t srcLen = unescapeData(source, (int32_t)strlen(source), src, MAX_BUFFER_SIZE, &status); in Test_nfs4_cs_prep() local
510 int32_t destLen = nfs4_cs_prepare(src, srcLen, des in Test_nfs4_cs_prep()
530 int32_t srcLen = unescapeData(source, (int32_t)strlen(source), src, MAX_BUFFER_SIZE, &status); Test_nfs4_cs_prep() local
553 int32_t srcLen = unescapeData(source, (int32_t)strlen(source), src, MAX_BUFFER_SIZE, &status); Test_nfs4_cs_prep() local
578 int32_t srcLen = unescapeData(source, (int32_t)strlen(source), src, MAX_BUFFER_SIZE, &status); Test_nfs4_cs_prep() local
[all...]
/third_party/musl/libc-test/src/functionalext/supplement/string/
H A Dstrlen.c30 int srcLen = sizeof(src) / sizeof(src[0]) - 1; in strlen_0100() local
32 EXPECT_EQ("strlen_0100", ret, srcLen); in strlen_0100()
43 int srcLen = sizeof(src) / sizeof(src[0]) - 1; in strlen_0200() local
45 EXPECT_EQ("strlen_0200", ret, srcLen); in strlen_0200()
56 int srcLen = INIT_LEN; in strlen_0300() local
58 EXPECT_EQ("strlen_0300", ret, srcLen); in strlen_0300()
/third_party/musl/libc-test/src/functionalext/supplement/string/string_gtest/
H A Dstring_strnlen_test.cpp21 int srcLen = sizeof(srcChar) / sizeof(srcChar[0]) - 1; in HWTEST_F() local
22 EXPECT_EQ(STR_SIZE_ONE, strnlen(srcChar, srcLen)); in HWTEST_F()
25 srcLen = sizeof(dstChar) / sizeof(dstChar[0]) - 1; in HWTEST_F()
26 EXPECT_EQ(srcLen, strnlen(dstChar, srcLen)); in HWTEST_F()
/third_party/bounds_checking_function/src/
H A Dstrncat_s.c23 size_t srcLen; in SecDoCatLimit() local
29 SECUREC_CALC_STR_LEN(strSrc, count, &srcLen); in SecDoCatLimit()
31 if (SECUREC_CAT_STRING_IS_OVERLAP(strDest, destLen, strSrc, srcLen)) { in SecDoCatLimit()
40 if (srcLen + destLen >= destMax || strDest == strSrc) { in SecDoCatLimit()
49 SECUREC_MEMCPY_WARP_OPT(strDest + destLen, strSrc, srcLen); /* No terminator */ in SecDoCatLimit()
50 *(strDest + destLen + srcLen) = '\0'; in SecDoCatLimit()
H A Dwcsncat_s.c24 size_t srcLen; in SecDoCatLimitW() local
26 SECUREC_CALC_WSTR_LEN(strSrc, count, &srcLen); in SecDoCatLimitW()
28 if (SECUREC_CAT_STRING_IS_OVERLAP(strDest, destLen, strSrc, srcLen)) { in SecDoCatLimitW()
37 if (srcLen + destLen >= destMax || strDest == strSrc) { in SecDoCatLimitW()
46 SECUREC_MEMCPY_WARP_OPT(strDest + destLen, strSrc, srcLen * sizeof(wchar_t)); /* no terminator */ in SecDoCatLimitW()
47 *(strDest + destLen + srcLen) = L'\0'; in SecDoCatLimitW()
/third_party/icu/icu4c/source/test/perf/strsrchperf/
H A Dstrsrchperf.h19 typedef void (*StrSrchFn)(UStringSearch* srch, const UChar* src,int32_t srcLen, const UChar* pttrn, int32_t pttrnLen, UErrorCode* status);
25 int32_t srcLen; member in StringSearchPerfFunction
32 (*fn)(srch, src, srcLen, pttrn, pttrnLen, status); in call()
36 return (long) srcLen; in getOperationsPerIteration()
42 srcLen = sourceLen; in StringSearchPerfFunction()
52 int32_t srcLen; member in StringSearchPerformanceTest
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/bidi/
H A DTestStreaming.java78 int srcLen, processedLen, chunk, len, nPortions, offset; in testStreaming()
94 srcLen = src.length(); in testStreaming()
104 for (j = 0; j < MAXPORTIONS && srcLen > 0; j++) { in testStreaming()
105 len = chunk < srcLen ? chunk : srcLen; in testStreaming()
106 offset = src.length() - srcLen; in testStreaming()
122 srcLen -= processedLen; in testStreaming()
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/bidi/
H A DTestStreaming.java81 int srcLen, processedLen, chunk, len, nPortions, offset; in testStreaming()
97 srcLen = src.length(); in testStreaming()
107 for (j = 0; j < MAXPORTIONS && srcLen > 0; j++) { in testStreaming()
108 len = chunk < srcLen ? chunk : srcLen; in testStreaming()
109 offset = src.length() - srcLen; in testStreaming()
125 srcLen -= processedLen; in testStreaming()

Completed in 14 milliseconds

1234