Home
last modified time | relevance | path

Searched refs:adler (Results 1 – 7 of 7) sorted by relevance

/dalvik/libcore/archive/src/main/java/java/util/zip/
DAdler32.java29 private long adler = 1; field in Adler32
37 return adler; in getValue()
44 adler = 1; in reset()
55 adler = updateByteImpl(i, adler); in update()
86 adler = updateImpl(buf, off, nbytes, adler); in update()
/dalvik/libdex/
DDexFile.c761 u4 adler = dexComputeChecksum(pHeader); in dexFileParse() local
762 if (adler != pHeader->checksum) { in dexFileParse()
764 adler, pHeader->checksum); in dexFileParse()
768 LOGV("+++ adler32 checksum (%08x) verified\n", adler); in dexFileParse()
884 uLong adler = adler32(0L, Z_NULL, 0); in dexComputeChecksum() local
887 return (u4) adler32(adler, start + nonSum, pHeader->fileSize - nonSum); in dexComputeChecksum()
DDexSwapVerify.c2781 uLong adler = adler32(0L, Z_NULL, 0); in dexFixByteOrdering() local
2786 adler = adler32(adler, ((const u1*) pHeader) + nonSum, in dexFixByteOrdering()
2789 if (adler != expectedChecksum) { in dexFixByteOrdering()
2791 adler, expectedChecksum); in dexFixByteOrdering()
/dalvik/vm/
DCheckJni.c850 uLong adler; member
891 uLong adler = 0; in createGuardedCopy() local
893 adler = adler32(0L, Z_NULL, 0); in createGuardedCopy()
894 adler = adler32(adler, buf, len); in createGuardedCopy()
895 *(uLong*)newBuf = adler; in createGuardedCopy()
900 pExtra->adler = adler; in createGuardedCopy()
979 uLong adler = adler32(0L, Z_NULL, 0); in checkGuardedCopy() local
980 adler = adler32(adler, dataBuf, len); in checkGuardedCopy()
981 if (pExtra->adler != adler) { in checkGuardedCopy()
983 pExtra->adler, adler, dataBuf); in checkGuardedCopy()
/dalvik/libcore/archive/src/main/native/
Djava_util_zip_Inflater.c78 stream->adler = 1; in Java_java_util_zip_Inflater_createStream()
230 return stream->stream->adler; in Java_java_util_zip_Inflater_getAdlerImpl()
Djava_util_zip_Deflater.c91 return stream->stream->adler; in Java_java_util_zip_Deflater_getAdlerImpl()
/dalvik/vm/analysis/
DDexOptimize.c1276 uLong adler = adler32(0L, Z_NULL, 0); in updateChecksum() local
1279 adler = adler32(adler, addr + nonSum, len - nonSum); in updateChecksum()
1280 pHeader->checksum = adler; in updateChecksum()