/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/core/jni/ |
D | com_android_internal_content_NativeLibraryHelper.cpp | 128 long crc = crc32(0L, Z_NULL, 0); in isFileDifferent() local 132 crc = crc32(crc, crcBuffer, numBytes); in isFileDifferent() 136 ALOGV("%s: crc = %lx, zipCrc = %lx\n", filePath, crc, zipCrc); in isFileDifferent() 138 if (crc != zipCrc) { in isFileDifferent() 173 long crc; in copyFileIfChanged() local 176 if (!zipFile->getEntryInfo(zipEntry, NULL, &uncompLen, NULL, NULL, &when, &crc)) { in copyFileIfChanged() 204 if (!isFileDifferent(localFileName, uncompLen, modTime, crc, &st)) { in copyFileIfChanged()
|
/frameworks/av/media/libstagefright/ |
D | MPEG2TSWriter.cpp | 751 uint32_t crc = htonl(crc32(&buffer->data()[5], 12)); in writeProgramAssociationTable() local 752 memcpy(&buffer->data()[17], &crc, sizeof(crc)); in writeProgramAssociationTable() 827 uint32_t crc = htonl(crc32(&buffer->data()[5], 12+mSources.size()*5)); in writeProgramMap() local 828 memcpy(&buffer->data()[17+mSources.size()*5], &crc, sizeof(crc)); in writeProgramMap() 1000 uint32_t crc = i << 24; in initCrcTable() local 1002 crc = (crc << 1) ^ ((crc & 0x80000000) ? (poly) : 0); in initCrcTable() 1004 mCrcTable[i] = crc; in initCrcTable() 1013 uint32_t crc = 0xFFFFFFFF; in crc32() local 1017 crc = (crc << 8) ^ mCrcTable[((crc >> 24) ^ *p) & 0xFF]; in crc32() 1020 return crc; in crc32()
|
/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/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() 752 unsigned long crc; in compressFpToFp() local 791 crc = crc32(0L, Z_NULL, 0); in compressFpToFp() 821 crc = crc32(crc, inBuf, getSize); in compressFpToFp() 859 *pCRC32 = crc; in compressFpToFp()
|
/frameworks/native/opengl/libs/EGL/ |
D | egl_cache.cpp | 268 uint32_t* crc = reinterpret_cast<uint32_t*>(buf + 4); in saveBlobCacheLocked() local 269 *crc = crc32c(buf + headerSize, cacheSize); in saveBlobCacheLocked() 330 uint32_t* crc = reinterpret_cast<uint32_t*>(buf + 4); in loadBlobCacheLocked() local 331 if (crc32c(buf + headerSize, cacheSize) != *crc) { in loadBlobCacheLocked()
|
/frameworks/base/libs/androidfw/ |
D | BackupHelpers.cpp | 228 int crc = crc32(0L, Z_NULL, 0); in write_update_file() local 319 int crc = crc32(0L, Z_NULL, 0); in compute_crc32() local 324 crc = crc32(crc, (Bytef*)buf, amt); in compute_crc32() 328 return crc; in compute_crc32() 745 int crc; in WriteFile() local 775 crc = crc32(0L, Z_NULL, 0); in WriteFile() 789 crc = crc32(crc, (Bytef*)buf, amt); in WriteFile() 808 r.s.crc32 = crc; in WriteFile()
|
/frameworks/base/api/ |
D | current.txt | 44325 field protected java.util.zip.CRC32 crc; 44334 field protected java.util.zip.CRC32 crc;
|