Searched refs:adler (Results 1 - 6 of 6) sorted by relevance
/ast/src/lib/libz/ |
H A D | adler32.c | 15 #define DO1(buf,i) {adler += (buf)[i]; sum2 += adler;} 57 uLong ZEXPORT adler32(adler, buf, len) 58 uLong adler; 66 sum2 = (adler >> 16) & 0xffff; 67 adler &= 0xffff; 71 adler += buf[0]; 72 if (adler >= BASE) 73 adler -= BASE; 74 sum2 += adler; [all...] |
H A D | deflate.c | 332 strm->adler = adler32(strm->adler, dictionary, dictLength); 379 strm->adler = 580 strm->adler = crc32(0L, Z_NULL, 0); 616 strm->adler = crc32(strm->adler, s->pending_buf, 645 putShortMSB(s, (uInt)(strm->adler >> 16)); 646 putShortMSB(s, (uInt)(strm->adler & 0xffff)); 648 strm->adler = adler32(0L, Z_NULL, 0); 659 strm->adler [all...] |
H A D | inflate.c | 112 strm->adler = 1; /* to support ill-conceived Java test suite */ 629 strm->adler = state->check = adler32(0L, Z_NULL, 0); 757 strm->adler = state->check = crc32(0L, Z_NULL, 0); 763 strm->adler = state->check = REVERSE(hold); 771 strm->adler = state->check = adler32(0L, Z_NULL, 0); 1084 strm->adler = state->check = 1146 strm->adler = state->check =
|
H A D | zlib.h | 99 uLong adler; /* adler32 value of the uncompressed data */ member in struct:z_stream_s 309 deflate() sets strm->adler to the adler32 checksum of all input read 431 below), inflate sets strm->adler to the adler32 checksum of the dictionary 433 strm->adler to the adler32 checksum of all output produced so far (that is, 509 gzip stream is being written, strm->adler is a crc32 instead of an adler32. 563 Upon return of this function, strm->adler is set to the adler32 value 568 adler32 value is not computed and strm->adler is not set. 725 return a Z_DATA_ERROR). If a gzip stream is being decoded, strm->adler is 1287 ZEXTERN uLong ZEXPORT adler32 OF((uLong adler, const Bytef *buf, uInt len)); 1295 uLong adler [all...] |
H A D | example.c | 444 dictId = c_stream.adler; 489 if (d_stream.adler != dictId) {
|
/ast/src/cmd/INIT/ |
H A D | ratz.c | 522 uLong adler; /* adler32 value of the uncompressed data */ member in struct:z_stream_s 1119 #define DO1(buf,i) {adler += (buf)[i]; sum2 += adler;} 1161 uLong ZEXPORT adler32(adler, buf, len) 1162 uLong adler; 1170 sum2 = (adler >> 16) & 0xffff; 1171 adler &= 0xffff; 1175 adler += buf[0]; 1176 if (adler >= BASE) 1177 adler [all...] |
Completed in 22 milliseconds