crc 8 include/firmware_crc_types.h unsigned crc; crc 94 modules/file_shelter.c void crc32(const void *data, unsigned long n_bytes, unsigned long* crc) { crc 103 modules/file_shelter.c *crc = ct[(unsigned char)*crc ^ ((unsigned char*)data)[i]] ^ *crc >> 8; crc 147 modules/file_shelter.c int compute_file_crc_f(char *fn, void *buf, int size, int bufsize, unsigned long *crc) crc 150 modules/file_shelter.c if (!fn || !buf || !crc || !bufsize) { crc 164 modules/file_shelter.c crc32(buf, r, crc); crc 175 modules/file_shelter.c int compute_file_crc_o(char *fn, void *buf, int size, int bufsize, unsigned long *crc) crc 178 modules/file_shelter.c if (!fn || !buf || !crc || !bufsize) { crc 192 modules/file_shelter.c crc32(buf, r, crc); crc 259 modules/file_shelter.c int compute_file_crc(char *fn, void *buf, int size, int bufsize, unsigned long *crc) crc 262 modules/file_shelter.c return compute_file_crc_o(fn, buf, size, bufsize, crc); crc 264 modules/file_shelter.c return compute_file_crc_f(fn, buf, size, bufsize, crc); crc 460 modules/file_shelter.c unsigned long crc; // crc32 of file data crc 596 modules/file_shelter.c fh->crc = 0; crc 612 modules/file_shelter.c fh->crc = 0; crc 625 modules/file_shelter.c crc32(storptr, fh->size, &fh->crc); // fh->crc is set to zero prior to this crc 729 modules/file_shelter.c unsigned long crc = 0; crc 739 modules/file_shelter.c crc32(fd, fh->size, &crc); // crc is set to zero prior to this crc 740 modules/file_shelter.c if (crc != fh->crc) { crc 759 modules/file_shelter.c crc = 0; crc 760 modules/file_shelter.c if ( compute_file_crc(buf, tmpbuf, fh->size, tmpsiz, &crc) ) { crc 766 modules/file_shelter.c if ( fh->crc != crc) { crc 882 modules/file_shelter.c unsigned long crc = 0; crc 887 modules/file_shelter.c crc32(starea, stmax, &crc); crc 888 modules/file_shelter.c if (crc == stcrc) { crc 900 modules/file_shelter.c unsigned long crc = 0; crc 905 modules/file_shelter.c crc32(starea, stmax, &crc); crc 906 modules/file_shelter.c if (crc == stcrc) { crc 29 modules/firmware_crc.c void crc32(const void *data, unsigned long n_bytes, unsigned long* crc) { crc 38 modules/firmware_crc.c *crc = ct[(unsigned char)*crc ^ ((unsigned char*)data)[i]] ^ *crc >> 8; crc 125 modules/firmware_crc.c if(fw_crc != blocks[b].crc) { crc 215 tools/packfi2/crc32.c #define DO1 crc = crc_table[0][((int)crc ^ (*buf++)) & 0xff] ^ (crc >> 8) crc 219 tools/packfi2/crc32.c unsigned long ZEXPORT crc32(crc, buf, len) crc 220 tools/packfi2/crc32.c unsigned long crc; crc 237 tools/packfi2/crc32.c return crc32_little(crc, buf, len); crc 239 tools/packfi2/crc32.c return crc32_big(crc, buf, len); crc 242 tools/packfi2/crc32.c crc = crc ^ 0xffffffffUL; crc 250 tools/packfi2/crc32.c return crc ^ 0xffffffffUL; crc 262 tools/packfi2/crc32.c local unsigned long crc32_little(crc, buf, len) crc 263 tools/packfi2/crc32.c unsigned long crc; crc 270 tools/packfi2/crc32.c c = (u4)crc; crc 302 tools/packfi2/crc32.c local unsigned long crc32_big(crc, buf, len) crc 303 tools/packfi2/crc32.c unsigned long crc; crc 310 tools/packfi2/crc32.c c = REV((u4)crc); crc 1285 tools/packfi2/zlib.h ZEXTERN uLong ZEXPORT crc32 OF((uLong crc, const Bytef *buf, uInt len));