Searched refs:crc (Results 1 – 4 of 4) sorted by relevance
/build/soong/cmd/diff_target_files/ |
D | zip_artifact.go | 98 crc := crc32.NewIEEE() 99 r := io.TeeReader(zr, crc) 149 if crc.Sum32() != zf.CRC32 {
|
/build/make/tools/zipalign/ |
D | ZipFile.cpp | 375 uint32_t crc; in addCommon() local 425 result = compressFpToFp(mZipFp, inputFp, data, size, &crc); in addCommon() 454 result = copyFpToFp(mZipFp, inputFp, &crc); in addCommon() 456 result = copyDataToFp(mZipFp, data, size, &crc); in addCommon() 479 pEntry->setDataInfo(uncompressedLen, endPosn - startPosn, crc, in addCommon() 717 uint32_t crc; in addRecompress() local 718 if (compressFpToFp(mZipFp, NULL, buf, uncompressedLen, &crc) != OK) { in addRecompress() 898 uint32_t crc; in compressFpToFp() local 904 crc = crc32(0L, Z_NULL, 0); in compressFpToFp() 907 crc = crc32(crc, (const unsigned char*)data, size); in compressFpToFp() [all …]
|
/build/soong/zip/ |
D | zip_test.go | 483 crc := crc32.NewIEEE() 484 len, err := io.Copy(crc, r) 494 if crc.Sum32() != f.CRC32 { 495 t.Errorf("incorrect crc for %s, want %x got %x", f.Name, f.CRC32, crc) 582 crc := crc32.NewIEEE() 583 len, err := io.Copy(crc, r) 593 if crc.Sum32() != f.CRC32 { 594 t.Errorf("incorrect crc for %s, want %x got %x", f.Name, f.CRC32, crc)
|
D | zip.go | 792 crc := crc32.NewIEEE() 793 _, err := io.Copy(crc, r) 799 ze.fh.CRC32 = crc.Sum32() 854 crc := crc32.NewIEEE() 855 _, err := io.Copy(crc, r) 861 ze.fh.CRC32 = crc.Sum32()
|