Home
last modified time | relevance | path

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

/frameworks/base/libs/androidfw/
DBackupHelpers.cpp318 int crc = crc32(0L, Z_NULL, 0); in compute_crc32()
323 crc = crc32(crc, (Bytef*)buf, amt); in compute_crc32()
329 out->s.crc32 = crc; in compute_crc32()
399 LOGP("file added: %s crc=0x%08x", g.file.string(), g.s.crc32); in back_up_files()
408 f.modTime_sec, f.modTime_nsec, f.mode, f.size, f.crc32); in back_up_files()
410 g.s.modTime_sec, g.s.modTime_nsec, g.s.mode, g.s.size, g.s.crc32); in back_up_files()
412 || f.mode != g.s.mode || f.size != g.s.size || f.crc32 != g.s.crc32) { in back_up_files()
776 crc = crc32(0L, Z_NULL, 0); in WriteFile()
790 crc = crc32(crc, (Bytef*)buf, amt); in WriteFile()
809 r.s.crc32 = crc; in WriteFile()
[all …]
DZipFileRO.cpp123 *pCrc32 = ze.crc32; in getEntryInfo()
DAsset.cpp213 unsigned long crc32; in createFromCompressedFile() local
215 &compressedLen, &crc32); in createFromCompressedFile()
/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.h185 void setDataInfo(long uncompLen, long compLen, unsigned long crc32,
DZipEntry.cpp241 void ZipEntry::setDataInfo(long uncompLen, long compLen, unsigned long crc32, in setDataInfo() argument
245 mCDE.mCRC32 = crc32; in setDataInfo()
/frameworks/av/media/libstagefright/wifi-display/source/
DTSPacketizer.h86 uint32_t crc32(const uint8_t *start, size_t size) const;
DTSPacketizer.cpp700 uint32_t crc = htonl(crc32(crcDataStart, ptr - crcDataStart)); in packetize()
815 crc = htonl(crc32(crcDataStart, ptr - crcDataStart)); in packetize()
1026 uint32_t TSPacketizer::crc32(const uint8_t *start, size_t size) const { in crc32() function in android::TSPacketizer
/frameworks/av/include/media/stagefright/
DMPEG2TSWriter.h82 uint32_t crc32(const uint8_t *start, size_t length);
/frameworks/base/include/androidfw/
DBackupHelpers.h50 int crc32; member
/frameworks/base/core/jni/
Dcom_android_internal_content_NativeLibraryHelper.cpp138 uLong crc = crc32(0L, Z_NULL, 0); in isFileDifferent()
142 crc = crc32(crc, crcBuffer, numBytes); in isFileDifferent()
Dandroid_util_jar_StrictJarFile.cpp45 static_cast<jlong>(entry.crc32), in newZipEntry()
/frameworks/av/media/libstagefright/
DMPEG2TSWriter.cpp739 uint32_t crc = htonl(crc32(&buffer->data()[5], 12)); in writeProgramAssociationTable()
815 uint32_t crc = htonl(crc32(&buffer->data()[5], 12+mSources.size()*5)); in writeProgramMap()
1000 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()