/netbsd-6-1-5-RELEASE/external/public-domain/xz/dist/src/liblzma/check/ |
H A D | crc64_fast.c | 30 lzma_crc64(const uint8_t *buf, size_t size, uint64_t crc) 32 crc = ~crc; 35 crc = bswap64(crc); 40 crc = lzma_crc64_table[0][*buf++ ^ A1(crc)] ^ S8(crc); 49 const uint32_t tmp = (crc >> 32) 52 const uint32_t tmp = crc [all...] |
H A D | crc32_fast.c | 27 lzma_crc32(const uint8_t *buf, size_t size, uint32_t crc) 29 crc = ~crc; 32 crc = bswap32(crc); 39 crc = lzma_crc32_table[0][*buf++ ^ A(crc)] ^ S8(crc); 52 crc ^= *(const uint32_t *)(buf); 55 crc [all...] |
H A D | crc32_small.c | 49 lzma_crc32(const uint8_t *buf, size_t size, uint32_t crc) 53 crc = ~crc; 56 crc = lzma_crc32_table[0][*buf++ ^ (crc & 0xFF)] ^ (crc >> 8); 60 return ~crc;
|
H A D | crc64_small.c | 41 lzma_crc64(const uint8_t *buf, size_t size, uint64_t crc) 45 crc = ~crc; 48 crc = crc64_table[*buf++ ^ (crc & 0xFF)] ^ (crc >> 8); 52 return ~crc;
|
/netbsd-6-1-5-RELEASE/external/public-domain/xz/dist/tests/ |
H A D | test_check.c | 28 uint32_t crc = lzma_crc32(test_string, sizeof(test_string), 0); local 29 if (crc != test_vector) 33 crc = lzma_crc32(test_unaligned + 3, sizeof(test_string), 0); 34 if (crc != test_vector) 38 crc = 0; 40 crc = lzma_crc32(test_string + i, 1, crc); 41 if (crc != test_vector) 54 uint64_t crc = lzma_crc64(test_string, sizeof(test_string), 0); local 55 if (crc ! [all...] |
H A D | test_stream_flags.c | 135 uint32_t crc = lzma_crc32(buffer + 6, 2, 0); local 136 unaligned_write32le(buffer + 8, crc); 141 crc = lzma_crc32(buffer + 6, 2, 0); 142 unaligned_write32le(buffer + 8, crc); 153 crc = lzma_crc32(buffer + 4, 6, 0); 154 unaligned_write32le(buffer, crc);
|
/netbsd-6-1-5-RELEASE/external/gpl2/lvm2/dist/lib/misc/ |
H A D | crc.c | 20 #include "crc.h" 31 uint32_t i, crc = initial; local 35 crc ^= *data++; 36 crc = (crc >> 4) ^ crctab[crc & 0xf]; 37 crc = (crc >> 4) ^ crctab[crc & 0xf]; 39 return crc; [all...] |
/netbsd-6-1-5-RELEASE/crypto/external/bsd/heimdal/dist/lib/krb5/ |
H A D | crc.c | 46 unsigned long crc, poly; local 52 crc = i; 54 if (crc & 1) { 55 crc = (crc >> 1) ^ poly; 57 crc >>= 1; 60 table[i] = crc;
|
/netbsd-6-1-5-RELEASE/external/bsd/libarchive/dist/libarchive/ |
H A D | archive_crc32.h | 41 crc32(unsigned long crc, const void *_p, size_t len) argument 62 crc = crc ^ 0xffffffffUL; 64 crc = crc_tbl[(crc ^ *p++) & 0xff] ^ (crc >> 8); 65 return (crc ^ 0xffffffffUL);
|
/netbsd-6-1-5-RELEASE/sys/dev/nand/ |
H A D | nand_crc.c | 47 uint16_t crc = init; local 52 crc ^= data[i] << 8; 55 if ((crc & highbit) != 0x00) 56 crc = (crc << 1) ^ polynom; 58 crc <<= 1; 62 return crc;
|
/netbsd-6-1-5-RELEASE/distrib/utils/sparkcrc/ |
H A D | sparkcrc.c | 42 * Trivial progarm to generate a crc suitable for use in a sparkive file 87 int crc = 0; local 97 crc = (crc >> 8) ^ crclookup[(crc & 0xff) ^ buf[i]]; 100 printf("%d\n", (int)crc);
|
/netbsd-6-1-5-RELEASE/external/gpl3/gcc/dist/gcc/testsuite/gcc.target/ia64/ |
H A D | pr29682.c | 17 unsigned int crc = 0xb704ce; local 23 crc <<= 1; 24 if (crc & 0x1000000) 25 crc ^= 0x1864cfb; 35 uint32_t crcpkt, crc; local 46 crc = pgpCRC (dec, declen);
|
/netbsd-6-1-5-RELEASE/external/gpl3/gcc/dist/gcc/testsuite/gcc.c-torture/compile/ |
H A D | 20050303-1.c | 4 void crc() function
|
/netbsd-6-1-5-RELEASE/gnu/dist/gcc4/gcc/testsuite/gcc.c-torture/compile/ |
H A D | 20050303-1.c | 1 void crc() function
|
/netbsd-6-1-5-RELEASE/usr.bin/cksum/ |
H A D | crc_extern.h | 35 int crc(int, u_int32_t *, off_t *);
|
/netbsd-6-1-5-RELEASE/sys/ufs/chfs/ |
H A D | ebh_media.h | 55 /* sizeof(crc) + sizeof(lid) */ 83 * @crc: CRC32 sum 93 * Invalidated eraseblock header means that the @crc and @lid is set to 0. 96 le32 crc; member in struct:chfs_nor_eb_hdr 102 * @crc: CRC32 sum 111 le32 crc; member in struct:chfs_nand_eb_hdr
|
/netbsd-6-1-5-RELEASE/external/cddl/osnet/dist/uts/common/zmod/ |
H A D | crc32.c | 22 of the crc tables. Therefore, if you #define DYNAMIC_CRC_TABLE, you should 59 /* Definitions for doing the crc four data bytes at a time. */ 72 /* Local functions for crc concatenation */ 116 /* terms of polynomial defining this crc (except x^32): */ 131 /* generate a crc for every 8-bit value */ 140 /* generate crc for each value followed by one, two, and three zeros, 220 #define DO1 crc = crc_table[0][((int)crc ^ (*buf++)) & 0xff] ^ (crc >> 8) 224 unsigned long ZEXPORT crc32(crc, bu [all...] |
/netbsd-6-1-5-RELEASE/external/gpl3/gcc/dist/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 */ 111 /* terms of polynomial defining this crc (except x^32): */ 126 /* generate a crc for every 8-bit value */ 135 /* generate crc for each value followed by one, two, and three zeros, 215 #define DO1 crc = crc_table[0][((int)crc ^ (*buf++)) & 0xff] ^ (crc >> 8) 219 unsigned long ZEXPORT crc32(crc, bu [all...] |
/netbsd-6-1-5-RELEASE/external/public-domain/xz/dist/src/liblzma/common/ |
H A D | stream_flags_decoder.c | 39 const uint32_t crc = lzma_crc32(in + sizeof(lzma_header_magic), local 41 if (crc != unaligned_read32le(in + sizeof(lzma_header_magic) 68 const uint32_t crc = lzma_crc32(in + sizeof(uint32_t), local 70 if (crc != unaligned_read32le(in))
|
H A D | stream_flags_encoder.c | 46 const uint32_t crc = lzma_crc32(out + sizeof(lzma_header_magic), local 50 + LZMA_STREAM_FLAGS_SIZE, crc); 76 const uint32_t crc = lzma_crc32( local 79 unaligned_write32le(out, crc);
|
/netbsd-6-1-5-RELEASE/crypto/external/bsd/openssh/dist/ |
H A D | deattack.c | 86 u_int32_t crc; local 89 crc = 0; 92 crc_update(&crc, 1); 93 crc_update(&crc, 0); 95 crc_update(&crc, 0); 96 crc_update(&crc, 0); 99 return (crc == 0); 122 debug("Installing crc compensation attack detector.");
|
/netbsd-6-1-5-RELEASE/crypto/external/bsd/heimdal/dist/tests/kdc/ |
H A D | check-des.in | 90 ${kadmin} add_enctype -r ${afsserver}@${R} des-cbc-crc || exit 1 91 ${kadmin} add_enctype -r ${hostserver}@${R} des-cbc-crc || exit 1 117 ${klist} -v | grep des-cbc-crc > /dev/null && { ec=1 ; eval "${testfailed}"; } 120 ${klist} -v | grep des-cbc-crc > /dev/null && { ec=1 ; eval "${testfailed}"; } 128 ${kgetcred} -e des-cbc-crc ${hostserver}@${R} 2>/dev/null && \ 132 ${klist} -v | grep des-cbc-crc > /dev/null && { ec=1 ; eval "${testfailed}"; } 142 ${kgetcred} -e des-cbc-crc ${hostserver}@${R} 2>/dev/null && \ 144 ${klist} -v | grep des-cbc-crc > /dev/null && { ec=1 ; eval "${testfailed}"; } 147 ${kgetcred} -e des-cbc-crc ${afsserver}@${R} || { ec=1 ; eval "${testfailed}"; } 148 ${klist} -v | grep des-cbc-crc > /de [all...] |
/netbsd-6-1-5-RELEASE/external/public-domain/xz/dist/src/liblzma/api/lzma/ |
H A D | check.h | 112 * \param crc Previously returned CRC value. This is used to 120 const uint8_t *buf, size_t size, uint32_t crc) 132 const uint8_t *buf, size_t size, uint64_t crc)
|
/netbsd-6-1-5-RELEASE/sys/arch/i386/stand/lib/ |
H A D | isapnp.c | 99 unsigned char crc; member in struct:cardid 111 unsigned char crc = 0x6a; local 136 if (i < 8) /* calc crc for first 8 bytes (app. 138 crc = (crc >> 1) | 139 ((bitset != ((crc & 1) == !(crc & 2))) << 7); 146 if (id->crc != crc)
|
/netbsd-6-1-5-RELEASE/common/dist/zlib/ |
H A D | crc32.c | 19 of the crc tables. Therefore, if you #define DYNAMIC_CRC_TABLE, you should 66 /* Definitions for doing the crc four data bytes at a time. */ 79 /* Local functions for crc concatenation */ 123 /* terms of polynomial defining this crc (except x^32): */ 138 /* generate a crc for every 8-bit value */ 147 /* generate crc for each value followed by one, two, and three zeros, 227 #define DO1 crc = crc_table[0][((int)crc ^ (*buf++)) & 0xff] ^ (crc >> 8) 231 unsigned long ZEXPORT crc32(crc, bu [all...] |