Searched refs:crc (Results 26 - 50 of 261) sorted by relevance

1234567891011

/external/libpng/contrib/tools/
H A Dpng-fix-itxt.c46 unsigned long crc; local
81 crc = crc32(0, Z_NULL, 0);
93 crc = crc32(crc, buf+4, (uInt)length+4);
98 if (((crc >> 24) & 0xffU) == buf[length+8] &&
99 ((crc >> 16) & 0xffU) == buf[length+9] &&
100 ((crc >> 8) & 0xffU) == buf[length+10] &&
101 ((crc ) & 0xffU) == buf[length+11])
113 crc = crc32(crc, bu
[all...]
/external/elfutils/lib/
H A Dcrc32_file.c43 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 Ddwelf_elf_gnu_debuglink.c1 /* 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 Dlibdwelf.h48 extern const char *dwelf_elf_gnu_debuglink (Elf *elf, GElf_Word *crc);
/external/libpng/contrib/libtests/
H A Dfakepng.c25 uLong crc; local
31 crc = crc32(0, Z_NULL, 0);
32 put_uLong(crc32(crc, chunk, length));
/external/llvm/test/MC/ARM/
H A Dcrc32-thumb.s3 @ 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 Dcrc32.s3 @ 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 Drun-debuglink.sh24 testfile36: testfile36.debug, crc: 8c5c20a3
25 testfile52-32.so: testfile52-32.so.debug, crc: b835a71d
/external/xz-embedded/linux/lib/xz/
H A Dxz_stream.h16 # define xz_crc32(buf, size, crc) \
17 (~crc32_le(~(uint32_t)(crc), buf, size))
/external/brotli/java/org/brotli/integration/
H A DBundleChecker.java53 private static long updateCrc64(long crc, byte[] data, int offset, int length) { argument
55 long c = (crc ^ (long) (data[i] & 0xFF)) & 0xFF;
59 crc = c ^ (crc >>> 8);
61 return crc;
71 long crc = -1;
79 crc = updateCrc64(crc, buffer, 0, len);
82 return ~crc;
/external/aac/libMpegTPDec/src/
H A Dtpdec_drm.cpp98 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 DCrcFunction.java40 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 DCRC.cs44 CRC crc = new CRC();
45 // crc.Init();
46 crc.Update(data, offset, size);
47 return crc.GetDigest();
/external/lzma/C/
H A DXzCrc64Opt.c10 #define CRC_UPDATE_BYTE_2(crc, b) (table[((crc) ^ (b)) & 0xFF] ^ ((crc) >> 8))
46 #define CRC_UPDATE_BYTE_2_BE(crc, b) (table[(Byte)((crc) >> 56) ^ (b)] ^ ((crc) << 8))
H A DXz.c52 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/lzma/CPP/7zip/Common/
H A DInOutTempBuffer.cpp84 UInt32 crc = CRC_INIT_VAL; local
89 crc = CrcUpdate(crc, _buf, _bufPos);
106 crc = CrcUpdate(crc, _buf, processed);
111 return (_crc == crc && size == _size) ? S_OK : E_FAIL;
/external/e2fsprogs/lib/ext2fs/
H A Dcsum.c63 __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/kernel-headers/original/uapi/linux/
H A Dbcm933xx_hcs.h21 __u32 crc; member in struct:bcm_hcs
/external/stressapptest/src/
H A Dpattern.h68 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/fio/t/
H A Dverify-state.c15 #include "../crc/crc32c.h"
69 uint32_t crc; local
73 hdr->crc = le64_to_cpu(hdr->crc);
77 printf("CRC:\t\t0x%x\n", (unsigned int) hdr->crc);
86 crc = fio_crc32c((unsigned char *) s, hdr->size);
87 if (crc != hdr->crc) {
88 log_err("crc mismatch %x != %x\n", crc, (unsigne
[all...]
/external/pdfium/third_party/zlib_v128/
H A Dcrc32.c17 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 Ddirective-cpu.s23 .cpu generic+crc
35 .cpu generic+nocrypto+crc
51 // CHECK: error: instruction requires: crc
/external/python/cpython2/Modules/zlib/
H A Dcrc32.c17 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/syslinux/com32/lib/zlib/
H A Dcrc32.c17 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 Dcrc32.c17 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...]

Completed in 947 milliseconds

1234567891011