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

/frameworks/base/libs/utils/
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/base/include/utils/
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 LOGD(" modTime=0x%04x modDate=0x%04x crc32=0x%08lx\n",
681 LOGD(" 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);

Completed in 163 milliseconds