Home
last modified time | relevance | path

Searched refs:crc32 (Results 1 – 12 of 12) 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.string(), 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()
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.cpp126 *pCrc32 = ze.crc32; in getEntryInfo()
DAsset.cpp207 unsigned long crc32; in createFromCompressedFile() local
209 &compressedLen, &crc32); in createFromCompressedFile()
/frameworks/base/tools/aapt/
DZipFile.cpp651 *pCRC32 = crc32(0L, Z_NULL, 0); in copyFpToFp()
660 *pCRC32 = crc32(*pCRC32, tmpBuf, count); in copyFpToFp()
681 *pCRC32 = crc32(0L, Z_NULL, 0); in copyDataToFp()
683 *pCRC32 = crc32(*pCRC32, (const unsigned char*)data, size); in copyDataToFp()
708 *pCRC32 = crc32(0L, Z_NULL, 0); in copyPartialFpToFp()
724 *pCRC32 = crc32(*pCRC32, tmpBuf, count); in copyPartialFpToFp()
791 crc = crc32(0L, Z_NULL, 0); in compressFpToFp()
821 crc = crc32(crc, inBuf, getSize); in compressFpToFp()
DZipEntry.h185 void setDataInfo(long uncompLen, long compLen, unsigned long crc32,
DZipEntry.cpp259 void ZipEntry::setDataInfo(long uncompLen, long compLen, unsigned long crc32, in setDataInfo() argument
263 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.h83 uint32_t crc32(const uint8_t *start, size_t length);
/frameworks/base/include/androidfw/
DBackupHelpers.h48 int crc32; member
/frameworks/base/core/jni/
Dcom_android_internal_content_NativeLibraryHelper.cpp136 long crc = crc32(0L, Z_NULL, 0); in isFileDifferent()
140 crc = crc32(crc, crcBuffer, numBytes); in isFileDifferent()
/frameworks/av/media/libstagefright/
DMPEG2TSWriter.cpp752 uint32_t crc = htonl(crc32(&buffer->data()[5], 12)); in writeProgramAssociationTable()
828 uint32_t crc = htonl(crc32(&buffer->data()[5], 12+mSources.size()*5)); in writeProgramMap()
1013 uint32_t MPEG2TSWriter::crc32(const uint8_t *p_start, size_t length) { in crc32() function in android::MPEG2TSWriter