/third_party/node/deps/v8/third_party/zlib/ |
H A D | adler32.c | 16 #define DO1(buf,i) {adler += (buf)[i]; sum2 += adler;} 68 uLong ZEXPORT adler32_z(adler, buf, len) in adler32_z() 69 uLong adler; in adler32_z() 78 return adler32_simd_(adler, buf, len); 81 return adler32_simd_(adler, buf, len); 85 sum2 = (adler >> 16) & 0xffff; 86 adler &= 0xffff; 90 adler += buf[0]; 91 if (adler > [all...] |
H A D | adler32_simd.c | 34 * and s2 also need to be computed modulo the adler BASE value (reduced). If 42 * of the adler s1 s2 of uint32_t type (see adler32.c). 57 uint32_t adler, in adler32_simd_() 64 uint32_t s1 = adler & 0xffff; in adler32_simd_() 65 uint32_t s2 = adler >> 16; in adler32_simd_() 204 uint32_t adler, in adler32_simd_() 211 uint32_t s1 = adler & 0xffff; in adler32_simd_() 212 uint32_t s2 = adler >> 16; in adler32_simd_() 56 adler32_simd_( uint32_t adler, const unsigned char *buf, z_size_t len) adler32_simd_() argument 203 adler32_simd_( uint32_t adler, const unsigned char *buf, z_size_t len) adler32_simd_() argument
|
H A D | deflate.c | 451 strm->adler = adler32(strm->adler, dictionary, dictLength); 543 strm->adler = 810 strm->adler = crc32(strm->adler, s->pending_buf + (beg), \ 889 putShortMSB(s, (uInt)(strm->adler >> 16)); 890 putShortMSB(s, (uInt)(strm->adler & 0xffff)); 892 strm->adler = adler32(0L, Z_NULL, 0); 948 strm->adler = crc32(strm->adler, [all...] |
H A D | crc32.c | 506 s->strm->adler = crc32(0L, Z_NULL, 0); in crc_reset() 513 s->strm->adler = crc_fold_512to32(s); in crc_finalize() 526 strm->adler = crc32(strm->adler, dst, size); in copy_with_crc()
|
/third_party/node/deps/zlib/ |
H A D | adler32.c | 14 #define DO1(buf,i) {adler += (buf)[i]; sum2 += adler;} 66 uLong ZEXPORT adler32_z(uLong adler, const Bytef *buf, z_size_t len) { in adler32_z() argument 72 return adler32_simd_(adler, buf, len); in adler32_z() 75 return adler32_simd_(adler, buf, len); in adler32_z() 79 sum2 = (adler >> 16) & 0xffff; in adler32_z() 80 adler &= 0xffff; in adler32_z() 84 adler += buf[0]; in adler32_z() 85 if (adler >= BASE) in adler32_z() 86 adler in adler32_z() 156 adler32(uLong adler, const Bytef *buf, uInt len) adler32() argument [all...] |
H A D | adler32_simd.c | 34 * and s2 also need to be computed modulo the adler BASE value (reduced). If 42 * of the adler s1 s2 of uint32_t type (see adler32.c). 57 uint32_t adler, in adler32_simd_() 64 uint32_t s1 = adler & 0xffff; in adler32_simd_() 65 uint32_t s2 = adler >> 16; in adler32_simd_() 204 uint32_t adler, in adler32_simd_() 211 uint32_t s1 = adler & 0xffff; in adler32_simd_() 212 uint32_t s2 = adler >> 16; in adler32_simd_() 56 adler32_simd_( uint32_t adler, const unsigned char *buf, z_size_t len) adler32_simd_() argument 203 adler32_simd_( uint32_t adler, const unsigned char *buf, z_size_t len) adler32_simd_() argument
|
H A D | deflate.c | 231 strm->adler = adler32(strm->adler, buf, len); in read_buf() 609 strm->adler = adler32(strm->adler, dictionary, dictLength); in deflateSetDictionary() 696 strm->adler = in deflateResetKeep() 979 strm->adler = crc32(strm->adler, s->pending_buf + (beg), \ 1055 putShortMSB(s, (uInt)(strm->adler >> 16)); in deflate() 1056 putShortMSB(s, (uInt)(strm->adler & 0xffff)); in deflate() 1058 strm->adler in deflate() [all...] |
/third_party/skia/third_party/externals/zlib/ |
H A D | adler32.c | 16 #define DO1(buf,i) {adler += (buf)[i]; sum2 += adler;} 68 uLong ZEXPORT adler32_z(adler, buf, len) in adler32_z() 69 uLong adler; in adler32_z() 75 return adler32_simd_(adler, buf, len); 82 return adler32_simd_(adler, buf, len); 85 return adler32_simd_(adler, buf, len); 89 sum2 = (adler >> 16) & 0xffff; 90 adler &= 0xffff; 94 adler [all...] |
H A D | adler32_simd.c | 34 * and s2 also need to be computed modulo the adler BASE value (reduced). If 42 * of the adler s1 s2 of uint32_t type (see adler32.c). 57 uint32_t adler, in adler32_simd_() 64 uint32_t s1 = adler & 0xffff; in adler32_simd_() 65 uint32_t s2 = adler >> 16; in adler32_simd_() 204 uint32_t adler, in adler32_simd_() 211 uint32_t s1 = adler & 0xffff; in adler32_simd_() 212 uint32_t s2 = adler >> 16; in adler32_simd_() 56 adler32_simd_( uint32_t adler, const unsigned char *buf, z_size_t len) adler32_simd_() argument 203 adler32_simd_( uint32_t adler, const unsigned char *buf, z_size_t len) adler32_simd_() argument
|
H A D | deflate.c | 446 strm->adler = adler32(strm->adler, dictionary, dictLength); 538 strm->adler = 804 strm->adler = crc32(strm->adler, s->pending_buf + (beg), \ 881 putShortMSB(s, (uInt)(strm->adler >> 16)); 882 putShortMSB(s, (uInt)(strm->adler & 0xffff)); 884 strm->adler = adler32(0L, Z_NULL, 0); 940 strm->adler = crc32(strm->adler, [all...] |
H A D | crc32.c | 506 s->strm->adler = crc32(0L, Z_NULL, 0); in crc_reset() 513 s->strm->adler = crc_fold_512to32(s); in crc_finalize() 526 strm->adler = crc32(strm->adler, dst, size); in copy_with_crc()
|
/third_party/zlib/ |
H A D | adler32.c | 14 #define DO1(buf,i) {adler += (buf)[i]; sum2 += adler;} 61 uLong ZEXPORT adler32_z(uLong adler, const Bytef *buf, z_size_t len) in adler32_z() argument 67 sum2 = (adler >> 16) & 0xffff; in adler32_z() 68 adler &= 0xffff; in adler32_z() 72 adler += buf[0]; in adler32_z() 73 if (adler >= BASE) in adler32_z() 74 adler -= BASE; in adler32_z() 75 sum2 += adler; in adler32_z() 78 return adler | (sum in adler32_z() 129 adler32(uLong adler, const Bytef *buf, uInt len) adler32() argument [all...] |
H A D | deflate.c | 230 strm->adler = adler32(strm->adler, buf, len); in read_buf() 234 strm->adler = crc32(strm->adler, buf, len); in read_buf() 571 strm->adler = adler32(strm->adler, dictionary, dictLength); in deflateSetDictionary() 662 strm->adler = in deflateResetKeep() 949 strm->adler = crc32(strm->adler, s->pending_buf + (beg), \ 1025 putShortMSB(s, (uInt)(strm->adler >> 1 in deflate() [all...] |
/third_party/libwebsockets/win32port/zlib/ |
H A D | adler32.c | 18 #define DO1(buf,i) {adler += (buf)[i]; sum2 += adler;}
60 uLong ZEXPORT adler32(adler, buf, len)
in adler32() 61 uLong adler;
in adler32() 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 D | deflate.c | 365 strm->adler = adler32(strm->adler, dictionary, dictLength);
412 strm->adler =
659 strm->adler = crc32(0L, Z_NULL, 0);
695 strm->adler = crc32(strm->adler, s->pending_buf,
724 putShortMSB(s, (uInt)(strm->adler >> 16));
725 putShortMSB(s, (uInt)(strm->adler & 0xffff));
727 strm->adler = adler32(0L, Z_NULL, 0);
738 strm->adler [all...] |
H A D | gzread.c | 198 strm->adler = crc32(0L, Z_NULL, 0);
273 strm->adler = crc32(strm->adler, state->next, state->have);
281 if (crc != strm->adler) {
|
/third_party/zlib/contrib/dotzlib/DotZLib/ |
H A 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 in Adler_Data() [all...] |
H A D | Deflater.cs | 79 setChecksum( _ztream.adler );
in Add() 95 setChecksum( _ztream.adler );
in Finish()
|
H A D | Inflater.cs | 77 setChecksum( _ztream.adler );
in Add() 93 setChecksum( _ztream.adler );
in Finish()
|
/third_party/skia/third_party/externals/freetype/src/gzip/ |
H A D | adler32.c | 21 ZEXPORT(uLong) adler32( /* adler, buf, len) */ in ZEXPORT() 22 uLong adler, in ZEXPORT() 26 unsigned long s1 = adler & 0xffff; in ZEXPORT() 27 unsigned long s2 = (adler >> 16) & 0xffff; in ZEXPORT()
|
H A 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()
|
H A D | zlib.h | 85 uLong adler; /* adler32 value of the uncompressed data */ member 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...] |
/third_party/ffmpeg/libavutil/ |
H A D | adler32.c | 44 AVAdler av_adler32_update(AVAdler adler, const uint8_t *buf, size_t len) in av_adler32_update() argument 46 unsigned long s1 = adler & 0xffff; in av_adler32_update() 47 unsigned long s2 = adler >> 16; in av_adler32_update()
|
H A D | adler32.h | 51 * @param adler initial checksum value 56 AVAdler av_adler32_update(AVAdler adler, const uint8_t *buf,
|
/third_party/zlib/examples/ |
H A 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()
|