Home | History | Annotate | Download | only in examples

Lines Matching refs:tot

264 local void gzinit(unsigned long *crc, unsigned long *tot, FILE *out)
268 *tot = 0;
274 the output, and the gzip trailer is written. crc and tot maintains the
277 of gzcopy() to write the gzip header and to initialize crc and tot. */
278 local void gzcopy(char *name, int clr, unsigned long *crc, unsigned long *tot,
409 /* update crc and tot */
411 *tot += (unsigned long)len;
421 put4(*tot, out);
428 unsigned long crc, tot; /* running crc and total uncompressed length */
442 gzinit(&crc, &tot, stdout);
444 gzcopy(*argv++, argc, &crc, &tot, stdout);