Searched refs:crc (Results 1 - 18 of 18) sorted by relevance

/frameworks/av/media/libstagefright/codecs/mp3dec/src/
H A Dpvmp3_crc.cpp46 uint32 *crc, memory location holding calculated crc value
47 uint32 crc_enabled flag to enable/disable crc checking
56 uint32 length, number of element upon the crc will be calculated
57 uint32 *crc, memory location holding calculated crc value
125 uint32 *crc,
132 calculate_crc(bits, neededBits, crc);
143 uint32 *crc)
150 carry = *crc
123 getbits_crc(tmp3Bits *inputStream, int32 neededBits, uint32 *crc, uint32 crc_enabled) argument
141 calculate_crc(uint32 data, uint32 length, uint32 *crc) argument
[all...]
H A Dpvmp3_decode_header.h91 uint32 *crc);
H A Dpvmp3_get_side_info.h92 uint32 *crc);
H A Dpvmp3_crc.h86 uint32 *crc,
92 uint32 *crc);
H A Dpvmp3_get_side_info.cpp40 uint32 *crc initialized crc value (if enabled)
117 uint32 *crc)
128 tmp = getbits_crc(inputStream, 14, crc, info->error_protection);
134 tmp = getbits_crc(inputStream, 12, crc, info->error_protection);
142 tmp = getbits_crc(inputStream, 4, crc, info->error_protection);
153 si->ch[ch].gran[gr].part2_3_length = getbits_crc(inputStream, 12, crc, info->error_protection);
154 tmp = getbits_crc(inputStream, 22, crc, info->error_protection);
163 tmp = getbits_crc(inputStream, 22, crc, info->error_protection);
195 tmp = getbits_crc(inputStream, 22, crc, inf
114 pvmp3_get_side_info(tmp3Bits *inputStream, mp3SideInfo *si, mp3Header *info, uint32 *crc) argument
[all...]
H A Dpvmp3_decode_header.cpp40 uint32 *crc
44 uint32 *crc initialized crc computation
117 uint32 *crc)
172 *crc = 0xffff; /* CRC start value */
173 calculate_crc((temp << 16) >> 16, 16, crc);
115 pvmp3_decode_header(tmp3Bits *inputStream, mp3Header *info, uint32 *crc) argument
/frameworks/multidex/library/src/android/support/multidex/
H A DZipUtil.java30 * Tools to build a quick partial crc of zip files.
108 CRC32 crc = new CRC32();
115 crc.update(buffer, 0, length);
123 return crc.getValue();
H A DMultiDexExtractor.java63 private static final String KEY_CRC = "crc";
230 private static void putStoredApkInfo(Context context, long timeStamp, long crc, argument
235 edit.putLong(KEY_CRC, crc);
238 * old number value would go along with old crc and time stamp).
/frameworks/multidex/library/test/src/android/support/multidex/
H A DZipUtilTest.java60 long crc =
62 System.out.println("crc is " + crc);
133 long crc = ZipUtil.computeCrcOfCentralDir(raf, dir);
134 Assert.assertEquals(refEntry.getCrc(), crc);
163 long crc = ZipUtil.computeCrcOfCentralDir(raf, dir);
164 Assert.assertNotEquals(refEntry.getCrc(), crc);
H A DZipEntryReader.java69 long crc = ((long) in.getInt()) & 0xffffffffL;
89 entry.setCrc(crc);
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/common/
H A DUtils.java130 * A function thats returns a 64-bit crc for string
133 * @return a 64-bit crc value
156 long crc = INITIALCRC;
158 crc = sCrcTable[(((int) crc) ^ buffer[k]) & 0xff] ^ (crc >> 8);
160 return crc;
/frameworks/base/core/jni/
H A Dcom_android_internal_content_NativeLibraryHelper.cpp136 long crc = crc32(0L, Z_NULL, 0); local
140 crc = crc32(crc, crcBuffer, numBytes);
144 ALOGV("%s: crc = %lx, zipCrc = %lx\n", filePath, crc, zipCrc);
146 if (crc != zipCrc) {
181 long crc; local
184 if (!zipFile->getEntryInfo(zipEntry, NULL, &uncompLen, NULL, NULL, &when, &crc)) {
212 if (!isFileDifferent(localFileName, uncompLen, modTime, crc, &st)) {
/frameworks/av/media/libstagefright/
H A DMPEG2TSWriter.cpp752 uint32_t crc = htonl(crc32(&buffer->data()[5], 12)); local
753 memcpy(&buffer->data()[17], &crc, sizeof(crc));
828 uint32_t crc = htonl(crc32(&buffer->data()[5], 12+mSources.size()*5)); local
829 memcpy(&buffer->data()[17+mSources.size()*5], &crc, sizeof(crc));
1001 uint32_t crc = i << 24; local
1003 crc = (crc << 1) ^ ((crc
1014 uint32_t crc = 0xFFFFFFFF; local
[all...]
/frameworks/av/media/libstagefright/wifi-display/source/
H A DTSPacketizer.cpp700 uint32_t crc = htonl(crc32(crcDataStart, ptr - crcDataStart)); local
701 memcpy(ptr, &crc, 4);
815 crc = htonl(crc32(crcDataStart, ptr - crcDataStart));
816 memcpy(ptr, &crc, 4);
1018 uint32_t crc = i << 24; local
1020 crc = (crc << 1) ^ ((crc & 0x80000000) ? (poly) : 0);
1022 mCrcTable[i] = crc;
1027 uint32_t crc local
[all...]
/frameworks/base/cmds/idmap/
H A Dcreate.cpp15 int get_zip_entry_crc(const char *zip_path, const char *entry_name, uint32_t *crc) argument
25 if (!zip->getEntryInfo(entry, NULL, NULL, NULL, NULL, NULL, (long*)crc)) {
/frameworks/native/opengl/libs/EGL/
H A Degl_cache.cpp268 uint32_t* crc = reinterpret_cast<uint32_t*>(buf + 4); local
269 *crc = crc32c(buf + headerSize, cacheSize);
330 uint32_t* crc = reinterpret_cast<uint32_t*>(buf + 4); local
331 if (crc32c(buf + headerSize, cacheSize) != *crc) {
/frameworks/base/tools/aapt/
H A DZipFile.cpp366 unsigned long crc; local
417 result = compressFpToFp(mZipFp, inputFp, data, size, &crc);
446 result = copyFpToFp(mZipFp, inputFp, &crc);
448 result = copyDataToFp(mZipFp, data, size, &crc);
469 &compressedLen, &crc);
498 pEntry->setDataInfo(uncompressedLen, endPosn - startPosn, crc,
752 unsigned long crc; local
791 crc = crc32(0L, Z_NULL, 0);
821 crc = crc32(crc, inBu
[all...]
/frameworks/base/libs/androidfw/
H A DBackupHelpers.cpp228 int crc = crc32(0L, Z_NULL, 0); local
319 int crc = crc32(0L, Z_NULL, 0); local
324 crc = crc32(crc, (Bytef*)buf, amt);
328 return crc;
748 int crc; local
777 // Write the file and compute the crc
778 crc = crc32(0L, Z_NULL, 0);
792 crc = crc32(crc, (Byte
[all...]

Completed in 321 milliseconds