Lines Matching refs:crc
90 uLong crc; /* crc32 of uncompressed data */
150 s->crc = z_crc32(0L, Z_NULL, 0);
372 if ((flags & HEAD_CRC) != 0) { /* skip the header crc */
427 Bytef *start = (Bytef*)buf; /* starting point for crc computation */
497 s->crc = z_crc32(s->crc, start, (uInt)(s->stream.next_out - start));
500 if (getLong(s) != s->crc) {
511 s->crc = z_crc32(0L, Z_NULL, 0);
517 s->crc = z_crc32(s->crc, start, (uInt)(s->stream.next_out - start));
616 s->crc = z_crc32(s->crc, (const Bytef *)buf, len);
896 s->crc = z_crc32(0L, Z_NULL, 0);
924 * crc trailers, z_eof is no longer the only/best indicator of EOF
994 putLong (s->file, s->crc);