Searched refs:crc32 (Results 1 - 8 of 8) sorted by relevance

/ast/src/lib/libz/
H A DMakefile15 crc32.h deflate.h inffast.h inffixed.h inflate.h inftrees.h trees.h \
16 adler32.c compress.c crc32.c deflate.c gzio.c infback.c inffast.c \
H A Ddeflate.c381 s->wrap == 2 ? crc32(0L, Z_NULL, 0) :
580 strm->adler = crc32(0L, Z_NULL, 0);
616 strm->adler = crc32(strm->adler, s->pending_buf,
659 strm->adler = crc32(strm->adler, s->pending_buf + beg,
670 strm->adler = crc32(strm->adler, s->pending_buf + beg,
688 strm->adler = crc32(strm->adler, s->pending_buf + beg,
701 strm->adler = crc32(strm->adler, s->pending_buf + beg,
719 strm->adler = crc32(strm->adler, s->pending_buf + beg,
732 strm->adler = crc32(strm->adler, s->pending_buf + beg,
747 strm->adler = crc32(
[all...]
H A Dinflate.c375 /* check function to use adler32() for zlib or crc32() for gzip */
378 (state->flags ? crc32(check, buf, len) : adler32(check, buf, len))
389 check = crc32(check, hbuf, 2); \
398 check = crc32(check, hbuf, 4); \
597 state->check = crc32(0L, Z_NULL, 0);
693 state->check = crc32(state->check, next, copy);
714 state->check = crc32(state->check, next, copy);
735 state->check = crc32(state->check, next, copy);
757 strm->adler = state->check = crc32(0L, Z_NULL, 0);
H A Dgzio.c69 uLong crc; /* crc32 of uncompressed data */
137 s->crc = crc32(0L, Z_NULL, 0);
563 s->crc = crc32(s->crc, start, (uInt)(s->stream.next_out - start));
584 s->crc = crc32(0L, Z_NULL, 0);
597 s->crc = crc32(s->crc, start, (uInt)(s->stream.next_out - start));
696 s->crc = crc32(s->crc, (const Bytef *)buf, len);
1014 s->crc = crc32(0L, Z_NULL, 0);
H A Dcrc32.c0 /* crc32.c -- compute the CRC-32 of a data stream
19 one thread to use crc32().
157 /* write out CRC tables to crc32.h */
161 out = fopen("crc32.h", "w");
163 fprintf(out, "/* crc32.h -- tables for rapid CRC calculation\n");
164 fprintf(out, " * Generated automatically by crc32.c\n */\n\n");
199 #include "crc32.h"
203 * This function can be used by asm versions of crc32()
219 unsigned long ZEXPORT crc32(crc, buf, len) function
H A Dzconf.h59 # define crc32 z_crc32 macro
H A Dzlib.h509 gzip stream is being written, strm->adler is a crc32 instead of an adler32.
717 recommended that a check value such as an adler32 or a crc32 be applied to
726 a crc32 instead of an adler32.
1312 ZEXTERN uLong ZEXPORT crc32 OF((uLong crc, const Bytef *buf, uInt len));
1320 uLong crc = crc32(0L, Z_NULL, 0);
1323 crc = crc32(crc, buffer, length);
/ast/src/cmd/INIT/
H A Dratz.c997 /* crc32.h -- tables for rapid CRC calculation
998 * Generated automatically by crc32.c
1073 unsigned long ZEXPORT crc32(crc, buf, len) function
2594 /* check function to use adler32() for zlib or crc32() for gzip */
2597 (state->flags ? crc32(check, buf, len) : adler32(check, buf, len))
2608 check = crc32(check, hbuf, 2); \
2617 check = crc32(check, hbuf, 4); \
2816 state->check = crc32(0L, Z_NULL, 0);
2912 state->check = crc32(state->check, next, copy);
2933 state->check = crc32(stat
[all...]

Completed in 37 milliseconds