/external/elfutils/lib/ |
H A D | crc32_file.c | 43 uint32_t crc = 0; local 68 *resp = crc32 (crc, mapped, st.st_size); 72 crc = crc32 (crc, mapped, mapsize); 85 crc = crc32 (crc, buffer, count); 88 *resp = crc;
|
/external/elfutils/libdwelf/ |
H A D | dwelf_elf_gnu_debuglink.c | 1 /* Returns the file name and crc stored in the .gnu_debuglink if found. 36 dwelf_elf_gnu_debuglink (Elf *elf, GElf_Word *crc) argument 68 if (rawdata->d_size <= sizeof *crc 69 || memchr (rawdata->d_buf, '\0', rawdata->d_size - sizeof *crc) == NULL) 75 .d_buf = crc, 76 .d_size = sizeof *crc, 82 .d_buf = rawdata->d_buf + rawdata->d_size - sizeof *crc, 83 .d_size = sizeof *crc,
|
H A D | libdwelf.h | 48 extern const char *dwelf_elf_gnu_debuglink (Elf *elf, GElf_Word *crc);
|
/external/libpng/contrib/libtests/ |
H A D | fakepng.c | 25 uLong crc; local 31 crc = crc32(0, Z_NULL, 0); 32 put_uLong(crc32(crc, chunk, length));
|
/external/llvm/test/MC/ARM/ |
H A D | crc32-thumb.s | 3 @ RUN: not llvm-mc -triple=thumbv8 -mattr=-crc -show-encoding < %s 2>&1 | FileCheck %s --check-prefix=CHECK-NOCRC 11 @ CHECK-V7: error: instruction requires: crc armv8 12 @ CHECK-V7: error: instruction requires: crc armv8 13 @ CHECK-V7: error: instruction requires: crc armv8 14 @ CHECK-NOCRC: error: instruction requires: crc 15 @ CHECK-NOCRC: error: instruction requires: crc 16 @ CHECK-NOCRC: error: instruction requires: crc 25 @ CHECK-V7: error: instruction requires: crc armv8 26 @ CHECK-V7: error: instruction requires: crc armv8 27 @ CHECK-V7: error: instruction requires: crc armv [all...] |
H A D | crc32.s | 3 @ RUN: not llvm-mc -triple=thumbv8 -mattr=-crc -show-encoding < %s 2>&1 | FileCheck %s --check-prefix=CHECK-NOCRC 11 @ CHECK-V7: error: instruction requires: crc armv8 12 @ CHECK-V7: error: instruction requires: crc armv8 13 @ CHECK-V7: error: instruction requires: crc armv8 14 @ CHECK-NOCRC: error: instruction requires: crc 15 @ CHECK-NOCRC: error: instruction requires: crc 16 @ CHECK-NOCRC: error: instruction requires: crc 25 @ CHECK-V7: error: instruction requires: crc armv8 26 @ CHECK-V7: error: instruction requires: crc armv8 27 @ CHECK-V7: error: instruction requires: crc armv [all...] |
/external/elfutils/tests/ |
H A D | run-debuglink.sh | 24 testfile36: testfile36.debug, crc: 8c5c20a3 25 testfile52-32.so: testfile52-32.so.debug, crc: b835a71d
|
H A D | debuglink.c | 1 /* Test program for dwelf_elf_gnu_debuglink, print name and crc. 52 GElf_Word crc; local 53 const char *debug = dwelf_elf_gnu_debuglink (elf, &crc); 57 printf ("%s: %s, crc: %" PRIx32 "\n", file, debug, crc);
|
/external/lzma/xz-embedded/ |
H A D | xz_stream.h | 16 # define xz_crc32(buf, size, crc) \ 17 (~crc32_le(~(uint32_t)(crc), buf, size))
|
/external/fio/ |
H A D | Android.mk | 37 crc_src_files := crc/crc7.c crc/crc16.c crc/crc32.c crc/crc64.c crc/crc32c.c crc/crc32c-intel.c \ 38 crc/sha1.c crc/sha256.c crc/sha512.c crc/md [all...] |
/external/aac/libMpegTPDec/src/ |
H A D | tpdec_drm.cpp | 98 void drmRead_CrcInit(HANDLE_DRM pDrm) /*!< pointer to drm crc info stucture */ 108 int mBits /*!< number of bits in crc region */ 122 HANDLE_DRM pDrm, /*!< pointer to drm crc info stucture */ 124 int reg /*!< crc region */ 135 USHORT crc; local 137 crc = FDKcrcGetCRC(&pDrm->crcInfo) ^ 0xFF; 138 if (crc != pDrm->crcReadValue)
|
/external/jsilver/src/com/google/clearsilver/jsilver/functions/string/ |
H A D | CrcFunction.java | 40 Checksum crc = new CRC32(); 47 crc.update(b, 0, b.length); 50 return literalConstant((int) crc.getValue(), args[0]);
|
/external/lzma/CS/7zip/Common/ |
H A D | CRC.cs | 44 CRC crc = new CRC();
45 // crc.Init();
46 crc.Update(data, offset, size);
47 return crc.GetDigest();
|
/external/e2fsprogs/lib/ext2fs/ |
H A D | csum.c | 63 __u32 crc; local 68 crc = ext2fs_mmp_csum(fs, mmp); 69 mmp->mmp_checksum = ext2fs_cpu_to_le32(crc); 112 __u32 flag, crc; local 122 crc = ext2fs_superblock_csum(fs, sb); 123 sb->s_checksum = ext2fs_cpu_to_le32(crc); 132 __u32 *crc) 139 *crc = ext2fs_crc32c_le(fs->csum_seed, (unsigned char *)&block, 141 *crc = ext2fs_crc32c_le(*crc, (unsigne 128 ext2fs_ext_attr_block_csum(ext2_filsys fs, ext2_ino_t inum EXT2FS_ATTR((unused)), blk64_t block, struct ext2_ext_attr_header *hdr, __u32 *crc) argument 169 __u32 crc; local 295 ext2fs_dirent_csum(ext2_filsys fs, ext2_ino_t inum, struct ext2_dir_entry *dirent, __u32 *crc, int size) argument 344 __u32 crc; local 360 ext2fs_dx_csum(ext2_filsys fs, ext2_ino_t inum, struct ext2_dir_entry *dirent, __u32 *crc, int count_offset, int count, struct ext2_dx_tail *t) argument 422 __u32 crc; local 485 ext2fs_extent_block_csum(ext2_filsys fs, ext2_ino_t inum, struct ext3_extent_header *eh, __u32 *crc) argument 536 __u32 crc; local 576 __u32 crc; local 614 __u32 crc; local 629 ext2fs_inode_csum(ext2_filsys fs, ext2_ino_t inum, struct ext2_inode_large *inode, __u32 *crc, int has_hi) argument 706 __u32 crc; local 729 __u16 crc = 0; local [all...] |
/external/chromium-trace/catapult/telemetry/third_party/web-page-replay/ |
H A D | httpzlib.py | 45 crc = zlib.crc32("") & 0xffffffffL 56 crc = zlib.crc32(data, crc) & 0xffffffffL 66 chunk += (struct.pack("<L", long(crc)) +
|
/external/kernel-headers/original/uapi/linux/ |
H A D | bcm933xx_hcs.h | 21 __u32 crc; member in struct:bcm_hcs
|
/external/stressapptest/src/ |
H A D | pattern.h | 68 const AdlerChecksum *crc() {return crc_;} function in class:Pattern 116 static inline uint32 CrcIncrement(uint32 crc, uint32 expected, int index) { argument 118 uint32 carry = (addition & crc) >> 31; 120 return crc + addition + carry;
|
/external/lzma/CPP/7zip/Common/ |
H A D | InOutTempBuffer.cpp | 80 UInt32 crc = CRC_INIT_VAL;
local 85 crc = CrcUpdate(crc, _buf, _bufPos);
101 crc = CrcUpdate(crc, _buf, processed);
105 return (_crc == crc && size == _size) ? S_OK : E_FAIL;
|
/external/pdfium/third_party/zlib_v128/ |
H A D | crc32.c | 17 of the crc tables. Therefore, if you #define DYNAMIC_CRC_TABLE, you should 35 /* Definitions for doing the crc four data bytes at a time. */ 49 /* Local functions for crc concatenation */ 95 /* terms of polynomial defining this crc (except x^32): */ 110 /* generate a crc for every 8-bit value */ 119 /* generate crc for each value followed by one, two, and three zeros, 200 #define DO1 crc = crc_table[0][((int)crc ^ (*buf++)) & 0xff] ^ (crc >> 8) 205 unsigned long crc, 204 crc32( unsigned long crc, const unsigned char FAR *buf, uInt len) argument 247 crc32_little( unsigned long crc, const unsigned char FAR *buf, unsigned len) argument 287 crc32_big( unsigned long crc, const unsigned char FAR *buf, unsigned len) argument [all...] |
/external/llvm/test/MC/AArch64/ |
H A D | directive-cpu.s | 23 .cpu generic+crc 35 .cpu generic+nocrypto+crc 51 // CHECK: error: instruction requires: crc
|
/external/lzma/C/ |
H A D | Xz.c | 52 case XZ_CHECK_CRC32: p->crc = CRC_INIT_VAL; break;
62 case XZ_CHECK_CRC32: p->crc = CrcUpdate(p->crc, data, size); break;
73 SetUi32(digest, CRC_GET_DIGEST(p->crc));
|
/external/syslinux/com32/lib/zlib/ |
H A D | crc32.c | 17 of the crc tables. Therefore, if you #define DYNAMIC_CRC_TABLE, you should 54 /* Definitions for doing the crc four data bytes at a time. */ 67 /* Local functions for crc concatenation */ 113 /* terms of polynomial defining this crc (except x^32): */ 128 /* generate a crc for every 8-bit value */ 137 /* generate crc for each value followed by one, two, and three zeros, 217 #define DO1 crc = crc_table[0][((int)crc ^ (*buf++)) & 0xff] ^ (crc >> 8) 221 unsigned long ZEXPORT crc32(crc, bu [all...] |
/external/zlib/src/ |
H A D | crc32.c | 17 of the crc tables. Therefore, if you #define DYNAMIC_CRC_TABLE, you should 35 /* Definitions for doing the crc four data bytes at a time. */ 49 /* Local functions for crc concatenation */ 95 /* terms of polynomial defining this crc (except x^32): */ 110 /* generate a crc for every 8-bit value */ 119 /* generate crc for each value followed by one, two, and three zeros, 200 #define DO1 crc = crc_table[0][((int)crc ^ (*buf++)) & 0xff] ^ (crc >> 8) 204 unsigned long ZEXPORT crc32(crc, bu [all...] |
/external/tcpdump/ |
H A D | print-mobile.c | 69 u_short proto,crc; local 81 crc = EXTRACT_16BITS(&mob->hcheck); 100 ND_PRINT((ndo, " (bad checksum %d)", crc));
|
/external/flac/libFLAC/ |
H A D | crc.c | 37 #include "private/crc.h" 114 void FLAC__crc8_update(const FLAC__byte data, FLAC__uint8 *crc) argument 116 *crc = FLAC__crc8_table[*crc ^ data]; 119 void FLAC__crc8_update_block(const FLAC__byte *data, unsigned len, FLAC__uint8 *crc) argument 122 *crc = FLAC__crc8_table[*crc ^ *data++]; 127 FLAC__uint8 crc = 0; local 130 crc = FLAC__crc8_table[crc 137 unsigned crc = 0; local [all...] |