Home
last modified time | relevance | path

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

12

/external/zlib/src/
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.h762 uLong sourceLen));
1229 const Bytef *source, uLong sourceLen));
1244 const Bytef *source, uLong sourceLen,
1259 ZEXTERN uLong ZEXPORT compressBound OF((uLong sourceLen));
1267 const Bytef *source, uLong sourceLen));
1285 const Bytef *source, uLong *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);
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));
/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/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/samples/cal/
Duprint.c35 int32_t sourceLen; in uprint() local
44 sourceLen = u_strlen(s); in uprint()
46 mySourceEnd = mySource + sourceLen; in uprint()
/external/icu/icu4c/source/samples/date/
Duprint.c36 int32_t sourceLen; in uprint() local
45 sourceLen = u_strlen(s); in uprint()
47 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/zlib/src/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/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/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,…
Dncnvtst.c46 static UBool convertFromU( const UChar *source, int sourceLen, const uint8_t *expect, int expectLe…
48 static UBool convertToU( const uint8_t *source, int sourceLen, const UChar *expect, int expectLen,
51 static UBool testConvertFromU( const UChar *source, int sourceLen, const uint8_t *expect, int expe…
1007 static UBool convertFromU( const UChar *source, int sourceLen, const uint8_t *expect, int expectLe… in convertFromU() argument
1036 sourceLimit=(UChar*)src+(sourceLen); in convertFromU()
1055 sourceLen, targ-buffer); in convertFromU()
1096 static UBool convertToU( const uint8_t *source, int sourceLen, const UChar *expect, int expectLen, in convertToU() argument
1129 sourceLimit=(uint8_t*)(src+(sourceLen)); in convertToU()
1151 sourceLen, targ-buffer); in convertToU()
1193 static UBool testConvertFromU( const UChar *source, int sourceLen, const uint8_t *expect, int expe… in testConvertFromU() argument
[all …]
/external/zlib/
Dzlib.h762 uLong sourceLen));
1229 const Bytef *source, uLong sourceLen));
1244 const Bytef *source, uLong sourceLen,
1259 ZEXTERN uLong ZEXPORT compressBound OF((uLong sourceLen));
1267 const Bytef *source, uLong sourceLen));
1285 const Bytef *source, uLong *sourceLen));
/external/icu/icu4c/source/test/perf/normperf/
Dnormperf.h91 …QuickCheckPerfFunction(QuickCheckFn func, const UChar* source,int32_t sourceLen, UNormalizationMod… in QuickCheckPerfFunction() argument
98 srcLen = sourceLen; in QuickCheckPerfFunction()
161 …NormPerfFunction(NormFn func, int32_t opts, const UChar* source,int32_t sourceLen,UBool _uselen) :… in NormPerfFunction() argument
166 destLen = sourceLen*3; in NormPerfFunction()
169 srcLen = sourceLen; in NormPerfFunction()
/external/icu/icu4c/source/tools/genrb/
Dwrtjava.cpp107 uCharsToChars(char *target, int32_t targetLen, const UChar *source, int32_t sourceLen, UErrorCode *… in uCharsToChars() argument
110 while(i<sourceLen){ in uCharsToChars()
139 if(i+1<sourceLen){ in uCharsToChars()
207 strrch(const char* source,uint32_t sourceLen,char find){ in strrch() argument
208 const char* tSourceEnd =source + (sourceLen-1); in strrch()
/external/conscrypt/repackaged/openjdk-integ-tests/src/test/java/com/android/org/conscrypt/javax/net/ssl/
DSSLEngineVersionCompatibilityTest.java143 int sourceLen = sourceBytes.length; in assertSendsCorrectlyWhenSplit() local
144 sourceBufs[0] = ByteBuffer.wrap(sourceBytes, 0, sourceLen / 3); in assertSendsCorrectlyWhenSplit()
145 sourceBufs[1] = ByteBuffer.wrap(sourceBytes, sourceLen / 3, sourceLen / 3); in assertSendsCorrectlyWhenSplit()
147 sourceBytes, 2 * (sourceLen / 3), sourceLen - 2 * (sourceLen / 3)); in assertSendsCorrectlyWhenSplit()
DSSLEngineTest.java347 int sourceLen = sourceBytes.length; in assertSendsCorrectlyWhenSplit() local
348 sourceBufs[0] = ByteBuffer.wrap(sourceBytes, 0, sourceLen / 3); in assertSendsCorrectlyWhenSplit()
349 sourceBufs[1] = ByteBuffer.wrap(sourceBytes, sourceLen / 3, sourceLen / 3); in assertSendsCorrectlyWhenSplit()
351 sourceBytes, 2 * (sourceLen / 3), sourceLen - 2 * (sourceLen / 3)); in assertSendsCorrectlyWhenSplit()
/external/conscrypt/openjdk-integ-tests/src/test/java/org/conscrypt/javax/net/ssl/
DSSLEngineVersionCompatibilityTest.java141 int sourceLen = sourceBytes.length; in assertSendsCorrectlyWhenSplit() local
142 sourceBufs[0] = ByteBuffer.wrap(sourceBytes, 0, sourceLen / 3); in assertSendsCorrectlyWhenSplit()
143 sourceBufs[1] = ByteBuffer.wrap(sourceBytes, sourceLen / 3, sourceLen / 3); in assertSendsCorrectlyWhenSplit()
145 sourceBytes, 2 * (sourceLen / 3), sourceLen - 2 * (sourceLen / 3)); in assertSendsCorrectlyWhenSplit()
DSSLEngineTest.java343 int sourceLen = sourceBytes.length; in assertSendsCorrectlyWhenSplit() local
344 sourceBufs[0] = ByteBuffer.wrap(sourceBytes, 0, sourceLen / 3); in assertSendsCorrectlyWhenSplit()
345 sourceBufs[1] = ByteBuffer.wrap(sourceBytes, sourceLen / 3, sourceLen / 3); in assertSendsCorrectlyWhenSplit()
347 sourceBytes, 2 * (sourceLen / 3), sourceLen - 2 * (sourceLen / 3)); in assertSendsCorrectlyWhenSplit()
/external/bzip2/
Dbzlib.h208 unsigned int sourceLen,
218 unsigned int sourceLen,
/external/u-boot/include/
Dbzlib.h257 unsigned int sourceLen,
267 unsigned int sourceLen,
/external/icu/icu4c/source/extra/uconv/
Duwmsg.c37 int32_t sourceLen, in uprint() argument
53 mySourceEnd = mySource + sourceLen; in uprint()

12