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

1234567

/external/llvm/test/MC/ARM/
H A Ddirective-arch_extension-crc.s10 .arch_extension crc
11 @ CHECK-V7: error: architectural extension 'crc' is not allowed for the current base architecture
12 @ CHECK-V7-NEXT: .arch_extension crc
15 .type crc,%function
16 crc: label
18 @ CHECK-V7: error: instruction requires: crc armv8
20 @ CHECK-V7: error: instruction requires: crc armv8
22 @ CHECK-V7: error: instruction requires: crc armv8
25 @ CHECK-V7: error: instruction requires: crc armv8
27 @ CHECK-V7: error: instruction requires: crc armv
[all...]
/external/fio/crc/
H A Dcrc16.h22 static inline unsigned short crc16_byte(unsigned short crc, argument
25 return (crc >> 8) ^ crc16_table[(crc ^ data) & 0xff];
H A Dcrc7.h6 static inline unsigned char crc7_byte(unsigned char crc, unsigned char data) argument
8 return crc7_syndrome_table[(crc << 1) ^ data];
H A Dcrc32c.c3 *@Article{castagnoli-crc,
15 * the iscsi-crc.c module of the linux-iscsi driver at
115 * crc using table.
120 uint32_t crc = ~0; local
123 crc = crc32c_table[(crc ^ *data++) & 0xFFL] ^ (crc >> 8);
125 return crc;
H A Dcrc64.c97 unsigned long long crc = 0; local
100 crc = crctab64[(crc ^ *(buffer++)) & 0xff] ^ (crc >> 8);
102 return crc;
H A Dcrc7.c48 unsigned char crc = 0; local
51 crc = crc7_byte(crc, *buffer++);
52 return crc;
H A Dcrc16.c49 unsigned short crc = 0; local
52 crc = crc16_byte(crc, *cp++);
53 return crc;
H A Dcrc32.c79 uint32_t crc = 0; local
82 crc = (crc << 8) ^ crctab[((crc >> 24) ^ *(cp++)) & 0xFF];
84 return crc;
/external/chromium-trace/catapult/third_party/mapreduce/mapreduce/third_party/
H A Dcrc32c.py11 './pycrc.py --model=crc-32c --generate c --algorithm=table-driven'
94 def crc_update(crc, data):
98 crc: 32-bit checksum to update as long.
110 crc = crc ^ _MASK
112 table_index = (crc ^ b) & 0xff
113 crc = (CRC_TABLE[table_index] ^ (crc >> 8)) & _MASK
114 return crc ^ _MASK
117 def crc_finalize(crc)
131 def crc(data): function
[all...]
/external/e2fsprogs/lib/ext2fs/
H A Dcrc16.c54 * @param crc previous CRC value
59 crc16_t ext2fs_crc16(crc16_t crc, const void *buffer, unsigned int len) argument
70 crc = (((crc >> 8) & 0xffU) ^
71 crc16_table[(crc ^ *cp++) & 0xffU]) & 0x0000ffffU;
72 return crc;
/external/e2fsprogs/tests/progs/
H A Dcrcsum.c30 uint32_t crc = ~0; local
31 uint32_t (*csum_func)(uint32_t crc, unsigned char const *p,
63 crc = csum_func(crc, buf, c);
65 printf("%u\n", crc);
/external/elfutils/lib/
H A Dcrc32.c90 crc32 (uint32_t crc, unsigned char *buf, size_t len) argument
94 crc = ~crc;
96 crc = crc32_table[(crc ^ *buf) & 0xff] ^ (crc >> 8);
97 return ~crc;
/external/mesa3d/src/gallium/auxiliary/util/
H A Du_hash.c115 uint32_t crc = 0xffffffff; local
118 crc = util_crc32_table[(crc ^ *p++) & 0xff] ^ (crc >> 8);
120 return crc;
/external/vboot_reference/firmware/2lib/
H A D2crc8.c12 unsigned crc = 0; local
20 crc ^= (*data << 8);
22 if (crc & 0x8000)
23 crc ^= (0x1070 << 3);
24 crc <<= 1;
28 return (uint8_t)(crc >> 8);
/external/vboot_reference/firmware/lib/
H A Dcrc8.c17 unsigned crc = 0; local
21 crc ^= (*data << 8);
23 if (crc & 0x8000)
24 crc ^= (0x1070 << 3);
25 crc <<= 1;
29 return (uint8_t)(crc >> 8);
/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/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,
/external/elfutils/tests/
H A Ddebuglink.c1 /* 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/flac/libFLAC/
H A Dcrc.c37 #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...]
/external/gptfdisk/
H A Dcrc32.cc34 register unsigned long crc; local
37 crc = 0xFFFFFFFF;
40 crc = ((crc >> 8) & 0x00FFFFFF) ^ crc_tab[(crc ^ *block++) & 0xFF];
42 return (crc ^ 0xFFFFFFFF);
52 unsigned long crc, poly; local
58 crc = i;
61 if (crc & 1)
63 crc
[all...]
/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/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/webrtc/webrtc/modules/audio_coding/codecs/isac/main/source/
H A Dcrc.c11 #include "crc.h"
77 * - crc : checksum
85 uint32_t* crc)
108 *crc = ~crc_state;
83 WebRtcIsac_GetCrc(const int16_t* bitstream, int len_bitstream_in_bytes, uint32_t* crc) argument
/external/deqp/framework/common/
H A DtcuSeedBuilder.cpp25 * different results. Then values are passed through 32 bit crc.
41 deUint32 crc = oldCrc; local
46 crc = crc ^ current;
50 if (crc & 1u)
51 crc = (crc >> 1u) ^ generator;
53 crc = (crc >> 1u);
57 return crc;
[all...]
/external/e2fsprogs/e2fsck/
H A Dgen_crc32table.c27 * crc is the crc of the byte i; other entries are filled in based on the
34 uint32_t crc = 1; local
39 crc = (crc >> 1) ^ ((crc & 1) ? CRCPOLY_LE : 0);
41 crc32table_le[i + j] = crc ^ crc32table_le[j];
51 uint32_t crc = 0x80000000; local
56 crc = (crc <<
[all...]

Completed in 1232 milliseconds

1234567