/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/av/media/libstagefright/ |
D | MPEG2TSWriter.cpp | 739 uint32_t crc = htonl(crc32(&buffer->data()[5], 12)); in writeProgramAssociationTable() local 740 memcpy(&buffer->data()[17], &crc, sizeof(crc)); in writeProgramAssociationTable() 815 uint32_t crc = htonl(crc32(&buffer->data()[5], 12+mSources.size()*5)); in writeProgramMap() local 816 memcpy(&buffer->data()[17+mSources.size()*5], &crc, sizeof(crc)); in writeProgramMap() 988 uint32_t crc = i << 24; in initCrcTable() local 990 crc = (crc << 1) ^ ((crc & 0x80000000) ? (poly) : 0); in initCrcTable() 992 mCrcTable[i] = crc; in initCrcTable() 1001 uint32_t crc = 0xFFFFFFFF; in crc32() local 1005 crc = (crc << 8) ^ mCrcTable[((crc >> 24) ^ *p) & 0xFF]; in crc32() 1008 return crc; in crc32()
|
/frameworks/multidex/library/test/src/android/support/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/av/media/libstagefright/wifi-display/source/ |
D | TSPacketizer.cpp | 700 uint32_t crc = htonl(crc32(crcDataStart, ptr - crcDataStart)); in packetize() local 701 memcpy(ptr, &crc, 4); in packetize() 815 crc = htonl(crc32(crcDataStart, ptr - crcDataStart)); in packetize() 816 memcpy(ptr, &crc, 4); in packetize() 1018 uint32_t crc = i << 24; in initCrcTable() local 1020 crc = (crc << 1) ^ ((crc & 0x80000000) ? (poly) : 0); in initCrcTable() 1022 mCrcTable[i] = crc; in initCrcTable() 1027 uint32_t crc = 0xFFFFFFFF; in crc32() local 1031 crc = (crc << 8) ^ mCrcTable[((crc >> 24) ^ *p) & 0xFF]; in crc32() 1034 return crc; in crc32()
|
/frameworks/base/core/jni/ |
D | com_android_internal_content_NativeLibraryHelper.cpp | 138 uLong crc = crc32(0L, Z_NULL, 0); in isFileDifferent() local 142 crc = crc32(crc, crcBuffer, numBytes); in isFileDifferent() 146 ALOGV("%s: crc = %lx, zipCrc = %" PRIu32 "\n", filePath, crc, zipCrc); in isFileDifferent() 148 if (crc != static_cast<uLong>(zipCrc)) { in isFileDifferent() 187 uint32_t crc; in copyFileIfChanged() local 192 if (!zipFile->getEntryInfo(zipEntry, &method, &uncompLen, NULL, &offset, &when, &crc)) { in copyFileIfChanged() 238 if (!isFileDifferent(localFileName, uncompLen, modTime, crc, &st)) { in copyFileIfChanged()
|
/frameworks/multidex/library/src/android/support/multidex/ |
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()
|
D | MultiDexExtractor.java | 230 private static void putStoredApkInfo(Context context, long timeStamp, long crc, in putStoredApkInfo() argument 235 edit.putLong(KEY_CRC, crc); in putStoredApkInfo()
|
/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/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/native/opengl/libs/EGL/ |
D | egl_cache.cpp | 269 uint32_t* crc = reinterpret_cast<uint32_t*>(buf + 4); in saveBlobCacheLocked() local 270 *crc = crc32c(buf + headerSize, cacheSize); in saveBlobCacheLocked() 332 uint32_t* crc = reinterpret_cast<uint32_t*>(buf + 4); in loadBlobCacheLocked() local 333 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/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/base/libs/androidfw/ |
D | BackupHelpers.cpp | 318 int crc = crc32(0L, Z_NULL, 0); in compute_crc32() local 323 crc = crc32(crc, (Bytef*)buf, amt); in compute_crc32() 329 out->s.crc32 = crc; in compute_crc32() 746 int crc; in WriteFile() local 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()
|
/frameworks/av/media/libstagefright/mpeg2ts/ |
D | ATSParser.cpp | 1747 uint32_t crc = 0xffffffff; in isCRCOkay() local 1750 int index = ((crc >> 24) ^ (b & 0xff)) & 0xff; in isCRCOkay() 1751 crc = CRC_TABLE[index] ^ (crc << 8); in isCRCOkay() 1753 ALOGV("crc: %08x\n", crc); in isCRCOkay() 1754 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/api/ |
D | current.txt | 61830 field protected java.util.zip.CRC32 crc; 61839 field protected java.util.zip.CRC32 crc;
|
D | system-current.txt | 65187 field protected java.util.zip.CRC32 crc; 65196 field protected java.util.zip.CRC32 crc;
|
D | test-current.txt | 61910 field protected java.util.zip.CRC32 crc; 61919 field protected java.util.zip.CRC32 crc;
|