Searched defs:crc (Results 1 - 25 of 159) 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_org/courgette/
H A Dcrc.cc5 #include "courgette/crc.h"
20 uint32 crc; local
24 crc = crc32(0, buffer, size);
28 crc = CrcCalc(buffer, size);
31 return ~crc;
/external/chromium_org/rlz/lib/
H A Dcrc32_unittest.cc18 int crc; member in struct:__anon10527
28 EXPECT_EQ(kData[i].crc,
37 int crc; member in struct:__anon10528
47 int crc; local
49 EXPECT_TRUE(rlz_lib::Crc32(kData[i].data, &crc));
50 EXPECT_EQ(kData[i].crc, crc);
H A Dcrc32_wrapper.cc19 bool Crc32(const char* text, int* crc) { argument
20 if (!crc) {
21 ASSERT_STRING("Crc32: crc is NULL.");
25 *crc = 0;
30 *crc = crc32(*crc, reinterpret_cast<const unsigned char*>(text + i), 1);
H A Dcrc8.cc63 unsigned char crc = kInitial; local
65 crc = kCrcTable[(data[i] ^ crc) & 0xFFU];
68 *check_sum = crc ^ kFinal;
/external/chromium_org/third_party/mesa/src/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/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/0.153/lib/
H A Dcrc32.c111 crc32 (uint32_t crc, unsigned char *buf, size_t len) argument
115 crc = ~crc;
117 crc = crc32_table[(crc ^ *buf) & 0xff] ^ (crc >> 8);
118 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/qemu/distrib/ext4_utils/src/
H A Dcrc16.c52 u16 crc = crc_in; local
55 crc = crc16_tab[(crc ^ *p++) & 0xFF] ^ (crc >> 8);
57 return crc;
/external/qemu/distrib/libsparse/src/
H A Dsparse_crc32.c104 uint32_t crc; local
106 crc = crc_in ^ ~0U;
108 crc = crc32_tab[(crc ^ *p++) & 0xFF] ^ (crc >> 8);
109 return crc ^ ~0U;
/external/chromium_org/third_party/leveldatabase/src/util/
H A Dcrc32c_test.cc60 uint32_t crc = Value("foo", 3); local
61 ASSERT_NE(crc, Mask(crc));
62 ASSERT_NE(crc, Mask(Mask(crc)));
63 ASSERT_EQ(crc, Unmask(Mask(crc)));
64 ASSERT_EQ(crc, Unmask(Unmask(Mask(Mask(crc)))));
/external/chromium_org/third_party/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, int16_t len_bitstream_in_bytes, uint32_t* crc) argument
/external/flac/libFLAC/
H A Dcrc.c36 #include "private/crc.h"
113 void FLAC__crc8_update(const FLAC__byte data, FLAC__uint8 *crc) argument
115 *crc = FLAC__crc8_table[*crc ^ data];
118 void FLAC__crc8_update_block(const FLAC__byte *data, unsigned len, FLAC__uint8 *crc) argument
121 *crc = FLAC__crc8_table[*crc ^ *data++];
126 FLAC__uint8 crc = 0; local
129 crc = FLAC__crc8_table[crc
136 unsigned crc = 0; local
[all...]
/external/libpng/contrib/libtests/
H A Dfakepng.c17 uLong crc; local
23 crc = crc32(0, Z_NULL, 0);
24 put_uLong(crc32(crc, chunk, length));
/external/libpng/contrib/tools/
H A Dpng-fix-itxt.c44 unsigned long crc; local
79 crc = crc32(0, Z_NULL, 0);
88 crc = crc32(crc, buf+4, (uInt)length+4);
93 if (((crc >> 24) & 0xff) == buf[length+8] &&
94 ((crc >> 16) & 0xff) == buf[length+9] &&
95 ((crc >> 8) & 0xff) == buf[length+10] &&
96 ((crc ) & 0xff) == buf[length+11])
108 crc = crc32(crc, bu
[all...]
/external/webrtc/src/modules/audio_coding/codecs/isac/main/source/
H A Dcrc.c11 #include "crc.h"
77 * - crc : checksum
85 WebRtc_UWord32* crc)
108 *crc = ~crc_state;
83 WebRtcIsac_GetCrc(const WebRtc_Word16* bitstream, WebRtc_Word16 len_bitstream_in_bytes, WebRtc_UWord32* crc) argument

Completed in 513 milliseconds

1234567