Home
last modified time | relevance | path

Searched refs:adler (Results 1 – 14 of 14) sorted by relevance

/OK3568_Linux_fs/u-boot/lib/zlib/
H A Dadler32.c15 #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 Ddeflate.c328 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 Dinflate.c16 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()
/OK3568_Linux_fs/kernel/include/linux/
H A Dzutil.h78 static inline uLong zlib_adler32(uLong adler, in zlib_adler32() argument
82 unsigned long s1 = adler & 0xffff; in zlib_adler32()
83 unsigned long s2 = (adler >> 16) & 0xffff; in zlib_adler32()
H A Dzlib.h99 uLong adler; /* adler32 value of the uncompressed data */ member
/OK3568_Linux_fs/kernel/lib/zlib_inflate/
H A Dinflate.c41 strm->adler = 1; /* to support ill-conceived Java test suite */ in zlib_inflateReset()
390 strm->adler = state->check = zlib_adler32(0L, NULL, 0); in zlib_inflate()
396 strm->adler = state->check = REVERSE(hold); in zlib_inflate()
405 strm->adler = state->check = zlib_adler32(0L, NULL, 0); in zlib_inflate()
711 strm->adler = state->check = in zlib_inflate()
754 strm->adler = state->check = in zlib_inflate()
804 z->adler = state->check = in zlib_inflateIncomp()
/OK3568_Linux_fs/kernel/lib/zlib_deflate/
H A Ddeflate.c303 strm->adler = 1; in zlib_deflateReset()
369 putShortMSB(s, (uInt)(strm->adler >> 16)); in zlib_deflate()
370 putShortMSB(s, (uInt)(strm->adler & 0xffff)); in zlib_deflate()
372 strm->adler = 1L; in zlib_deflate()
457 putShortMSB(s, (uInt)(strm->adler >> 16)); in zlib_deflate()
458 putShortMSB(s, (uInt)(strm->adler & 0xffff)); in zlib_deflate()
511 strm->adler = zlib_adler32(strm->adler, strm->next_in, len); in read_buf()
/OK3568_Linux_fs/kernel/lib/zlib_dfltcc/
H A Ddfltcc_deflate.c209 param->cv = strm->adler; in dfltcc_deflate()
241 strm->adler = param->cv; in dfltcc_deflate()
/OK3568_Linux_fs/kernel/arch/powerpc/platforms/powermac/
H A Dnvram.c63 u32 adler; member
273 if (hdr99->adler != core99_calc_adler(datas)) { in core99_check()
490 hdr99->adler = core99_calc_adler(nvram_image); in core99_nvram_sync()
/OK3568_Linux_fs/u-boot/include/u-boot/
H A Dzlib.h435 uLong adler; /* adler32 value of the uncompressed data */ member
674 ZEXTERN uLong ZEXPORT adler32 OF((uLong adler, const Bytef *buf, uInt len));
/OK3568_Linux_fs/external/security/rk_tee_user/v2/export-ta_arm32/host_include/
H A Dzlib.h102 uLong adler; /* adler32 value of the uncompressed data */ member
1569 ZEXTERN uLong ZEXPORT adler32 OF((uLong adler, const Bytef *buf, uInt len));
/OK3568_Linux_fs/external/security/rk_tee_user/v2/export-ta_arm32/include/
H A Dzlib.h102 uLong adler; /* adler32 value of the uncompressed data */ member
1569 ZEXTERN uLong ZEXPORT adler32 OF((uLong adler, const Bytef *buf, uInt len));
/OK3568_Linux_fs/external/security/rk_tee_user/v2/export-ta_arm64/include/
H A Dzlib.h102 uLong adler; /* adler32 value of the uncompressed data */ member
1569 ZEXTERN uLong ZEXPORT adler32 OF((uLong adler, const Bytef *buf, uInt len));
/OK3568_Linux_fs/external/security/rk_tee_user/v2/export-ta_arm64/host_include/
H A Dzlib.h102 uLong adler; /* adler32 value of the uncompressed data */ member
1569 ZEXTERN uLong ZEXPORT adler32 OF((uLong adler, const Bytef *buf, uInt len));