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

123

/external/opencv3/3rdparty/include/ffmpeg_/libavutil/
H A Dadler32.h40 * @param adler initial checksum value
45 unsigned long av_adler32_update(unsigned long adler, const uint8_t *buf,
/external/opencv3/3rdparty/zlib/
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...]
H A Dinflate.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/
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/third_party/zlib_v128/
H A Dadler32.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 Ddeflate.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 Dinflate.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/libgdx/extensions/gdx-freetype/jni/freetype-2.6.2/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/auxprogs/
H A Dvalgrind-di-server.c250 UInt adler32( UInt adler, const UChar* buf, UInt len ) argument
257 # define DO1(buf,i) {adler += (buf)[i]; sum2 += adler;}
298 sum2 = (adler >> 16) & 0xffff;
299 adler &= 0xffff;
303 adler += buf[0];
304 if (adler >= BASE)
305 adler -= BASE;
306 sum2 += adler;
309 return adler | (sum
721 UInt adler = adler32(0, NULL, 0); // initial value local
[all...]
/external/valgrind/coregrind/
H A Dm_libcbase.c986 UInt VG_(adler32)( UInt adler, const UChar* buf, UInt len ) argument
993 # define DO1(buf,i) {adler += (buf)[i]; sum2 += adler;}
1034 sum2 = (adler >> 16) & 0xffff;
1035 adler &= 0xffff;
1039 adler += buf[0];
1040 if (adler >= BASE)
1041 adler -= BASE;
1042 sum2 += adler;
1045 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/coregrind/m_debuginfo/
H A Dimage.c223 adler(le32) n_data(le32) data[0 .. n_data-1]
227 UInt adler = VG_(adler32)(0, NULL, 0); local
232 adler = VG_(adler32)(adler, &wr_first8[4], 4);
234 adler = VG_(adler32)(adler, req->data, req->n_data);
235 write_UInt_le(&wr_first8[0], adler);
263 adler = VG_(adler32)(0, NULL, 0); // initial value
264 adler = VG_(adler32)(adler,
[all...]
/external/libxml2/
H A Dxzlib.c502 state->zstrm.adler = crc32(0L, Z_NULL, 0);
596 state->zstrm.adler =
597 crc32(state->zstrm.adler, state->next, state->have);
607 if (crc != state->zstrm.adler) {

Completed in 568 milliseconds

123