Lines Matching defs:crc
46 uLong crc; /* crc32 of uncompressed data */
99 s->crc = crc32(0L, Z_NULL, 0);
305 if ((flags & HEAD_CRC) != 0) { /* skip the header crc */
360 Bytef *start = (Bytef*)buf; /* starting point for crc computation */
413 s->crc = crc32(s->crc, start, (uInt)(s->stream.next_out - start));
416 if (getLong(s) != s->crc) {
432 s->crc = crc32(0L, Z_NULL, 0);
438 s->crc = crc32(s->crc, start, (uInt)(s->stream.next_out - start));
511 s->crc = crc32(s->crc, (const Bytef *)buf, len);
751 s->crc = crc32(0L, Z_NULL, 0);
836 putLong (s->file, s->crc);