/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 = 691 strm->adler = crc32(0L, Z_NULL, 0); 727 strm->adler = crc32(strm->adler, s->pending_buf, 756 putShortMSB(s, (uInt)(strm->adler >> 16)); 757 putShortMSB(s, (uInt)(strm->adler & 0xffff)); 759 strm->adler = adler32(0L, Z_NULL, 0); 770 strm->adler = crc32(strm->adler, s->pending_buf + beg, 781 strm->adler = crc32(strm->adler, s->pending_buf + beg, 799 strm->adler = crc32(strm->adler, s->pending_buf + beg, [all …]
|
D | inflate.c | 113 strm->adler = state->wrap & 1; 681 strm->adler = state->check = adler32(0L, Z_NULL, 0); 809 strm->adler = state->check = crc32(0L, Z_NULL, 0); 815 strm->adler = state->check = ZSWAP32(hold); 823 strm->adler = state->check = adler32(0L, Z_NULL, 0); 1180 strm->adler = state->check = 1243 strm->adler = state->check =
|
D | zlib.h | 102 uLong adler; /* adler32 value of the uncompressed data */ member 1552 ZEXTERN uLong ZEXPORT adler32 OF((uLong adler, const Bytef *buf, uInt len));
|
/external/qemu/distrib/zlib-1.2.3/ |
D | adler32.c | 15 #define DO1(buf,i) {adler += (buf)[i]; sum2 += adler;} 57 uLong ZEXPORT adler32(adler, buf, len) in adler32() argument 58 uLong adler; in adler32() 66 sum2 = (adler >> 16) & 0xffff; 67 adler &= 0xffff; 71 adler += buf[0]; 72 if (adler >= BASE) 73 adler -= BASE; 74 sum2 += adler; 77 return adler | (sum2 << 16); [all …]
|
D | deflate.c | 332 strm->adler = adler32(strm->adler, dictionary, dictLength); 379 strm->adler = 580 strm->adler = crc32(0L, Z_NULL, 0); 616 strm->adler = crc32(strm->adler, s->pending_buf, 645 putShortMSB(s, (uInt)(strm->adler >> 16)); 646 putShortMSB(s, (uInt)(strm->adler & 0xffff)); 648 strm->adler = adler32(0L, Z_NULL, 0); 659 strm->adler = crc32(strm->adler, s->pending_buf + beg, 670 strm->adler = crc32(strm->adler, s->pending_buf + beg, 688 strm->adler = crc32(strm->adler, s->pending_buf + beg, [all …]
|
D | inflate.c | 112 strm->adler = 1; /* to support ill-conceived Java test suite */ 629 strm->adler = state->check = adler32(0L, Z_NULL, 0); 757 strm->adler = state->check = crc32(0L, Z_NULL, 0); 763 strm->adler = state->check = REVERSE(hold); 771 strm->adler = state->check = adler32(0L, Z_NULL, 0); 1084 strm->adler = state->check = 1146 strm->adler = state->check =
|
D | zlib.h | 99 uLong adler; /* adler32 value of the uncompressed data */ member 1260 ZEXTERN uLong ZEXPORT adler32 OF((uLong adler, const Bytef *buf, uInt len));
|
/external/open-vcdiff/src/zlib/ |
D | adler32.c | 15 #define DO1(buf,i) {adler += (buf)[i]; sum2 += adler;} 97 uLong ZEXPORT adler32(adler, buf, len) in adler32() argument 98 uLong adler; in adler32() 106 sum2 = (adler >> 16) & 0xffff; 107 adler &= 0xffff; 111 adler += buf[0]; 112 if (adler >= BASE) 113 adler -= BASE; 114 sum2 += adler; 117 return adler | (sum2 << 16); [all …]
|
D | zlib.h | 99 uLong adler; /* adler32 value of the uncompressed data */ member 1263 ZEXTERN uLong ZEXPORT adler32 OF((uLong adler, const Bytef *buf, uInt len));
|
/external/chromium/sdch/open-vcdiff/src/ |
D | adler32.c | 15 #define DO1(buf,i) {adler += (buf)[i]; sum2 += adler;} 97 uLong ZEXPORT adler32(adler, buf, len) in adler32() argument 98 uLong adler; in adler32() 106 sum2 = (adler >> 16) & 0xffff; 107 adler &= 0xffff; 111 adler += buf[0]; 112 if (adler >= BASE) 113 adler -= BASE; 114 sum2 += adler; 117 return adler | (sum2 << 16); [all …]
|
D | zlib.h | 99 uLong adler; /* adler32 value of the uncompressed data */ member 1263 ZEXTERN uLong ZEXPORT adler32 OF((uLong adler, const Bytef *buf, uInt len));
|
/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 | Deflater.cs | 79 setChecksum( _ztream.adler ); in Add() 95 setChecksum( _ztream.adler ); in Finish()
|
D | Inflater.cs | 77 setChecksum( _ztream.adler ); in Add() 93 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/zlib/src/examples/ |
D | gzappend.c | 369 strm->adler = crc; in gzscan() 418 if (len) strm->adler = crc32(strm->adler, in, (unsigned)len); in gztack() 437 out[0] = (unsigned char)(strm->adler); in gztack() 438 out[1] = (unsigned char)(strm->adler >> 8); in gztack() 439 out[2] = (unsigned char)(strm->adler >> 16); in gztack() 440 out[3] = (unsigned char)(strm->adler >> 24); in gztack()
|
/external/kernel-headers/original/linux/ |
D | zlib.h | 99 uLong adler; /* adler32 value of the uncompressed data */ member
|
/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()
|
D | example.pas | 464 dictId := c_stream.adler; 511 if d_stream.adler <> dictId then
|
/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/ada/ |
D | zlib-thin.ads | 237 (adler : ULong; 380 adler : ULong; -- adler32 value of the uncompressed
|
/external/zlib/ |
D | zlib.h | 102 uLong adler; /* adler32 value of the uncompressed data */ member 1552 ZEXTERN uLong ZEXPORT adler32 OF((uLong adler, const Bytef *buf, uInt len));
|
/external/zlib/src/test/ |
D | example.c | 475 dictId = c_stream.adler; 520 if (d_stream.adler != dictId) {
|