/external/zlib/src/ |
D | adler32.c | 18 #define DO1(buf,i) {adler += (buf)[i]; sum2 += adler;} 65 uLong ZEXPORT adler32(adler, buf, len) in adler32() argument 66 uLong adler; in adler32() 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 | (sum2 << 16); [all …]
|
D | deflate.c | 343 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 = crc32(strm->adler, s->pending_buf + beg, 783 strm->adler = crc32(strm->adler, s->pending_buf + beg, 801 strm->adler = crc32(strm->adler, s->pending_buf + beg, [all …]
|
D | inflate.c | 114 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/pdfium/core/src/fxcodec/fx_zlib/zlib_v128/ |
D | fx_zlib_adler32.c | 18 #define DO1(buf,i) {adler += (buf)[i]; sum2 += adler;} 66 uLong adler, in adler32() argument 74 sum2 = (adler >> 16) & 0xffff; in adler32() 75 adler &= 0xffff; in adler32() 79 adler += buf[0]; in adler32() 80 if (adler >= BASE) in adler32() 81 adler -= BASE; in adler32() 82 sum2 += adler; in adler32() 85 return adler | (sum2 << 16); in adler32() 95 adler += *buf++; in adler32() [all …]
|
D | fx_zlib_deflate.c | 342 strm->adler = adler32(strm->adler, dictionary, dictLength); in deflateSetDictionary() 413 strm->adler = in deflateResetKeep() 692 strm->adler = crc32(0L, Z_NULL, 0); in deflate() 728 strm->adler = crc32(strm->adler, s->pending_buf, in deflate() 757 putShortMSB(s, (uInt)(strm->adler >> 16)); in deflate() 758 putShortMSB(s, (uInt)(strm->adler & 0xffff)); in deflate() 760 strm->adler = adler32(0L, Z_NULL, 0); in deflate() 771 strm->adler = crc32(strm->adler, s->pending_buf + beg, in deflate() 782 strm->adler = crc32(strm->adler, s->pending_buf + beg, in deflate() 800 strm->adler = crc32(strm->adler, s->pending_buf + beg, in deflate() [all …]
|
D | fx_zlib_inflate.c | 114 strm->adler = state->wrap & 1; in inflateResetKeep() 682 strm->adler = state->check = adler32(0L, Z_NULL, 0); in inflate() 810 strm->adler = state->check = crc32(0L, Z_NULL, 0); in inflate() 816 strm->adler = state->check = ZSWAP32(hold); in inflate() 824 strm->adler = state->check = adler32(0L, Z_NULL, 0); in inflate() 1181 strm->adler = state->check = in inflate() 1244 strm->adler = state->check = in inflate()
|
/external/zlib/src/contrib/dotzlib/DotZLib/ |
D | UnitTests.cs | 121 AdlerChecksum adler = new AdlerChecksum(); in Adler_Null() 122 Assert.AreEqual(0, adler.Value); in Adler_Null() 124 adler = new AdlerChecksum(1); in Adler_Null() 125 Assert.AreEqual( 1, adler.Value ); in Adler_Null() 127 adler = new AdlerChecksum(556); in Adler_Null() 128 Assert.AreEqual( 556, adler.Value ); in Adler_Null() 134 AdlerChecksum adler = new AdlerChecksum(1); in Adler_Data() 136 adler.Update(data); in Adler_Data() 137 Assert.AreEqual( 0x5b001d, adler.Value ); in Adler_Data() 139 adler = new AdlerChecksum(); in Adler_Data() [all …]
|
D | Inflater.cs | 77 setChecksum( _ztream.adler ); in Add() 93 setChecksum( _ztream.adler ); in Finish()
|
D | Deflater.cs | 79 setChecksum( _ztream.adler ); in Add() 95 setChecksum( _ztream.adler ); in Finish()
|
D | ChecksumImpl.cs | 160 private static extern uint adler32(uint adler, int data, uint length); in adler32() argument
|
D | DotZLib.cs | 49 public uint adler; field
|
/external/valgrind/auxprogs/ |
D | valgrind-di-server.c | 248 UInt adler32( UInt adler, const UChar* buf, UInt len ) in adler32() argument 255 # define DO1(buf,i) {adler += (buf)[i]; sum2 += adler;} in adler32() 296 sum2 = (adler >> 16) & 0xffff; in adler32() 297 adler &= 0xffff; in adler32() 301 adler += buf[0]; in adler32() 302 if (adler >= BASE) in adler32() 303 adler -= BASE; in adler32() 304 sum2 += adler; in adler32() 307 return adler | (sum2 << 16); in adler32() 317 adler += *buf++; in adler32() [all …]
|
/external/valgrind/coregrind/ |
D | m_libcbase.c | 986 UInt VG_(adler32)( UInt adler, const UChar* buf, UInt len ) in VG_() 993 # define DO1(buf,i) {adler += (buf)[i]; sum2 += adler;} in VG_() 1034 sum2 = (adler >> 16) & 0xffff; in VG_() 1035 adler &= 0xffff; in VG_() 1039 adler += buf[0]; in VG_() 1040 if (adler >= BASE) in VG_() 1041 adler -= BASE; in VG_() 1042 sum2 += adler; in VG_() 1045 return adler | (sum2 << 16); in VG_() 1055 adler += *buf++; in VG_() [all …]
|
/external/freetype/src/gzip/ |
D | adler32.c | 22 uLong adler, in adler32() argument 26 unsigned long s1 = adler & 0xffff; in adler32() 27 unsigned long s2 = (adler >> 16) & 0xffff; in adler32()
|
D | infutil.c | 46 z->adler = s->check = (*s->checkfn)(s->check, q, n); in inflate_flush() 72 z->adler = s->check = (*s->checkfn)(s->check, q, n); in inflate_flush()
|
D | zlib.h | 85 uLong adler; /* adler32 value of the uncompressed data */ member 775 ZEXTERN(uLong) adler32 OF((uLong adler, const Bytef *buf, uInt len));
|
/external/zlib/src/examples/ |
D | gzappend.c | 371 strm->adler = crc; in gzscan() 420 if (len) strm->adler = crc32(strm->adler, in, (unsigned)len); in gztack() 439 out[0] = (unsigned char)(strm->adler); in gztack() 440 out[1] = (unsigned char)(strm->adler >> 8); in gztack() 441 out[2] = (unsigned char)(strm->adler >> 16); in gztack() 442 out[3] = (unsigned char)(strm->adler >> 24); in gztack()
|
/external/valgrind/coregrind/m_debuginfo/ |
D | image.c | 227 UInt adler = VG_(adler32)(0, NULL, 0); in do_transaction() local 232 adler = VG_(adler32)(adler, &wr_first8[4], 4); in do_transaction() 234 adler = VG_(adler32)(adler, req->data, req->n_data); in do_transaction() 235 write_UInt_le(&wr_first8[0], adler); in do_transaction() 263 adler = VG_(adler32)(0, NULL, 0); // initial value in do_transaction() 264 adler = VG_(adler32)(adler, &rd_first8[4], 4); in do_transaction() 266 adler = VG_(adler32)(adler, res->data, res->n_data); in do_transaction() 268 if (adler/*computed*/ != rd_adler/*expected*/) return NULL; in do_transaction()
|
/external/chromium-trace/trace-viewer/tracing/third_party/jszip/ |
D | jszip.min.js | 13 …adler=E(a.adler,b,e,c):2===a.state.wrap&&(a.adler=F(a.adler,b,e,c)),a.next_in+=e,a.total_in+=e,e)}… 14 …adler=c.check=c.flags?t(c.check,f,p,h-p):s(c.check,f,p,h-p)),p=j,(c.flags?m:d(m))!==c.check){a.msg…
|
/external/libxml2/ |
D | xzlib.c | 500 state->zstrm.adler = crc32(0L, Z_NULL, 0); in xz_head() 590 state->zstrm.adler = in xz_decomp() 591 crc32(state->zstrm.adler, state->next, state->have); in xz_decomp() 601 if (crc != state->zstrm.adler) { in xz_decomp()
|
/external/pdfium/samples/fx_lpng/lpng_v163/ |
D | fx_png.c | 2077 png_uint_32 adler, crc, length; 2084 # define PNG_ICC_CHECKSUM(adler, crc, md5, intent, broke, date, length, fname)\ 2085 { adler, crc, length, md5, broke, intent }, 2138 png_const_bytep profile, uLong adler) 2182 if (adler == 0) 2184 adler = adler32(0, NULL, 0); 2185 adler = adler32(adler, profile, length); 2188 if (adler == png_sRGB_checks[i].adler) 2252 png_colorspacerp colorspace, png_const_bytep profile, uLong adler) 2257 if (png_compare_ICC_profile_with_sRGB(png_ptr, profile, adler))
|
/external/libpng/ |
D | png.c | 2177 png_uint_32 adler, crc, length; 2184 # define PNG_ICC_CHECKSUM(adler, crc, md5, intent, broke, date, length, fname)\ 2185 { adler, crc, length, md5, broke, intent }, 2238 png_const_bytep profile, uLong adler) 2290 if (adler == 0) 2292 adler = adler32(0, NULL, 0); 2293 adler = adler32(adler, profile, length); 2296 if (adler == png_sRGB_checks[i].adler) 2360 png_colorspacerp colorspace, png_const_bytep profile, uLong adler) 2366 if (png_compare_ICC_profile_with_sRGB(png_ptr, profile, adler) != 0)
|
/external/zlib/src/doc/ |
D | rfc1950.txt | 536 unsigned long adler = 1L; 539 adler = update_adler32(adler, buffer, length); 541 if (adler != original_adler) error(); 543 unsigned long update_adler32(unsigned long adler, 546 unsigned long s1 = adler & 0xffff; 547 unsigned long s2 = (adler >> 16) & 0xffff;
|
/external/zlib/src/contrib/pascal/ |
D | zlibpas.pas | 45 adler: LongInt; (* adler32 value of the uncompressed data *) 154 function adler32(adler: LongInt; const buf: PChar; len: Integer): LongInt; in adler32()
|
/external/zlib/src/contrib/ada/ |
D | zlib-thin.ads | 237 (adler : ULong; 380 adler : ULong; -- adler32 value of the uncompressed
|