/libcore/luni/src/test/java/libcore/java/util/zip/ |
OldAndroidChecksumTest.java | 41 Adler32 adler = new Adler32(); local 44 adler.update(values); 45 assertEquals(adler.getValue(), expected); 48 adler.reset(); 50 adler.update(values[i]); 52 assertEquals(adler.getValue(), expected); 84 Adler32 adler = new Adler32(); local 85 adler.update(bytes); 86 long arrayChecksum = adler.getValue(); 87 adler.reset() [all...] |
/libcore/benchmarks/src/benchmarks/regression/ |
ChecksumBenchmark.java | 25 Adler32 adler = new Adler32(); local 27 adler.update(bytes); 31 Adler32 adler = new Adler32(); local 33 adler.update(1);
|
/dalvik/libdex/ |
DexOptData.cpp | 43 uLong adler = adler32(0L, Z_NULL, 0); local 45 return (u4) adler32(adler, start, end - start);
|
DexFile.cpp | 346 u4 adler = dexComputeChecksum(pHeader); local 347 if (adler != pHeader->checksum) { 349 adler, pHeader->checksum); 353 ALOGV("+++ adler32 checksum (%08x) verified", adler); 358 adler = dexComputeOptChecksum(pOptHeader); 359 if (adler != pOptHeader->checksum) { 361 adler, pOptHeader->checksum); 365 ALOGV("+++ adler32 opt checksum (%08x) verified", adler); 481 uLong adler = adler32(0L, Z_NULL, 0); local 484 return (u4) adler32(adler, start + nonSum, pHeader->fileSize - nonSum) [all...] |
DexSwapVerify.cpp | 2968 uLong adler = adler32(0L, Z_NULL, 0); local [all...] |
/libcore/ojluni/src/main/java/java/util/zip/ |
Adler32.java | 32 * A class that can be used to compute the Adler-32 checksum of a data 33 * stream. An Adler-32 checksum is almost as reliable as a CRC-32 but 45 private int adler = 1; field in class:Adler32 60 adler = update(adler, b); 78 adler = updateBytes(adler, b, off, len); 87 adler = updateBytes(adler, b, 0, b.length); 112 adler = updateByteBuffer(adler, ((DirectBuffer)buffer).address(), pos, rem) [all...] |
/tools/dexter/slicer/ |
dex_format.cc | 29 uLong adler = adler32(0L, Z_NULL, 0); local 33 adler32(adler, start + non_sum, header->file_size - non_sum));
|
/external/freetype/src/gzip/ |
zlib.h | 4 Copyright (C) 1995-2002 Jean-loup Gailly and Mark Adler 22 Jean-loup Gailly Mark Adler 85 uLong adler; /* adler32 value of the uncompressed data */ member in struct:z_stream_s 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 459 Upon return of this function, strm->adler is set to the Adler32 value [all...] |
/development/ndk/platforms/android-14/include/ |
zlib.h | 4 Copyright (C) 1995-2005 Jean-loup Gailly and Mark Adler 22 Jean-loup Gailly Mark Adler 99 uLong adler; /* adler32 value of the uncompressed data */ member in struct:z_stream_s 309 deflate() sets strm->adler to the adler32 checksum of all input read 431 below), inflate sets strm->adler to the adler32 checksum of the dictionary 433 strm->adler to the adler32 checksum of all output produced so far (that is, 509 gzip stream is being written, strm->adler is a crc32 instead of an adler32. 563 Upon return of this function, strm->adler is set to the adler32 value 568 adler32 value is not computed and strm->adler is not set. [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/zlib/ |
zlib.h | 4 Copyright (C) 1995-2005 Jean-loup Gailly and Mark Adler
22 Jean-loup Gailly Mark Adler
99 uLong adler; /* adler32 value of the uncompressed data */
member in struct:z_stream_s 309 deflate() sets strm->adler to the adler32 checksum of all input read
431 below), inflate sets strm->adler to the adler32 checksum of the dictionary
433 strm->adler to the adler32 checksum of all output produced so far (that is,
509 gzip stream is being written, strm->adler is a crc32 instead of an adler32.
563 Upon return of this function, strm->adler is set to the adler32 value
568 adler32 value is not computed and strm->adler is not set.
[all...] |
/cts/tests/tests/media/libmediandkjni/ |
codec-utils-jni.cpp | 261 Adler32 adler; local 268 adler.update(*col); 274 ALOGV("adler %zu/%u", adler.length(), adler.checksum()); 275 return adler.checksum();
|
native-media-jni.cpp | 362 ALOGV("adler %d/%d", len, ret); 567 int adler = checksum(buf, info.size, format[tt]); local 568 sizes[tt].add(adler); [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Modules/zlib/ |
zlib.h | 4 Copyright (C) 1995-2013 Jean-loup Gailly and Mark Adler
22 Jean-loup Gailly Mark Adler
102 uLong adler; /* adler32 value of the uncompressed data */
member in struct:z_stream_s 334 deflate() sets strm->adler to the adler32 checksum of all input read
475 below), inflate sets strm->adler to the Adler-32 checksum of the dictionary
477 strm->adler to the Adler-32 checksum of all output produced so far (that is,
556 gzip stream is being written, strm->adler is a crc32 instead of an adler32.
617 Upon return of this function, strm->adler is set to the adler32 value [all...] |
/device/linaro/bootloader/edk2/EmbeddedPkg/Library/ZLib/ |
zlib.h | 4 Copyright (C) 1995-2017 Jean-loup Gailly and Mark Adler 22 Jean-loup Gailly Mark Adler 104 uLong adler; /* Adler-32 or CRC-32 value of the uncompressed data */ member in struct:z_stream_s 341 deflate() sets strm->adler to the Adler-32 checksum of all input read 343 strm->adler will be the CRC-32 checksum of the input read so far. (See 486 below), inflate sets strm->adler to the Adler-32 checksum of the dictionary 488 strm->adler to the Adler-32 checksum of all output produced so far (that is [all...] |
/external/python/cpython2/Modules/zlib/ |
zlib.h | 4 Copyright (C) 1995-2013 Jean-loup Gailly and Mark Adler 22 Jean-loup Gailly Mark Adler 102 uLong adler; /* adler32 value of the uncompressed data */ member in struct:z_stream_s 334 deflate() sets strm->adler to the adler32 checksum of all input read 475 below), inflate sets strm->adler to the Adler-32 checksum of the dictionary 477 strm->adler to the Adler-32 checksum of all output produced so far (that is, 556 gzip stream is being written, strm->adler is a crc32 instead of an adler32. 617 Upon return of this function, strm->adler is set to the adler32 valu [all...] |
/external/python/cpython3/Modules/zlib/ |
zlib.h | 4 Copyright (C) 1995-2017 Jean-loup Gailly and Mark Adler 22 Jean-loup Gailly Mark Adler 104 uLong adler; /* Adler-32 or CRC-32 value of the uncompressed data */ member in struct:z_stream_s 341 deflate() sets strm->adler to the Adler-32 checksum of all input read 343 strm->adler will be the CRC-32 checksum of the input read so far. (See 486 below), inflate sets strm->adler to the Adler-32 checksum of the dictionary 488 strm->adler to the Adler-32 checksum of all output produced so far (that is [all...] |
/external/syslinux/com32/include/ |
zlib.h | 4 Copyright (C) 1995-2010 Jean-loup Gailly and Mark Adler 22 Jean-loup Gailly Mark Adler 102 uLong adler; /* adler32 value of the uncompressed data */ member in struct:z_stream_s 333 deflate() sets strm->adler to the adler32 checksum of all input read 468 below), inflate sets strm->adler to the adler32 checksum of the dictionary 470 strm->adler to the adler32 checksum of all output produced so far (that is, 547 gzip stream is being written, strm->adler is a crc32 instead of an adler32. 603 Upon return of this function, strm->adler is set to the adler32 value 608 adler32 value is not computed and strm->adler is not set. [all...] |
/external/zlib/src/ |
zlib.h | 4 Copyright (C) 1995-2017 Jean-loup Gailly and Mark Adler 22 Jean-loup Gailly Mark Adler 104 uLong adler; /* Adler-32 or CRC-32 value of the uncompressed data */ member in struct:z_stream_s 341 deflate() sets strm->adler to the Adler-32 checksum of all input read 343 strm->adler will be the CRC-32 checksum of the input read so far. (See 486 below), inflate sets strm->adler to the Adler-32 checksum of the dictionary 488 strm->adler to the Adler-32 checksum of all output produced so far (that is [all...] |
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/ |
zlib.h | 4 Copyright (C) 1995-2009 Jean-loup Gailly and Mark Adler 22 Jean-loup Gailly Mark Adler 102 uLong adler; /* adler32 value of the uncompressed data */ member in struct:z_stream_s 332 deflate() sets strm->adler to the adler32 checksum of all input read 467 below), inflate sets strm->adler to the adler32 checksum of the dictionary 469 strm->adler to the adler32 checksum of all output produced so far (that is, 545 gzip stream is being written, strm->adler is a crc32 instead of an adler32. 599 Upon return of this function, strm->adler is set to the adler32 value 604 adler32 value is not computed and strm->adler is not set. [all...] |
/toolchain/binutils/binutils-2.27/zlib/ |
zlib.h | 4 Copyright (C) 1995-2013 Jean-loup Gailly and Mark Adler 22 Jean-loup Gailly Mark Adler 102 uLong adler; /* adler32 value of the uncompressed data */ member in struct:z_stream_s 334 deflate() sets strm->adler to the adler32 checksum of all input read 475 below), inflate sets strm->adler to the Adler-32 checksum of the dictionary 477 strm->adler to the Adler-32 checksum of all output produced so far (that is, 556 gzip stream is being written, strm->adler is a crc32 instead of an adler32. 617 Upon return of this function, strm->adler is set to the adler32 valu [all...] |
/external/valgrind/auxprogs/ |
valgrind-di-server.c | 207 /* The following Adler-32 checksum code is taken from zlib-1.2.3, which 212 (C) 1995-2004 Jean-loup Gailly and Mark Adler 230 Jean-loup Gailly Mark Adler 236 entirely written by Jean-loup Gailly and Mark Adler; it does not 245 /* Update a running Adler-32 checksum with the bytes buf[0..len-1] and 247 the required initial value for the checksum. An Adler-32 checksum is 250 UInt adler32( UInt adler, const UChar* buf, UInt len ) 257 # define DO1(buf,i) {adler += (buf)[i]; sum2 += adler;} 297 /* split Adler-32 into component sums * 721 UInt adler = adler32(0, NULL, 0); \/\/ initial value local [all...] |
/external/valgrind/coregrind/m_debuginfo/ |
image.c | 286 adler(le32) n_data(le32) data[0 .. n_data-1] 289 /* The initial Adler-32 value */ 290 UInt adler = VG_(adler32)(0, NULL, 0); local 295 adler = VG_(adler32)(adler, &wr_first8[4], 4); 297 adler = VG_(adler32)(adler, req->data, req->n_data); 298 write_UInt_le(&wr_first8[0], adler); 326 adler = VG_(adler32)(0, NULL, 0); // initial value 327 adler = VG_(adler32)(adler, &rd_first8[4], 4) [all...] |
/external/libpng/ |
png.c | 2253 png_uint_32 adler, crc, length; member in struct:__anon25695 [all...] |
/external/pdfium/third_party/libpng16/ |
png.c | 2212 png_uint_32 adler, crc, length; member in struct:__anon31485 [all...] |
/art/runtime/ |
check_jni.cc | 1500 uLong adler = 0; local [all...] |