Home
last modified time | relevance | path

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

/frameworks/base/libs/androidfw/
DBackupHelpers.cpp321 int crc = crc32(0L, Z_NULL, 0); in compute_crc32()
326 crc = crc32(crc, (Bytef*)buf, amt); in compute_crc32()
332 out->s.crc32 = crc; in compute_crc32()
402 LOGP("file added: %s crc=0x%08x", g.file.c_str(), g.s.crc32); in back_up_files()
411 f.modTime_sec, f.modTime_nsec, f.mode, f.size, f.crc32); in back_up_files()
413 g.s.modTime_sec, g.s.modTime_nsec, g.s.mode, g.s.size, g.s.crc32); in back_up_files()
415 || f.mode != g.s.mode || f.size != g.s.size || f.crc32 != g.s.crc32) { in back_up_files()
786 crc = crc32(0L, Z_NULL, 0); in WriteFile()
800 crc = crc32(crc, (Bytef*)buf, amt); in WriteFile()
819 r.s.crc32 = crc; in WriteFile()
[all …]
DAsset.cpp230 unsigned long crc32; in createFromCompressedFile() local
232 &compressedLen, &crc32); in createFromCompressedFile()
DZipFileRO.cpp144 *pCrc32 = ze.crc32; in getEntryInfo()
DAssetsProvider.cpp271 return entry.crc32; in GetCrc()
/frameworks/base/services/core/java/com/android/server/net/watchlist/
DWatchlistConfig.java173 final int crc32 = getCrc32(domain); in containsDomain() local
174 if (!domainDigests.crc32s.contains(crc32)) { in containsDomain()
189 final int crc32 = getCrc32(ip); in containsIp() local
190 if (!ipDigests.crc32s.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.cpp244 void ZipEntry::setDataInfo(long uncompLen, long compLen, unsigned long crc32, in setDataInfo() argument
248 mCDE.mCRC32 = crc32; in setDataInfo()
/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/cmds/idmap2/libidmap2/
DFabricatedOverlay.cpp366 uint32_t pb_crc = crc32(0L, Z_NULL, 0); in InitializeData()
367 pb_crc = crc32(pb_crc, reinterpret_cast<const uint8_t*>(&kFabricatedOverlayCurrentVersion), in InitializeData()
369 pb_crc = crc32(pb_crc, pb_data.get(), pb_size); in InitializeData()
/frameworks/base/core/jni/
Dandroid_util_jar_StrictJarFile.cpp48 static_cast<jlong>(entry.crc32), in newZipEntry()
Dcom_android_internal_content_NativeLibraryHelper.cpp95 uLong crc = crc32(0L, Z_NULL, 0); in isFileDifferent()
99 crc = crc32(crc, crcBuffer, numBytes); in isFileDifferent()
/frameworks/base/native/graphics/jni/fuzz/
Dpng_mutator.h217 uint32_t crc = crc32(0, (const unsigned char *)type, 4);
219 crc = crc32(crc, (const unsigned char *)v->data(), v->size());
/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.cpp188 uint32_t checksum = ::crc32(0xFFFFFFFF, in matchCandidates()