Searched refs:crc (Results 1 - 22 of 22) 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.cpp138 uLong crc = crc32(0L, Z_NULL, 0); local
142 crc = crc32(crc, crcBuffer, numBytes);
146 ALOGV("%s: crc = %lx, zipCrc = %" PRIu32 "\n", filePath, crc, zipCrc);
148 if (crc != static_cast<uLong>(zipCrc)) {
187 uint32_t crc; local
192 if (!zipFile->getEntryInfo(zipEntry, &method, &uncompLen, NULL, &offset, &when, &crc)) {
238 if (!isFileDifferent(localFileName, uncompLen, modTime, crc, &st)) {
/frameworks/av/media/libstagefright/
H A DMPEG2TSWriter.cpp739 uint32_t crc = htonl(crc32(&buffer->data()[5], 12)); local
740 memcpy(&buffer->data()[17], &crc, sizeof(crc));
815 uint32_t crc = htonl(crc32(&buffer->data()[5], 12+mSources.size()*5)); local
816 memcpy(&buffer->data()[17+mSources.size()*5], &crc, sizeof(crc));
988 uint32_t crc = i << 24; local
990 crc = (crc << 1) ^ ((crc
1001 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.cpp16 int get_zip_entry_crc(const char *zip_path, const char *entry_name, uint32_t *crc) argument
26 if (!zip->getEntryInfo(entry, NULL, NULL, NULL, NULL, NULL, crc)) {
/frameworks/native/opengl/libs/EGL/
H A Degl_cache.cpp269 uint32_t* crc = reinterpret_cast<uint32_t*>(buf + 4); local
270 *crc = crc32c(buf + headerSize, cacheSize);
332 uint32_t* crc = reinterpret_cast<uint32_t*>(buf + 4); local
333 if (crc32c(buf + headerSize, cacheSize) != *crc) {
/frameworks/base/core/java/android/app/backup/
H A DBlobBackupHelper.java221 CRC32 crc = new CRC32();
226 crc.update(buf, 0, nRead);
228 return crc.getValue();
/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,
749 unsigned long crc; local
788 crc = crc32(0L, Z_NULL, 0);
818 crc = crc32(crc, inBu
[all...]
/frameworks/base/libs/androidfw/
H A DBackupHelpers.cpp318 int crc = crc32(0L, Z_NULL, 0); local
323 crc = crc32(crc, (Bytef*)buf, amt);
329 out->s.crc32 = crc;
399 LOGP("file added: %s crc=0x%08x", g.file.string(), g.s.crc32);
746 int crc; local
775 // Write the file and compute the crc
776 crc = crc32(0L, Z_NULL, 0);
790 crc = crc32(crc, (Byte
[all...]
/frameworks/av/media/libstagefright/mpeg2ts/
H A DATSParser.cpp1264 size_t numProgramBytes = (section_length - 5 /* header */ - 4 /* crc */);
1590 // $ python pycrc.py --model crc-32-mpeg --algorithm table-driven --generate c
1747 uint32_t crc = 0xffffffff; local
1748 for(unsigned i = 0; i < sectionLength + 4 /* crc */; i++) {
1750 int index = ((crc >> 24) ^ (b & 0xff)) & 0xff;
1751 crc = CRC_TABLE[index] ^ (crc << 8);
1753 ALOGV("crc: %08x\n", crc);
1754 return (crc
[all...]
/frameworks/opt/setupwizard/tools/docs/
H A Djsilver.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/clearsilver/ org/clearsilver/DelegatedHdf.class DelegatedHdf. ...
/frameworks/data-binding/prebuilds/1.0-rc0/
H A Ddatabinding-studio-bundle.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/databinding/ android/databinding/Bindable.class Bindable. ...

Completed in 1434 milliseconds