Home
last modified time | relevance | path

Searched refs:crc32 (Results 1 – 14 of 14) sorted by relevance

/frameworks/base/libs/androidfw/
DBackupHelpers.cpp317 int crc = crc32(0L, Z_NULL, 0); in compute_crc32()
322 crc = crc32(crc, (Bytef*)buf, amt); in compute_crc32()
328 out->s.crc32 = crc; in compute_crc32()
398 LOGP("file added: %s crc=0x%08x", g.file.string(), g.s.crc32); in back_up_files()
407 f.modTime_sec, f.modTime_nsec, f.mode, f.size, f.crc32); in back_up_files()
409 g.s.modTime_sec, g.s.modTime_nsec, g.s.mode, g.s.size, g.s.crc32); in back_up_files()
411 || f.mode != g.s.mode || f.size != g.s.size || f.crc32 != g.s.crc32) { in back_up_files()
781 crc = crc32(0L, Z_NULL, 0); in WriteFile()
795 crc = crc32(crc, (Bytef*)buf, amt); in WriteFile()
814 r.s.crc32 = crc; in WriteFile()
[all …]
DZipFileRO.cpp139 *pCrc32 = ze.crc32; in getEntryInfo()
DAsset.cpp220 unsigned long crc32; in createFromCompressedFile() local
222 &compressedLen, &crc32); in createFromCompressedFile()
/frameworks/base/services/core/java/com/android/server/net/watchlist/
DWatchlistConfig.java174 final byte[] crc32 = getCrc32(domain); in containsDomain()
175 if (!domainDigests.crc32Digests.contains(crc32)) { in containsDomain()
190 final byte[] crc32 = getCrc32(ip); in containsIp()
191 if (!ipDigests.crc32Digests.contains(crc32)) { in containsIp()
/frameworks/base/tools/aapt/
DZipFile.cpp650 *pCRC32 = crc32(0L, Z_NULL, 0); in copyFpToFp()
659 *pCRC32 = crc32(*pCRC32, tmpBuf, count); in copyFpToFp()
678 *pCRC32 = crc32(0L, Z_NULL, 0); in copyDataToFp()
680 *pCRC32 = crc32(*pCRC32, (const unsigned char*)data, size); in copyDataToFp()
705 *pCRC32 = crc32(0L, Z_NULL, 0); in copyPartialFpToFp()
721 *pCRC32 = crc32(*pCRC32, tmpBuf, count); in copyPartialFpToFp()
788 crc = crc32(0L, Z_NULL, 0); in compressFpToFp()
818 crc = crc32(crc, inBuf, getSize); in compressFpToFp()
DZipEntry.h186 void setDataInfo(long uncompLen, long compLen, unsigned long crc32,
DZipEntry.cpp242 void ZipEntry::setDataInfo(long uncompLen, long compLen, unsigned long crc32, in setDataInfo() argument
246 mCDE.mCRC32 = crc32; in setDataInfo()
/frameworks/base/cmds/idmap2/libidmap2/
DZipFile.cpp66 return entry.crc32; in Crc()
/frameworks/av/media/libstagefright/include/media/stagefright/
DMPEG2TSWriter.h82 uint32_t crc32(const uint8_t *start, size_t length);
/frameworks/base/libs/androidfw/include/androidfw/
DBackupHelpers.h50 int crc32; member
/frameworks/base/core/jni/
Dandroid_util_jar_StrictJarFile.cpp48 static_cast<jlong>(entry.crc32), in newZipEntry()
Dcom_android_internal_content_NativeLibraryHelper.cpp136 uLong crc = crc32(0L, Z_NULL, 0); in isFileDifferent()
140 crc = crc32(crc, crcBuffer, numBytes); in isFileDifferent()
/frameworks/av/media/libstagefright/
DMPEG2TSWriter.cpp710 uint32_t crc = htonl(crc32(&buffer->data()[5], 12)); in writeProgramAssociationTable()
786 uint32_t crc = htonl(crc32(&buffer->data()[5], 12+mSources.size()*5)); in writeProgramMap()
971 uint32_t MPEG2TSWriter::crc32(const uint8_t *p_start, size_t length) { in crc32() function in android::MPEG2TSWriter
/frameworks/compile/mclinker/lib/LD/
DIdenticalCodeFolding.cpp189 uint32_t checksum = ::crc32(0xFFFFFFFF, in matchCandidates()