Home
last modified time | relevance | path

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

/external/oss-fuzz/projects/zlib/
Dchecksum_fuzzer.c15 uint32_t adler1 = adler0; in LLVMFuzzerTestOneInput() local
56 adler1 = adler32_z(adler1, data + offset, buffSize); in LLVMFuzzerTestOneInput()
57 adler1 = adler32_z(adler1, data + offset, dataLen % buffSize); in LLVMFuzzerTestOneInput()
61 assert(adler1 == adler2); in LLVMFuzzerTestOneInput()
62 assert(adler32_combine(adler1, adler2, dataLen) == in LLVMFuzzerTestOneInput()
63 adler32_combine(adler1, adler1, dataLen)); in LLVMFuzzerTestOneInput()
/external/rust/crates/libz-sys/src/zlib-ng/test/fuzz/
Dchecksum_fuzzer.c21 uint32_t adler1 = adler0; in LLVMFuzzerTestOneInput() local
70 adler1 = PREFIX(adler32_z)(adler1, data + offset, buffSize); in LLVMFuzzerTestOneInput()
71 adler1 = PREFIX(adler32_z)(adler1, data + offset, dataLen % buffSize); in LLVMFuzzerTestOneInput()
75 assert(adler1 == adler2); in LLVMFuzzerTestOneInput()
76 (void)adler1; in LLVMFuzzerTestOneInput()
78 combine1 = PREFIX(adler32_combine)(adler1, adler2, (z_off_t)dataLen); in LLVMFuzzerTestOneInput()
79 combine2 = PREFIX(adler32_combine)(adler1, adler1, (z_off_t)dataLen); in LLVMFuzzerTestOneInput()
/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
144 uLong adler1; in adler32_combine_()
159 sum1 = adler1 & 0xffff;
163 sum2 += ((adler1 >> 16) & 0xffff) + ((adler2 >> 16) & 0xffff) + BASE - rem;
172 uLong ZEXPORT adler32_combine(adler1, adler2, len2) in adler32_combine() argument
173 uLong adler1; in adler32_combine()
177 return adler32_combine_(adler1, adler2, len2);
180 uLong ZEXPORT adler32_combine64(adler1, adler2, len2) in adler32_combine64() argument
181 uLong adler1; in adler32_combine64()
[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
144 uLong adler1; in adler32_combine_()
159 sum1 = adler1 & 0xffff;
163 sum2 += ((adler1 >> 16) & 0xffff) + ((adler2 >> 16) & 0xffff) + BASE - rem;
172 uLong ZEXPORT adler32_combine(adler1, adler2, len2) in adler32_combine() argument
173 uLong adler1; in adler32_combine()
177 return adler32_combine_(adler1, adler2, len2);
180 uLong ZEXPORT adler32_combine64(adler1, adler2, len2) in adler32_combine64() argument
181 uLong adler1; in adler32_combine64()
[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
132 uLong adler1; in adler32_combine_()
142 sum1 = adler1 & 0xffff;
146 sum2 += ((adler1 >> 16) & 0xffff) + ((adler2 >> 16) & 0xffff) + BASE - rem;
155 uLong ZEXPORT adler32_combine(adler1, adler2, len2) in adler32_combine() argument
156 uLong adler1; in adler32_combine()
160 return adler32_combine_(adler1, adler2, len2);
163 uLong ZEXPORT adler32_combine64(adler1, adler2, len2) in adler32_combine64() argument
164 uLong adler1; in adler32_combine64()
[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
172 uLong adler1; in adler32_combine_()
187 sum1 = adler1 & 0xffff;
191 sum2 += ((adler1 >> 16) & 0xffff) + ((adler2 >> 16) & 0xffff) + BASE - rem;
200 uLong ZEXPORT adler32_combine(adler1, adler2, len2) in adler32_combine() argument
201 uLong adler1; in adler32_combine()
205 return adler32_combine_(adler1, adler2, len2);
208 uLong ZEXPORT adler32_combine64(adler1, adler2, len2) in adler32_combine64() argument
209 uLong adler1; in adler32_combine64()
[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
114 sum1 = adler1 & 0xffff;
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/contrib/dotzlib/DotZLib/
DUnitTests.cs181 private uint adler1; field in DotZLibTests.DeflateInflateTests
206 adler1 = def.Checksum; in Deflate_Compress()
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.inc476 D adler1 10U 0 value Old checksum
/external/rust/crates/libz-sys/src/zlib-ng/test/abi/
Dzlib-v1.2.11-x86_64-linux-gnu.abi99 … <parameter type-id='type-id-2' name='adler1' filepath='src.d/adler32.c' line='181' column='1'/>
107 … <parameter type-id='type-id-2' name='adler1' filepath='src.d/adler32.c' line='173' column='1'/>
136 … <parameter type-id='type-id-2' name='adler1' filepath='src.d/adler32.c' line='181' column='1'/>
142 … <parameter type-id='type-id-2' name='adler1' filepath='src.d/adler32.c' line='173' column='1'/>