Lines Matching defs:crc
239 /* skip header crc if present */
265 local void gzinit(unsigned long *crc, unsigned long *tot, FILE *out)
268 *crc = crc32(0L, Z_NULL, 0);
275 the output, and the gzip trailer is written. crc and tot maintains the
276 crc and length (modulo 2^32) of the output for the trailer. The resulting
278 of gzcopy() to write the gzip header and to initialize crc and tot. */
279 local void gzcopy(char *name, int clr, unsigned long *crc, unsigned long *tot,
410 /* update crc and tot */
411 *crc = crc32_combine(*crc, bget4(in), len);
421 put4(*crc, out);
429 unsigned long crc, tot; /* running crc and total uncompressed length */
443 gzinit(&crc, &tot, stdout);
445 gzcopy(*argv++, argc, &crc, &tot, stdout);