Home
last modified time | relevance | path

Searched refs:destLen (Results 1 – 25 of 33) sorted by relevance

12

/external/icu4c/test/cintltst/
Didnatest.c79 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()
122destLen = 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 …]
Dspreptst.c302 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
332destLen = 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()
336destLen = 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 …]
Dcbiditst.c90 const UChar *dest, int32_t destLen, int mode,
94 int32_t destLen, const char *mode,
1269 int32_t srcLen, destLen, runCount, i; in doMisc() local
1288 destLen = ubidi_writeReverse(src, 0, dest, MAXLEN, 0, &errorCode); in doMisc()
1289 if (destLen != 0) { in doMisc()
1291 "returned %d instead\n", destLen); in doMisc()
1296 destLen = ubidi_writeReordered(bidi, dest, MAXLEN, 0, &errorCode); in doMisc()
1297 if (destLen != 0) { in doMisc()
1299 "returned %d instead\n", destLen); in doMisc()
1343 destLen = ubidi_getResultLength(bidiLine); in doMisc()
[all …]
/external/zlib/src/
Dcompress.c22 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);
Duncompr.c24 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;
Dzlib.h1143 ZEXTERN int ZEXPORT compress OF((Bytef *dest, uLongf *destLen,
1157 ZEXTERN int ZEXPORT compress2 OF((Bytef *dest, uLongf *destLen,
1180 ZEXTERN int ZEXPORT uncompress OF((Bytef *dest, uLongf *destLen,
/external/qemu/distrib/zlib-1.2.3/
Dcompress.c22 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);
Duncompr.c26 int ZEXPORT uncompress (dest, destLen, source, sourceLen) in uncompress() argument
28 uLongf *destLen;
41 stream.avail_out = (uInt)*destLen;
42 if ((uLong)stream.avail_out != *destLen) return Z_BUF_ERROR;
57 *destLen = stream.total_out;
Dzlib.h1009 ZEXTERN int ZEXPORT compress OF((Bytef *dest, uLongf *destLen,
1024 ZEXTERN int ZEXPORT compress2 OF((Bytef *dest, uLongf *destLen,
1047 ZEXTERN int ZEXPORT uncompress OF((Bytef *dest, uLongf *destLen,
/external/icu4c/test/intltest/
Dtestidna.cpp456 int32_t destLen = 0; in testAPI() local
471 destLen = func(src,-1,NULL,0,options, &parseError , &status); in testAPI()
474 if(destLen+1 < MAX_DEST_SIZE){ in testAPI()
476 destLen = func(src,-1,dest,destLen+1,options, &parseError, &status); in testAPI()
478 …IDNA_STD3_ASCII_RULES_ERROR&& (doCompare==TRUE) && u_strCaseCompare(dest,destLen, expected,expecte… in testAPI()
481 + " Got: " + prettify(UnicodeString(dest,destLen)) in testAPI()
501 destLen = func(src,-1,NULL,0,options | UIDNA_ALLOW_UNASSIGNED, &parseError, &status); in testAPI()
504 if(destLen+1 < MAX_DEST_SIZE){ in testAPI()
506destLen = func(src,-1,dest,destLen+1,options | UIDNA_ALLOW_UNASSIGNED, &parseError, &status); in testAPI()
508 …if(U_SUCCESS(status) && (doCompare==TRUE) && u_strCaseCompare(dest,destLen, expected,expectedLen,0… in testAPI()
[all …]
Didnaref.cpp204 int32_t destLen =0; in convertFromPuny() local
228 u_strFromUTF32(dest,destCapacity,&destLen,(UChar32*)b2,b2Len,&status); in convertFromPuny()
239 return destLen; in convertFromPuny()
/external/icu4c/tools/genrb/
Dprscmnts.cpp129 int32_t destLen = stringArray[0].extract(*dest, destCapacity, *status); in getDescription() local
130 return trim(*dest, destLen, status); in getDescription()
218 int32_t destLen = getText(source, srcLen, dest, destCapacity, notePatternString, status); in getTranslate() local
219 return trim(*dest, destLen, status); in getTranslate()
228 int32_t destLen = getText(source, srcLen, dest, destCapacity, notePatternString, status); in getNote() local
229 return trim(*dest, destLen, status); in getNote()
Dwrtxml.cpp226 int32_t destLen=0; in convertAndEscape() local
254 if((destLen+UTF8_CHAR_LENGTH(c)) < destCap){ in convertAndEscape()
260 uprv_strcpy(dest+( destLen),"\x26\x61\x6d\x70\x3b"); /* &amp;*/ in convertAndEscape()
261 destLen+=(int32_t)uprv_strlen("\x26\x61\x6d\x70\x3b"); in convertAndEscape()
264 uprv_strcpy(dest+(destLen),"\x26\x6c\x74\x3b"); /* &lt;*/ in convertAndEscape()
265 destLen+=(int32_t)uprv_strlen("\x26\x6c\x74\x3b"); in convertAndEscape()
268 uprv_strcpy(dest+(destLen),"\x26\x67\x74\x3b"); /* &gt;*/ in convertAndEscape()
269 destLen+=(int32_t)uprv_strlen("\x26\x67\x74\x3b"); in convertAndEscape()
272 uprv_strcpy(dest+(destLen),"\x26\x71\x75\x6f\x74\x3b"); /* &quot;*/ in convertAndEscape()
273 destLen+=(int32_t)uprv_strlen("\x26\x71\x75\x6f\x74\x3b"); in convertAndEscape()
[all …]
/external/icu4c/test/perf/normperf/
Dnormperf.h106 int32_t destLen; variable
120 retVal = (*fn)(lines[i].name,lines[i].len,pDest,destLen, options, status); in call()
124 retVal = (*fn)(lines[i].name,-1,pDest,destLen, options, status); in call()
129 retVal = (*fn)(src,srcLen,pDest,destLen, options, status); in call()
131 retVal = (*fn)(src,-1,pDest,destLen, options, status); in call()
151 destLen = DEST_BUFFER_CAPACITY; in NormPerfFunction()
162 destLen = sourceLen*3; in NormPerfFunction()
163 pDest = (UChar*) malloc(destLen * U_SIZEOF_UCHAR); in NormPerfFunction()
/external/icu4c/i18n/
Drematch.cpp318 int64_t destLen = utext_nativeLength(dest); in appendReplacement() local
321destLen += utext_replace(dest, destLen, destLen, fInputText->chunkContents+fAppendPosition, in appendReplacement()
337 destLen += utext_replace(dest, destLen, destLen, inputChars, len16, &status); in appendReplacement()
369 destLen += utext_replace(dest, destLen, destLen, &c16, 1, &status); in appendReplacement()
375 destLen += utext_replace(dest, destLen, destLen, surrogate, 2, &status); in appendReplacement()
391 destLen += utext_replace(dest, destLen, destLen, &c16, 1, &status); in appendReplacement()
397 destLen += utext_replace(dest, destLen, destLen, surrogate, 2, &status); in appendReplacement()
405 destLen += utext_replace(dest, destLen, destLen, &c16, 1, &status); in appendReplacement()
411 destLen += utext_replace(dest, destLen, destLen, surrogate, 2, &status); in appendReplacement()
443 destLen += utext_replace(dest, destLen, destLen, &c16, 1, &status); in appendReplacement()
[all …]
/external/webkit/Source/WebCore/platform/graphics/
DWOFFFileFormat.cpp233 uLongf destLen = tableOrigLength; in convertWOFFToSfnt() local
238 …if (uncompress(dest, &destLen, reinterpret_cast<const Bytef*>(woff->data() + tableOffset), tableCo… in convertWOFFToSfnt()
240 if (destLen != tableOrigLength) in convertWOFFToSfnt()
/external/bzip2/
Dbzlib.h206 unsigned int* destLen,
216 unsigned int* destLen,
Dbzlib.c1249 unsigned int* destLen, in BZ_API()
1259 if (dest == NULL || destLen == NULL || in BZ_API()
1277 strm.avail_out = *destLen; in BZ_API()
1284 *destLen -= strm.avail_out; in BZ_API()
1301 unsigned int* destLen, in BZ_API()
1310 if (dest == NULL || destLen == NULL || in BZ_API()
1325 strm.avail_out = *destLen; in BZ_API()
1332 *destLen -= strm.avail_out; in BZ_API()
/external/openssl/crypto/comp/
Dc_zlib.c58 static int zz_uncompress(Bytef *dest, uLongf *destLen, const Bytef *source,
98 typedef int (*compress_ft)(Bytef *dest,uLongf *destLen,
305 static int zz_uncompress (Bytef *dest, uLongf *destLen, const Bytef *source,
317 stream.avail_out = (uInt)*destLen;
318 if ((uLong)stream.avail_out != *destLen) return Z_BUF_ERROR;
332 *destLen = stream.total_out;
/external/zlib/src/contrib/pascal/
Dzlibpas.pas144 function compress(dest: PChar; var destLen: LongInt; in compress()
146 function compress2(dest: PChar; var destLen: LongInt; in compress2()
150 function uncompress(dest: PChar; var destLen: LongInt; in uncompress()
/external/chromium/sdch/open-vcdiff/src/
Dzlib.h1009 ZEXTERN int ZEXPORT compress OF((Bytef *dest, uLongf *destLen,
1024 ZEXTERN int ZEXPORT compress2 OF((Bytef *dest, uLongf *destLen,
1047 ZEXTERN int ZEXPORT uncompress OF((Bytef *dest, uLongf *destLen,
/external/zlib/src/contrib/ada/
Dzlib-thin.ads162 destLen : ULong_Access;
169 destLen : ULong_Access;
177 destLen : ULong_Access;
/external/zlib/
Dzlib.h1143 ZEXTERN int ZEXPORT compress OF((Bytef *dest, uLongf *destLen,
1157 ZEXTERN int ZEXPORT compress2 OF((Bytef *dest, uLongf *destLen,
1180 ZEXTERN int ZEXPORT uncompress OF((Bytef *dest, uLongf *destLen,
/external/zlib/src/old/
Dvisual-basic.txt87 dest As Any, ByRef destLen As Any, ByRef src As Any, ByVal srcLen As Long,
90 dest As Any, ByRef destLen As Any, ByRef src As Any, ByVal srcLen As Long)
/external/zlib/src/as400/
Dzlib.inc115 D destLen 10U 0 Destination length
121 D destLen 10U 0 Destination length
131 D destLen 10U 0 Destination length

12