/frameworks/av/media/libstagefright/codecs/mp3dec/src/ |
D | pvmp3_crc.cpp | 125 uint32 *crc, in getbits_crc() argument 132 calculate_crc(bits, neededBits, crc); in getbits_crc() 143 uint32 *crc) in calculate_crc() argument 150 carry = *crc & 0x8000; in calculate_crc() 151 *crc <<= 1; in calculate_crc() 154 *crc ^= CRC16_POLYNOMIAL; in calculate_crc() 157 *crc &= 0xffff; in calculate_crc()
|
D | pvmp3_get_side_info.cpp | 117 uint32 *crc) in pvmp3_get_side_info() argument 128 tmp = getbits_crc(inputStream, 14, crc, info->error_protection); in pvmp3_get_side_info() 134 tmp = getbits_crc(inputStream, 12, crc, info->error_protection); in pvmp3_get_side_info() 142 tmp = getbits_crc(inputStream, 4, crc, info->error_protection); in pvmp3_get_side_info() 153 … si->ch[ch].gran[gr].part2_3_length = getbits_crc(inputStream, 12, crc, info->error_protection); in pvmp3_get_side_info() 154 tmp = getbits_crc(inputStream, 22, crc, info->error_protection); in pvmp3_get_side_info() 163 tmp = getbits_crc(inputStream, 22, crc, info->error_protection); in pvmp3_get_side_info() 195 tmp = getbits_crc(inputStream, 22, crc, info->error_protection); in pvmp3_get_side_info() 207 tmp = getbits_crc(inputStream, 3, crc, info->error_protection); in pvmp3_get_side_info() 216 si->main_data_begin = getbits_crc(inputStream, 8, crc, info->error_protection); in pvmp3_get_side_info() [all …]
|
D | pvmp3_decode_header.cpp | 117 uint32 *crc) in pvmp3_decode_header() argument 172 *crc = 0xffff; /* CRC start value */ in pvmp3_decode_header() 173 calculate_crc((temp << 16) >> 16, 16, crc); in pvmp3_decode_header()
|
D | pvmp3_crc.h | 86 uint32 *crc, 92 uint32 *crc);
|
D | pvmp3_decode_header.h | 91 uint32 *crc);
|
D | pvmp3_get_side_info.h | 92 uint32 *crc);
|
/frameworks/base/cmds/idmap2/tests/ |
D | ZipFileTests.cpp | 44 Result<uint32_t> crc = zip->Crc("AndroidManifest.xml"); in TEST() local 45 ASSERT_TRUE(crc); in TEST() 46 ASSERT_EQ(*crc, 0x762f3d24); in TEST()
|
/frameworks/av/media/libstagefright/ |
D | MPEG2TSWriter.cpp | 710 uint32_t crc = htonl(crc32(&buffer->data()[5], 12)); in writeProgramAssociationTable() local 711 memcpy(&buffer->data()[17], &crc, sizeof(crc)); in writeProgramAssociationTable() 786 uint32_t crc = htonl(crc32(&buffer->data()[5], 12+mSources.size()*5)); in writeProgramMap() local 787 memcpy(&buffer->data()[17+mSources.size()*5], &crc, sizeof(crc)); in writeProgramMap() 959 uint32_t crc = i << 24; in initCrcTable() local 961 crc = (crc << 1) ^ ((crc & 0x80000000) ? (poly) : 0); in initCrcTable() 963 mCrcTable[i] = crc; in initCrcTable() 972 uint32_t crc = 0xFFFFFFFF; in crc32() local 976 crc = (crc << 8) ^ mCrcTable[((crc >> 24) ^ *p) & 0xFF]; in crc32() 979 return crc; in crc32()
|
/frameworks/multidex/library/test/src/androidx/multidex/ |
D | ZipUtilTest.java | 60 long crc = in testCrcDoNotCrash() local 62 System.out.println("crc is " + crc); in testCrcDoNotCrash() 133 long crc = ZipUtil.computeCrcOfCentralDir(raf, dir); in testCrcValue() local 134 Assert.assertEquals(refEntry.getCrc(), crc); in testCrcValue() local 163 long crc = ZipUtil.computeCrcOfCentralDir(raf, dir); in testInvalidCrcValue() local 164 Assert.assertNotEquals(refEntry.getCrc(), crc); in testInvalidCrcValue() local
|
D | ZipEntryReader.java | 69 long crc = ((long) in.getInt()) & 0xffffffffL; in readEntry() local 89 entry.setCrc(crc); in readEntry()
|
/frameworks/multidex/library/src/androidx/multidex/ |
D | MultiDexExtractor.java | 52 public long crc = NO_VALUE; field in MultiDexExtractor.ExtractedDex 187 extractedFile.crc = getZipCrc(extractedFile); in loadExistingExtractions() 194 || (expectedCrc != extractedFile.crc)) { in loadExistingExtractions() 199 + expectedCrc + ", file crc: " + extractedFile.crc); in loadExistingExtractions() 276 extractedFile.crc = getZipCrc(extractedFile); in performExtractions() 286 + extractedFile.length() + " - crc: " + extractedFile.crc); in performExtractions() 320 long crc, List<ExtractedDex> extractedDexes) { in putStoredApkInfo() argument 324 edit.putLong(keyPrefix + KEY_CRC, crc); in putStoredApkInfo() 329 edit.putLong(keyPrefix + KEY_DEX_CRC + extractedDexId, dex.crc); in putStoredApkInfo()
|
D | ZipUtil.java | 108 CRC32 crc = new CRC32(); in computeCrcOfCentralDir() local 115 crc.update(buffer, 0, length); in computeCrcOfCentralDir() 123 return crc.getValue(); in computeCrcOfCentralDir()
|
/frameworks/native/opengl/libs/EGL/ |
D | FileBlobCache.cpp | 96 uint32_t* crc = reinterpret_cast<uint32_t*>(buf + 4); in FileBlobCache() local 97 if (crc32c(buf + headerSize, cacheSize) != *crc) { in FileBlobCache() 168 uint32_t* crc = reinterpret_cast<uint32_t*>(buf + 4); in writeToFile() local 169 *crc = crc32c(buf + headerSize, cacheSize); in writeToFile()
|
/frameworks/base/core/jni/ |
D | com_android_internal_content_NativeLibraryHelper.cpp | 136 uLong crc = crc32(0L, Z_NULL, 0); in isFileDifferent() local 140 crc = crc32(crc, crcBuffer, numBytes); in isFileDifferent() 144 ALOGV("%s: crc = %lx, zipCrc = %" PRIu32 "\n", filePath, crc, zipCrc); in isFileDifferent() 146 if (crc != static_cast<uLong>(zipCrc)) { in isFileDifferent() 184 uint32_t crc; in copyFileIfChanged() local 189 if (!zipFile->getEntryInfo(zipEntry, &method, &uncompLen, NULL, &offset, &when, &crc)) { in copyFileIfChanged() 233 if (!isFileDifferent(localFileName, uncompLen, modTime, crc, &st)) { in copyFileIfChanged()
|
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/common/ |
D | Utils.java | 156 long crc = INITIALCRC; in crc64Long() local 158 crc = sCrcTable[(((int) crc) ^ buffer[k]) & 0xff] ^ (crc >> 8); in crc64Long() 160 return crc; in crc64Long()
|
/frameworks/base/cmds/idmap2/libidmap2/ |
D | Idmap.cpp | 378 Result<uint32_t> crc = GetCrc(*target_zip); in FromApkAssets() local 379 if (!crc) { in FromApkAssets() 380 return Error(crc.GetError(), "failed to get zip CRC for target"); in FromApkAssets() 382 header->target_crc_ = *crc; in FromApkAssets() 384 crc = GetCrc(*overlay_zip); in FromApkAssets() 385 if (!crc) { in FromApkAssets() 386 return Error(crc.GetError(), "failed to get zip CRC for overlay"); in FromApkAssets() 388 header->overlay_crc_ = *crc; in FromApkAssets()
|
/frameworks/base/tools/aapt/ |
D | ZipFile.cpp | 366 unsigned long crc; in addCommon() local 417 result = compressFpToFp(mZipFp, inputFp, data, size, &crc); in addCommon() 446 result = copyFpToFp(mZipFp, inputFp, &crc); in addCommon() 448 result = copyDataToFp(mZipFp, data, size, &crc); in addCommon() 469 &compressedLen, &crc); in addCommon() 498 pEntry->setDataInfo(uncompressedLen, endPosn - startPosn, crc, in addCommon() 749 unsigned long crc; in compressFpToFp() local 788 crc = crc32(0L, Z_NULL, 0); in compressFpToFp() 818 crc = crc32(crc, inBuf, getSize); in compressFpToFp() 856 *pCRC32 = crc; in compressFpToFp()
|
/frameworks/ml/nn/driver/cache/nnCache/ |
D | nnCache.cpp | 215 uint32_t* crc = reinterpret_cast<uint32_t*>(buf + 4); in saveBlobCacheLocked() local 216 *crc = crc32c(buf + headerSize, cacheSize); in saveBlobCacheLocked() 278 uint32_t* crc = reinterpret_cast<uint32_t*>(buf + 4); in loadBlobCacheLocked() local 279 if (crc32c(buf + headerSize, cacheSize) != *crc) { in loadBlobCacheLocked()
|
/frameworks/base/core/java/android/app/backup/ |
D | BlobBackupHelper.java | 221 CRC32 crc = new CRC32(); in checksum() local 226 crc.update(buf, 0, nRead); in checksum() 228 return crc.getValue(); in checksum()
|
/frameworks/base/services/core/java/com/android/server/net/watchlist/ |
D | WatchlistConfig.java | 205 final CRC32 crc = new CRC32(); in getCrc32() local 206 crc.update(str.getBytes()); in getCrc32() 207 final long tmp = crc.getValue(); in getCrc32()
|
/frameworks/base/libs/androidfw/ |
D | BackupHelpers.cpp | 317 int crc = crc32(0L, Z_NULL, 0); in compute_crc32() local 322 crc = crc32(crc, (Bytef*)buf, amt); in compute_crc32() 328 out->s.crc32 = crc; in compute_crc32() 751 int crc; in WriteFile() local 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()
|
/frameworks/base/cmds/idmap/ |
D | create.cpp | 16 int get_zip_entry_crc(const char *zip_path, const char *entry_name, uint32_t *crc) in get_zip_entry_crc() argument 26 if (!zip->getEntryInfo(entry, NULL, NULL, NULL, NULL, NULL, crc)) { in get_zip_entry_crc()
|
/frameworks/av/media/libstagefright/mpeg2ts/ |
D | ATSParser.cpp | 680 unsigned crc = br->getBits(32); in parseProgramMap() local 681 if (crc != mPMT_CRC) { in parseProgramMap() 683 mPMT_CRC = crc; in parseProgramMap() 685 MY_LOGV(" CRC = 0x%08x", crc); in parseProgramMap() 2510 uint32_t crc = 0xffffffff; in isCRCOkay() local 2513 int index = ((crc >> 24) ^ (b & 0xff)) & 0xff; in isCRCOkay() 2514 crc = CRC_TABLE[index] ^ (crc << 8); in isCRCOkay() 2516 ALOGV("crc: %08x\n", crc); in isCRCOkay() 2517 return (crc == 0); in isCRCOkay()
|
/frameworks/opt/setupwizard/tools/docs/ |
D | android-22.txt | 50964 field protected java.util.zip.CRC32 crc; 50973 field protected java.util.zip.CRC32 crc;
|
/frameworks/base/config/ |
D | hiddenapi-greylist-max-o.txt | 119656 Ljava/util/zip/CRC32;->crc:I 119738 Ljava/util/zip/ZipEntry;->crc:J 119808 Ljava/util/zip/ZipInputStream;->crc:Ljava/util/zip/CRC32; 119825 Ljava/util/zip/ZipOutputStream;->crc:Ljava/util/zip/CRC32;
|