Searched refs:adler (Results 1 – 4 of 4) sorted by relevance
| /rk3399_rockchip-uboot/lib/zlib/ |
| H A D | adler32.c | 15 #define DO1(buf,i) {adler += (buf)[i]; sum2 += adler;} 57 uLong ZEXPORT adler32(uLong adler, const Bytef *buf, uInt len) in adler32() argument 63 sum2 = (adler >> 16) & 0xffff; in adler32() 64 adler &= 0xffff; in adler32() 68 adler += buf[0]; in adler32() 69 if (adler >= BASE) in adler32() 70 adler -= BASE; in adler32() 71 sum2 += adler; in adler32() 74 return adler | (sum2 << 16); in adler32() 84 adler += *buf++; in adler32() [all …]
|
| H A D | deflate.c | 328 strm->adler = adler32(strm->adler, dictionary, dictLength); 375 strm->adler = 608 strm->adler = crc32(0L, Z_NULL, 0); 644 strm->adler = crc32(strm->adler, s->pending_buf, 673 putShortMSB(s, (uInt)(strm->adler >> 16)); 674 putShortMSB(s, (uInt)(strm->adler & 0xffff)); 676 strm->adler = adler32(0L, Z_NULL, 0); 687 strm->adler = crc32(strm->adler, s->pending_buf + beg, 698 strm->adler = crc32(strm->adler, s->pending_buf + beg, 716 strm->adler = crc32(strm->adler, s->pending_buf + beg, [all …]
|
| H A D | inflate.c | 16 strm->adler = 1; /* to support ill-conceived Java test suite */ in inflateReset() 401 strm->adler = state->check = adler32(0L, Z_NULL, 0); in inflate() 529 strm->adler = state->check = crc32(0L, Z_NULL, 0); in inflate() 535 strm->adler = state->check = REVERSE(hold); in inflate() 543 strm->adler = state->check = adler32(0L, Z_NULL, 0); in inflate() 858 strm->adler = state->check = in inflate() 920 strm->adler = state->check = in inflate()
|
| /rk3399_rockchip-uboot/include/u-boot/ |
| H A D | zlib.h | 435 uLong adler; /* adler32 value of the uncompressed data */ member 674 ZEXTERN uLong ZEXPORT adler32 OF((uLong adler, const Bytef *buf, uInt len));
|