Home
last modified time | relevance | path

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

123

/third_party/node/deps/v8/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);
/third_party/skia/third_party/externals/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);
Dzlib.h761 uLong sourceLen));
1228 const Bytef *source, uLong sourceLen));
1243 const Bytef *source, uLong sourceLen,
1258 ZEXTERN uLong ZEXPORT compressBound OF((uLong sourceLen));
1266 const Bytef *source, uLong sourceLen));
1284 const Bytef *source, uLong *sourceLen));
/third_party/node/deps/zlib/
Dcompress.c23 uLong sourceLen, int level) { in compress2() argument
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() argument
65 return compress2(dest, destLen, source, sourceLen, Z_DEFAULT_COMPRESSION); in compress()
72 uLong ZEXPORT compressBound(uLong sourceLen) { in compressBound() argument
73 sourceLen = sourceLen + (sourceLen >> 12) + (sourceLen >> 14) + in compressBound()
74 (sourceLen >> 25) + 13; in compressBound()
83 sourceLen += sourceLen >> 7; // Equivalent to 1.0078125 in compressBound()
[all …]
Duncompr.c28 uLong *sourceLen) { in uncompress2() argument
35 len = *sourceLen; in uncompress2()
69 *sourceLen -= len + stream.avail_in; in uncompress2()
83 uLong sourceLen) { in uncompress() argument
84 return uncompress2(dest, destLen, source, &sourceLen); in uncompress()
Dzlib.h760 uLong sourceLen);
1229 const Bytef *source, uLong sourceLen);
1244 const Bytef *source, uLong sourceLen,
1259 ZEXTERN uLong ZEXPORT compressBound(uLong sourceLen);
1267 const Bytef *source, uLong sourceLen);
1285 const Bytef *source, uLong *sourceLen);
/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);
Dzlib.h761 uLong sourceLen));
1230 const Bytef *source, uLong sourceLen));
1245 const Bytef *source, uLong sourceLen,
1260 ZEXTERN uLong ZEXPORT compressBound OF((uLong sourceLen));
1268 const Bytef *source, uLong sourceLen));
1286 const Bytef *source, uLong *sourceLen));
/third_party/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;
Dzlib.h685 uLong sourceLen));
1103 const Bytef *source, uLong sourceLen));
1117 const Bytef *source, uLong sourceLen,
1132 ZEXTERN uLong ZEXPORT compressBound OF((uLong sourceLen));
1140 const Bytef *source, uLong sourceLen));
/third_party/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 …]
/third_party/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
/third_party/icu/icu4j/main/tests/charset/src/com/ibm/icu/dev/test/charset/
DTestConversion.java374 int sourceLen = cc.unicode.length(); in stepFromUnicode() local
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() local
679 sourceLen = cc.bytes.limit(); in stepToUnicode()
694 source.limit((iStep <= sourceLen) ? iStep : sourceLen); in stepToUnicode()
697 flush = (cc.finalFlush && source.limit() == sourceLen); in stepToUnicode()
[all …]
/third_party/skia/third_party/externals/icu/source/samples/cal/
Duprint.c36 int32_t sourceLen; in uprint() local
45 sourceLen = u_strlen(s); in uprint()
47 mySourceEnd = mySource + sourceLen; in uprint()
/third_party/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()
/third_party/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()
/third_party/icu/tools/multi/proj/chello/
Duprint.cpp34 int32_t sourceLen; in uprint() local
43 sourceLen = u_strlen(s); in uprint()
45 mySourceEnd = mySource + sourceLen; in uprint()
/third_party/skia/third_party/externals/icu/source/samples/date/
Duprint.c37 int32_t sourceLen; in uprint() local
46 sourceLen = u_strlen(s); in uprint()
48 mySourceEnd = mySource + sourceLen; in uprint()
/third_party/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()
/third_party/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;
/third_party/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