Home
last modified time | relevance | path

Searched refs:adler32 (Results 1 – 25 of 92) sorted by relevance

1234

/external/apache-commons-compress/src/test/java/org/apache/commons/compress/utils/
DChecksumCalculatingInputStreamTest.java42 Adler32 adler32 = new Adler32(); in testSkipReturningZero() local
45 …ream checksumCalculatingInputStream = new ChecksumCalculatingInputStream(adler32, byteArrayInputSt… in testSkipReturningZero()
59 Adler32 adler32 = new Adler32(); in testSkipReturningPositive() local
62 …ream checksumCalculatingInputStream = new ChecksumCalculatingInputStream(adler32, byteArrayInputSt… in testSkipReturningPositive()
75 Adler32 adler32 = new Adler32(); in testReadTakingNoArguments() local
78 …ream checksumCalculatingInputStream = new ChecksumCalculatingInputStream(adler32, byteArrayInputSt… in testReadTakingNoArguments()
96 Adler32 adler32 = new Adler32(); in testReadTakingByteArray() local
99 …ream checksumCalculatingInputStream = new ChecksumCalculatingInputStream(adler32, byteArrayInputSt… in testReadTakingByteArray()
DChecksumVerifyingInputStreamTest.java42 Adler32 adler32 = new Adler32(); in testReadTakingByteArrayThrowsIOException() local
45 …utStream checksumVerifyingInputStream = new ChecksumVerifyingInputStream(adler32, byteArrayInputSt… in testReadTakingByteArrayThrowsIOException()
/external/v8/src/snapshot/
Dsnapshot-utils.cc20 adler32(0, nullptr, 0); in Checksum()
21 return static_cast<uint32_t>(adler32(0, payload.begin(), payload.length())); in Checksum()
/external/python/cpython2/Modules/zlib/
DMakefile.in60 OBJZ = adler32.o crc32.o deflate.o infback.o inffast.o inflate.o inftrees.o trees.o zutil.o
64 PIC_OBJZ = adler32.lo crc32.lo deflate.lo infback.lo inffast.lo inflate.lo inftrees.lo trees.lo zut…
159 adler32.o: $(SRCDIR)adler32.c
160 $(CC) $(CFLAGS) $(ZINC) -c -o $@ $(SRCDIR)adler32.c
205 adler32.lo: $(SRCDIR)adler32.c
207 $(CC) $(SFLAGS) $(ZINC) -DPIC -c -o objs/adler32.o $(SRCDIR)adler32.c
208 -@mv objs/adler32.o $@
392 adler32.o zutil.o: $(SRCDIR)zutil.h $(SRCDIR)zlib.h zconf.h
402 adler32.lo zutil.lo: $(SRCDIR)zutil.h $(SRCDIR)zlib.h zconf.h
/external/python/cpython2/Lib/test/
Dtest_zlib.py37 self.assertEqual(zlib.adler32(""), zlib.adler32("", 1))
38 self.assertTrue(zlib.adler32("abc", 0xffffffff))
41 self.assertEqual(zlib.adler32("", 0), 0)
42 self.assertEqual(zlib.adler32("", 1), 1)
43 self.assertEqual(zlib.adler32("", 432), 432)
53 self.assertEqual32(zlib.adler32("penguin", 0), 0x0bcf02f6)
54 self.assertEqual32(zlib.adler32("penguin", 1), 0x0bd602f7)
57 self.assertEqual(zlib.adler32("penguin"),zlib.adler32("penguin",1))
65 self.assertEqual(zlib.adler32(foo+foo), -721416943)
66 self.assertEqual(zlib.adler32('spam'), 72286642)
[all …]
/external/zopfli/src/zopfli/
Dzlib_container.c29 static unsigned adler32(const unsigned char* data, size_t size) in adler32() function
54 unsigned checksum = adler32(in, (unsigned)insize); in ZopfliZlibCompress()
/external/python/cpython3/Lib/test/
Dtest_zlib.py43 self.assertEqual(zlib.adler32(b""), zlib.adler32(b"", 1))
44 self.assertTrue(zlib.adler32(b"abc", 0xffffffff))
47 self.assertEqual(zlib.adler32(b"", 0), 0)
48 self.assertEqual(zlib.adler32(b"", 1), 1)
49 self.assertEqual(zlib.adler32(b"", 432), 432)
54 self.assertEqual(zlib.adler32(b"penguin", 0), 0x0bcf02f6)
55 self.assertEqual(zlib.adler32(b"penguin", 1), 0x0bd602f7)
58 self.assertEqual(zlib.adler32(b"penguin"),zlib.adler32(b"penguin",1))
65 self.assertEqual(zlib.adler32(foo+foo), 3573550353)
66 self.assertEqual(zlib.adler32(b'spam'), 72286642)
[all …]
/external/libpng/contrib/tools/
Dchecksum-icc.c22 uLong a32 = adler32(0, NULL, 0); in read_one_file()
39 a32 = adler32(a32, &b, 1); in read_one_file()
/external/guava/android/guava-tests/benchmark/com/google/common/hash/
DChecksumBenchmark.java76 return runHashFunction(reps, Hashing.adler32()); in adler32HashFunction()
96 result ^= Hashing.adler32().hashInt(reps).asBytes()[0]; in runHashFunction()
/external/guava/guava-tests/benchmark/com/google/common/hash/
DChecksumBenchmark.java76 return runHashFunction(reps, Hashing.adler32()); in adler32HashFunction()
96 result ^= Hashing.adler32().hashInt(reps).asBytes()[0]; in runHashFunction()
/external/v8/third_party/zlib/patches/
D0002-uninitializedcheck.patch23 - state->check = adler32(0L, Z_NULL, 0);
24 + state->check = 1L; /* 1L is the result of adler32() zero length data */
/external/zlib/patches/
D0002-uninitializedcheck.patch23 - state->check = adler32(0L, Z_NULL, 0);
24 + state->check = 1L; /* 1L is the result of adler32() zero length data */
/external/oss-fuzz/projects/zlib/
Dchecksum_fuzzer.c14 uint32_t adler0 = adler32(0L, NULL, 0); in LLVMFuzzerTestOneInput()
59 adler2 = adler32(adler2, data, (uint32_t) dataLen); in LLVMFuzzerTestOneInput()
/external/libpng/contrib/pngminim/encoder/
Dmakefile31 ZSRCS = adler32$(C) compress$(C) crc32$(C) deflate$(C) \
50 ZOBJS = adler32$(O) compress$(O) crc32$(O) deflate$(O) \
/external/libpng/contrib/pngminim/decoder/
Dmakefile32 ZSRCS = adler32$(C) crc32$(C) \
49 ZOBJS = adler32$(O) crc32$(O) \
/external/arm-trusted-firmware/lib/zlib/
Dzlib.mk11 adler32.c \
/external/libpng/contrib/pngminim/preader/
Dmakefile48 ZSRCS = adler32$(C) crc32$(C) \
65 ZOBJS = adler32$(O) crc32$(O) \
/external/grpc-grpc/third_party/
Dzlib.BUILD4 "adler32.c",
/external/guava/android/guava-tests/test/com/google/common/hash/
DHashFunctionEnum.java25 ADLER32(Hashing.adler32()),
DHashingTest.java95 HashTestUtils.assertInvariants(Hashing.adler32()); in testAdler32()
96 assertEquals("Hashing.adler32()", Hashing.adler32().toString()); in testAdler32()
423 .put(Hashing.adler32(), EMPTY_STRING, "01000000")
424 .put(Hashing.adler32(), TQBFJOTLD, "da0fdc5b")
425 .put(Hashing.adler32(), TQBFJOTLDP, "0810e46b")
/external/guava/guava-tests/test/com/google/common/hash/
DHashFunctionEnum.java25 ADLER32(Hashing.adler32()),
DHashingTest.java95 HashTestUtils.assertInvariants(Hashing.adler32()); in testAdler32()
96 assertEquals("Hashing.adler32()", Hashing.adler32().toString()); in testAdler32()
423 .put(Hashing.adler32(), EMPTY_STRING, "01000000")
424 .put(Hashing.adler32(), TQBFJOTLD, "da0fdc5b")
425 .put(Hashing.adler32(), TQBFJOTLDP, "0810e46b")
/external/freetype/src/gzip/
Drules.mk42 GZIP_DRV_SRCS := $(GZIP_DIR)/adler32.c \
Dadler32.c21 ZEXPORT(uLong) adler32( /* adler, buf, len) */ in adler32() function
/external/skia/third_party/zlib/
DBUILD.gn24 "../externals/zlib/adler32.c",

1234