/external/lzma/C/ |
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,
|
XzDec.c | 126 static SRes BraState_Code(void *pp, Byte *dest, SizeT *destLen, const Byte *src, SizeT *srcLen,
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,
258 p->srcLen = *srcLen;
262 *srcLen -= p->srcLen;
263 *wasFinished = (*destLen == 0 && *srcLen == 0); /* change it */ [all...] |
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,
|
LzmaDec.c | 752 SRes LzmaDec_DecodeToDic(CLzmaDec *p, SizeT dicLimit, const Byte *src, SizeT *srcLen,
755 SizeT inSize = *srcLen;
756 (*srcLen) = 0;
767 for (; inSize > 0 && p->tempBufSize < RC_INIT_SIZE; (*srcLen)++, inSize--)
816 (*srcLen) += inSize;
833 (*srcLen) += processed;
848 (*srcLen) += lookAhead;
862 (*srcLen) += lookAhead;
873 SRes LzmaDec_DecodeToBuf(CLzmaDec *p, Byte *dest, SizeT *destLen, const Byte *src, SizeT *srcLen, ELzmaFinishMode finishMode, ELzmaStatus *status)
876 SizeT inSize = *srcLen;
[all...] |
Xz.h | 156 SRes (*Code)(void *p, Byte *dest, SizeT *destLen, const Byte *src, SizeT *srcLen,
179 const Byte *src, SizeT *srcLen, int srcWasFinished,
258 const Byte *src, SizeT *srcLen, ECoderFinishMode finishMode,
|
XzEnc.c | 236 SizeT srcLen = p->endPos - p->curPos;
240 res = p->StateCoder.Code(p->StateCoder.p, data, size, p->buf + p->curPos, &srcLen,
242 p->curPos += srcLen;
243 if (*size != 0 || srcLen == 0 || res != 0)
|
/libcore/luni/src/main/java/java/math/ |
BitLevel.java | 114 static void shiftLeftOneBit(int[] result, int[] source, int srcLen) { 116 for (int i = 0; i < srcLen; i++) { 122 result[srcLen] = carry; 128 int srcLen = source.numberLength; 129 int resLen = srcLen + 1; 131 shiftLeftOneBit(resDigits, source.digits, srcLen);
|
/external/icu/icu4c/source/test/cintltst/ |
cbiditst.c | 97 static const char* inverseBasic(UBiDi *pBiDi, const char *src, int32_t srcLen, [all...] |
idnatest.c | 602 int32_t srcLen; 618 srcLen = u_strlen(src); 620 testCompareWithSrc(src,srcLen,src,srcLen,testName, func, TRUE); 623 testCompareWithSrc(src,srcLen,buf,u_strlen(buf),testName, func,TRUE); 627 testCompareWithSrc(src,srcLen,uni1,u_strlen(uni1),testName, func,FALSE); 629 testCompareWithSrc(src,srcLen,uni0,u_strlen(uni0),testName, func,FALSE); 633 testCompareWithSrc(src,srcLen,ascii1,u_strlen(ascii1),testName, func,FALSE); 635 testCompareWithSrc(src,srcLen,ascii0,u_strlen(ascii0),testName, func,FALSE); 683 int32_t srcLen = u_strlen(src) [all...] |
/external/opencv3/modules/cudalegacy/include/opencv2/cudalegacy/ |
NPP_staging.hpp | 801 * \param srcLen [IN] Length of the input vector in element [all...] |
/external/icu/icu4c/source/test/intltest/ |
testidna.cpp | 807 int32_t srcLen = u_strlen(src); //subtract null 809 testCompare(src,srcLen,src,srcLen,testName, func, TRUE); 812 testCompare(src,srcLen,buf,u_strlen(buf),testName, func,TRUE); 816 testCompare(src,srcLen,uni1.getBuffer(),uni1.length()-1,testName, func,FALSE); 818 testCompare(src,srcLen,uni0.getBuffer(),uni0.length()-1,testName, func,FALSE); 822 testCompare(src,srcLen,ascii1.getBuffer(),ascii1.length()-1,testName, func,FALSE); 824 testCompare(src,srcLen,ascii0.getBuffer(),ascii0.length()-1,testName, func,FALSE); [all...] |
testidna.h | 100 void testCompareReferenceImpl(const UChar* src, int32_t srcLen);
|
/external/icu/icu4c/source/test/perf/normperf/ |
normperf.cpp | 73 void NormalizerPerformanceTest::normalizeInput(ULine* dest,const UChar* src ,int32_t srcLen,UNormalizationMode mode, int32_t options){ 78 reqLen=unorm_normalize(src,srcLen,mode, options,NULL,0,&status); 82 reqLen= unorm_normalize(src,srcLen,mode, options,dest->name,reqLen+1,&status); 90 UChar* NormalizerPerformanceTest::normalizeInput(int32_t& len, const UChar* src ,int32_t srcLen,UNormalizationMode mode, int32_t options){ 96 reqLen=unorm_normalize(src,srcLen,mode, options,NULL,0,&status); 100 reqLen= unorm_normalize(src,srcLen,mode, options,dest,reqLen+1,&status); 154 int32_t srcLen = 0; 155 const UChar* src = getBuffer(srcLen,status); 164 NFDBuffer = normalizeInput(NFDBufferLen,src,srcLen,UNORM_NFD, options); 165 NFCBuffer = normalizeInput(NFCBufferLen,src,srcLen,UNORM_NFC, options) [all...] |
/external/icu/icu4c/source/test/perf/ustrperf/ |
stringperf.cpp | 100 int32_t srcLen = 0; 101 const UChar* src = getBuffer(srcLen,status); 107 StrBuffer = new UChar[srcLen]; 108 StrBufferLen = srcLen; 109 memcpy(StrBuffer, src, srcLen * U_SIZEOF_UCHAR);
|
/build/libs/host/ |
CopyFile.c | 487 int srcLen, dstLen, nameLen; 500 srcLen = strlen(src); 503 srcFile = malloc(srcLen +1 + nameLen +1); 504 memcpy(srcFile, src, srcLen); 505 srcFile[srcLen] = FSSEP; 506 memcpy(srcFile + srcLen+1, ent->d_name, nameLen +1);
|
/external/lzma/C/Util/7z/ |
7zMain.c | 40 static Bool Utf16_To_Utf8(Byte *dest, size_t *destLen, const UInt16 *src, size_t srcLen)
47 if (srcPos == srcLen)
63 if (value >= 0xDC00 || srcPos == srcLen)
89 static SRes Utf16_To_Utf8Buf(CBuf *dest, const UInt16 *src, size_t srcLen)
93 Utf16_To_Utf8(NULL, &destLen, src, srcLen);
97 res = Utf16_To_Utf8(dest->data, &destLen, src, srcLen);
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/bidi/ |
TestReorderingMode.java | 619 int i, srcLen, resLen, index; 631 srcLen = bidi.getProcessedLength(); 662 getIndexMap = new int[srcLen]; 663 for (i = 0; i < srcLen; i++) { [all...] |
/external/icu/icu4c/source/tools/genrb/ |
wrtxml.cpp | 174 static void strnrepchr(char* src, int32_t srcLen, char s, char r){ 176 for(i=0;i<srcLen;i++){ 234 const UChar* src, int32_t srcLen, UErrorCode* status){ 241 if(status==NULL || U_FAILURE(*status) || pDest==NULL || srcLen==0 || src == NULL){ 246 destCap = srcLen * 8; 256 while(srcIndex<srcLen){ 257 U16_NEXT(src, srcIndex, srcLen, c); 397 print(UChar* src, int32_t srcLen,const char *tagStart,const char *tagEnd, UErrorCode *status){ 398 int32_t bufCapacity = srcLen*4; 411 buf = convertAndEscape(&buf, bufCapacity, &bufLen, src, srcLen,status) [all...] |
wrtjava.cpp | 229 str_write_java(const UChar *src, int32_t srcLen, UBool printEndLine, UErrorCode *status) { 231 uint32_t length = srcLen*8; 241 columnCount = getColumnCount(srcLen); 244 bufLen = uCharsToChars(buf,length,src,srcLen,status); 439 int32_t srcLen=res->fLength; 441 if(srcLen>0 ) 450 for (;byteIterator<srcLen;byteIterator++)
|
/external/opencv3/modules/cudalegacy/src/cuda/ |
NPP_staging.cu | [all...] |
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/bidi/ |
TestReorderingMode.java | 623 int i, srcLen, resLen, index; 635 srcLen = bidi.getProcessedLength(); 666 getIndexMap = new int[srcLen]; 667 for (i = 0; i < srcLen; i++) { [all...] |
/external/icu/icu4c/source/test/perf/collperf2/ |
collperf2.cpp | 87 int32_t srcLen, tgtLen; 92 srcLen = useLen ? source->lengthOf(i) : -1; 97 cmp += ucol_strcoll(coll, source->dataOf(i), srcLen, source->dataOf(j), tgtLen); 150 int32_t srcLen = useLen ? source->lengthOf(i) : -1; 152 ucol_strcoll(coll, source->dataOf(i), srcLen, target->dataOf(i), tgtLen); 199 int32_t srcLen, tgtLen; 204 srcLen = useLen ? source->lengthOf(i) : -1; 209 cmp += ucol_strcollUTF8(coll, source->dataOf(i), srcLen, source->dataOf(j), tgtLen, status); 262 int32_t srcLen = useLen ? source->lengthOf(i) : -1; 264 ucol_strcollUTF8(coll, source->dataOf(i), srcLen, target->dataOf(i), tgtLen, status) [all...] |
/external/skia/src/pdf/ |
SkPDFFont.cpp | 168 size_t srcLen; 169 if ((srcLen = srcStream->getLength()) > 0) { 170 staticStream.reset(new SkMemoryStream(srcLen + 1)); 173 memcpy((void *)src, srcStream->getMemoryBase(), srcLen); 176 while (read < srcLen) { 178 srcLen - read); 186 ((uint8_t *)src)[srcLen] = 0; 198 srcLen = data->size() - 1; 205 if (parsePFB(src, srcLen, headerLen, dataLen, trailerLen)) { 209 SkASSERT(length + (2 * kPFBSectionHeaderLength) <= srcLen); [all...] |
/frameworks/native/cmds/rawbu/ |
backup.cpp | 261 int srcLen = strlen(srcPath); 290 fullPath = (char*)malloc(srcLen + strlen(de->d_name) + 2); 292 fullPath[srcLen] = '/'; 293 strcpy(fullPath+srcLen+1, de->d_name);
|
/external/icu/icu4c/source/common/ |
ustring.cpp | [all...] |