Home
last modified time | relevance | path

Searched refs:sourceLen (Results 1 - 25 of 67) sorted by relevance

123

/third_party/node/deps/v8/third_party/zlib/
H A Dcompress.c13 parameter has the same meaning as in deflateInit. sourceLen is the byte
15 destination buffer, which must be at least 0.1% larger than sourceLen plus
22 int ZEXPORT compress2 (dest, destLen, source, sourceLen, level) in compress2()
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()
72 uLong sourceLen;
[all...]
H A Duncompr.c12 Decompresses the source buffer into the destination buffer. *sourceLen is
18 *destLen is the size of the decompressed data and *sourceLen is the number
19 of source bytes consumed. Upon return, source + *sourceLen points to the
27 int ZEXPORT uncompress2 (dest, destLen, source, sourceLen) in uncompress2()
31 uLong *sourceLen;
39 len = *sourceLen;
73 *sourceLen -= len + stream.avail_in;
86 int ZEXPORT uncompress (dest, destLen, source, sourceLen) in uncompress()
90 uLong sourceLen;
92 return uncompress2(dest, destLen, source, &sourceLen);
[all...]
/third_party/skia/third_party/externals/zlib/
H A Dcompress.c13 parameter has the same meaning as in deflateInit. sourceLen is the byte
15 destination buffer, which must be at least 0.1% larger than sourceLen plus
22 int ZEXPORT compress2 (dest, destLen, source, sourceLen, level) in compress2()
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()
72 uLong sourceLen;
[all...]
H A Duncompr.c12 Decompresses the source buffer into the destination buffer. *sourceLen is
18 *destLen is the size of the decompressed data and *sourceLen is the number
19 of source bytes consumed. Upon return, source + *sourceLen points to the
27 int ZEXPORT uncompress2 (dest, destLen, source, sourceLen) in uncompress2()
31 uLong *sourceLen;
39 len = *sourceLen;
73 *sourceLen -= len + stream.avail_in;
86 int ZEXPORT uncompress (dest, destLen, source, sourceLen) in uncompress()
90 uLong sourceLen;
92 return uncompress2(dest, destLen, source, &sourceLen);
[all...]
/third_party/node/deps/zlib/
H A Dcompress.c13 parameter has the same meaning as in deflateInit. sourceLen is the byte
15 destination buffer, which must be at least 0.1% larger than sourceLen plus
23 uLong sourceLen, int level) { in compress2()
50 stream.avail_in = sourceLen > (uLong)max ? max : (uInt)sourceLen; in compress2()
51 sourceLen -= stream.avail_in; in compress2()
53 err = deflate(&stream, sourceLen ? Z_NO_FLUSH : Z_FINISH); in compress2()
64 uLong sourceLen) { in compress()
65 return compress2(dest, destLen, source, sourceLen, Z_DEFAULT_COMPRESSION); in compress()
72 uLong ZEXPORT compressBound(uLong sourceLen) { in compressBound() argument
22 compress2(Bytef *dest, uLongf *destLen, const Bytef *source, uLong sourceLen, int level) compress2() argument
63 compress(Bytef *dest, uLongf *destLen, const Bytef *source, uLong sourceLen) compress() argument
[all...]
H A Duncompr.c12 Decompresses the source buffer into the destination buffer. *sourceLen is
18 *destLen is the size of the decompressed data and *sourceLen is the number
19 of source bytes consumed. Upon return, source + *sourceLen points to the
28 uLong *sourceLen) { in uncompress2()
35 len = *sourceLen; in uncompress2()
69 *sourceLen -= len + stream.avail_in; in uncompress2()
83 uLong sourceLen) { in uncompress()
84 return uncompress2(dest, destLen, source, &sourceLen); in uncompress()
27 uncompress2(Bytef *dest, uLongf *destLen, const Bytef *source, uLong *sourceLen) uncompress2() argument
82 uncompress(Bytef *dest, uLongf *destLen, const Bytef *source, uLong sourceLen) uncompress() argument
H A Dzlib.h761 uLong sourceLen);
764 deflation of sourceLen bytes. It must be called after deflateInit() or
768 sourceLen input bytes, an output buffer allocated to the size returned by
1232 const Bytef *source, uLong sourceLen);
1234 Compresses the source buffer into the destination buffer. sourceLen is
1237 compressBound(sourceLen). Upon exit, destLen is the actual size of the
1247 const Bytef *source, uLong sourceLen,
1251 parameter has the same meaning as in deflateInit. sourceLen is the byte
1254 compressBound(sourceLen). Upon exit, destLen is the actual size of the
1262 ZEXTERN uLong ZEXPORT compressBound(uLong sourceLen);
[all...]
/third_party/libwebsockets/win32port/zlib/
H A Dcompress.c13 parameter has the same meaning as in deflateInit. sourceLen is the byte
15 destination buffer, which must be at least 0.1% larger than sourceLen plus
22 int ZEXPORT compress2 (dest, destLen, source, sourceLen, level) in compress2()
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()
66 uLong sourceLen;
68 return compress2(dest, destLen, source, sourceLen, Z_DEFAULT_COMPRESSION);
75 uLong ZEXPORT compressBound (sourceLen) in compressBound()
[all...]
H A Duncompr.c12 Decompresses the source buffer into the destination buffer. sourceLen is
24 int ZEXPORT uncompress (dest, destLen, source, sourceLen) in uncompress()
28 uLong sourceLen;
34 stream.avail_in = (uInt)sourceLen;
36 if ((uLong)stream.avail_in != sourceLen) return Z_BUF_ERROR;
H A Dzlib.h685 uLong sourceLen));
688 deflation of sourceLen bytes. It must be called after deflateInit() or
1103 const Bytef *source, uLong sourceLen));
1105 Compresses the source buffer into the destination buffer. sourceLen is
1108 compressBound(sourceLen). Upon exit, destLen is the actual size of the
1117 const Bytef *source, uLong sourceLen,
1121 parameter has the same meaning as in deflateInit. sourceLen is the byte
1124 compressBound(sourceLen). Upon exit, destLen is the actual size of the
1132 ZEXTERN uLong ZEXPORT compressBound OF((uLong sourceLen));
1135 compress() or compress2() on sourceLen byte
[all...]
/third_party/zlib/
H A Dcompress.c13 parameter has the same meaning as in deflateInit. sourceLen is the byte
15 destination buffer, which must be at least 0.1% larger than sourceLen plus
23 uLong sourceLen, int level) { in compress2()
50 stream.avail_in = sourceLen > (uLong)max ? max : (uInt)sourceLen; in compress2()
51 sourceLen -= stream.avail_in; in compress2()
53 err = deflate(&stream, sourceLen ? Z_NO_FLUSH : Z_FINISH); in compress2()
64 uLong sourceLen) { in compress()
65 return compress2(dest, destLen, source, sourceLen, Z_DEFAULT_COMPRESSION); in compress()
72 uLong ZEXPORT compressBound(uLong sourceLen) in compressBound() argument
22 compress2(Bytef *dest, uLongf *destLen, const Bytef *source, uLong sourceLen, int level) compress2() argument
63 compress(Bytef *dest, uLongf *destLen, const Bytef *source, uLong sourceLen) compress() argument
[all...]
H A Duncompr.c12 Decompresses the source buffer into the destination buffer. *sourceLen is
18 *destLen is the size of the decompressed data and *sourceLen is the number
19 of source bytes consumed. Upon return, source + *sourceLen points to the
28 uLong *sourceLen) { in uncompress2()
35 len = *sourceLen; in uncompress2()
69 *sourceLen -= len + stream.avail_in; in uncompress2()
83 uLong sourceLen) { in uncompress()
84 return uncompress2(dest, destLen, source, &sourceLen); in uncompress()
27 uncompress2(Bytef *dest, uLongf *destLen, const Bytef *source, uLong *sourceLen) uncompress2() argument
82 uncompress(Bytef *dest, uLongf *destLen, const Bytef *source, uLong sourceLen) uncompress() argument
H A Dzlib.h762 uLong sourceLen);
765 deflation of sourceLen bytes. It must be called after deflateInit() or
769 sourceLen input bytes, an output buffer allocated to the size returned by
1233 const Bytef *source, uLong sourceLen);
1235 Compresses the source buffer into the destination buffer. sourceLen is
1238 compressBound(sourceLen). Upon exit, destLen is the actual size of the
1248 const Bytef *source, uLong sourceLen,
1252 parameter has the same meaning as in deflateInit. sourceLen is the byte
1255 compressBound(sourceLen). Upon exit, destLen is the actual size of the
1263 ZEXTERN uLong ZEXPORT compressBound(uLong sourceLen);
[all...]
/third_party/icu/icu4c/source/test/perf/convperf/
H A Dconvperf.h37 ICUToUnicodePerfFunction(const char* name, const char* source, int32_t sourceLen, UErrorCode& status){ in ICUToUnicodePerfFunction() argument
40 srcLen = sourceLen; in ICUToUnicodePerfFunction()
83 ICUFromUnicodePerfFunction(const char* name, const UChar* source, int32_t sourceLen, UErrorCode& status){ in ICUFromUnicodePerfFunction() argument
86 srcLen = sourceLen; in ICUFromUnicodePerfFunction()
284 WinIMultiLanguageToUnicodePerfFunction(const char* name,char* source, UINT sourceLen, UErrorCode& status){ in WinIMultiLanguageToUnicodePerfFunction() argument
314 srcLen = sourceLen; in WinIMultiLanguageToUnicodePerfFunction()
340 WinIMultiLanguageFromUnicodePerfFunction(const char* name,WCHAR* source, UINT sourceLen, UErrorCode& status){ in WinIMultiLanguageFromUnicodePerfFunction() argument
370 srcLen = sourceLen; in WinIMultiLanguageFromUnicodePerfFunction()
396 WinIMultiLanguage2ToUnicodePerfFunction(const char* name,char* source, UINT sourceLen, UErrorCode& status){ in WinIMultiLanguage2ToUnicodePerfFunction() argument
410 srcLen = sourceLen; in WinIMultiLanguage2ToUnicodePerfFunction()
450 WinIMultiLanguage2FromUnicodePerfFunction(const char* name,WCHAR* source, UINT sourceLen, UErrorCode& status) WinIMultiLanguage2FromUnicodePerfFunction() argument
[all...]
/third_party/icu/icu4c/source/test/perf/strsrchperf/
H A Dstrsrchperf.h39 StringSearchPerfFunction(StrSrchFn func, UStringSearch* search, const UChar* source,int32_t sourceLen, const UChar* pattern, int32_t patternLen) { in StringSearchPerfFunction() argument
42 srcLen = sourceLen; in StringSearchPerfFunction()
66 void ICUForwardSearch(UStringSearch *srch, const UChar* source, int32_t sourceLen, const UChar* pattern, int32_t patternLen, UErrorCode* status) { in ICUForwardSearch() argument
75 void ICUBackwardSearch(UStringSearch *srch, const UChar* source, int32_t sourceLen, const UChar* pattern, int32_t patternLen, UErrorCode* status) { in ICUBackwardSearch() argument
/third_party/icu/icu4c/source/samples/cal/
H A Duprint.c36 int32_t sourceLen; in uprint() local
45 sourceLen = u_strlen(s); in uprint()
47 mySourceEnd = mySource + sourceLen; in uprint()
/third_party/icu/tools/multi/proj/chello/
H A Duprint.cpp34 int32_t sourceLen; in uprint() local
43 sourceLen = u_strlen(s); in uprint()
45 mySourceEnd = mySource + sourceLen; in uprint()
/third_party/icu/icu4c/source/samples/date/
H A Duprint.c37 int32_t sourceLen; in uprint() local
46 sourceLen = u_strlen(s); in uprint()
48 mySourceEnd = mySource + sourceLen; in uprint()
/third_party/skia/third_party/externals/icu/source/samples/cal/
H A Duprint.c36 int32_t sourceLen; in uprint() local
45 sourceLen = u_strlen(s); in uprint()
47 mySourceEnd = mySource + sourceLen; in uprint()
/third_party/skia/third_party/externals/icu/source/samples/date/
H A Duprint.c37 int32_t sourceLen; in uprint() local
46 sourceLen = u_strlen(s); in uprint()
48 mySourceEnd = mySource + sourceLen; in uprint()
/third_party/icu/icu4j/main/tests/charset/src/com/ibm/icu/dev/test/charset/
H A DTestConversion.java374 int sourceLen = cc.unicode.length(); in stepFromUnicode()
384 currentSourceLimit = Math.min(step, sourceLen); in stepFromUnicode()
387 currentSourceLimit = sourceLen; in stepFromUnicode()
397 cr = encoder.encode(source, target, currentSourceLimit == sourceLen); in stepFromUnicode()
400 if (currentSourceLimit == sourceLen) { in stepFromUnicode()
420 currentSourceLimit = Math.min(currentSourceLimit + step, sourceLen); in stepFromUnicode()
677 int sourceLen; in stepToUnicode()
679 sourceLen = cc.bytes.limit(); in stepToUnicode()
694 source.limit((iStep <= sourceLen) ? iStep : sourceLen); in stepToUnicode()
[all...]
/third_party/icu/icu4c/source/test/perf/ustrperf/
H A 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()
/third_party/zlib/contrib/pascal/
H A 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;
/third_party/icu/icu4c/source/test/cintltst/
H A Dnccbtst.h50 UBool testConvertFromUnicode(const UChar *source, int sourceLen, const uint8_t *expect, int expectLen,
59 UBool testConvertFromUnicodeWithContext(const UChar *source, int sourceLen, const uint8_t *expect, int expectLen,
/third_party/icu/icu4c/source/test/perf/normperf/
H A Dnormperf.h91 QuickCheckPerfFunction(QuickCheckFn func, const UChar* source,int32_t sourceLen, UNormalizationMode _mode, int32_t opts, UBool _uselen) : options(opts) { in QuickCheckPerfFunction() argument
98 srcLen = sourceLen; in QuickCheckPerfFunction()
161 NormPerfFunction(NormFn func, int32_t opts, const UChar* source,int32_t sourceLen,UBool _uselen) : options(opts) { in NormPerfFunction() argument
166 destLen = sourceLen*3; in NormPerfFunction()
169 srcLen = sourceLen; in NormPerfFunction()

Completed in 18 milliseconds

123