Searched refs:adler (Results 1 - 25 of 49) sorted by relevance

12

/external/chromium_org/sdch/open-vcdiff/src/zlib/
H A Dadler32.c15 #define DO1(buf,i) {adler += (buf)[i]; sum2 += adler;}
97 uLong ZEXPORT adler32(adler, buf, len)
98 uLong adler;
106 sum2 = (adler >> 16) & 0xffff;
107 adler &= 0xffff;
111 adler += buf[0];
112 if (adler >= BASE)
113 adler -= BASE;
114 sum2 += adler;
[all...]
H A Dzlib.h99 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
1263 ZEXTERN uLong ZEXPORT adler32 OF((uLong adler, const Bytef *buf, uInt len));
1271 uLong adler
[all...]
/external/chromium_org/third_party/zlib/
H A Dadler32.c18 #define DO1(buf,i) {adler += (buf)[i]; sum2 += adler;}
60 uLong ZEXPORT adler32(adler, buf, len)
61 uLong adler;
69 sum2 = (adler >> 16) & 0xffff;
70 adler &= 0xffff;
74 adler += buf[0];
75 if (adler >= BASE)
76 adler -= BASE;
77 sum2 += adler;
[all...]
H A Ddeflate.c332 strm->adler = adler32(strm->adler, dictionary, dictLength);
381 strm->adler =
616 strm->adler = crc32(0L, Z_NULL, 0);
652 strm->adler = crc32(strm->adler, s->pending_buf,
681 putShortMSB(s, (uInt)(strm->adler >> 16));
682 putShortMSB(s, (uInt)(strm->adler & 0xffff));
684 strm->adler = adler32(0L, Z_NULL, 0);
695 strm->adler
[all...]
H A Dgzread.c198 strm->adler = crc32(0L, Z_NULL, 0);
273 strm->adler = crc32(strm->adler, state->next, state->have);
281 if (crc != strm->adler) {
H A Dinflate.c112 strm->adler = 1; /* to support ill-conceived Java test suite */
666 strm->adler = state->check = adler32(0L, Z_NULL, 0);
794 strm->adler = state->check = crc32(0L, Z_NULL, 0);
800 strm->adler = state->check = REVERSE(hold);
808 strm->adler = state->check = adler32(0L, Z_NULL, 0);
1166 strm->adler = state->check =
1228 strm->adler = state->check =
/external/qemu/distrib/zlib-1.2.8/
H A Dadler32.c18 #define DO1(buf,i) {adler += (buf)[i]; sum2 += adler;}
65 uLong ZEXPORT adler32(adler, buf, len)
66 uLong adler;
74 sum2 = (adler >> 16) & 0xffff;
75 adler &= 0xffff;
79 adler += buf[0];
80 if (adler >= BASE)
81 adler -= BASE;
82 sum2 += adler;
[all...]
H A Ddeflate.c343 strm->adler = adler32(strm->adler, dictionary, dictLength);
414 strm->adler =
693 strm->adler = crc32(0L, Z_NULL, 0);
729 strm->adler = crc32(strm->adler, s->pending_buf,
758 putShortMSB(s, (uInt)(strm->adler >> 16));
759 putShortMSB(s, (uInt)(strm->adler & 0xffff));
761 strm->adler = adler32(0L, Z_NULL, 0);
772 strm->adler
[all...]
/external/zlib/src/
H A Dadler32.c18 #define DO1(buf,i) {adler += (buf)[i]; sum2 += adler;}
65 uLong ZEXPORT adler32(adler, buf, len)
66 uLong adler;
74 sum2 = (adler >> 16) & 0xffff;
75 adler &= 0xffff;
79 adler += buf[0];
80 if (adler >= BASE)
81 adler -= BASE;
82 sum2 += adler;
[all...]
H A Ddeflate.c343 strm->adler = adler32(strm->adler, dictionary, dictLength);
414 strm->adler =
693 strm->adler = crc32(0L, Z_NULL, 0);
729 strm->adler = crc32(strm->adler, s->pending_buf,
758 putShortMSB(s, (uInt)(strm->adler >> 16));
759 putShortMSB(s, (uInt)(strm->adler & 0xffff));
761 strm->adler = adler32(0L, Z_NULL, 0);
772 strm->adler
[all...]
/external/pdfium/core/src/fxcodec/fx_zlib/zlib_v128/
H A Dfx_zlib_adler32.c18 #define DO1(buf,i) {adler += (buf)[i]; sum2 += adler;}
66 uLong adler,
74 sum2 = (adler >> 16) & 0xffff;
75 adler &= 0xffff;
79 adler += buf[0];
80 if (adler >= BASE)
81 adler -= BASE;
82 sum2 += adler;
85 return adler | (sum
65 adler32( uLong adler, const Bytef *buf, uInt len) argument
[all...]
H A Dfx_zlib_deflate.c342 strm->adler = adler32(strm->adler, dictionary, dictLength);
413 strm->adler =
692 strm->adler = crc32(0L, Z_NULL, 0);
728 strm->adler = crc32(strm->adler, s->pending_buf,
757 putShortMSB(s, (uInt)(strm->adler >> 16));
758 putShortMSB(s, (uInt)(strm->adler & 0xffff));
760 strm->adler = adler32(0L, Z_NULL, 0);
771 strm->adler
[all...]
H A Dfx_zlib_inflate.c114 strm->adler = state->wrap & 1;
682 strm->adler = state->check = adler32(0L, Z_NULL, 0);
810 strm->adler = state->check = crc32(0L, Z_NULL, 0);
816 strm->adler = state->check = ZSWAP32(hold);
824 strm->adler = state->check = adler32(0L, Z_NULL, 0);
1181 strm->adler = state->check =
1244 strm->adler = state->check =
/external/zlib/src/contrib/dotzlib/DotZLib/
H A DUnitTests.cs121 AdlerChecksum adler = new AdlerChecksum();
122 Assert.AreEqual(0, adler.Value);
124 adler = new AdlerChecksum(1);
125 Assert.AreEqual( 1, adler.Value );
127 adler = new AdlerChecksum(556);
128 Assert.AreEqual( 556, adler.Value );
134 AdlerChecksum adler = new AdlerChecksum(1);
136 adler.Update(data);
137 Assert.AreEqual( 0x5b001d, adler.Value );
139 adler
[all...]
H A DInflater.cs77 setChecksum( _ztream.adler );
93 setChecksum( _ztream.adler );
H A DDeflater.cs79 setChecksum( _ztream.adler );
95 setChecksum( _ztream.adler );
H A DChecksumImpl.cs160 private static extern uint adler32(uint adler, int data, uint length); argument
H A DDotZLib.cs49 public uint adler; field in struct:DotZLib.ZStream
/external/freetype/src/gzip/
H A Dadler32.c21 ZEXPORT(uLong) adler32( /* adler, buf, len) */
22 uLong adler,
26 unsigned long s1 = adler & 0xffff;
27 unsigned long s2 = (adler >> 16) & 0xffff;
H A Dinfutil.c46 z->adler = s->check = (*s->checkfn)(s->check, q, n);
72 z->adler = s->check = (*s->checkfn)(s->check, q, n);
H A Dzlib.h85 uLong adler; /* adler32 value of the uncompressed data */ member in struct:z_stream_s
258 deflate() sets strm->adler to the adler32 checksum of all input read
356 below), inflate sets strm-adler to the adler32 checksum of the
358 it sets strm->adler to the adler32 checksum of all output produced
459 Upon return of this function, strm->adler is set to the Adler32 value
775 ZEXTERN(uLong) adler32 OF((uLong adler, const Bytef *buf, uInt len));
784 uLong adler = adler32(0L, Z_NULL, 0);
787 adler = adler32(adler, buffer, length);
789 if (adler !
[all...]
/external/valgrind/main/auxprogs/
H A Dvalgrind-di-server.c229 UInt adler32( UInt adler, const UChar* buf, UInt len ) argument
236 # define DO1(buf,i) {adler += (buf)[i]; sum2 += adler;}
277 sum2 = (adler >> 16) & 0xffff;
278 adler &= 0xffff;
282 adler += buf[0];
283 if (adler >= BASE)
284 adler -= BASE;
285 sum2 += adler;
288 return adler | (sum
700 UInt adler = adler32(0, NULL, 0); // initial value local
[all...]
/external/valgrind/main/coregrind/
H A Dm_libcbase.c964 UInt VG_(adler32)( UInt adler, const UChar* buf, UInt len ) argument
971 # define DO1(buf,i) {adler += (buf)[i]; sum2 += adler;}
1012 sum2 = (adler >> 16) & 0xffff;
1013 adler &= 0xffff;
1017 adler += buf[0];
1018 if (adler >= BASE)
1019 adler -= BASE;
1020 sum2 += adler;
1023 return adler | (sum
[all...]
/external/zlib/src/examples/
H A Dgzappend.c371 strm->adler = crc;
420 if (len) strm->adler = crc32(strm->adler, in, (unsigned)len);
439 out[0] = (unsigned char)(strm->adler);
440 out[1] = (unsigned char)(strm->adler >> 8);
441 out[2] = (unsigned char)(strm->adler >> 16);
442 out[3] = (unsigned char)(strm->adler >> 24);
/external/valgrind/main/coregrind/m_debuginfo/
H A Dimage.c221 adler(le32) n_data(le32) data[0 .. n_data-1]
225 UInt adler = VG_(adler32)(0, NULL, 0); local
230 adler = VG_(adler32)(adler, &wr_first8[4], 4);
232 adler = VG_(adler32)(adler, req->data, req->n_data);
233 write_UInt_le(&wr_first8[0], adler);
261 adler = VG_(adler32)(0, NULL, 0); // initial value
262 adler = VG_(adler32)(adler,
[all...]

Completed in 472 milliseconds

12