Searched refs:crc (Results 1 - 25 of 45) sorted by relevance

12

/haiku-buildtools/gcc/gcc/testsuite/gcc.dg/tree-ssa/
H A Dpr59597.c13 Calc_crc8 (u8 data, u16 crc) argument
18 x16 = (u8)((data & 1) ^ ((u8)crc & 1));
23 crc ^= 0x4002;
28 crc >>= 1;
30 crc |= 0x8000;
32 crc &= 0x7fff;
34 return crc;
40 int i, j; u16 crc; local
50 crc=Calc_crc8(f[i],(u16)argc);
51 crc
[all...]
/haiku-buildtools/gcc/gcc/testsuite/gcc.target/ia64/
H A Dpr29682.c18 unsigned int crc = 0xb704ce; local
24 crc <<= 1;
25 if (crc & 0x1000000)
26 crc ^= 0x1864cfb;
36 uint32_t crcpkt, crc; local
47 crc = pgpCRC (dec, declen);
/haiku-buildtools/gcc/gcc/testsuite/gcc.c-torture/compile/
H A D20050303-1.c4 void crc() function
/haiku-buildtools/gcc/gcc/testsuite/gcc.dg/torture/
H A Dpr69714.c38 uint32_t av_crc(const AVCRC *ctx, uint32_t crc,
102 uint32_t av_crc(const AVCRC *ctx, uint32_t crc, argument
110 crc = ctx[((uint8_t) crc) ^ *buffer++] ^ (crc >> 8);
113 crc ^= av_le2ne32(*(const uint32_t *) buffer); buffer += 4;
114 crc = ctx[3 * 256 + ( crc & 0xFF)] ^
115 ctx[2 * 256 + ((crc >> 8 ) & 0xFF)] ^
116 ctx[1 * 256 + ((crc >> 1
[all...]
/haiku-buildtools/gcc/libstdc++-v3/testsuite/26_numerics/complex/
H A D50880.cc34 std::complex<T> crc = std::acosh(cc); local
38 VERIFY( crc.real() > T(0) );
/haiku-buildtools/gcc/libstdc++-v3/testsuite/tr1/8_c_compatibility/complex/
H A D50880.cc32 std::complex<T> crc = std::tr1::acosh(cc); local
36 VERIFY( crc.real() > T(0) );
/haiku-buildtools/binutils/gas/testsuite/gas/aarch64/
H A Dcrc32.s25 .arch_extension crc
H A Dcrc32.d2 #as: -march=armv8-a+crc
/haiku-buildtools/gcc/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...]
/haiku-buildtools/binutils/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...]
/haiku-buildtools/gcc/libstdc++-v3/testsuite/20_util/pair/astuple/
H A Dconstexpr_get.cc32 constexpr const char& crc = std::get<1>(cp); variable
H A Dconstexpr_get_by_type.cc32 constexpr const char& crc = std::get<char>(cp); variable
/haiku-buildtools/gcc/libiberty/
H A Dcrc32.c69 http://www.ross.net/crc/download/crc_v3.txt. */
174 unsigned int crc = init; local
177 crc = (crc << 8) ^ crc32_table[((crc >> 24) ^ *buf) & 255];
180 return crc;
/haiku-buildtools/binutils/libiberty/
H A Dcrc32.c68 http://www.ross.net/crc/download/crc_v3.txt. */
172 unsigned int crc = init; local
175 crc = (crc << 8) ^ crc32_table[((crc >> 24) ^ *buf) & 255];
178 return crc;
/haiku-buildtools/gcc/zlib/examples/
H A Dgzjoin.c238 /* skip header crc if present */
264 local void gzinit(unsigned long *crc, unsigned long *tot, FILE *out) argument
267 *crc = crc32(0L, Z_NULL, 0);
274 the output, and the gzip trailer is written. crc and tot maintains the
275 crc and length (modulo 2^32) of the output for the trailer. The resulting
277 of gzcopy() to write the gzip header and to initialize crc and tot. */
278 local void gzcopy(char *name, int clr, unsigned long *crc, unsigned long *tot, argument
409 /* update crc and tot */
410 *crc = crc32_combine(*crc, bget
428 unsigned long crc, tot; /* running crc and total uncompressed length */ local
[all...]
H A Dgun.c120 int check; /* true if checking crc and total */
121 unsigned long crc; member in struct:outd
136 me->crc = crc32(me->crc, buf, len);
459 if (flags & 2) { /* header crc */
468 outd.crc = crc32(0L, Z_NULL, 0);
482 if (NEXT() != (int)(outd.crc & 0xff) ||
483 NEXT() != (int)((outd.crc >> 8) & 0xff) ||
484 NEXT() != (int)((outd.crc >> 16) & 0xff) ||
485 NEXT() != (int)((outd.crc >> 2
[all...]
H A Dgzappend.c261 unsigned long crc, tot; local
293 crc = crc32(0L, Z_NULL, 0);
314 /* update crc and sliding window pointer */
315 crc = crc32(crc, window + have, DSIZE - have - strm->avail_out);
341 if (crc != read4(&gz))
342 bye("invalid compressed data--crc mismatch in ", name);
365 /* set up deflate stream with window, crc, total_in, and leftover bits */
369 strm->adler = crc;
/haiku-buildtools/binutils/zlib/examples/
H A Dgzjoin.c239 /* skip header crc if present */
265 local void gzinit(unsigned long *crc, unsigned long *tot, FILE *out) argument
268 *crc = crc32(0L, Z_NULL, 0);
275 the output, and the gzip trailer is written. crc and tot maintains the
276 crc and length (modulo 2^32) of the output for the trailer. The resulting
278 of gzcopy() to write the gzip header and to initialize crc and tot. */
279 local void gzcopy(char *name, int clr, unsigned long *crc, unsigned long *tot, argument
410 /* update crc and tot */
411 *crc = crc32_combine(*crc, bget
429 unsigned long crc, tot; /* running crc and total uncompressed length */ local
[all...]
H A Dgun.c121 int check; /* true if checking crc and total */
122 unsigned long crc; member in struct:outd
137 me->crc = crc32(me->crc, buf, len);
460 if (flags & 2) { /* header crc */
469 outd.crc = crc32(0L, Z_NULL, 0);
483 if (NEXT() != (int)(outd.crc & 0xff) ||
484 NEXT() != (int)((outd.crc >> 8) & 0xff) ||
485 NEXT() != (int)((outd.crc >> 16) & 0xff) ||
486 NEXT() != (int)((outd.crc >> 2
[all...]
H A Dgzappend.c263 unsigned long crc, tot; local
295 crc = crc32(0L, Z_NULL, 0);
316 /* update crc and sliding window pointer */
317 crc = crc32(crc, window + have, DSIZE - have - strm->avail_out);
343 if (crc != read4(&gz))
344 bye("invalid compressed data--crc mismatch in ", name);
367 /* set up deflate stream with window, crc, total_in, and leftover bits */
371 strm->adler = crc;
/haiku-buildtools/binutils/gas/config/
H A Dobj-evax.c366 unsigned int crc = 0xffffffff; local
387 crc = (crc << 8) ^ crc32_table[(crc >> 24) ^ *buf];
390 return crc;
455 int crc, len, sum, x, final_len; local
463 crc = crc32 ((unsigned char *)name + final_len,
465 crc_chars = encode_32 (crc);
/haiku-buildtools/binutils/gas/testsuite/gas/arm/
H A Dcrc32.d3 #as: -march=armv8-a+crc
H A Dcrc32-bad.d3 #as: -march=armv8-a+crc
/haiku-buildtools/gcc/gcc/testsuite/gcc.target/i386/
H A Dsse4_2-crc32.h109 compute_crc32 (DST_T crc, SRC_T inp) argument
123 memcpy (crcbuf, &crc, sizeof (DST_T));
/haiku-buildtools/gcc/zlib/contrib/dotzlib/DotZLib/
H A DChecksumImpl.cs109 private static extern uint crc32(uint crc, int data, uint length); argument

Completed in 303 milliseconds

12