Searched refs:crc32 (Results 1 - 11 of 11) sorted by relevance

/frameworks/av/media/libstagefright/wifi-display/source/
H A DTSPacketizer.h77 uint32_t crc32(const uint8_t *start, size_t size) const;
H A DTSPacketizer.cpp533 uint32_t crc = htonl(crc32(crcDataStart, ptr - crcDataStart));
634 crc = htonl(crc32(crcDataStart, ptr - crcDataStart));
835 uint32_t TSPacketizer::crc32(const uint8_t *start, size_t size) const { function in class:android::TSPacketizer
/frameworks/base/libs/androidfw/
H A DBackupHelpers.cpp228 int crc = crc32(0L, Z_NULL, 0);
319 int crc = crc32(0L, Z_NULL, 0);
324 crc = crc32(crc, (Bytef*)buf, amt);
364 // we compute the crc32 later down below, when we already have the file open.
407 g.s.crc32 = compute_crc32(fd);
410 LOGP(" new: modTime=%d,%d mode=%04o size=%-3d crc32=0x%08x",
411 f.modTime_sec, f.modTime_nsec, f.mode, f.size, f.crc32);
412 LOGP(" old: modTime=%d,%d mode=%04o size=%-3d crc32=0x%08x",
413 g.s.modTime_sec, g.s.modTime_nsec, g.s.mode, g.s.size, g.s.crc32);
415 || f.mode != g.s.mode || f.size != g.s.size || f.crc32 !
[all...]
H A DAsset.cpp207 unsigned long crc32; local
209 &compressedLen, &crc32);
/frameworks/av/include/media/stagefright/
H A DMPEG2TSWriter.h83 uint32_t crc32(const uint8_t *start, size_t length);
/frameworks/base/include/androidfw/
H A DBackupHelpers.h48 int crc32; member in struct:android::FileState
/frameworks/base/tools/aapt/
H A DZipFile.cpp651 *pCRC32 = crc32(0L, Z_NULL, 0);
660 *pCRC32 = crc32(*pCRC32, tmpBuf, count);
681 *pCRC32 = crc32(0L, Z_NULL, 0);
683 *pCRC32 = crc32(*pCRC32, (const unsigned char*)data, size);
708 *pCRC32 = crc32(0L, Z_NULL, 0);
724 *pCRC32 = crc32(*pCRC32, tmpBuf, count);
791 crc = crc32(0L, Z_NULL, 0);
821 crc = crc32(crc, inBuf, getSize);
H A DZipEntry.h185 void setDataInfo(long uncompLen, long compLen, unsigned long crc32,
H A DZipEntry.cpp259 void ZipEntry::setDataInfo(long uncompLen, long compLen, unsigned long crc32, argument
263 mCDE.mCRC32 = crc32;
512 ALOGD(" modTime=0x%04x modDate=0x%04x crc32=0x%08lx\n",
681 ALOGD(" modTime=0x%04x modDate=0x%04x crc32=0x%08lx\n",
/frameworks/base/core/jni/
H A Dcom_android_internal_content_NativeLibraryHelper.cpp128 long crc = crc32(0L, Z_NULL, 0);
132 crc = crc32(crc, crcBuffer, numBytes);
/frameworks/av/media/libstagefright/
H A DMPEG2TSWriter.cpp751 uint32_t crc = htonl(crc32(&buffer->data()[5], 12));
827 uint32_t crc = htonl(crc32(&buffer->data()[5], 12+mSources.size()*5));
1012 uint32_t MPEG2TSWriter::crc32(const uint8_t *p_start, size_t length) { function in class:android::MPEG2TSWriter

Completed in 570 milliseconds