/libcore/luni/src/main/native/ |
java_util_zip_Adler32.cpp | 18 #define LOG_TAG "Adler32" 31 return adler32(crc, reinterpret_cast<const Bytef*>(bytes.get() + off), len); 36 return adler32(crc, reinterpret_cast<const Bytef*>(&bytefVal), 1); 40 NATIVE_METHOD(Adler32, updateImpl, "([BIIJ)J"), 41 NATIVE_METHOD(Adler32, updateByteImpl, "(IJ)J"), 44 jniRegisterNativeMethods(env, "java/util/zip/Adler32", gMethods, NELEM(gMethods));
|
/external/zlib/src/watcom/ |
watcom_l.mak | 7 C_SOURCE = adler32.c compress.c crc32.c deflate.c & 12 OBJS = adler32.obj compress.obj crc32.obj deflate.obj & 28 wlib -b -c $(ZLIB_LIB) -+adler32.obj -+compress.obj -+crc32.obj
|
watcom_f.mak | 7 C_SOURCE = adler32.c compress.c crc32.c deflate.c & 12 OBJS = adler32.obj compress.obj crc32.obj deflate.obj & 28 wlib -b -c $(ZLIB_LIB) -+adler32.obj -+compress.obj -+crc32.obj
|
/external/guava/guava-tests/test/com/google/common/hash/ |
HashFunctionEnum.java | 25 ADLER32(Hashing.adler32()),
|
HashingTest.java | 86 HashTestUtils.assertInvariants(Hashing.adler32()); 87 assertEquals("Hashing.adler32()", Hashing.adler32().toString()); 388 .put(Hashing.adler32(), EMPTY_STRING, "01000000") 389 .put(Hashing.adler32(), TQBFJOTLD, "da0fdc5b") 390 .put(Hashing.adler32(), TQBFJOTLDP, "0810e46b")
|
/external/guava/guava-tests/benchmark/com/google/common/hash/ |
ChecksumBenchmark.java | 24 import java.util.zip.Adler32; 67 // Adler32 70 return runHashFunction(reps, Hashing.adler32()); 76 Adler32 checksum = new Adler32(); 89 result ^= Hashing.adler32().hashInt(reps).asBytes()[0];
|
/external/zopfli/src/zopfli/ |
zlib_container.c | 28 /* Calculates the adler32 checksum of the data */ 29 static unsigned adler32(const unsigned char* data, size_t size) function 54 unsigned checksum = adler32(in, (unsigned)insize);
|
/libcore/luni/src/test/java/libcore/java/util/zip/ |
InflaterTest.java | 20 import java.util.zip.Adler32; 55 // 3. ...and that dictionary has the same Adler32 as the dictionary we used. 56 assertEquals(adler32(dictionary), inflater.getAdler()); method 120 private static int adler32(byte[] bytes) { method in class:InflaterTest 121 Adler32 adler32 = new Adler32(); local 122 adler32.update(bytes); 123 return (int) adler32.getValue();
|
/dalvik/libdex/ |
DexOptData.cpp | 43 uLong adler = adler32(0L, Z_NULL, 0); 45 return (u4) adler32(adler, start, end - start);
|
/external/libpng/contrib/tools/ |
checksum-icc.c | 11 * Generate crc32 and adler32 checksums of the given input files, used to 22 uLong a32 = adler32(0, NULL, 0); 39 a32 = adler32(a32, &b, 1); 68 printf("/* adler32, crc32, MD5[16], intent, date, length, file-name */\n");
|
/external/zlib/src/contrib/delphi/ |
zlibd32.mak | 21 OBJ1 = adler32.obj compress.obj crc32.obj deflate.obj gzclose.obj gzlib.obj gzread.obj 23 OBJP1 = +adler32.obj+compress.obj+crc32.obj+deflate.obj+gzclose.obj+gzlib.obj+gzread.obj 33 adler32.obj: adler32.c zlib.h zconf.h
|
/external/zlib/src/contrib/pascal/ |
zlibd32.mak | 21 OBJ1 = adler32.obj compress.obj crc32.obj deflate.obj gzclose.obj gzlib.obj gzread.obj 23 OBJP1 = +adler32.obj+compress.obj+crc32.obj+deflate.obj+gzclose.obj+gzlib.obj+gzread.obj 33 adler32.obj: adler32.c zlib.h zconf.h
|
zlibpas.pas | 45 adler: LongInt; (* adler32 value of the uncompressed data *) 154 function adler32(adler: LongInt; const buf: PChar; len: Integer): LongInt; function 176 {$L adler32.obj} 188 function adler32; external; function
|
/external/freetype/src/gzip/ |
adler32.c | 0 /* adler32.c -- compute the Adler-32 checksum of a data stream 21 ZEXPORT(uLong) adler32( /* adler, buf, len) */
|
zlib.h | 85 uLong adler; /* adler32 value of the uncompressed data */ 258 deflate() sets strm->adler to the adler32 checksum of all input read 356 below), inflate sets strm-adler to the adler32 checksum of the 358 it sets strm->adler to the adler32 checksum of all output produced 361 checks that its computed adler32 checksum is equal to that saved by the 369 adler32 checksum), Z_STREAM_ERROR if the stream structure was inconsistent 459 Upon return of this function, strm->adler is set to the Adler32 value 461 which dictionary has been used by the compressor. (The Adler32 value 543 can be determined from the Adler32 value returned by this call of 550 expected one (incorrect Adler32 value). inflateSetDictionary does no [all...] |
zconf.h | 35 # define adler32 z_adler32 macro
|
/external/libpng/contrib/pngminim/decoder/ |
makefile | 32 ZSRCS = adler32$(C) crc32$(C) \ 49 ZOBJS = adler32$(O) crc32$(O) \
|
/external/libpng/contrib/pngminim/encoder/ |
makefile | 31 ZSRCS = adler32$(C) compress$(C) crc32$(C) deflate$(C) \ 50 ZOBJS = adler32$(O) compress$(O) crc32$(O) deflate$(O) \
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
test_zlib.py | 28 self.assertEqual(zlib.adler32(""), zlib.adler32("", 1)) 29 self.assertTrue(zlib.adler32("abc", 0xffffffff)) 32 self.assertEqual(zlib.adler32("", 0), 0) 33 self.assertEqual(zlib.adler32("", 1), 1) 34 self.assertEqual(zlib.adler32("", 432), 432) 44 self.assertEqual32(zlib.adler32("penguin", 0), 0x0bcf02f6) 45 self.assertEqual32(zlib.adler32("penguin", 1), 0x0bd602f7) 48 self.assertEqual(zlib.adler32("penguin"),zlib.adler32("penguin",1) [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
test_zlib.py | 28 self.assertEqual(zlib.adler32(""), zlib.adler32("", 1)) 29 self.assertTrue(zlib.adler32("abc", 0xffffffff)) 32 self.assertEqual(zlib.adler32("", 0), 0) 33 self.assertEqual(zlib.adler32("", 1), 1) 34 self.assertEqual(zlib.adler32("", 432), 432) 44 self.assertEqual32(zlib.adler32("penguin", 0), 0x0bcf02f6) 45 self.assertEqual32(zlib.adler32("penguin", 1), 0x0bd602f7) 48 self.assertEqual(zlib.adler32("penguin"),zlib.adler32("penguin",1) [all...] |
/art/runtime/ |
dex_file_verifier_test.cc | 163 uint32_t adler_checksum = adler32(0L, Z_NULL, 0); 166 adler_checksum = adler32(adler_checksum, non_sum_ptr, expected_size - non_sum);
|
/external/libpng/contrib/pngminim/preader/ |
makefile | 48 ZSRCS = adler32$(C) crc32$(C) \ 65 ZOBJS = adler32$(O) crc32$(O) \
|
/external/zlib/ |
Android.mk | 9 src/adler32.c \
|
/external/valgrind/auxprogs/ |
valgrind-di-server.c | 248 UInt adler32( UInt adler, const UChar* buf, UInt len ) function 698 UChar rd_first8[8]; // adler32; length32 719 UInt adler = adler32(0, NULL, 0); // initial value 720 adler = adler32(adler, &rd_first8[4], 4); 722 adler = adler32(adler, req->data, req->n_data); 887 adler = adler32(0, NULL, 0); 892 adler = adler32(adler, &wr_first8[4], 4); 894 adler = adler32(adler, res->data, res->n_data); [all...] |
/development/ndk/platforms/android-3/include/ |
zconf.h | 41 # define adler32 z_adler32 macro
|