Searched defs:crc (Results 1 - 14 of 14) sorted by relevance

/frameworks/av/media/libstagefright/codecs/mp3dec/src/
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
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_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...]
/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/multidex/library/src/android/support/multidex/
H A DMultiDexExtractor.java51 public long crc = NO_VALUE; field in class:MultiDexExtractor.ExtractedDex
73 private static final String KEY_CRC = "crc";
75 private static final String KEY_DEX_CRC = "dex.crc.";
173 extractedFile.crc = getZipCrc(extractedFile);
180 || (expectedCrc != extractedFile.crc)) {
184 + lastModified + ", expected crc: "
185 + expectedCrc + ", file crc: " + extractedFile.crc);
199 * Compare current archive and crc with values stored in {@link SharedPreferences}. Should be
261 // Read zip crc o
306 putStoredApkInfo(Context context, long timeStamp, long crc, List<ExtractedDex> extractedDexes) argument
[all...]
/frameworks/native/opengl/libs/EGL/
H A Degl_cache.cpp254 uint32_t* crc = reinterpret_cast<uint32_t*>(buf + 4); local
255 *crc = crc32c(buf + headerSize, cacheSize);
317 uint32_t* crc = reinterpret_cast<uint32_t*>(buf + 4); local
318 if (crc32c(buf + headerSize, cacheSize) != *crc) {
/frameworks/av/media/libstagefright/
H A DMPEG2TSWriter.cpp710 uint32_t crc = htonl(crc32(&buffer->data()[5], 12)); local
711 memcpy(&buffer->data()[17], &crc, sizeof(crc));
786 uint32_t crc = htonl(crc32(&buffer->data()[5], 12+mSources.size()*5)); local
787 memcpy(&buffer->data()[17+mSources.size()*5], &crc, sizeof(crc));
959 uint32_t crc = i << 24; local
961 crc = (crc << 1) ^ ((crc
972 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/core/jni/
H A Dcom_android_internal_content_NativeLibraryHelper.cpp135 uLong crc = crc32(0L, Z_NULL, 0); local
139 crc = crc32(crc, crcBuffer, numBytes);
143 ALOGV("%s: crc = %lx, zipCrc = %" PRIu32 "\n", filePath, crc, zipCrc);
145 if (crc != static_cast<uLong>(zipCrc)) {
184 uint32_t crc; local
189 if (!zipFile->getEntryInfo(zipEntry, &method, &uncompLen, NULL, &offset, &when, &crc)) {
235 if (!isFileDifferent(localFileName, uncompLen, modTime, crc, &st)) {
/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.cpp317 int crc = crc32(0L, Z_NULL, 0); local
322 crc = crc32(crc, (Bytef*)buf, amt);
328 out->s.crc32 = crc;
398 LOGP("file added: %s crc=0x%08x", g.file.string(), g.s.crc32);
751 int crc; local
780 // Write the file and compute the crc
781 crc = crc32(0L, Z_NULL, 0);
795 crc = crc32(crc, (Byte
[all...]
/frameworks/av/media/libstagefright/mpeg2ts/
H A DATSParser.cpp1735 size_t numProgramBytes = (section_length - 5 /* header */ - 4 /* crc */);
2099 // $ python pycrc.py --model crc-32-mpeg --algorithm table-driven --generate c
2256 uint32_t crc = 0xffffffff; local
2257 for(unsigned i = 0; i < sectionLength + 4 /* crc */; i++) {
2259 int index = ((crc >> 24) ^ (b & 0xff)) & 0xff;
2260 crc = CRC_TABLE[index] ^ (crc << 8);
2262 ALOGV("crc: %08x\n", crc);
2263 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 217 milliseconds