/external/lzma/C/ |
Xz.h | 80 UInt32 crc;
member in struct:__anon30509 214 UInt32 crc;
member in struct:__anon30517
|
XzDec.c | 701 p->crc = CrcUpdate(CRC_INIT_VAL, p->buf, p->indexPreSize);
777 p->crc = CrcUpdate(p->crc, src, srcRem);
786 p->crc = CRC_UPDATE_BYTE(p->crc, b);
818 if (CRC_GET_DIGEST(p->crc) != GetUi32(p->buf))
|
/external/lzma/CS/7zip/Compress/LzmaAlone/ |
LzmaBench.cs | 122 public CRC CRC = new CRC();
123 public void Init() { CRC.Init(); }
124 public UInt32 GetDigest() { return CRC.GetDigest(); }
138 CRC.UpdateByte(b);
142 CRC.Update(buffer, (uint)offset, (uint)count);
277 CRC crc = new CRC();
[all...] |
/external/valgrind/main/memcheck/tests/ |
varinfo6.stdout.exp | 2 block 1: crc = 0xA212ABF8, combined CRC = 0xA212ABF8, size = 22373 10 final combined CRC = 0xA212ABF8
|
/external/zlib/src/contrib/minizip/ |
mztools.c | 59 unsigned int crc = READ_32(header + 14); /* crc */ local 159 WRITE_32(header + 16, crc);
|
unzip.h | 118 uLong crc; /* crc-32 4 bytes */ member in struct:unz_file_info64_s 139 uLong crc; /* crc-32 4 bytes */ member in struct:unz_file_info_s 376 Return UNZ_CRCERROR if all the file was read but the CRC is not good
|
/frameworks/base/libs/androidfw/ |
BackupHelpers.cpp | 228 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, (Bytef*)buf, amt) [all...] |
/external/libnfc-nxp/src/ |
phDnldNfc.c | 195 /* CRC Error Response to a Command Sent in the Download Mode */ 807 unsigned long crc; local 812 crc = i; 815 if ( crc & 1 ) 817 crc = ( crc>> 1 ) ^ CRC32_POLYNOMIAL; 821 crc>>= 1; 824 CRC32Table[ i ] = crc; 829 * This routine calculates the CRC for a block of data using the 830 * table lookup method. It accepts an original value for the crc, 874 uint16_t crc = 0; local [all...] |
phLlcNfc_Frame.c | 377 /* LLC length byte updated (index + 2 CRC bytes + 386 consists llc length byte + llc header + data + CRC 391 -2 because the CRC has to be calculated, only for the 394 things with 2 byte CRC 398 is the array index of the first CRC byte to be calculated 400 is the array index of the second CRC byte to be calculated 454 consists llc length byte + llc header + data + CRC 459 -2 because the CRC has to be calculated, only for the 462 things with 2 byte CRC 468 is the array index of the first CRC byte to be calculate 1756 uint16_t crc = 0; local [all...] |
/external/lzma/CPP/7zip/Archive/7z/ |
7zOut.cpp | 82 CCRC crc;
local 83 crc.UpdateUInt64(h.NextHeaderOffset);
84 crc.UpdateUInt64(h.NextHeaderSize);
85 crc.UpdateUInt32(h.NextHeaderCRC);
86 crc.UpdateUInt64(h.ArchiveStartOffset);
87 crc.UpdateUInt64(h.AdditionalStartBlockSize);
88 RINOK(WriteDirectUInt32(crc.GetDigest()));
599 digests.Add(file.Crc);
|
/external/qemu/hw/net/ |
ne2000.c | 61 #define EN0_COUNTER1 0x0e /* Rcv CRC error counter RD */ 101 #define ENRSR_CRC 0x02 /* CRC error */ 183 uint32_t crc; local 187 crc = 0xffffffff; 191 carry = ((crc & 0x80000000L) ? 1 : 0) ^ (b & 0x01); 192 crc <<= 1; 195 crc = ((crc ^ POLYNOMIAL) | carry); 198 return (crc >> 26); 283 /* address for next packet (4 bytes for CRC) */ [all...] |
/external/e2fsprogs/lib/blkid/ |
probe.c | 1316 unsigned int i, crc = 0xf597a6cf; local [all...] |
/cts/tests/tests/media/src/android/media/cts/ |
DecoderTest.java | 1476 CRC32 crc = new CRC32(); local 1506 CRC32 crc = new CRC32(); local 1541 CRC32 crc = new CRC32(); local [all...] |
/external/chromium_org/third_party/zlib/ |
gzread.c | 189 if (flags & 2) { /* header crc */ 228 to point to the just decompressed data, and the crc is updated. If the 238 unsigned long crc, len; local 270 /* update available output and crc check value */ 277 if (gz_next4(state, &crc) == -1 || gz_next4(state, &len) == -1) { 281 if (crc != strm->adler) {
|
/external/libpng/ |
png.c | 98 /* Reset the CRC variable to 32 bits of 1's. Care must be taken 99 * in case CRC is > 32 bits to leave the top bits 0. 104 /* The cast is safe because the crc is a 32 bit value. */ 105 png_ptr->crc = (png_uint_32)crc32(0, Z_NULL, 0); 108 /* Calculate the CRC over a section of data. We can only pass as 138 uLong crc = png_ptr->crc; /* Should never issue a warning */ local 146 crc = crc32(crc, ptr, safe_length); 157 /* And the following is always safe because the crc is only 32 bits. * 2143 png_uint_32 adler, crc, length; member in struct:__anon28428 2216 uLong crc = 0; \/* the value for 0 length data *\/ local [all...] |
/external/bluetooth/bluedroid/embdrv/sbc/decoder/include/ |
oi_codec_sbc.h | 143 OI_UINT8 crc; /**< Parity check byte used for error detection. */ member in struct:__anon5727 364 * Calculate the number of SBC frames but don't decode. CRC's are not checked,
|
/external/lzma/CPP/7zip/ |
ICoder.h | 165 STDMETHOD(CryptoSetCRC)(UInt32 crc) PURE;
|
/prebuilts/sdk/current/support/multidex/library/libs/ |
android-support-multidex.jar | |
/external/srec/portable/src/ |
pcrc.c | 25 /* the CRC tables are computed by the crctable.c program which is part of this 33 /* USE CRC-32 algorithm on machine with at least 32 bits. */ 73 /* use CRC-16 on machine with [16..32[ bits integer. */ 117 #error "CRC is not defined on machine with less than 16 bits arithmetic." 125 unsigned int pcrcUpdateData(unsigned int crc, const void *data, unsigned int size) 129 register unsigned int remainder = crc;
|
/frameworks/multidex/library/src/android/support/multidex/ |
MultiDexExtractor.java | 63 private static final String KEY_CRC = "crc"; 230 private static void putStoredApkInfo(Context context, long timeStamp, long crc, 235 edit.putLong(KEY_CRC, crc); 238 * old number value would go along with old crc and time stamp).
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ |
zipfile.py | 281 'CRC', 325 # CRC CRC-32 of the uncompressed file 336 CRC = compress_size = file_size = 0 338 CRC = self.CRC 363 self.compress_type, dostime, dosdate, CRC, 434 """Generate a CRC-32 table. 443 crc = i 445 if crc & 1 [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ |
zipfile.py | 281 'CRC', 325 # CRC CRC-32 of the uncompressed file 336 CRC = compress_size = file_size = 0 338 CRC = self.CRC 363 self.compress_type, dostime, dosdate, CRC, 434 """Generate a CRC-32 table. 443 crc = i 445 if crc & 1 [all...] |
/external/elfutils/0.153/libdwfl/ |
dwfl_module_getdwarf.c | 231 find_debuglink (Elf *elf, GElf_Word *crc) 264 .d_buf = crc, 265 .d_size = sizeof *crc, 271 .d_buf = rawdata->d_buf + rawdata->d_size - sizeof *crc, 272 .d_size = sizeof *crc,
|
/external/f2fs-tools/mkfs/ |
f2fs_format.c | 415 u_int32_t crc = 0; local 485 crc = f2fs_cal_crc32(F2FS_SUPER_MAGIC, ckp, CHECKSUM_OFFSET); 487 cpu_to_le32(crc); 602 crc = f2fs_cal_crc32(F2FS_SUPER_MAGIC, ckp, CHECKSUM_OFFSET); 604 cpu_to_le32(crc);
|
/external/valgrind/main/auxprogs/ |
valgrind-di-server.c | 630 UInt crc = 0xFFFFFFFF; local 650 crc = crc32_table[(crc ^ buf[i]) & 0xff] ^ (crc >> 8); 654 return ~crc & 0xFFFFFFFF; [all...] |