/external/icu/icu4c/source/tools/genrb/ |
H A D | rle.h | 40 byteArrayToRLEString(const uint8_t* src,int32_t srcLen, uint16_t* buffer,int32_t bufLen, UErrorCode* status); 57 usArrayToRLEString(const uint16_t* src,int32_t srcLen,uint16_t* buffer, int32_t bufLen,UErrorCode* status); 63 rleStringToByteArray(uint16_t* src, int32_t srcLen, uint8_t* target, int32_t tgtLen, UErrorCode* status); 68 rleStringToUCharArray(uint16_t* src, int32_t srcLen, uint16_t* target, int32_t tgtLen, UErrorCode* status);
|
H A D | prscmnts.cpp | 45 removeText(UChar *source, int32_t srcLen, argument 53 UnicodeString src(source, srcLen); 65 return dest.extract(source, srcLen, *status); 69 trim(UChar *src, int32_t srcLen, UErrorCode *status){ argument 70 srcLen = removeText(src, srcLen, UnicodeString("^[ \\r\\n]+ "), 0, UnicodeString(), status); // remove leading new lines 71 srcLen = removeText(src, srcLen, UnicodeString("^\\s+"), 0, UnicodeString(), status); // remove leading spaces 72 srcLen = removeText(src, srcLen, UnicodeStrin 77 removeCmtText(UChar* source, int32_t srcLen, UErrorCode* status) argument 85 getText(const UChar* source, int32_t srcLen, UChar** dest, int32_t destCapacity, UnicodeString patternString, UErrorCode* status) argument 122 getDescription( const UChar* source, int32_t srcLen, UChar** dest, int32_t destCapacity, UErrorCode* status) argument 146 getCount(const UChar* source, int32_t srcLen, UParseCommentsOption option, UErrorCode *status) argument 183 getAt(const UChar* source, int32_t srcLen, UChar** dest, int32_t destCapacity, int32_t index, UParseCommentsOption option, UErrorCode* status) argument 225 getTranslate( const UChar* source, int32_t srcLen, UChar** dest, int32_t destCapacity, UErrorCode* status) argument 235 getNote(const UChar* source, int32_t srcLen, UChar** dest, int32_t destCapacity, UErrorCode* status) argument [all...] |
H A 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,
|
H A D | rle.c | 148 usArrayToRLEString(const uint16_t* src,int32_t srcLen,uint16_t* buffer, int32_t bufLen,UErrorCode* status) { argument 152 *buffer++ = (uint16_t)(srcLen>>16); 157 *buffer++ = (uint16_t) srcLen; 159 for (; i<srcLen; ++i) { 194 byteArrayToRLEString(const uint8_t* src,int32_t srcLen, uint16_t* buffer,int32_t bufLen, UErrorCode* status) { argument 198 *buffer++ = ((uint16_t) (srcLen >> 16)); 205 *buffer++=((uint16_t) srcLen); 206 for (; i<srcLen; ++i) { 239 rleStringToUCharArray(uint16_t* src, int32_t srcLen, uint16_t* target, int32_t tgtLen, UErrorCode* status) { argument 248 if(srcLen 295 rleStringToByteArray(uint16_t* src, int32_t srcLen, uint8_t* target, int32_t tgtLen, UErrorCode* status) argument [all...] |
/external/lzma/C/ |
H A D | Lzma86.h | 71 SRes Lzma86_Encode(Byte *dest, size_t *destLen, const Byte *src, size_t srcLen,
79 srcLen - input data size
87 SRes Lzma86_GetUnpackSize(const Byte *src, SizeT srcLen, UInt64 *unpackSize);
95 srcLen - input data size
98 srcLen - processed input size
107 SRes Lzma86_Decode(Byte *dest, SizeT *destLen, const Byte *src, SizeT *srcLen);
|
H A D | LzmaLib.h | 96 MY_STDAPI LzmaCompress(unsigned char *dest, size_t *destLen, const unsigned char *src, size_t srcLen,
114 srcLen - input data size
117 srcLen - processed input size
126 MY_STDAPI LzmaUncompress(unsigned char *dest, size_t *destLen, const unsigned char *src, SizeT *srcLen,
|
H A D | Lzma86Dec.c | 13 SRes Lzma86_GetUnpackSize(const Byte *src, SizeT srcLen, UInt64 *unpackSize)
argument 16 if (srcLen < LZMA86_HEADER_SIZE)
24 SRes Lzma86_Decode(Byte *dest, SizeT *destLen, const Byte *src, SizeT *srcLen)
argument 32 if (*srcLen < LZMA86_HEADER_SIZE)
43 inSizePure = *srcLen - LZMA86_HEADER_SIZE;
46 *srcLen = inSizePure + LZMA86_HEADER_SIZE;
|
H A D | LzmaLib.c | 15 MY_STDAPI LzmaCompress(unsigned char *dest, size_t *destLen, const unsigned char *src, size_t srcLen,
argument 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,
argument 45 return LzmaDecode(dest, destLen, src, srcLen, props, (unsigned)propsSize, LZMA_FINISH_ANY, &status, &g_Alloc);
|
H A D | Lzma86Enc.c | 17 int Lzma86_Encode(Byte *dest, size_t *destLen, const Byte *src, size_t srcLen,
argument 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,
|
H A D | Lzma2Dec.h | 50 const Byte *src, SizeT *srcLen, ELzmaFinishMode finishMode, ELzmaStatus *status);
53 const Byte *src, SizeT *srcLen, ELzmaFinishMode finishMode, ELzmaStatus *status);
75 SRes Lzma2Decode(Byte *dest, SizeT *destLen, const Byte *src, SizeT *srcLen,
|
H A D | Lzma2Dec.c | 173 const Byte *src, SizeT *srcLen, ELzmaFinishMode finishMode, ELzmaStatus *status)
175 SizeT inSize = *srcLen;
176 *srcLen = 0;
191 if (*srcLen == inSize)
196 (*srcLen)++;
202 SizeT srcSizeCur = inSize - *srcLen;
213 if (*srcLen == inSize)
239 *srcLen += srcSizeCur;
267 *srcLen += srcSizeCur;
293 SRes Lzma2Dec_DecodeToBuf(CLzma2Dec *p, Byte *dest, SizeT *destLen, const Byte *src, SizeT *srcLen, ELzmaFinishMod argument 172 Lzma2Dec_DecodeToDic(CLzma2Dec *p, SizeT dicLimit, const Byte *src, SizeT *srcLen, ELzmaFinishMode finishMode, ELzmaStatus *status) argument 332 Lzma2Decode(Byte *dest, SizeT *destLen, const Byte *src, SizeT *srcLen, Byte prop, ELzmaFinishMode finishMode, ELzmaStatus *status, ISzAlloc *alloc) argument [all...] |
H A D | LzmaDec.h | 95 3) Check that output(srcLen) = compressedSize, if you know real compressedSize.
180 const Byte *src, SizeT *srcLen, ELzmaFinishMode finishMode, ELzmaStatus *status);
197 const Byte *src, SizeT *srcLen, ELzmaFinishMode finishMode, ELzmaStatus *status);
221 SRes LzmaDecode(Byte *dest, SizeT *destLen, const Byte *src, SizeT *srcLen,
|
H A D | XzDec.c | 126 static SRes BraState_Code(void *pp, Byte *dest, SizeT *destLen, const Byte *src, SizeT *srcLen,
argument 131 SizeT srcLenOrig = *srcLen;
133 *srcLen = 0;
159 *srcLen += curSize;
249 static SRes SbState_Code(void *pp, Byte *dest, SizeT *destLen, const Byte *src, SizeT *srcLen,
argument 258 p->srcLen = *srcLen;
262 *srcLen -= p->srcLen;
263 *wasFinished = (*destLen == 0 && *srcLen 305 Lzma2State_Code(void *pp, Byte *dest, SizeT *destLen, const Byte *src, SizeT *srcLen, int srcWasFinished, ECoderFinishMode finishMode, int *wasFinished) argument 390 MixCoder_Code(CMixCoder *p, Byte *dest, SizeT *destLen, const Byte *src, SizeT *srcLen, int srcWasFinished, ECoderFinishMode finishMode, ECoderStatus *status) argument 626 XzUnpacker_Code(CXzUnpacker *p, Byte *dest, SizeT *destLen, const Byte *src, SizeT *srcLen, ECoderFinishMode finishMode, ECoderStatus *status) argument [all...] |
H A D | LzmaEnc.h | 58 SRes LzmaEnc_MemEncode(CLzmaEncHandle p, Byte *dest, SizeT *destLen, const Byte *src, SizeT srcLen,
72 SRes LzmaEncode(Byte *dest, SizeT *destLen, const Byte *src, SizeT srcLen,
|
/external/icu/icu4c/source/test/perf/normperf/ |
H A D | 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; member in class:QuickCheckPerfFunction 59 retVal = (*fn)(src,srcLen,mode, options, status); 74 return srcLen; 84 srcLen = 0; 94 srcLen = sourceLen; 111 int32_t srcLen; member in class:NormPerfFunction 129 retVal = (*fn)(src,srcLen,pDest,destLen, options, status); 143 return srcLen; 257 ICUNormNFD(const UChar* src, int32_t srcLen,UChar* dest, int32_t dstLen, int32_t options, UErrorCode* status) argument 261 ICUNormNFC(const UChar* src, int32_t srcLen,UChar* dest, int32_t dstLen, int32_t options, UErrorCode* status) argument 265 ICUNormNFKD(const UChar* src, int32_t srcLen,UChar* dest, int32_t dstLen, int32_t options, UErrorCode* status) argument 268 ICUNormNFKC(const UChar* src, int32_t srcLen,UChar* dest, int32_t dstLen, int32_t options, UErrorCode* status) argument 272 ICUNormFCD(const UChar* src, int32_t srcLen,UChar* dest, int32_t dstLen, int32_t options, UErrorCode* status) argument 276 ICUQuickCheck(const UChar* src,int32_t srcLen, UNormalizationMode mode, int32_t options, UErrorCode* status) argument 283 ICUIsNormalized(const UChar* src,int32_t srcLen, UNormalizationMode mode, int32_t options, UErrorCode* status) argument 290 ICUNormNFD(const UChar* src, int32_t srcLen,UChar* dest, int32_t dstLen, int32_t options, UErrorCode* status) argument 294 ICUNormNFC(const UChar* src, int32_t srcLen,UChar* dest, int32_t dstLen, int32_t options, UErrorCode* status) argument 298 ICUNormNFKD(const UChar* src, int32_t srcLen,UChar* dest, int32_t dstLen, int32_t options, UErrorCode* status) argument 301 ICUNormNFKC(const UChar* src, int32_t srcLen,UChar* dest, int32_t dstLen, int32_t options, UErrorCode* status) argument 305 ICUNormFCD(const UChar* src, int32_t srcLen,UChar* dest, int32_t dstLen, int32_t options, UErrorCode* status) argument 309 ICUQuickCheck(const UChar* src,int32_t srcLen, UNormalizationMode mode, int32_t options, UErrorCode* status) argument 313 ICUIsNormalized(const UChar* src,int32_t srcLen, UNormalizationMode mode, int32_t options, UErrorCode* status) argument 320 WinNormNFD(const UChar* src, int32_t srcLen, UChar* dest, int32_t dstLen, int32_t options, UErrorCode* status) argument 324 WinNormNFC(const UChar* src, int32_t srcLen, UChar* dest, int32_t dstLen, int32_t options, UErrorCode* status) argument 328 WinNormNFKD(const UChar* src, int32_t srcLen, UChar* dest, int32_t dstLen, int32_t options, UErrorCode* status) argument 331 WinNormNFKC(const UChar* src, int32_t srcLen, UChar* dest, int32_t dstLen, int32_t options, UErrorCode* status) argument 335 WinNormNFD(const UChar* src, int32_t srcLen, UChar* dest, int32_t dstLen, int32_t options, UErrorCode* status) argument 339 WinNormNFC(const UChar* src, int32_t srcLen, UChar* dest, int32_t dstLen, int32_t options, UErrorCode* status) argument 343 WinNormNFKD(const UChar* src, int32_t srcLen, UChar* dest, int32_t dstLen, int32_t options, UErrorCode* status) argument 346 WinNormNFKC(const UChar* src, int32_t srcLen, UChar* dest, int32_t dstLen, int32_t options, UErrorCode* status) argument [all...] |
/external/icu/icu4c/source/test/perf/strsrchperf/ |
H A D | 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; member in class:StringSearchPerfFunction 27 (*fn)(srch, src, srcLen, pttrn, pttrnLen, status); 31 return (long) srcLen; 37 srcLen = sourceLen; 47 int32_t srcLen; member in class:StringSearchPerformanceTest
|
H A D | strsrchperf.cpp | 24 src = getBuffer(srcLen, status); 28 UBreakIterator* brk = ubrk_open(UBRK_WORD, locale, src, srcLen, &status); 63 srch = usearch_open(pttrn, pttrnLen, src, srcLen, locale, NULL, &status); 94 StringSearchPerfFunction* func = new StringSearchPerfFunction(ICUForwardSearch, srch, src, srcLen, pttrn, pttrnLen); 99 StringSearchPerfFunction* func = new StringSearchPerfFunction(ICUBackwardSearch, srch, src, srcLen, pttrn, pttrnLen);
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/bidi/ |
H A D | TestStreaming.java | 77 int srcLen, processedLen, chunk, len, nPortions, offset; 93 srcLen = src.length(); 103 for (j = 0; j < MAXPORTIONS && srcLen > 0; j++) { 104 len = chunk < srcLen ? chunk : srcLen; 105 offset = src.length() - srcLen; 121 srcLen -= processedLen;
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/bidi/ |
H A D | TestStreaming.java | 73 int srcLen, processedLen, chunk, len, nPortions, offset; 89 srcLen = src.length(); 99 for (j = 0; j < MAXPORTIONS && srcLen > 0; j++) { 100 len = chunk < srcLen ? chunk : srcLen; 101 offset = src.length() - srcLen; 117 srcLen -= processedLen;
|
/external/icu/icu4c/source/test/perf/ustrperf/ |
H A 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) argument 391 inline void ctor1(const UChar* src,int32_t srcLen, UnicodeString s0) argument 396 inline void ctor2(const UChar* src,int32_t srcLen, UnicodeString s0) argument 401 inline void ctor3(const UChar* src,int32_t srcLen, UnicodeString s0) argument 403 UnicodeString d(src,srcLen); 406 inline UnicodeString icu_assign_helper(const UChar* src,int32_t srcLen) argument 408 if (srcLen==-1) { return src;} 409 else { return UnicodeString(src, srcLen);} 412 assign(const UChar* src,int32_t srcLen, UnicodeString s0) argument 417 assign1(const UChar* src,int32_t srcLen, UnicodeString s0) argument 422 assign2(const UChar* src,int32_t srcLen, UnicodeString s0) argument 427 getch(const UChar* src,int32_t srcLen, UnicodeString s0) argument 433 catenate(const UChar* src,int32_t srcLen, UnicodeString s0) argument 450 scan(const UChar* src,int32_t srcLen, UnicodeString s0) argument 456 scan1(const UChar* src,int32_t srcLen, UnicodeString s0) argument 461 scan2(const UChar* src,int32_t srcLen, UnicodeString s0) argument 470 StdLibCtor(const wchar_t* src,int32_t srcLen, stlstring s0) argument 475 StdLibCtor1(const wchar_t* src,int32_t srcLen, stlstring s0) argument 480 StdLibCtor2(const wchar_t* src,int32_t srcLen, stlstring s0) argument 485 StdLibCtor3(const wchar_t* src,int32_t srcLen, stlstring s0) argument 494 stl_assign_helper(const wchar_t* src,int32_t srcLen) argument 500 StdLibAssign(const wchar_t* src,int32_t srcLen, stlstring s0) argument 505 StdLibAssign1(const wchar_t* src,int32_t srcLen, stlstring s0) argument 511 StdLibAssign2(const wchar_t* src,int32_t srcLen, stlstring s0) argument 516 StdLibGetch(const wchar_t* src,int32_t srcLen, stlstring s0) argument 521 StdLibCatenate(const wchar_t* src,int32_t srcLen, stlstring s0) argument 535 StdLibScan(const wchar_t* src,int32_t srcLen, stlstring s0) argument 540 StdLibScan1(const wchar_t* src,int32_t srcLen, stlstring s0) argument 545 StdLibScan2(const wchar_t* src,int32_t srcLen, stlstring s0) argument [all...] |
/external/icu/icu4c/source/test/perf/convperf/ |
H A D | convperf.h | 28 int32_t srcLen; member in class:ICUToUnicodePerfFunction 36 srcLen = sourceLen; 44 source, srcLen, &status); 57 const char* sourceLimit = src + srcLen; 62 return srcLen; 73 int32_t srcLen; member in class:ICUFromUnicodePerfFunction 82 srcLen = sourceLen; 90 source, srcLen, &status); 103 const UChar* sourceLimit = src + srcLen; 108 return srcLen; 153 UINT srcLen; member in class:WinANSIToUnicodePerfFunction 205 UINT srcLen; member in class:WinANSIFromUnicodePerfFunction 274 UINT srcLen; member in class:WinIMultiLanguageToUnicodePerfFunction 330 UINT srcLen; member in class:WinIMultiLanguageFromUnicodePerfFunction 386 UINT srcLen; member in class:WinIMultiLanguage2ToUnicodePerfFunction 439 UINT srcLen; member in class:WinIMultiLanguage2FromUnicodePerfFunction [all...] |
/external/icu/icu4c/source/test/cintltst/ |
H A D | spreptst.c | 292 unescapeData(const char* src, int32_t srcLen, argument 442 int32_t srcLen; local 449 srcLen = unescapeData(mixed_prep_data[i], (int32_t)strlen(mixed_prep_data[i]), src, MAX_BUFFER_SIZE, &status); 454 destLen = nfs4_mixed_prepare(src, srcLen, NULL, 0, &parseError, &status); 458 destLen = nfs4_mixed_prepare(src, srcLen, dest, destLen, &parseError, &status); 475 int32_t srcLen = unescapeData(source, (int32_t)strlen(source), src, MAX_BUFFER_SIZE, &status); local 477 nfs4_mixed_prepare(src, srcLen, dest, MAX_BUFFER_SIZE, &parseError, &status); 502 int32_t srcLen = unescapeData(source, (int32_t)strlen(source), src, MAX_BUFFER_SIZE, &status); local 505 int32_t destLen = nfs4_cs_prepare(src, srcLen, dest, MAX_BUFFER_SIZE, FALSE, &parseError, &status); 512 if(destLen != srcLen){ 525 int32_t srcLen = unescapeData(source, (int32_t)strlen(source), src, MAX_BUFFER_SIZE, &status); local 548 int32_t srcLen = unescapeData(source, (int32_t)strlen(source), src, MAX_BUFFER_SIZE, &status); local 573 int32_t srcLen = unescapeData(source, (int32_t)strlen(source), src, MAX_BUFFER_SIZE, &status); local [all...] |
/external/lzma/CPP/Common/ |
H A D | UTFConvert.cpp | 45 static Bool Utf8_To_Utf16(wchar_t *dest, size_t *destLen, const char *src, size_t srcLen) throw()
argument 52 if (srcPos == srcLen)
76 if (srcPos == srcLen)
109 static Bool Utf16_To_Utf8(char *dest, size_t *destLen, const wchar_t *src, size_t srcLen)
argument 116 if (srcPos == srcLen)
132 if (value >= 0xDC00 || srcPos == srcLen)
|
/external/opencv3/modules/cudalegacy/test/ |
H A D | NCVTestSourceProvider.hpp | 159 Ncv32u srcLen = this->dataWidth * this->dataHeight; local 161 Ncv32u srcFullChunks = (Ncv32u)dst.length() / srcLen; 164 memcpy(dst.ptr() + j * srcLen, this->data.get()->ptr(), srcLen * sizeof(T)); 167 Ncv32u srcLastChunk = dst.length() % srcLen; 168 memcpy(dst.ptr() + srcFullChunks * srcLen, this->data.get()->ptr(), srcLastChunk * sizeof(T));
|
/external/xmp_toolkit/XMPCore/src/com/adobe/xmp/impl/ |
H A D | Base64.java | 191 int srcLen = 0; 197 src[srcLen++] = val; 208 while (srcLen > 0 && src[srcLen - 1] == EQUAL) 210 srcLen--; 212 byte[] dst = new byte[srcLen * 3 / 4];
|