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

12

/haiku-buildtools/gcc/gcc/testsuite/gcc.dg/graphite/
H A Dpr42205-1.c3 int adler32(int adler, char *buf, int n) argument
7 adler += buf[0];
8 sum += adler;
9 adler += buf[1];
10 sum += adler;
11 adler += buf[2];
12 sum += adler;
13 adler += buf[3];
14 sum += adler;
16 return adler | (su
[all...]
/haiku-buildtools/gcc/gcc/testsuite/gcc.dg/
H A Dpr42629.c9 int lzo_adler32(int adler, char *buf) argument
11 int s1 = adler;
12 int s2 = adler;
/haiku-buildtools/gcc/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 =
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
[all...]
H A Dinflate.c113 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 =
H A Dzlib.h102 uLong adler; /* adler32 value of the uncompressed data */ member in struct:z_stream_s
334 deflate() sets strm->adler to the adler32 checksum of all input read
475 below), inflate sets strm->adler to the Adler-32 checksum of the dictionary
477 strm->adler to the Adler-32 checksum of all output produced so far (that is,
556 gzip stream is being written, strm->adler is a crc32 instead of an adler32.
617 Upon return of this function, strm->adler is set to the adler32 value
622 adler32 value is not computed and strm->adler is not set.
804 return a Z_DATA_ERROR). If a gzip stream is being decoded, strm->adler is a
1552 ZEXTERN uLong ZEXPORT adler32 OF((uLong adler, const Bytef *buf, uInt len));
1563 uLong adler
[all...]
H A Dexample.c444 dictId = c_stream.adler;
489 if (d_stream.adler != dictId) {
/haiku-buildtools/binutils/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 =
H A Dzlib.h102 uLong adler; /* adler32 value of the uncompressed data */ member in struct:z_stream_s
334 deflate() sets strm->adler to the adler32 checksum of all input read
475 below), inflate sets strm->adler to the Adler-32 checksum of the dictionary
477 strm->adler to the Adler-32 checksum of all output produced so far (that is,
556 gzip stream is being written, strm->adler is a crc32 instead of an adler32.
617 Upon return of this function, strm->adler is set to the adler32 value
622 adler32 value is not computed and strm->adler is not set.
804 return a Z_DATA_ERROR). If a gzip stream is being decoded, strm->adler is a
1569 ZEXTERN uLong ZEXPORT adler32 OF((uLong adler, const Bytef *buf, uInt len));
1580 uLong adler
[all...]
/haiku-buildtools/gcc/zlib/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
/haiku-buildtools/binutils/zlib/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
/haiku-buildtools/gcc/zlib/examples/
H A Dgzappend.c369 strm->adler = crc;
418 if (len) strm->adler = crc32(strm->adler, in, (unsigned)len);
437 out[0] = (unsigned char)(strm->adler);
438 out[1] = (unsigned char)(strm->adler >> 8);
439 out[2] = (unsigned char)(strm->adler >> 16);
440 out[3] = (unsigned char)(strm->adler >> 24);
/haiku-buildtools/binutils/zlib/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);
/haiku-buildtools/gcc/zlib/contrib/pascal/
H A Dzlibpas.pas45 adler: LongInt; (* adler32 value of the uncompressed data *)
154 function adler32(adler: LongInt; const buf: PChar; len: Integer): LongInt;
/haiku-buildtools/binutils/zlib/contrib/pascal/
H A Dzlibpas.pas45 adler: LongInt; (* adler32 value of the uncompressed data *)
154 function adler32(adler: LongInt; const buf: PChar; len: Integer): LongInt;

Completed in 208 milliseconds

12