Home
last modified time | relevance | path

Searched refs:sourceLen (Results 1 – 25 of 66) sorted by relevance

123

/external/angle/third_party/zlib/
Dcompress.c22 int ZEXPORT compress2 (dest, destLen, source, sourceLen, level) in compress2() argument
26 uLong sourceLen;
55 stream.avail_in = sourceLen > (uLong)max ? max : (uInt)sourceLen;
56 sourceLen -= stream.avail_in;
58 err = deflate(&stream, sourceLen ? Z_NO_FLUSH : Z_FINISH);
68 int ZEXPORT compress (dest, destLen, source, sourceLen) in compress() argument
72 uLong sourceLen;
74 return compress2(dest, destLen, source, sourceLen, Z_DEFAULT_COMPRESSION);
81 uLong ZEXPORT compressBound (sourceLen) in compressBound() argument
82 uLong sourceLen; in compressBound()
[all …]
Duncompr.c27 int ZEXPORT uncompress2 (dest, destLen, source, sourceLen) in uncompress2() argument
31 uLong *sourceLen;
39 len = *sourceLen;
73 *sourceLen -= len + stream.avail_in;
86 int ZEXPORT uncompress (dest, destLen, source, sourceLen) in uncompress() argument
90 uLong sourceLen;
92 return uncompress2(dest, destLen, source, &sourceLen);
/external/zlib/
Dcompress.c22 int ZEXPORT compress2 (dest, destLen, source, sourceLen, level) in compress2() argument
26 uLong sourceLen;
55 stream.avail_in = sourceLen > (uLong)max ? max : (uInt)sourceLen;
56 sourceLen -= stream.avail_in;
58 err = deflate(&stream, sourceLen ? Z_NO_FLUSH : Z_FINISH);
68 int ZEXPORT compress (dest, destLen, source, sourceLen) in compress() argument
72 uLong sourceLen;
74 return compress2(dest, destLen, source, sourceLen, Z_DEFAULT_COMPRESSION);
81 uLong ZEXPORT compressBound (sourceLen) in compressBound() argument
82 uLong sourceLen; in compressBound()
[all …]
Duncompr.c27 int ZEXPORT uncompress2 (dest, destLen, source, sourceLen) in uncompress2() argument
31 uLong *sourceLen;
39 len = *sourceLen;
73 *sourceLen -= len + stream.avail_in;
86 int ZEXPORT uncompress (dest, destLen, source, sourceLen) in uncompress() argument
90 uLong sourceLen;
92 return uncompress2(dest, destLen, source, &sourceLen);
/external/rust/crates/libz-sys/src/zlib/
Dcompress.c22 int ZEXPORT compress2 (dest, destLen, source, sourceLen, level) in compress2() argument
26 uLong sourceLen;
55 stream.avail_in = sourceLen > (uLong)max ? max : (uInt)sourceLen;
56 sourceLen -= stream.avail_in;
58 err = deflate(&stream, sourceLen ? Z_NO_FLUSH : Z_FINISH);
68 int ZEXPORT compress (dest, destLen, source, sourceLen) in compress() argument
72 uLong sourceLen;
74 return compress2(dest, destLen, source, sourceLen, Z_DEFAULT_COMPRESSION);
81 uLong ZEXPORT compressBound (sourceLen) in compressBound() argument
82 uLong sourceLen; in compressBound()
[all …]
Duncompr.c27 int ZEXPORT uncompress2 (dest, destLen, source, sourceLen) in uncompress2() argument
31 uLong *sourceLen;
39 len = *sourceLen;
73 *sourceLen -= len + stream.avail_in;
86 int ZEXPORT uncompress (dest, destLen, source, sourceLen) in uncompress() argument
90 uLong sourceLen;
92 return uncompress2(dest, destLen, source, &sourceLen);
/external/python/cpython2/Modules/zlib/
Dcompress.c22 int ZEXPORT compress2 (dest, destLen, source, sourceLen, level) in compress2() argument
26 uLong sourceLen;
55 stream.avail_in = sourceLen > (uLong)max ? max : (uInt)sourceLen;
56 sourceLen -= stream.avail_in;
58 err = deflate(&stream, sourceLen ? Z_NO_FLUSH : Z_FINISH);
68 int ZEXPORT compress (dest, destLen, source, sourceLen) in compress() argument
72 uLong sourceLen;
74 return compress2(dest, destLen, source, sourceLen, Z_DEFAULT_COMPRESSION);
81 uLong ZEXPORT compressBound (sourceLen) in compressBound() argument
82 uLong sourceLen; in compressBound()
[all …]
Duncompr.c27 int ZEXPORT uncompress2 (dest, destLen, source, sourceLen) in uncompress2() argument
31 uLong *sourceLen;
39 len = *sourceLen;
73 *sourceLen -= len + stream.avail_in;
86 int ZEXPORT uncompress (dest, destLen, source, sourceLen) in uncompress() argument
90 uLong sourceLen;
92 return uncompress2(dest, destLen, source, &sourceLen);
/external/rust/crates/libz-sys/src/zlib-ng/
Dcompress.c26 z_size_t sourceLen, int level) { in PREFIX()
54 stream.avail_in = sourceLen > (unsigned long)max ? max : (unsigned int)sourceLen; in PREFIX()
55 sourceLen -= stream.avail_in; in PREFIX()
57 err = PREFIX(deflate)(&stream, sourceLen ? Z_NO_FLUSH : Z_FINISH); in PREFIX()
67 …ompress)(unsigned char *dest, z_size_t *destLen, const unsigned char *source, z_size_t sourceLen) { in PREFIX()
68 return PREFIX(compress2)(dest, destLen, source, sourceLen, Z_DEFAULT_COMPRESSION); in PREFIX()
75 z_size_t Z_EXPORT PREFIX(compressBound)(z_size_t sourceLen) { in PREFIX()
79 return sourceLen + ((sourceLen + 13 + 7) >> 3) + 18; in PREFIX()
81 return sourceLen + (sourceLen >> 12) + (sourceLen >> 14) + (sourceLen >> 25) + 13; in PREFIX()
Duncompr.c30 …press2)(unsigned char *dest, z_size_t *destLen, const unsigned char *source, z_size_t *sourceLen) { in PREFIX()
37 len = *sourceLen; in PREFIX()
70 *sourceLen -= len + stream.avail_in; in PREFIX()
83 …ompress)(unsigned char *dest, z_size_t *destLen, const unsigned char *source, z_size_t sourceLen) { in PREFIX()
84 return PREFIX(uncompress2)(dest, destLen, source, &sourceLen); in PREFIX()
Dzlib.h749 Z_EXTERN unsigned long Z_EXPORT deflateBound(z_stream *strm, unsigned long sourceLen);
1197 …unsigned char *dest, unsigned long *destLen, const unsigned char *source, unsigned long sourceLen);
1212 unsigned long sourceLen, int level);
1226 Z_EXTERN unsigned long Z_EXPORT compressBound(unsigned long sourceLen);
1233 …unsigned char *dest, unsigned long *destLen, const unsigned char *source, unsigned long sourceLen);
1252 const unsigned char *source, unsigned long *sourceLen);
Dzlib-ng.h745 unsigned long zng_deflateBound(zng_stream *strm, unsigned long sourceLen);
1211 int32_t zng_compress(uint8_t *dest, size_t *destLen, const uint8_t *source, size_t sourceLen);
1226 int32_t zng_compress2(uint8_t *dest, size_t *destLen, const uint8_t *source, size_t sourceLen, int3…
1241 size_t zng_compressBound(size_t sourceLen);
1249 int32_t zng_uncompress(uint8_t *dest, size_t *destLen, const uint8_t *source, size_t sourceLen);
1268 int32_t zng_uncompress2(uint8_t *dest, size_t *destLen, const uint8_t *source, size_t *sourceLen);
/external/libwebsockets/win32port/zlib/
Dcompress.c22 int ZEXPORT compress2 (dest, destLen, source, sourceLen, level) in compress2() argument
26 uLong sourceLen;
33 stream.avail_in = (uInt)sourceLen;
36 if ((uLong)stream.avail_in != sourceLen) return Z_BUF_ERROR;
62 int ZEXPORT compress (dest, destLen, source, sourceLen) in compress() argument
66 uLong sourceLen;
68 return compress2(dest, destLen, source, sourceLen, Z_DEFAULT_COMPRESSION);
75 uLong ZEXPORT compressBound (sourceLen) in compressBound() argument
76 uLong sourceLen; in compressBound()
78 return sourceLen + (sourceLen >> 12) + (sourceLen >> 14) +
[all …]
Duncompr.c24 int ZEXPORT uncompress (dest, destLen, source, sourceLen) in uncompress() argument
28 uLong sourceLen;
34 stream.avail_in = (uInt)sourceLen;
36 if ((uLong)stream.avail_in != sourceLen) return Z_BUF_ERROR;
/external/icu/icu4c/source/test/perf/strsrchperf/
Dstrsrchperf.h39 …tion(StrSrchFn func, UStringSearch* search, const UChar* source,int32_t sourceLen, const UChar* pa… in StringSearchPerfFunction() argument
42 srcLen = sourceLen; in StringSearchPerfFunction()
66 void ICUForwardSearch(UStringSearch *srch, const UChar* source, int32_t sourceLen, const UChar* pat… in ICUForwardSearch() argument
75 void ICUBackwardSearch(UStringSearch *srch, const UChar* source, int32_t sourceLen, const UChar* pa… in ICUBackwardSearch() argument
/external/icu/icu4c/source/test/perf/convperf/
Dconvperf.h37 …ICUToUnicodePerfFunction(const char* name, const char* source, int32_t sourceLen, UErrorCode& sta… in ICUToUnicodePerfFunction() argument
40 srcLen = sourceLen; in ICUToUnicodePerfFunction()
83 …ICUFromUnicodePerfFunction(const char* name, const UChar* source, int32_t sourceLen, UErrorCode& … in ICUFromUnicodePerfFunction() argument
86 srcLen = sourceLen; in ICUFromUnicodePerfFunction()
284 …WinIMultiLanguageToUnicodePerfFunction(const char* name,char* source, UINT sourceLen, UErrorCode& … in WinIMultiLanguageToUnicodePerfFunction() argument
314 srcLen = sourceLen; in WinIMultiLanguageToUnicodePerfFunction()
340 …WinIMultiLanguageFromUnicodePerfFunction(const char* name,WCHAR* source, UINT sourceLen, UErrorCod… in WinIMultiLanguageFromUnicodePerfFunction() argument
370 srcLen = sourceLen; in WinIMultiLanguageFromUnicodePerfFunction()
396 …WinIMultiLanguage2ToUnicodePerfFunction(const char* name,char* source, UINT sourceLen, UErrorCode&… in WinIMultiLanguage2ToUnicodePerfFunction() argument
410 srcLen = sourceLen; in WinIMultiLanguage2ToUnicodePerfFunction()
[all …]
/external/icu/icu4c/source/samples/cal/
Duprint.c36 int32_t sourceLen; in uprint() local
45 sourceLen = u_strlen(s); in uprint()
47 mySourceEnd = mySource + sourceLen; in uprint()
/external/icu/icu4c/source/samples/date/
Duprint.c37 int32_t sourceLen; in uprint() local
46 sourceLen = u_strlen(s); in uprint()
48 mySourceEnd = mySource + sourceLen; in uprint()
/external/icu/icu4j/main/tests/charset/src/com/ibm/icu/dev/test/charset/
DTestConversion.java400 int sourceLen = cc.unicode.length(); in stepFromUnicode() local
410 currentSourceLimit = Math.min(step, sourceLen); in stepFromUnicode()
413 currentSourceLimit = sourceLen; in stepFromUnicode()
423 cr = encoder.encode(source, target, currentSourceLimit == sourceLen); in stepFromUnicode()
426 if (currentSourceLimit == sourceLen) { in stepFromUnicode()
446 currentSourceLimit = Math.min(currentSourceLimit + step, sourceLen); in stepFromUnicode()
717 int sourceLen; in stepToUnicode() local
719 sourceLen = cc.bytes.limit(); in stepToUnicode()
734 source.limit((iStep <= sourceLen) ? iStep : sourceLen); in stepToUnicode()
737 flush = (cc.finalFlush && source.limit() == sourceLen); in stepToUnicode()
[all …]
/external/rust/crates/libz-sys/src/zlib/contrib/pascal/
Dzlibpas.pas122 function deflateBound(var strm: z_stream; sourceLen: LongInt): LongInt; in deflateBound()
145 const source: PChar; sourceLen: LongInt): Integer;
147 const source: PChar; sourceLen: LongInt;
149 function compressBound(sourceLen: LongInt): LongInt; in compressBound()
151 const source: PChar; sourceLen: LongInt): Integer;
/external/zstd/zlibWrapper/
Dzstd_zlibwrapper.c472 uLong sourceLen)) in z_deflateBound() argument
475 return deflateBound(strm, sourceLen); in z_deflateBound()
477 return ZSTD_compressBound(sourceLen); in z_deflateBound()
1085 const Bytef *source, uLong sourceLen)) in z_compress() argument
1088 return compress(dest, destLen, source, sourceLen); in z_compress()
1092 source, sourceLen, in z_compress()
1095 (int)sourceLen, (int)dstCapacity); in z_compress()
1104 const Bytef *source, uLong sourceLen, in z_compress2() argument
1108 return compress2(dest, destLen, source, sourceLen, level); in z_compress2()
1111 size_t const cSize = ZSTD_compress(dest, dstCapacity, source, sourceLen, level); in z_compress2()
[all …]
/external/icu/icu4c/source/test/perf/ustrperf/
Dstringperf.h186 StringPerfFunction(ICUStringPerfFn func, UChar* source, int32_t sourceLen, UBool uselen) in StringPerfFunction() argument
195 src_ = new UChar[sourceLen]; in StringPerfFunction()
196 memcpy(src_, source, sourceLen * U_SIZEOF_UCHAR); in StringPerfFunction()
197 srcLen_ = sourceLen; in StringPerfFunction()
208 StringPerfFunction(StdStringPerfFn func, UChar* source, int32_t sourceLen, UBool uselen) in StringPerfFunction() argument
217 src_ = new UChar[sourceLen]; in StringPerfFunction()
218 memcpy(src_, source, sourceLen * U_SIZEOF_UCHAR); in StringPerfFunction()
219 srcLen_ = sourceLen; in StringPerfFunction()
/external/rust/crates/libz-sys/src/
Dlib.rs70 pub fn deflateBound(strm: z_streamp, sourceLen: uLong) -> uLong; in deflateBound()
158 source: *const Bytef, sourceLen: uLong) -> c_int; in compress()
160 source: *const Bytef, sourceLen: uLong, in compress2()
162 pub fn compressBound(sourceLen: uLong) -> uLong; in compressBound()
186 sourceLen: uLong) -> c_int; in uncompress()
/external/oss-fuzz/projects/bzip2/
Dbzip2_compress_target.c28 unsigned int sourceLen,
36 unsigned int sourceLen,
/external/icu/icu4c/source/test/cintltst/
Dnccbtst.h50 UBool testConvertFromUnicode(const UChar *source, int sourceLen, const uint8_t *expect, int expect…
59 UBool testConvertFromUnicodeWithContext(const UChar *source, int sourceLen, const uint8_t *expect,…

123