Searched refs:crc32 (Results 1 – 11 of 11) sorted by relevance
/tools/apksig/src/main/java/com/android/apksig/internal/zip/ |
D | CentralDirectoryRecord.java | 63 long crc32, in CentralDirectoryRecord() argument 74 mCrc32 = crc32; in CentralDirectoryRecord() 150 long crc32 = ZipUtils.getUnsignedInt32(buf); in getRecord() local 185 crc32, in getRecord() 222 long crc32, in createWithDeflateCompressedData() argument 239 ZipUtils.putUnsignedInt32(result, crc32); in createWithDeflateCompressedData() 261 crc32, in createWithDeflateCompressedData()
|
D | LocalFileRecord.java | 189 long crc32 = ZipUtils.getUnsignedInt32(header, CRC32_OFFSET); in getRecord() local 190 if (crc32 != uncompressedDataCrc32FromCdRecord) { in getRecord() 193 + entryName + ". LFH: " + crc32 in getRecord() 341 long crc32, in outputRecordWithDeflateCompressedData() argument 354 ZipUtils.putUnsignedInt32(result, crc32); in outputRecordWithDeflateCompressedData()
|
D | ZipUtils.java | 299 CRC32 crc32 = new CRC32(); in deflate() local 300 crc32.update(inputBuf, inputOffset, inputLength); in deflate() 301 long crc32Value = crc32.getValue(); in deflate()
|
/tools/apkzlib/src/main/java/com/android/tools/build/apkzlib/zip/ |
D | CentralDirectoryHeader.java | 53 private long crc32; field in CentralDirectoryHeader 146 crc32 = 0; in CentralDirectoryHeader() 191 return crc32; in getCrc32() 199 void setCrc32(long crc32) { in setCrc32() argument 200 this.crc32 = crc32; in setCrc32()
|
D | CentralDirectory.java | 310 long crc32 = F_CRC32.read(bytes); in readEntry() local 371 centralDirectoryHeader.setCrc32(crc32); in readEntry()
|
D | ZFile.java | 1656 long crc32 = source.hash(Hashing.crc32()).padToLong(); in makeStoredEntry() local 1671 newFileData.setCrc32(crc32); in makeStoredEntry()
|
/tools/tradefederation/core/common_util/com/android/tradefed/util/ |
D | StreamUtil.java | 398 CRC32 crc32 = new CRC32(); in calculateCrc32() local 403 crc32.update(buf, 0, size); in calculateCrc32() 408 return crc32.getValue(); in calculateCrc32()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/util/ |
D | StreamUtilTest.java | 142 final long crc32 = 3023941728L; in testCalculateCrc32() local 145 assertEquals(crc32, actualCrc32); in testCalculateCrc32()
|
/tools/apkzlib/src/test/java/com/android/tools/build/apkzlib/zip/ |
D | ZipMergeTest.java | 136 le.setCrc(Hashing.crc32().hashBytes(lBytes).padToLong()); in mergeZipKeepsDeflatedAndStored() 184 le.setCrc(Hashing.crc32().hashBytes(lBytes).padToLong()); in mergeZipWithSorting()
|
D | ZFileTest.java | 1161 zipEntry.setCrc(Hashing.crc32().hashBytes(bytes).padToLong()); in zipFileWithEocdMarkerInFileContents() 1608 zEntry.setCrc(Hashing.crc32().hashBytes(new byte[1000]).asInt());
|
/tools/apkzlib/src/main/java/com/android/tools/build/apkzlib/utils/ |
D | CachedFileContents.java | 160 return Files.hash(file, Hashing.crc32()); in hashFile()
|