Home
last modified time | relevance | path

Searched refs:adler2 (Results 1 – 13 of 13) sorted by relevance

/external/python/cpython2/Modules/zlib/
Dadler32.c10 local uLong adler32_combine_ OF((uLong adler1, uLong adler2, z_off64_t len2));
143 local uLong adler32_combine_(adler1, adler2, len2) in adler32_combine_() argument
145 uLong adler2;
162 sum1 += (adler2 & 0xffff) + BASE - 1;
163 sum2 += ((adler1 >> 16) & 0xffff) + ((adler2 >> 16) & 0xffff) + BASE - rem;
172 uLong ZEXPORT adler32_combine(adler1, adler2, len2) in adler32_combine() argument
174 uLong adler2;
177 return adler32_combine_(adler1, adler2, len2);
180 uLong ZEXPORT adler32_combine64(adler1, adler2, len2) in adler32_combine64() argument
182 uLong adler2;
[all …]
/external/rust/crates/libz-sys/src/zlib/
Dadler32.c10 local uLong adler32_combine_ OF((uLong adler1, uLong adler2, z_off64_t len2));
143 local uLong adler32_combine_(adler1, adler2, len2) in adler32_combine_() argument
145 uLong adler2;
162 sum1 += (adler2 & 0xffff) + BASE - 1;
163 sum2 += ((adler1 >> 16) & 0xffff) + ((adler2 >> 16) & 0xffff) + BASE - rem;
172 uLong ZEXPORT adler32_combine(adler1, adler2, len2) in adler32_combine() argument
174 uLong adler2;
177 return adler32_combine_(adler1, adler2, len2);
180 uLong ZEXPORT adler32_combine64(adler1, adler2, len2) in adler32_combine64() argument
182 uLong adler2;
[all …]
/external/libwebsockets/win32port/zlib/
Dadler32.c12 local uLong adler32_combine_(uLong adler1, uLong adler2, z_off64_t len2);
131 local uLong adler32_combine_(adler1, adler2, len2) in adler32_combine_() argument
133 uLong adler2;
145 sum1 += (adler2 & 0xffff) + BASE - 1;
146 sum2 += ((adler1 >> 16) & 0xffff) + ((adler2 >> 16) & 0xffff) + BASE - rem;
155 uLong ZEXPORT adler32_combine(adler1, adler2, len2) in adler32_combine() argument
157 uLong adler2;
160 return adler32_combine_(adler1, adler2, len2);
163 uLong ZEXPORT adler32_combine64(adler1, adler2, len2) in adler32_combine64() argument
165 uLong adler2;
[all …]
/external/zlib/
Dadler32.c10 local uLong adler32_combine_ OF((uLong adler1, uLong adler2, z_off64_t len2));
171 local uLong adler32_combine_(adler1, adler2, len2) in adler32_combine_() argument
173 uLong adler2;
190 sum1 += (adler2 & 0xffff) + BASE - 1;
191 sum2 += ((adler1 >> 16) & 0xffff) + ((adler2 >> 16) & 0xffff) + BASE - rem;
200 uLong ZEXPORT adler32_combine(adler1, adler2, len2) in adler32_combine() argument
202 uLong adler2;
205 return adler32_combine_(adler1, adler2, len2);
208 uLong ZEXPORT adler32_combine64(adler1, adler2, len2) in adler32_combine64() argument
210 uLong adler2;
[all …]
/external/rust/crates/libz-sys/src/zlib-ng/
Dadler32.c102 static uint32_t adler32_combine_(uint32_t adler1, uint32_t adler2, z_off64_t len2) { argument
117 sum1 += (adler2 & 0xffff) + BASE - 1;
118 sum2 += ((adler1 >> 16) & 0xffff) + ((adler2 >> 16) & 0xffff) + BASE - rem;
128 unsigned long Z_EXPORT PREFIX(adler32_combine)(unsigned long adler1, unsigned long adler2, z_off_t …
129 return (unsigned long)adler32_combine_((uint32_t)adler1, (uint32_t)adler2, len2);
132 unsigned long Z_EXPORT PREFIX4(adler32_combine)(unsigned long adler1, unsigned long adler2, z_off64…
133 return (unsigned long)adler32_combine_((uint32_t)adler1, (uint32_t)adler2, len2);
136 uint32_t Z_EXPORT PREFIX4(adler32_combine)(uint32_t adler1, uint32_t adler2, z_off64_t len2) {
137 return adler32_combine_(adler1, adler2, len2);
Dzlib-ng.h1715 uint32_t zng_adler32_combine(uint32_t adler1, uint32_t adler2, z_off64_t len2);
/external/rust/crates/libz-sys/src/zlib-ng/test/fuzz/
Dchecksum_fuzzer.c22 uint32_t adler2 = adler0; in LLVMFuzzerTestOneInput() local
73 adler2 = PREFIX(adler32_z)(adler2, data, dataLen); in LLVMFuzzerTestOneInput()
75 assert(adler1 == adler2); in LLVMFuzzerTestOneInput()
77 (void)adler2; in LLVMFuzzerTestOneInput()
78 combine1 = PREFIX(adler32_combine)(adler1, adler2, (z_off_t)dataLen); in LLVMFuzzerTestOneInput()
/external/oss-fuzz/projects/zlib/
Dchecksum_fuzzer.c16 uint32_t adler2 = adler0; in LLVMFuzzerTestOneInput() local
59 adler2 = adler32(adler2, data, (uint32_t) dataLen); in LLVMFuzzerTestOneInput()
61 assert(adler1 == adler2); in LLVMFuzzerTestOneInput()
62 assert(adler32_combine(adler1, adler2, dataLen) == in LLVMFuzzerTestOneInput()
/external/rust/crates/libz-sys/src/zlib/contrib/dotzlib/DotZLib/
DUnitTests.cs184 private uint adler2; field in DotZLibTests.DeflateInflateTests
236 adler2 = inf.Checksum; in Inflate_Expand()
238 Assert.AreEqual( adler1, adler2 ); in Inflate_Expand()
/external/rust/crates/libz-sys/src/zlib/contrib/pascal/
Dzlibpas.pas155 function adler32_combine(adler1, adler2, len2: LongInt): LongInt; in adler32_combine() argument
/external/rust/crates/libz-sys/src/
Dlib.rs156 pub fn adler32_combine(adler1: uLong, adler2: uLong, len2: z_off_t) -> uLong; in adler32_combine()
/external/rust/crates/libz-sys/src/zlib/os400/
Dzlib.inc477 D adler2 10U 0 value Old checksum
/external/rust/crates/libz-sys/src/zlib-ng/test/abi/
Dzlib-v1.2.11-x86_64-linux-gnu.abi100 … <parameter type-id='type-id-2' name='adler2' filepath='src.d/adler32.c' line='182' column='1'/>
108 … <parameter type-id='type-id-2' name='adler2' filepath='src.d/adler32.c' line='174' column='1'/>
137 … <parameter type-id='type-id-2' name='adler2' filepath='src.d/adler32.c' line='182' column='1'/>
143 … <parameter type-id='type-id-2' name='adler2' filepath='src.d/adler32.c' line='174' column='1'/>