HomeSort by: relevance | last modified time | path
    Searched refs:adler (Results 1 - 18 of 18) sorted by relevancy

  /src/common/dist/zlib/
adler32.c 1 /* adler32.c -- compute the Adler-32 checksum of a data stream
2 * Copyright (C) 1995-2011, 2016 Mark Adler
14 #define DO1(buf,i) {adler += (buf)[i]; sum2 += adler;}
61 uLong ZEXPORT adler32_z(uLong adler, const Bytef *buf, z_size_t len) {
65 /* split Adler-32 into component sums */
66 sum2 = (adler >> 16) & 0xffff;
67 adler &= 0xffff;
71 adler += buf[0];
72 if (adler >= BASE
    [all...]
deflate.c 4 * Copyright (C) 1995-2024 Jean-loup Gailly and Mark Adler
57 " deflate 1.3.1 Copyright 1995-2024 Jean-loup Gailly and Mark Adler ";
230 strm->adler = adler32(strm->adler, buf, len);
234 strm->adler = crc32(strm->adler, buf, len);
567 /* when using zlib wrappers, compute Adler-32 for provided dictionary */
569 strm->adler = adler32(strm->adler, dictionary, dictLength);
570 s->wrap = 0; /* avoid computing Adler-32 in read_buf *
    [all...]
inflate.c 4 * Copyright (C) 1995-2022 Mark Adler
116 strm->adler = state->wrap & 1;
675 strm->adler = state->check = adler32(0L, Z_NULL, 0);
815 strm->adler = state->check = crc32(0L, Z_NULL, 0);
821 strm->adler = state->check = ZSWAP32(hold);
830 strm->adler = state->check = adler32(0L, Z_NULL, 0);
1199 strm->adler = state->check =
1265 strm->adler = state->check =
zlib.h 6 Copyright (C) 1995-2024 Jean-loup Gailly and Mark Adler
24 Jean-loup Gailly Mark Adler
106 uLong adler; /* Adler-32 or CRC-32 value of the uncompressed data */ member in struct:z_stream_s
235 allocation functions. total_in, total_out, adler, and msg are initialized.
343 deflate() sets strm->adler to the Adler-32 checksum of all input read
345 strm->adler will be the CRC-32 checksum of the input read so far. (See
388 them to use default allocation functions. total_in, total_out, adler, and
489 below), inflate sets strm->adler to the Adler-32 checksum of the dictionar
    [all...]
  /src/common/dist/zlib/contrib/dotzlib/DotZLib/
UnitTests.cs 116 #region Adler tests
121 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 );
    [all...]
Inflater.cs 77 setChecksum( _ztream.adler );
93 setChecksum( _ztream.adler );
Deflater.cs 79 setChecksum( _ztream.adler );
95 setChecksum( _ztream.adler );
ChecksumImpl.cs 151 #region Adler
153 /// Implements a checksum generator that computes the Adler checksum on data
160 private static extern uint adler32(uint adler, int data, uint length);
165 /// Initializes a new instance of the Adler checksum generator
170 /// Initializes a new instance of the Adler checksum generator with a specified value
DotZLib.cs 49 public uint adler; field in struct:DotZLib.ZStream
  /src/common/dist/zlib/examples/
gzappend.c 3 Copyright (C) 2003, 2012 Mark Adler, all rights reserved
22 Mark Adler madler@alumni.caltech.edu
371 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);
477 "gzappend 1.2 (11 Oct 2012) Copyright (C) 2003, 2012 Mark Adler\n
    [all...]
  /src/common/dist/zlib/test/
example.c 423 dictId = c_stream.adler;
466 if (d_stream.adler != dictId) {
  /src/common/dist/zlib/contrib/pascal/
zlibpas.pas 45 adler: LongInt; (* adler32 value of the uncompressed data *)
154 function adler32(adler: LongInt; const buf: PChar; len: Integer): LongInt;
example.pas 464 dictId := c_stream.adler;
511 if d_stream.adler <> dictId then
  /src/sys/net/
zlib.c 4 * distribution by Jean-loup Gailly and Mark Adler, with some additions
913 strm->adler = adler32(strm->adler, dictionary, dictLength);
960 strm->adler = 1;
1083 putShortMSB(s, (uInt)(strm->adler >> 16));
1084 putShortMSB(s, (uInt)(strm->adler & 0xffff));
1086 strm->adler = 1L;
1170 putShortMSB(s, (uInt)(strm->adler >> 16));
1171 putShortMSB(s, (uInt)(strm->adler & 0xffff));
1300 strm->adler = adler32(strm->adler, strm->next_in, len)
    [all...]
zlib.h 6 Copyright (C) 1995-2002 Jean-loup Gailly and Mark Adler
24 Jean-loup Gailly Mark Adler
379 uLong adler; /* adler32 value of the uncompressed data */ member in struct:z_stream_s
564 deflate() sets strm->adler to the adler32 checksum of all input read
666 below), inflate sets strm-adler to the adler32 checksum of the
668 it sets strm->adler to the adler32 checksum of all output produced
765 Upon return of this function, strm->adler is set to the Adler32 value
1137 Update a running Adler-32 checksum with the bytes buf[0..len-1] and
1140 An Adler-32 checksum is almost as reliable as a CRC32 but can be computed
1143 uLong adler = adler32(0L, Z_NULL, 0)
    [all...]
  /src/common/dist/zlib/contrib/ada/
zlib-thin.ads 237 (adler : ULong;
380 adler : ULong; -- adler32 value of the uncompressed
  /src/common/dist/zlib/os400/
zlib.inc 470 D adler 10U 0 value Old checksum
481 D adler 10U 0 value Old checksum
  /src/common/dist/zlib/contrib/delphi/
ZLib.pas 40 adler: Longint; // adler32 value of the uncompressed data

Completed in 49 milliseconds