/external/chromium_org/third_party/icu/source/tools/genrb/ |
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,
|
prscmnts.cpp | 35 removeText(UChar *source, int32_t srcLen, 43 UnicodeString src(source, srcLen); 55 return dest.extract(source, srcLen, *status); 59 trim(UChar *src, int32_t srcLen, UErrorCode *status){ 60 srcLen = removeText(src, srcLen, "^[ \\r\\n]+ ", 0, "", status); // remove leading new lines 61 srcLen = removeText(src, srcLen, "^\\s+", 0, "", status); // remove leading spaces 62 srcLen = removeText(src, srcLen, "\\s+$", 0, "", status); // remvoe trailing spcae [all...] |
/external/icu4c/tools/genrb/ |
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,
|
prscmnts.cpp | 35 removeText(UChar *source, int32_t srcLen, 43 UnicodeString src(source, srcLen); 55 return dest.extract(source, srcLen, *status); 59 trim(UChar *src, int32_t srcLen, UErrorCode *status){ 60 srcLen = removeText(src, srcLen, "^[ \\r\\n]+ ", 0, "", status); // remove leading new lines 61 srcLen = removeText(src, srcLen, "^\\s+", 0, "", status); // remove leading spaces 62 srcLen = removeText(src, srcLen, "\\s+$", 0, "", status); // remvoe trailing spcae [all...] |
/external/chromium_org/third_party/icu/source/test/perf/normperf/ |
normperf.h | 28 typedef int32_t (*NormFn)(const UChar* src,int32_t srcLen, UChar* dest,int32_t dstLen, int32_t options, UErrorCode* status); 29 typedef int32_t (*QuickCheckFn)(const UChar* src,int32_t srcLen, UNormalizationMode mode, int32_t options, UErrorCode* status); 40 int32_t srcLen; 59 retVal = (*fn)(src,srcLen,mode, options, status); 74 return srcLen; 84 srcLen = 0; 94 srcLen = sourceLen; 111 int32_t srcLen; 129 retVal = (*fn)(src,srcLen,pDest,destLen, options, status); 143 return srcLen; [all...] |
/external/icu4c/test/perf/normperf/ |
normperf.h | 28 typedef int32_t (*NormFn)(const UChar* src,int32_t srcLen, UChar* dest,int32_t dstLen, int32_t options, UErrorCode* status); 29 typedef int32_t (*QuickCheckFn)(const UChar* src,int32_t srcLen, UNormalizationMode mode, int32_t options, UErrorCode* status); 40 int32_t srcLen; 59 retVal = (*fn)(src,srcLen,mode, options, status); 74 return srcLen; 84 srcLen = 0; 94 srcLen = sourceLen; 111 int32_t srcLen; 129 retVal = (*fn)(src,srcLen,pDest,destLen, options, status); 143 return srcLen; [all...] |
/external/icu4c/test/perf/strsrchperf/ |
strsrchperf.h | 14 typedef void (*StrSrchFn)(UStringSearch* srch, const UChar* src,int32_t srcLen, const UChar* pttrn, int32_t pttrnLen, UErrorCode* status); 20 int32_t srcLen; 27 (*fn)(srch, src, srcLen, pttrn, pttrnLen, status); 31 return (long) srcLen; 37 srcLen = sourceLen; 47 int32_t srcLen;
|
/external/lzma/C/ |
Lzma86Dec.c | 13 SRes Lzma86_GetUnpackSize(const Byte *src, SizeT srcLen, UInt64 *unpackSize)
16 if (srcLen < LZMA86_HEADER_SIZE)
24 SRes Lzma86_Decode(Byte *dest, SizeT *destLen, const Byte *src, SizeT *srcLen)
32 if (*srcLen < LZMA86_HEADER_SIZE)
43 inSizePure = *srcLen - LZMA86_HEADER_SIZE;
46 *srcLen = inSizePure + LZMA86_HEADER_SIZE;
|
LzmaLib.c | 15 MY_STDAPI LzmaCompress(unsigned char *dest, size_t *destLen, const unsigned char *src, size_t srcLen,
36 return LzmaEncode(dest, destLen, src, srcLen, &props, outProps, outPropsSize, 0,
41 MY_STDAPI LzmaUncompress(unsigned char *dest, size_t *destLen, const unsigned char *src, size_t *srcLen,
45 return LzmaDecode(dest, destLen, src, srcLen, props, (unsigned)propsSize, LZMA_FINISH_ANY, &status, &g_Alloc);
|
Lzma86Enc.c | 17 int Lzma86_Encode(Byte *dest, size_t *destLen, const Byte *src, size_t srcLen,
36 UInt64 t = srcLen;
45 if (srcLen != 0)
47 filteredStream = (Byte *)MyAlloc(srcLen);
50 memcpy(filteredStream, src, srcLen);
55 x86_Convert(filteredStream, srcLen, 0, &x86State, 1);
83 curModeIsFiltered ? filteredStream : src, srcLen,
|
Lzma2Dec.c | 171 const Byte *src, SizeT *srcLen, ELzmaFinishMode finishMode, ELzmaStatus *status)
173 SizeT inSize = *srcLen;
174 *srcLen = 0;
189 if (*srcLen == inSize)
194 (*srcLen)++;
200 SizeT srcSizeCur = inSize - *srcLen;
211 if (*srcLen == inSize)
237 *srcLen += srcSizeCur;
265 *srcLen += srcSizeCur;
291 SRes Lzma2Dec_DecodeToBuf(CLzma2Dec *p, Byte *dest, SizeT *destLen, const Byte *src, SizeT *srcLen, ELzmaFinishMode finishMode, ELzmaStatus *status) [all...] |
/external/chromium_org/third_party/icu/source/test/perf/strsrchperf/ |
strsrchperf.h | 20 typedef void (*StrSrchFn) (BoyerMooreSearch * bms, const UChar *src, int32_t srcLen, const UChar *pttrn, int32_t pttrnLen, UErrorCode *status); 22 typedef void (*StrSrchFn)(UStringSearch* srch, const UChar* src,int32_t srcLen, const UChar* pttrn, int32_t pttrnLen, UErrorCode* status); 29 int32_t srcLen; 41 (*fn)(bms, src, srcLen, pttrn, pttrnLen, status); 43 (*fn)(srch, src, srcLen, pttrn, pttrnLen, status); 49 return (long)(srcLen/pttrnLen); 51 return (long) srcLen; 59 srcLen = sourceLen; 68 srcLen = sourceLen; 79 int32_t srcLen; [all...] |
strsrchperf.cpp | 30 src = getBuffer(srcLen, status); 34 UBreakIterator* brk = ubrk_open(UBRK_WORD, locale, src, srcLen, &status); 73 targetString = new UnicodeString(src, srcLen); 77 srch = usearch_open(pttrn, pttrnLen, src, srcLen, locale, NULL, &status); 121 StringSearchPerfFunction *func = new StringSearchPerfFunction(ICUForwardSearch, bms, src, srcLen, pttrn, pttrnLen); 123 StringSearchPerfFunction* func = new StringSearchPerfFunction(ICUForwardSearch, srch, src, srcLen, pttrn, pttrnLen); 130 StringSearchPerfFunction *func = new StringSearchPerfFunction(ICUBackwardSearch, bms, src, srcLen, pttrn, pttrnLen); 132 StringSearchPerfFunction* func = new StringSearchPerfFunction(ICUBackwardSearch, srch, src, srcLen, pttrn, pttrnLen);
|
/external/chromium_org/third_party/icu/source/test/perf/ustrperf/ |
stringperf.h | 56 typedef void (*ICUStringPerfFn)(const UChar* src,int32_t srcLen, UnicodeString s0); 57 typedef void (*StdStringPerfFn)(const wchar_t* src,int32_t srcLen, stlstring s0); 384 inline void ctor(const UChar* src,int32_t srcLen, UnicodeString s0) 389 inline void ctor1(const UChar* src,int32_t srcLen, UnicodeString s0) 394 inline void ctor2(const UChar* src,int32_t srcLen, UnicodeString s0) 399 inline void ctor3(const UChar* src,int32_t srcLen, UnicodeString s0) 401 UnicodeString d(src,srcLen); 404 inline UnicodeString icu_assign_helper(const UChar* src,int32_t srcLen) 406 if (srcLen==-1) { return src;} 407 else { return UnicodeString(src, srcLen);} [all...] |
/external/icu4c/test/perf/ustrperf/ |
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) 391 inline void ctor1(const UChar* src,int32_t srcLen, UnicodeString s0) 396 inline void ctor2(const UChar* src,int32_t srcLen, UnicodeString s0) 401 inline void ctor3(const UChar* src,int32_t srcLen, UnicodeString s0) 403 UnicodeString d(src,srcLen); 406 inline UnicodeString icu_assign_helper(const UChar* src,int32_t srcLen) 408 if (srcLen==-1) { return src;} 409 else { return UnicodeString(src, srcLen);} [all...] |
/external/chromium_org/third_party/icu/source/test/perf/convperf/ |
convperf.h | 28 int32_t srcLen; 36 srcLen = sourceLen; 44 source, srcLen, &status); 57 const char* sourceLimit = src + srcLen; 62 return srcLen; 73 int32_t srcLen; 82 srcLen = sourceLen; 90 source, srcLen, &status); 103 const UChar* sourceLimit = src + srcLen; 108 return srcLen; [all...] |
/external/icu4c/test/perf/convperf/ |
convperf.h | 28 int32_t srcLen; 36 srcLen = sourceLen; 44 source, srcLen, &status); 57 const char* sourceLimit = src + srcLen; 62 return srcLen; 73 int32_t srcLen; 82 srcLen = sourceLen; 90 source, srcLen, &status); 103 const UChar* sourceLimit = src + srcLen; 108 return srcLen; [all...] |
/external/chromium_org/third_party/lzma_sdk/ |
LzmaLib.c | 15 MY_STDAPI LzmaCompress(unsigned char *dest, size_t *destLen, const unsigned char *src, size_t srcLen, 36 return LzmaEncode(dest, destLen, src, srcLen, &props, outProps, outPropsSize, 0, 41 MY_STDAPI LzmaUncompress(unsigned char *dest, size_t *destLen, const unsigned char *src, size_t *srcLen, 45 return LzmaDecode(dest, destLen, src, srcLen, props, (unsigned)propsSize, LZMA_FINISH_ANY, &status, &g_Alloc);
|
Lzma2Dec.c | 171 const Byte *src, SizeT *srcLen, ELzmaFinishMode finishMode, ELzmaStatus *status) 173 SizeT inSize = *srcLen; 174 *srcLen = 0; 189 if (*srcLen == inSize) 194 (*srcLen)++; 200 SizeT srcSizeCur = inSize - *srcLen; 211 if (*srcLen == inSize) 237 *srcLen += srcSizeCur; 265 *srcLen += srcSizeCur; 291 SRes Lzma2Dec_DecodeToBuf(CLzma2Dec *p, Byte *dest, SizeT *destLen, const Byte *src, SizeT *srcLen, ELzmaFinishMode finishMode, ELzmaStatus *status [all...] |
/external/chromium_org/third_party/ots/third_party/lzma_sdk/ |
LzmaLib.c | 16 MY_STDAPI LzmaCompress(unsigned char *dest, size_t *destLen, const unsigned char *src, size_t srcLen, 37 return LzmaEncode(dest, destLen, src, srcLen, &props, outProps, outPropsSize, 0, 42 MY_STDAPI LzmaUncompress(unsigned char *dest, size_t *destLen, const unsigned char *src, size_t *srcLen, 46 return LzmaDecode(dest, destLen, src, srcLen, props, (unsigned)propsSize, LZMA_FINISH_ANY, &status, &g_Alloc);
|
/external/chromium_org/third_party/libjingle/source/talk/base/ |
stringencode.cc | 44 const char * source, size_t srclen, 51 while ((srcpos < srclen) && (bufpos + 1 < buflen)) { 66 const char * source, size_t srclen, 73 while ((srcpos < srclen) && (bufpos + 1 < buflen)) { 75 if ((ch == escape) && (srcpos < srclen)) { 85 const char * source, size_t srclen, 92 while ((srcpos < srclen) && (bufpos + 1 < buflen)) { 110 const char * source, size_t srclen, 117 while ((srcpos < srclen) && (bufpos + 1 < buflen)) { 120 && (srcpos + 1 < srclen) [all...] |
/external/chromium_org/third_party/icu/source/test/cintltst/ |
nfsprep.h | 44 * @param srcLen 62 * @param srcLen 77 * @param srcLen 92 * @param srcLen
|
/external/icu4c/test/cintltst/ |
nfsprep.h | 44 * @param srcLen 62 * @param srcLen 77 * @param srcLen 92 * @param srcLen
|
/external/chromium/third_party/libjingle/source/talk/base/ |
stringencode.cc | 64 const char * source, size_t srclen, 71 while ((srcpos < srclen) && (bufpos + 1 < buflen)) { 86 const char * source, size_t srclen, 93 while ((srcpos < srclen) && (bufpos + 1 < buflen)) { 95 if ((ch == escape) && (srcpos < srclen)) { 105 const char * source, size_t srclen, 112 while ((srcpos < srclen) && (bufpos + 1 < buflen)) { 130 const char * source, size_t srclen, 137 while ((srcpos < srclen) && (bufpos + 1 < buflen)) { 140 && (srcpos + 1 < srclen) [all...] |
stringencode.h | 51 size_t utf8_decode(const char* source, size_t srclen, unsigned long* value); 56 const char * source, size_t srclen, 60 const char * source, size_t srclen, 68 const char * source, size_t srclen, 72 const char * source, size_t srclen, 82 const char * source, size_t srclen); 85 const char * source, size_t srclen); 89 const char * source, size_t srclen); 92 const char * source, size_t srclen); 96 const char * source, size_t srclen); [all...] |