/external/icu/icu4c/source/test/cintltst/ |
D | idnatest.c | 79 int32_t destLen = 0; in testAPI() local 95 destLen = func(src,-1,NULL,0,options, &parseError , &status); in testAPI() 98 if(destLen+1 < MAX_DEST_SIZE){ in testAPI() 100 destLen = func(src,-1,dest,destLen+1,options, &parseError, &status); in testAPI() 102 …IDNA_STD3_ASCII_RULES_ERROR&& (doCompare==TRUE) && u_strCaseCompare(dest,destLen, expected,expecte… in testAPI() 117 destLen = func(src,-1,NULL,0,options | UIDNA_ALLOW_UNASSIGNED, &parseError, &status); in testAPI() 120 if(destLen+1 < MAX_DEST_SIZE){ in testAPI() 122 … destLen = func(src,-1,dest,destLen+1,options | UIDNA_ALLOW_UNASSIGNED, &parseError, &status); in testAPI() 124 …if(U_SUCCESS(status) && (doCompare==TRUE) && u_strCaseCompare(dest,destLen, expected,expectedLen,0… in testAPI() 141 destLen = func(tSrc, tSrcLen, NULL,0,options, &parseError, &status); in testAPI() [all …]
|
D | spreptst.c | 302 destLen = 0; in unescapeData() local 308 u_strToUTF8(dest, destCapacity, &destLen, b1, b1Len, status); in unescapeData() 310 return destLen; in unescapeData() 330 int32_t destLen = 0; in Test_nfs4_cis_prep() local 332 … destLen = nfs4_cis_prepare(src , (int32_t)strlen(src), dest, destLen, &parseError, &status); in Test_nfs4_cis_prep() 335 dest = (char*) malloc(++destLen); in Test_nfs4_cis_prep() 336 … destLen = nfs4_cis_prepare( src , (int32_t)strlen(src), dest, destLen, &parseError, &status); in Test_nfs4_cis_prep() 448 int32_t destLen=0; in Test_nfs4_mixed_prep() local 457 destLen = nfs4_mixed_prepare(src, srcLen, NULL, 0, &parseError, &status); in Test_nfs4_mixed_prep() 460 dest = (char*)malloc(++destLen); in Test_nfs4_mixed_prep() [all …]
|
D | cbiditst.c | 104 const UChar *dest, int32_t destLen, int mode, 108 int32_t destLen, const char *mode, 1417 int32_t srcLen, destLen, runCount, i; in doMisc() local 1436 destLen = ubidi_writeReverse(src, 0, dest, MAXLEN, 0, &errorCode); in doMisc() 1437 if (destLen != 0) { in doMisc() 1439 "returned %d instead\n", destLen); in doMisc() 1444 destLen = ubidi_writeReordered(bidi, dest, MAXLEN, 0, &errorCode); in doMisc() 1445 if (destLen != 0) { in doMisc() 1447 "returned %d instead\n", destLen); in doMisc() 1491 destLen = ubidi_getResultLength(bidiLine); in doMisc() [all …]
|
/external/brotli/java/org/brotli/dec/ |
D | BrotliInputStream.java | 112 public int read(byte[] destBuffer, int destOffset, int destLen) throws IOException { in read() argument 115 } else if (destLen < 0) { in read() 116 throw new IllegalArgumentException("Bad length: " + destLen); in read() 117 } else if (destOffset + destLen > destBuffer.length) { in read() 119 "Buffer overflow: " + (destOffset + destLen) + " > " + destBuffer.length); in read() 120 } else if (destLen == 0) { in read() 125 copyLen = Math.min(copyLen, destLen); in read() 129 destLen -= copyLen; in read() 130 if (destLen == 0) { in read() 137 state.outputLength = destLen; in read()
|
/external/zlib/src/ |
D | uncompr.c | 27 int ZEXPORT uncompress2 (dest, destLen, source, sourceLen) in uncompress2() argument 29 uLongf *destLen; 40 if (*destLen) { 41 left = *destLen; 42 *destLen = 0; 75 *destLen = stream.total_out; 86 int ZEXPORT uncompress (dest, destLen, source, sourceLen) in uncompress() argument 88 uLongf *destLen; 92 return uncompress2(dest, destLen, source, &sourceLen);
|
D | compress.c | 22 int ZEXPORT compress2 (dest, destLen, source, sourceLen, level) in compress2() argument 24 uLongf *destLen; 34 left = *destLen; 35 *destLen = 0; 61 *destLen = stream.total_out; 68 int ZEXPORT compress (dest, destLen, source, sourceLen) in compress() argument 70 uLongf *destLen; 74 return compress2(dest, destLen, source, sourceLen, Z_DEFAULT_COMPRESSION);
|
/external/python/cpython3/Modules/zlib/ |
D | uncompr.c | 27 int ZEXPORT uncompress2 (dest, destLen, source, sourceLen) in uncompress2() argument 29 uLongf *destLen; 40 if (*destLen) { 41 left = *destLen; 42 *destLen = 0; 75 *destLen = stream.total_out; 86 int ZEXPORT uncompress (dest, destLen, source, sourceLen) in uncompress() argument 88 uLongf *destLen; 92 return uncompress2(dest, destLen, source, &sourceLen);
|
D | compress.c | 22 int ZEXPORT compress2 (dest, destLen, source, sourceLen, level) in compress2() argument 24 uLongf *destLen; 34 left = *destLen; 35 *destLen = 0; 61 *destLen = stream.total_out; 68 int ZEXPORT compress (dest, destLen, source, sourceLen) in compress() argument 70 uLongf *destLen; 74 return compress2(dest, destLen, source, sourceLen, Z_DEFAULT_COMPRESSION);
|
/external/syslinux/com32/lib/zlib/ |
D | compress.c | 22 int ZEXPORT compress2 (dest, destLen, source, sourceLen, level) in compress2() argument 24 uLongf *destLen; 39 stream.avail_out = (uInt)*destLen; 40 if ((uLong)stream.avail_out != *destLen) return Z_BUF_ERROR; 54 *destLen = stream.total_out; 62 int ZEXPORT compress (dest, destLen, source, sourceLen) in compress() argument 64 uLongf *destLen; 68 return compress2(dest, destLen, source, sourceLen, Z_DEFAULT_COMPRESSION);
|
D | uncompr.c | 24 int ZEXPORT uncompress (dest, destLen, source, sourceLen) in uncompress() argument 26 uLongf *destLen; 39 stream.avail_out = (uInt)*destLen; 40 if ((uLong)stream.avail_out != *destLen) return Z_BUF_ERROR; 55 *destLen = stream.total_out;
|
/external/python/cpython2/Modules/zlib/ |
D | compress.c | 22 int ZEXPORT compress2 (dest, destLen, source, sourceLen, level) in compress2() argument 24 uLongf *destLen; 39 stream.avail_out = (uInt)*destLen; 40 if ((uLong)stream.avail_out != *destLen) return Z_BUF_ERROR; 54 *destLen = stream.total_out; 62 int ZEXPORT compress (dest, destLen, source, sourceLen) in compress() argument 64 uLongf *destLen; 68 return compress2(dest, destLen, source, sourceLen, Z_DEFAULT_COMPRESSION);
|
D | uncompr.c | 24 int ZEXPORT uncompress (dest, destLen, source, sourceLen) in uncompress() argument 26 uLongf *destLen; 39 stream.avail_out = (uInt)*destLen; 40 if ((uLong)stream.avail_out != *destLen) return Z_BUF_ERROR; 55 *destLen = stream.total_out;
|
/external/brotli/csharp/org/brotli/dec/ |
D | BrotliInputStream.cs | 141 public override int Read(byte[] destBuffer, int destOffset, int destLen) in Read() argument 147 else if (destLen < 0) in Read() 149 throw new System.ArgumentException("Bad length: " + destLen); in Read() 151 else if (destOffset + destLen > destBuffer.Length) in Read() 153 …throw new System.ArgumentException("Buffer overflow: " + (destOffset + destLen) + " > " + destBuff… in Read() 155 else if (destLen == 0) in Read() 162 copyLen = System.Math.Min(copyLen, destLen); in Read() 166 destLen -= copyLen; in Read() 167 if (destLen == 0) in Read() 176 state.outputLength = destLen; in Read()
|
/external/lzma/CPP/Common/ |
D | UTFConvert.cpp | 79 static bool Utf8_To_Utf16(wchar_t *dest, size_t *destLen, const char *src, const char *srcLim) thro… in Utf8_To_Utf16() argument 89 *destLen = destPos; in Utf8_To_Utf16() 275 size_t destLen = 0; in ConvertUTF8ToUnicode() local 276 Utf8_To_Utf16(NULL, &destLen, src, src.Ptr(src.Len())); in ConvertUTF8ToUnicode() 277 bool res = Utf8_To_Utf16(dest.GetBuf((unsigned)destLen), &destLen, src, src.Ptr(src.Len())); in ConvertUTF8ToUnicode() 278 dest.ReleaseBuf_SetEnd((unsigned)destLen); in ConvertUTF8ToUnicode() 285 size_t destLen = Utf16_To_Utf8_Calc(src, src.Ptr(src.Len())); in ConvertUnicodeToUTF8() local 286 Utf16_To_Utf8(dest.GetBuf((unsigned)destLen), src, src.Ptr(src.Len())); in ConvertUnicodeToUTF8() 287 dest.ReleaseBuf_SetEnd((unsigned)destLen); in ConvertUnicodeToUTF8()
|
/external/icu/icu4c/source/test/intltest/ |
D | testidna.cpp | 460 int32_t destLen = 0; in testAPI() local 475 destLen = func(src,-1,NULL,0,options, &parseError , &status); in testAPI() 478 if(destLen+1 < MAX_DEST_SIZE){ in testAPI() 480 destLen = func(src,-1,dest,destLen+1,options, &parseError, &status); in testAPI() 482 …IDNA_STD3_ASCII_RULES_ERROR&& (doCompare==TRUE) && u_strCaseCompare(dest,destLen, expected,expecte… in testAPI() 485 + " Got: " + prettify(UnicodeString(dest,destLen)) in testAPI() 505 destLen = func(src,-1,NULL,0,options | UIDNA_ALLOW_UNASSIGNED, &parseError, &status); in testAPI() 508 if(destLen+1 < MAX_DEST_SIZE){ in testAPI() 510 … destLen = func(src,-1,dest,destLen+1,options | UIDNA_ALLOW_UNASSIGNED, &parseError, &status); in testAPI() 512 …if(U_SUCCESS(status) && (doCompare==TRUE) && u_strCaseCompare(dest,destLen, expected,expectedLen,0… in testAPI() [all …]
|
/external/lzma/C/ |
D | XzDec.c | 126 static SRes BraState_Code(void *pp, Byte *dest, SizeT *destLen, const Byte *src, SizeT *srcLen, in BraState_Code() argument 130 SizeT destLenOrig = *destLen; in BraState_Code() 133 *destLen = 0; in BraState_Code() 145 *destLen += curSize; in BraState_Code() 249 static SRes SbState_Code(void *pp, Byte *dest, SizeT *destLen, const Byte *src, SizeT *srcLen, in SbState_Code() argument 256 p->destLen = *destLen; in SbState_Code() 261 *destLen -= p->destLen; in SbState_Code() 263 *wasFinished = (*destLen == 0 && *srcLen == 0); /* change it */ in SbState_Code() 305 static SRes Lzma2State_Code(void *pp, Byte *dest, SizeT *destLen, const Byte *src, SizeT *srcLen, in Lzma2State_Code() argument 310 …SRes res = Lzma2Dec_DecodeToBuf((CLzma2Dec *)pp, dest, destLen, src, srcLen, (ELzmaFinishMode)fini… in Lzma2State_Code() [all …]
|
D | LzmaLib.c | 9 MY_STDAPI LzmaCompress(unsigned char *dest, size_t *destLen, const unsigned char *src, size_t srcLe… in LzmaCompress() argument 30 return LzmaEncode(dest, destLen, src, srcLen, &props, outProps, outPropsSize, 0, in LzmaCompress() 35 MY_STDAPI LzmaUncompress(unsigned char *dest, size_t *destLen, const unsigned char *src, size_t *sr… in LzmaUncompress() argument 39 …return LzmaDecode(dest, destLen, src, srcLen, props, (unsigned)propsSize, LZMA_FINISH_ANY, &status… in LzmaUncompress()
|
D | Lzma86Dec.c | 23 SRes Lzma86_Decode(Byte *dest, SizeT *destLen, const Byte *src, SizeT *srcLen) in Lzma86_Decode() argument 37 *destLen = 0; in Lzma86_Decode() 42 res = LzmaDecode(dest, destLen, src + LZMA86_HEADER_SIZE, &inSizePure, in Lzma86_Decode() 51 x86_Convert(dest, *destLen, 0, &x86State, 0); in Lzma86_Decode()
|
D | Lzma86Enc.c | 16 int Lzma86_Encode(Byte *dest, size_t *destLen, const Byte *src, size_t srcLen, in Lzma86_Encode() argument 19 size_t outSize2 = *destLen; in Lzma86_Encode() 28 *destLen = 0; in Lzma86_Encode() 101 *destLen = LZMA86_HEADER_SIZE + minSize; in Lzma86_Encode()
|
D | Lzma2Dec.c | 319 SRes Lzma2Dec_DecodeToBuf(CLzma2Dec *p, Byte *dest, SizeT *destLen, const Byte *src, SizeT *srcLen,… in Lzma2Dec_DecodeToBuf() argument 321 SizeT outSize = *destLen, inSize = *srcLen; in Lzma2Dec_DecodeToBuf() 322 *srcLen = *destLen = 0; in Lzma2Dec_DecodeToBuf() 350 *destLen += outSizeCur; in Lzma2Dec_DecodeToBuf() 358 SRes Lzma2Decode(Byte *dest, SizeT *destLen, const Byte *src, SizeT *srcLen, in Lzma2Decode() argument 363 SizeT outSize = *destLen, inSize = *srcLen; in Lzma2Decode() 364 *destLen = *srcLen = 0; in Lzma2Decode() 373 *destLen = p.decoder.dicPos; in Lzma2Decode()
|
D | LzmaLib.h | 96 MY_STDAPI LzmaCompress(unsigned char *dest, size_t *destLen, const unsigned char *src, size_t srcLe… 126 MY_STDAPI LzmaUncompress(unsigned char *dest, size_t *destLen, const unsigned char *src, SizeT *src…
|
/external/icu/icu4c/source/tools/genrb/ |
D | wrtxml.cpp | 240 int32_t destLen=0; in convertAndEscape() local 268 if((destLen+U8_LENGTH(c)) < destCap){ in convertAndEscape() 274 uprv_strcpy(dest+( destLen),"\x26\x61\x6d\x70\x3b"); /* &*/ in convertAndEscape() 275 destLen+=(int32_t)uprv_strlen("\x26\x61\x6d\x70\x3b"); in convertAndEscape() 278 uprv_strcpy(dest+(destLen),"\x26\x6c\x74\x3b"); /* <*/ in convertAndEscape() 279 destLen+=(int32_t)uprv_strlen("\x26\x6c\x74\x3b"); in convertAndEscape() 282 uprv_strcpy(dest+(destLen),"\x26\x67\x74\x3b"); /* >*/ in convertAndEscape() 283 destLen+=(int32_t)uprv_strlen("\x26\x67\x74\x3b"); in convertAndEscape() 286 uprv_strcpy(dest+(destLen),"\x26\x71\x75\x6f\x74\x3b"); /* "*/ in convertAndEscape() 287 destLen+=(int32_t)uprv_strlen("\x26\x71\x75\x6f\x74\x3b"); in convertAndEscape() [all …]
|
D | prscmnts.cpp | 141 int32_t destLen = stringArray[0].extract(*dest, destCapacity, *status); in getDescription() local 142 return trim(*dest, destLen, status); in getDescription() 232 int32_t destLen = getText(source, srcLen, dest, destCapacity, notePatternString, status); in getTranslate() local 233 return trim(*dest, destLen, status); in getTranslate() 242 int32_t destLen = getText(source, srcLen, dest, destCapacity, notePatternString, status); in getNote() local 243 return trim(*dest, destLen, status); in getNote()
|
/external/lzma/DOC/ |
D | lzma.txt | 81 int LzmaDecode(Byte *dest, SizeT *destLen, const Byte *src, SizeT *srcLen, 86 destLen - output data size 91 finishMode - It has meaning only if the decoding reaches output limit (*destLen). 92 LZMA_FINISH_ANY - Decode just destLen bytes. 93 LZMA_FINISH_END - Stream must be finished after (*destLen). 99 destLen - processed output size 114 and output value of destLen will be less than output buffer size limit. 118 2) Check that output(destLen) = uncompressedSize, if you know real uncompressedSize. 153 int res = LzmaDec_DecodeToBuf(CLzmaDec *p, Byte *dest, SizeT *destLen, 270 SRes LzmaEncode(Byte *dest, SizeT *destLen, const Byte *src, SizeT srcLen,
|
/external/icu/icu4c/source/test/perf/normperf/ |
D | normperf.h | 110 int32_t destLen; variable 124 retVal = (*fn)(lines[i].name,lines[i].len,pDest,destLen, options, status); in call() 128 retVal = (*fn)(lines[i].name,-1,pDest,destLen, options, status); in call() 133 retVal = (*fn)(src,srcLen,pDest,destLen, options, status); in call() 135 retVal = (*fn)(src,-1,pDest,destLen, options, status); in call() 155 destLen = DEST_BUFFER_CAPACITY; in NormPerfFunction() 166 destLen = sourceLen*3; in NormPerfFunction() 167 pDest = (UChar*) malloc(destLen * U_SIZEOF_UCHAR); in NormPerfFunction()
|