Searched refs:crc (Results 1 - 8 of 8) sorted by relevance
/ast/src/lib/libz/ |
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...] |
H A D | gzio.c | 69 uLong crc; /* crc32 of uncompressed data */ member in struct:gz_stream 75 int nocrc; /* 1 to skip 'r' crc checks */ 137 s->crc = crc32(0L, Z_NULL, 0); 431 if ((flags & HEAD_CRC) != 0) { /* skip the header crc */ 490 Bytef *start = (Bytef*)buf; /* starting point for crc computation */ 563 s->crc = crc32(s->crc, start, (uInt)(s->stream.next_out - start)); 567 if (getLong(s) != s->crc && !s->nocrc) { 569 if (getLong(s) != s->crc) { 584 s->crc 1027 int crc = !s->nocrc; local [all...] |
H A D | zlib.h | 121 int hcrc; /* true if there was or will be a header crc */ 508 no header crc, and the operating system will be set to 255 (unknown). If a 680 available there. If hcrc is true, a gzip header crc is included. Note that 682 1.3.x) do not support header crc's, and will report that it is a "multi-part 981 and decode gzip streams (to avoid linking crc code) 1312 ZEXTERN uLong ZEXPORT crc32 OF((uLong crc, const Bytef *buf, uInt len)); 1316 value for the for the crc. Pre- and post-conditioning (one's complement) is 1320 uLong crc = crc32(0L, Z_NULL, 0); 1323 crc = crc32(crc, buffe [all...] |
/ast/src/lib/libuu/ |
H A D | uulib.c | 570 unsigned long crc; member in struct:__anon445 578 * add c to the binhex Q format crc 586 register unsigned long crc = bx->crc; local 591 if ((crc <<= 1) & 0x10000) 592 crc = (crc & 0xFFFF) ^ 0x1021; 593 crc ^= k >> 8; 596 bx->crc = crc; 612 unsigned long crc; local 819 unsigned long crc; local 930 register unsigned long crc = bx->crc; local 962 register unsigned long crc; local 1008 unsigned long crc; local [all...] |
/ast/src/cmd/codexlib/gzip/ |
H A D | gzip.c | 21 int crc; member in struct:State_s 46 int crc = 1; local 75 else if (!streq(e, "crc")) 76 crc = v; 98 state->crc = crc; 117 if (!state->crc) 152 " " S(MINLEVEL) ":least, " S(MAXLEVEL) ":most(default). nocrc disables crc checks.",
|
/ast/src/cmd/pax/ |
H A D | cpio.sh | 95 crc|CRC) format=aschk ;; 99 *) print -u2 "$command: $OPTARG: formats are {asc,crc,odc,tar,star}"; exit 1 ;;
|
/ast/src/cmd/INIT/ |
H A D | ratz.c | 1069 #define DO1 crc = crc_table[0][((int)crc ^ (*buf++)) & 0xff] ^ (crc >> 8) 1073 unsigned long ZEXPORT crc32(crc, buf, len) 1074 unsigned long crc; 1091 return crc32_little(crc, buf, len); 1093 return crc32_big(crc, buf, len); 1096 crc = crc ^ 0xffffffff; 1104 return crc [all...] |
/ast/src/lib/libsum/ |
H A D | sumlib.c | 155 #include "sum-crc.c" 182 METHOD(crc), 208 "The posix 1003.2-1992 32 bit crc checksum. This is the" 210 "crc-0x04c11db7-rotate-done-size" 214 "The \bzip\b(1) crc.", 215 "crc-0xedb88320-init-done" 219 "The FDDI crc.", 220 "crc-0xedb88320-size=0xcc55cc55"
|
Completed in 32 milliseconds