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

1 2 3

  /src/external/gpl3/binutils.old/dist/zlib/
adler32.c 1 /* adler32.c -- compute the Adler-32 checksum of a data stream
2 * Copyright (C) 1995-2011, 2016 Mark Adler
16 #define DO1(buf,i) {adler += (buf)[i]; sum2 += adler;}
63 uLong ZEXPORT adler32_z(adler, buf, len)
64 uLong adler;
71 /* split Adler-32 into component sums */
72 sum2 = (adler >> 16) & 0xffff;
73 adler &= 0xffff;
77 adler += buf[0]
    [all...]
deflate.c 2 * Copyright (C) 1995-2022 Jean-loup Gailly and Mark Adler
55 " deflate 1.2.12 Copyright 1995-2022 Jean-loup Gailly and Mark Adler ";
434 /* when using zlib wrappers, compute Adler-32 for provided dictionary */
436 strm->adler = adler32(strm->adler, dictionary, dictLength);
437 s->wrap = 0; /* avoid computing Adler-32 in read_buf */
532 strm->adler =
799 strm->adler = crc32(strm->adler, s->pending_buf + (beg), \
878 putShortMSB(s, (uInt)(strm->adler >> 16))
    [all...]
  /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...]
  /src/external/gpl3/binutils/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 2 * Copyright (C) 1995-2024 Jean-loup Gailly and Mark Adler
55 " deflate 1.3.1 Copyright 1995-2024 Jean-loup Gailly and Mark Adler ";
228 strm->adler = adler32(strm->adler, buf, len);
232 strm->adler = crc32(strm->adler, buf, len);
565 /* when using zlib wrappers, compute Adler-32 for provided dictionary */
567 strm->adler = adler32(strm->adler, dictionary, dictLength);
568 s->wrap = 0; /* avoid computing Adler-32 in read_buf *
    [all...]
  /src/external/cddl/osnet/dist/uts/common/zmod/
adler32.c 1 /* adler32.c -- compute the Adler-32 checksum of a data stream
2 * Copyright (C) 1995-2004 Mark Adler
15 #define DO1(buf,i) {adler += (buf)[i]; sum2 += adler;}
57 uLong ZEXPORT adler32(adler, buf, len)
58 uLong adler;
65 /* split Adler-32 into component sums */
66 sum2 = (adler >> 16) & 0xffff;
67 adler &= 0xffff;
71 adler += buf[0]
    [all...]
deflate.c 338 strm->adler = adler32(strm->adler, dictionary, dictLength);
385 strm->adler =
586 strm->adler = crc32(0L, Z_NULL, 0);
622 strm->adler = crc32(strm->adler, s->pending_buf,
651 putShortMSB(s, (uInt)(strm->adler >> 16));
652 putShortMSB(s, (uInt)(strm->adler & 0xffff));
654 strm->adler = adler32(0L, Z_NULL, 0);
665 strm->adler = crc32(strm->adler, s->pending_buf + beg
    [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
  /src/external/gpl3/binutils/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
  /src/external/gpl3/binutils.old/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
  /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/external/gpl3/binutils/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/external/gpl3/binutils.old/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/external/gpl3/gcc.old/dist/libphobos/src/std/
zlib.d 103 * $(P Compute the Adler-32 checksum of a buffer's worth of data.)
106 * adler = the starting checksum for the computation. Use 1
115 * $(LINK http://en.wikipedia.org/wiki/Adler-32)
118 uint adler32(uint adler, const(void)[] buf)
123 adler = etc.c.zlib.adler32(adler, chunk.ptr, cast(uint) chunk.length);
125 return adler;
133 uint adler = adler32(0u, data);
134 assert(adler == 0xdc0037);
141 uint adler = adler32(1, data)
    [all...]
  /src/external/gpl3/gcc.old/dist/libphobos/src/etc/c/
zlib.d 14 Copyright (C) 1995-2022 Jean-loup Gailly and Mark Adler
32 Jean-loup Gailly Mark Adler
105 c_ulong adler; /* Adler-32 or CRC-32 value of the uncompressed data */
361 deflate() sets strm->adler to the Adler-32 checksum of all input read
363 strm->adler will be the CRC-32 checksum of the input read so far. (See
508 below), inflate sets strm->adler to the Adler-32 checksum of the dictionary
510 strm->adler to the Adler-32 checksum of all output produced so far (that is
    [all...]

Completed in 34 milliseconds

1 2 3