Lines Matching defs:crc
63 uLong crc; /* crc32 of uncompressed data */
123 s->crc = crc32(0L, Z_NULL, 0);
345 if ((flags & HEAD_CRC) != 0) { /* skip the header crc */
400 Bytef *start = (Bytef*)buf; /* starting point for crc computation */
470 s->crc = crc32(s->crc, start, (uInt)(s->stream.next_out - start));
473 if (getLong(s) != s->crc) {
484 s->crc = crc32(0L, Z_NULL, 0);
490 s->crc = crc32(s->crc, start, (uInt)(s->stream.next_out - start));
589 s->crc = crc32(s->crc, (const Bytef *)buf, len);
869 s->crc = crc32(0L, Z_NULL, 0);
897 * crc trailers, z_eof is no longer the only/best indicator of EOF
967 putLong (s->file, s->crc);