/external/chromium_org/third_party/icu/source/test/perf/normperf/ |
D | normperf.h | 28 typedef int32_t (*NormFn)(const UChar* src,int32_t srcLen, UChar* dest,int32_t dstLen, int32_t opti… 29 typedef int32_t (*QuickCheckFn)(const UChar* src,int32_t srcLen, UNormalizationMode mode, int32_t o… 40 int32_t srcLen; variable 59 retVal = (*fn)(src,srcLen,mode, options, status); in call() 74 return srcLen; in getOperationsPerIteration() 84 srcLen = 0; in QuickCheckPerfFunction() 94 srcLen = sourceLen; in QuickCheckPerfFunction() 111 int32_t srcLen; variable 129 retVal = (*fn)(src,srcLen,pDest,destLen, options, status); in call() 143 return srcLen; in getOperationsPerIteration() [all …]
|
/external/icu/icu4c/source/test/perf/normperf/ |
D | normperf.h | 28 typedef int32_t (*NormFn)(const UChar* src,int32_t srcLen, UChar* dest,int32_t dstLen, int32_t opti… 29 typedef int32_t (*QuickCheckFn)(const UChar* src,int32_t srcLen, UNormalizationMode mode, int32_t o… 40 int32_t srcLen; variable 59 retVal = (*fn)(src,srcLen,mode, options, status); in call() 74 return srcLen; in getOperationsPerIteration() 84 srcLen = 0; in QuickCheckPerfFunction() 94 srcLen = sourceLen; in QuickCheckPerfFunction() 111 int32_t srcLen; variable 129 retVal = (*fn)(src,srcLen,pDest,destLen, options, status); in call() 143 return srcLen; in getOperationsPerIteration() [all …]
|
/external/chromium_org/third_party/icu/source/tools/genrb/ |
D | prscmnts.cpp | 35 removeText(UChar *source, int32_t srcLen, in removeText() argument 43 UnicodeString src(source, srcLen); in removeText() 55 return dest.extract(source, srcLen, *status); in removeText() 59 trim(UChar *src, int32_t srcLen, UErrorCode *status){ in trim() argument 60 srcLen = removeText(src, srcLen, "^[ \\r\\n]+ ", 0, "", status); // remove leading new lines in trim() 61 srcLen = removeText(src, srcLen, "^\\s+", 0, "", status); // remove leading spaces in trim() 62 srcLen = removeText(src, srcLen, "\\s+$", 0, "", status); // remvoe trailing spcaes in trim() 63 return srcLen; in trim() 67 removeCmtText(UChar* source, int32_t srcLen, UErrorCode* status){ in removeCmtText() argument 68 srcLen = trim(source, srcLen, status); in removeCmtText() [all …]
|
D | rle.c | 148 usArrayToRLEString(const uint16_t* src,int32_t srcLen,uint16_t* buffer, int32_t bufLen,UErrorCode* … in usArrayToRLEString() argument 152 *buffer++ = (uint16_t)(srcLen>>16); in usArrayToRLEString() 157 *buffer++ = (uint16_t) srcLen; in usArrayToRLEString() 159 for (; i<srcLen; ++i) { in usArrayToRLEString() 194 byteArrayToRLEString(const uint8_t* src,int32_t srcLen, uint16_t* buffer,int32_t bufLen, UErrorCode… in byteArrayToRLEString() argument 198 *buffer++ = ((uint16_t) (srcLen >> 16)); in byteArrayToRLEString() 205 *buffer++=((uint16_t) srcLen); in byteArrayToRLEString() 206 for (; i<srcLen; ++i) { in byteArrayToRLEString() 239 rleStringToUCharArray(uint16_t* src, int32_t srcLen, uint16_t* target, int32_t tgtLen, UErrorCode* … in rleStringToUCharArray() argument 248 if(srcLen == -1){ in rleStringToUCharArray() [all …]
|
D | prscmnts.h | 33 getNote(const UChar* source, int32_t srcLen, 37 removeCmtText(UChar* source, int32_t srcLen, UErrorCode* status); 40 getDescription( const UChar* source, int32_t srcLen, 44 getTranslate( const UChar* source, int32_t srcLen, 49 getAt(const UChar* source, int32_t srcLen, 56 getCount(const UChar* source, int32_t srcLen,
|
D | rle.h | 40 byteArrayToRLEString(const uint8_t* src,int32_t srcLen, uint16_t* buffer,int32_t bufLen, UErrorCode… 57 usArrayToRLEString(const uint16_t* src,int32_t srcLen,uint16_t* buffer, int32_t bufLen,UErrorCode* … 63 rleStringToByteArray(uint16_t* src, int32_t srcLen, uint8_t* target, int32_t tgtLen, UErrorCode* st… 68 rleStringToUCharArray(uint16_t* src, int32_t srcLen, uint16_t* target, int32_t tgtLen, UErrorCode* …
|
/external/icu/icu4c/source/tools/genrb/ |
D | prscmnts.cpp | 45 removeText(UChar *source, int32_t srcLen, in removeText() argument 53 UnicodeString src(source, srcLen); in removeText() 65 return dest.extract(source, srcLen, *status); in removeText() 69 trim(UChar *src, int32_t srcLen, UErrorCode *status){ in trim() argument 70 …srcLen = removeText(src, srcLen, UnicodeString("^[ \\r\\n]+ "), 0, UnicodeString(), status); // re… in trim() 71 …srcLen = removeText(src, srcLen, UnicodeString("^\\s+"), 0, UnicodeString(), status); // remove le… in trim() 72 …srcLen = removeText(src, srcLen, UnicodeString("\\s+$"), 0, UnicodeString(), status); // remvoe tr… in trim() 73 return srcLen; in trim() 77 removeCmtText(UChar* source, int32_t srcLen, UErrorCode* status){ in removeCmtText() argument 78 srcLen = trim(source, srcLen, status); in removeCmtText() [all …]
|
D | rle.c | 148 usArrayToRLEString(const uint16_t* src,int32_t srcLen,uint16_t* buffer, int32_t bufLen,UErrorCode* … in usArrayToRLEString() argument 152 *buffer++ = (uint16_t)(srcLen>>16); in usArrayToRLEString() 157 *buffer++ = (uint16_t) srcLen; in usArrayToRLEString() 159 for (; i<srcLen; ++i) { in usArrayToRLEString() 194 byteArrayToRLEString(const uint8_t* src,int32_t srcLen, uint16_t* buffer,int32_t bufLen, UErrorCode… in byteArrayToRLEString() argument 198 *buffer++ = ((uint16_t) (srcLen >> 16)); in byteArrayToRLEString() 205 *buffer++=((uint16_t) srcLen); in byteArrayToRLEString() 206 for (; i<srcLen; ++i) { in byteArrayToRLEString() 239 rleStringToUCharArray(uint16_t* src, int32_t srcLen, uint16_t* target, int32_t tgtLen, UErrorCode* … in rleStringToUCharArray() argument 248 if(srcLen == -1){ in rleStringToUCharArray() [all …]
|
D | prscmnts.h | 33 getNote(const UChar* source, int32_t srcLen, 37 removeCmtText(UChar* source, int32_t srcLen, UErrorCode* status); 40 getDescription( const UChar* source, int32_t srcLen, 44 getTranslate( const UChar* source, int32_t srcLen, 49 getAt(const UChar* source, int32_t srcLen, 56 getCount(const UChar* source, int32_t srcLen,
|
D | rle.h | 40 byteArrayToRLEString(const uint8_t* src,int32_t srcLen, uint16_t* buffer,int32_t bufLen, UErrorCode… 57 usArrayToRLEString(const uint16_t* src,int32_t srcLen,uint16_t* buffer, int32_t bufLen,UErrorCode* … 63 rleStringToByteArray(uint16_t* src, int32_t srcLen, uint8_t* target, int32_t tgtLen, UErrorCode* st… 68 rleStringToUCharArray(uint16_t* src, int32_t srcLen, uint16_t* target, int32_t tgtLen, UErrorCode* …
|
/external/chromium_org/third_party/icu/source/test/perf/ustrperf/ |
D | stringperf.h | 58 typedef void (*ICUStringPerfFn)(const UChar* src,int32_t srcLen, UnicodeString s0); 59 typedef void (*StdStringPerfFn)(const wchar_t* src,int32_t srcLen, stlstring s0); 386 inline void ctor(const UChar* src,int32_t srcLen, UnicodeString s0) in ctor() argument 391 inline void ctor1(const UChar* src,int32_t srcLen, UnicodeString s0) in ctor1() argument 396 inline void ctor2(const UChar* src,int32_t srcLen, UnicodeString s0) in ctor2() argument 401 inline void ctor3(const UChar* src,int32_t srcLen, UnicodeString s0) in ctor3() argument 403 UnicodeString d(src,srcLen); in ctor3() 406 inline UnicodeString icu_assign_helper(const UChar* src,int32_t srcLen) in icu_assign_helper() argument 408 if (srcLen==-1) { return src;} in icu_assign_helper() 409 else { return UnicodeString(src, srcLen);} in icu_assign_helper() [all …]
|
/external/icu/icu4c/source/test/perf/ustrperf/ |
D | stringperf.h | 58 typedef void (*ICUStringPerfFn)(const UChar* src,int32_t srcLen, UnicodeString s0); 59 typedef void (*StdStringPerfFn)(const wchar_t* src,int32_t srcLen, stlstring s0); 386 inline void ctor(const UChar* src,int32_t srcLen, UnicodeString s0) in ctor() argument 391 inline void ctor1(const UChar* src,int32_t srcLen, UnicodeString s0) in ctor1() argument 396 inline void ctor2(const UChar* src,int32_t srcLen, UnicodeString s0) in ctor2() argument 401 inline void ctor3(const UChar* src,int32_t srcLen, UnicodeString s0) in ctor3() argument 403 UnicodeString d(src,srcLen); in ctor3() 406 inline UnicodeString icu_assign_helper(const UChar* src,int32_t srcLen) in icu_assign_helper() argument 408 if (srcLen==-1) { return src;} in icu_assign_helper() 409 else { return UnicodeString(src, srcLen);} in icu_assign_helper() [all …]
|
/external/icu/icu4c/source/test/perf/convperf/ |
D | convperf.h | 28 int32_t srcLen; variable 36 srcLen = sourceLen; in ICUToUnicodePerfFunction() 44 source, srcLen, &status); in ICUToUnicodePerfFunction() 57 const char* sourceLimit = src + srcLen; in call() 62 return srcLen; in getOperationsPerIteration() 73 int32_t srcLen; variable 82 srcLen = sourceLen; in ICUFromUnicodePerfFunction() 90 source, srcLen, &status); in ICUFromUnicodePerfFunction() 103 const UChar* sourceLimit = src + srcLen; in call() 108 return srcLen; in getOperationsPerIteration() [all …]
|
/external/chromium_org/third_party/icu/source/test/perf/convperf/ |
D | convperf.h | 28 int32_t srcLen; variable 36 srcLen = sourceLen; in ICUToUnicodePerfFunction() 44 source, srcLen, &status); in ICUToUnicodePerfFunction() 57 const char* sourceLimit = src + srcLen; in call() 62 return srcLen; in getOperationsPerIteration() 73 int32_t srcLen; variable 82 srcLen = sourceLen; in ICUFromUnicodePerfFunction() 90 source, srcLen, &status); in ICUFromUnicodePerfFunction() 103 const UChar* sourceLimit = src + srcLen; in call() 108 return srcLen; in getOperationsPerIteration() [all …]
|
/external/icu/icu4c/source/test/cintltst/ |
D | spreptst.c | 295 unescapeData(const char* src, int32_t srcLen, in unescapeData() argument 445 int32_t srcLen; in Test_nfs4_mixed_prep() local 452 …srcLen = unescapeData(mixed_prep_data[i], (int32_t)strlen(mixed_prep_data[i]), src, MAX_BUFFER_SIZ… in Test_nfs4_mixed_prep() 457 destLen = nfs4_mixed_prepare(src, srcLen, NULL, 0, &parseError, &status); in Test_nfs4_mixed_prep() 461 destLen = nfs4_mixed_prepare(src, srcLen, dest, destLen, &parseError, &status); in Test_nfs4_mixed_prep() 478 … int32_t srcLen = unescapeData(source, (int32_t)strlen(source), src, MAX_BUFFER_SIZE, &status); in Test_nfs4_mixed_prep() local 480 nfs4_mixed_prepare(src, srcLen, dest, MAX_BUFFER_SIZE, &parseError, &status); in Test_nfs4_mixed_prep() 505 … int32_t srcLen = unescapeData(source, (int32_t)strlen(source), src, MAX_BUFFER_SIZE, &status); in Test_nfs4_cs_prep() local 508 …int32_t destLen = nfs4_cs_prepare(src, srcLen, dest, MAX_BUFFER_SIZE, FALSE, &parseError, &status); in Test_nfs4_cs_prep() 515 if(destLen != srcLen){ in Test_nfs4_cs_prep() [all …]
|
D | cbiditst.c | 96 static const char* inverseBasic(UBiDi *pBiDi, const char *src, int32_t srcLen, 1411 int32_t srcLen, destLen, runCount, i; in doMisc() local 1445 srcLen = u_unescape("abc ", src, MAXLEN); in doMisc() 1446 ubidi_setPara(bidi, src, srcLen, UBIDI_RTL, NULL, &errorCode); in doMisc() 1457 srcLen = u_unescape("abc def", src, MAXLEN); in doMisc() 1458 ubidi_setPara(bidi, src, srcLen, UBIDI_RTL, NULL, &errorCode); in doMisc() 1469 srcLen = u_unescape("abcdefghi ", src, MAXLEN); in doMisc() 1470 ubidi_setPara(bidi, src, srcLen, UBIDI_RTL, NULL, &errorCode); in doMisc() 1482 srcLen = u_unescape("\\u200eabc def", src, MAXLEN); in doMisc() 1483 ubidi_setPara(bidi, src, srcLen, UBIDI_RTL, NULL, &errorCode); in doMisc() [all …]
|
/external/chromium_org/third_party/icu/source/test/cintltst/ |
D | spreptst.c | 295 unescapeData(const char* src, int32_t srcLen, in unescapeData() argument 445 int32_t srcLen; in Test_nfs4_mixed_prep() local 452 …srcLen = unescapeData(mixed_prep_data[i], (int32_t)strlen(mixed_prep_data[i]), src, MAX_BUFFER_SIZ… in Test_nfs4_mixed_prep() 457 destLen = nfs4_mixed_prepare(src, srcLen, NULL, 0, &parseError, &status); in Test_nfs4_mixed_prep() 461 destLen = nfs4_mixed_prepare(src, srcLen, dest, destLen, &parseError, &status); in Test_nfs4_mixed_prep() 478 … int32_t srcLen = unescapeData(source, (int32_t)strlen(source), src, MAX_BUFFER_SIZE, &status); in Test_nfs4_mixed_prep() local 480 nfs4_mixed_prepare(src, srcLen, dest, MAX_BUFFER_SIZE, &parseError, &status); in Test_nfs4_mixed_prep() 505 … int32_t srcLen = unescapeData(source, (int32_t)strlen(source), src, MAX_BUFFER_SIZE, &status); in Test_nfs4_cs_prep() local 508 …int32_t destLen = nfs4_cs_prepare(src, srcLen, dest, MAX_BUFFER_SIZE, FALSE, &parseError, &status); in Test_nfs4_cs_prep() 515 if(destLen != srcLen){ in Test_nfs4_cs_prep() [all …]
|
D | cbiditst.c | 94 static const char* inverseBasic(UBiDi *pBiDi, const char *src, int32_t srcLen, 1409 int32_t srcLen, destLen, runCount, i; in doMisc() local 1443 srcLen = u_unescape("abc ", src, MAXLEN); in doMisc() 1444 ubidi_setPara(bidi, src, srcLen, UBIDI_RTL, NULL, &errorCode); in doMisc() 1455 srcLen = u_unescape("abc def", src, MAXLEN); in doMisc() 1456 ubidi_setPara(bidi, src, srcLen, UBIDI_RTL, NULL, &errorCode); in doMisc() 1467 srcLen = u_unescape("abcdefghi ", src, MAXLEN); in doMisc() 1468 ubidi_setPara(bidi, src, srcLen, UBIDI_RTL, NULL, &errorCode); in doMisc() 1480 srcLen = u_unescape("\\u200eabc def", src, MAXLEN); in doMisc() 1481 ubidi_setPara(bidi, src, srcLen, UBIDI_RTL, NULL, &errorCode); in doMisc() [all …]
|
/external/chromium_org/third_party/lzma_sdk/ |
D | Lzma2Dec.c | 171 const Byte *src, SizeT *srcLen, ELzmaFinishMode finishMode, ELzmaStatus *status) in Lzma2Dec_DecodeToDic() argument 173 SizeT inSize = *srcLen; in Lzma2Dec_DecodeToDic() 174 *srcLen = 0; in Lzma2Dec_DecodeToDic() 189 if (*srcLen == inSize) in Lzma2Dec_DecodeToDic() 194 (*srcLen)++; in Lzma2Dec_DecodeToDic() 200 SizeT srcSizeCur = inSize - *srcLen; in Lzma2Dec_DecodeToDic() 211 if (*srcLen == inSize) in Lzma2Dec_DecodeToDic() 237 *srcLen += srcSizeCur; in Lzma2Dec_DecodeToDic() 265 *srcLen += srcSizeCur; in Lzma2Dec_DecodeToDic() 291 SRes Lzma2Dec_DecodeToBuf(CLzma2Dec *p, Byte *dest, SizeT *destLen, const Byte *src, SizeT *srcLen,… in Lzma2Dec_DecodeToBuf() argument [all …]
|
/external/lzma/C/ |
D | Lzma2Dec.c | 171 const Byte *src, SizeT *srcLen, ELzmaFinishMode finishMode, ELzmaStatus *status) in Lzma2Dec_DecodeToDic() argument 173 SizeT inSize = *srcLen; in Lzma2Dec_DecodeToDic() 174 *srcLen = 0; in Lzma2Dec_DecodeToDic() 189 if (*srcLen == inSize) in Lzma2Dec_DecodeToDic() 194 (*srcLen)++; in Lzma2Dec_DecodeToDic() 200 SizeT srcSizeCur = inSize - *srcLen; in Lzma2Dec_DecodeToDic() 211 if (*srcLen == inSize) in Lzma2Dec_DecodeToDic() 237 *srcLen += srcSizeCur; in Lzma2Dec_DecodeToDic() 265 *srcLen += srcSizeCur; in Lzma2Dec_DecodeToDic() 291 SRes Lzma2Dec_DecodeToBuf(CLzma2Dec *p, Byte *dest, SizeT *destLen, const Byte *src, SizeT *srcLen,… in Lzma2Dec_DecodeToBuf() argument [all …]
|
D | Lzma86Dec.c | 13 SRes Lzma86_GetUnpackSize(const Byte *src, SizeT srcLen, UInt64 *unpackSize) in Lzma86_GetUnpackSize() argument 16 if (srcLen < LZMA86_HEADER_SIZE) in Lzma86_GetUnpackSize() 24 SRes Lzma86_Decode(Byte *dest, SizeT *destLen, const Byte *src, SizeT *srcLen) in Lzma86_Decode() argument 32 if (*srcLen < LZMA86_HEADER_SIZE) in Lzma86_Decode() 43 inSizePure = *srcLen - LZMA86_HEADER_SIZE; in Lzma86_Decode() 46 *srcLen = inSizePure + LZMA86_HEADER_SIZE; in Lzma86_Decode()
|
D | Lzma86Enc.c | 17 int Lzma86_Encode(Byte *dest, size_t *destLen, const Byte *src, size_t srcLen, in Lzma86_Encode() argument 36 UInt64 t = srcLen; in Lzma86_Encode() 45 if (srcLen != 0) in Lzma86_Encode() 47 filteredStream = (Byte *)MyAlloc(srcLen); in Lzma86_Encode() 50 memcpy(filteredStream, src, srcLen); in Lzma86_Encode() 55 x86_Convert(filteredStream, srcLen, 0, &x86State, 1); in Lzma86_Encode() 83 curModeIsFiltered ? filteredStream : src, srcLen, in Lzma86_Encode()
|
D | XzDec.c | 124 static SRes BraState_Code(void *pp, Byte *dest, SizeT *destLen, const Byte *src, SizeT *srcLen, in BraState_Code() argument 129 SizeT srcLenOrig = *srcLen; in BraState_Code() 131 *srcLen = 0; in BraState_Code() 157 *srcLen += curSize; in BraState_Code() 246 static SRes SbState_Code(void *pp, Byte *dest, SizeT *destLen, const Byte *src, SizeT *srcLen, in SbState_Code() argument 250 …SRes res = SubblockDec_Decode((CSubblockDec *)pp, dest, destLen, src, srcLen, finishMode, &status); in SbState_Code() 293 static SRes Lzma2State_Code(void *pp, Byte *dest, SizeT *destLen, const Byte *src, SizeT *srcLen, in Lzma2State_Code() argument 298 SRes res = Lzma2Dec_DecodeToBuf((CLzma2Dec *)pp, dest, destLen, src, srcLen, finishMode, &status); in Lzma2State_Code() 376 const Byte *src, SizeT *srcLen, int srcWasFinished, in MixCoder_Code() argument 380 SizeT srcLenOrig = *srcLen; in MixCoder_Code() [all …]
|
/external/chromium_org/third_party/icu/source/test/perf/strsrchperf/ |
D | strsrchperf.h | 14 typedef void (*StrSrchFn)(UStringSearch* srch, const UChar* src,int32_t srcLen, const UChar* pttrn,… 20 int32_t srcLen; variable 27 (*fn)(srch, src, srcLen, pttrn, pttrnLen, status); in call() 31 return (long) srcLen; in getOperationsPerIteration() 37 srcLen = sourceLen; in StringSearchPerfFunction() 47 int32_t srcLen; variable
|
/external/icu/icu4c/source/test/perf/strsrchperf/ |
D | strsrchperf.h | 14 typedef void (*StrSrchFn)(UStringSearch* srch, const UChar* src,int32_t srcLen, const UChar* pttrn,… 20 int32_t srcLen; variable 27 (*fn)(srch, src, srcLen, pttrn, pttrnLen, status); in call() 31 return (long) srcLen; in getOperationsPerIteration() 37 srcLen = sourceLen; in StringSearchPerfFunction() 47 int32_t srcLen; variable
|