HomeSort by: relevance | last modified time | path
    Searched defs:crc32 (Results 1 - 25 of 85) sorted by relevancy

1 2 3 4

  /src/external/apache2/llvm/dist/llvm/lib/Support/
CRC.cpp 75 uint32_t llvm::crc32(uint32_t CRC, ArrayRef<uint8_t> Data) { function in class:llvm
87 uint32_t llvm::crc32(uint32_t CRC, ArrayRef<uint8_t> Data) {
88 // Zlib's crc32() only takes a 32-bit length, so we have to iterate for larger
93 CRC = ::crc32(CRC, (const Bytef *)Slice.data(), (uInt)Slice.size());
101 uint32_t llvm::crc32(ArrayRef<uint8_t> Data) { return crc32(0, Data); } function in class:llvm
105 CRC = crc32(CRC, Data);
Compression.cpp 84 uint32_t zlib::crc32(StringRef Buffer) { function in class:zlib
85 return ::crc32(0, (const Bytef *)Buffer.data(), Buffer.size());
103 uint32_t zlib::crc32(StringRef Buffer) {
104 llvm_unreachable("zlib::crc32 is unavailable");
  /src/external/bsd/liblzf/dist/
crc32.h 4 /* crc32 0xdebb20e3 table and supplementary functions. */
62 #define crc32(crc,byte) (crc_32_tab[(u8)(crc) ^ (u8)(byte)] ^ ((crc) >> 8)) macro
  /src/common/dist/zlib/contrib/dotzlib/DotZLib/
ChecksumImpl.cs 100 #region CRC32
102 /// Implements a CRC32 checksum generator
109 private static extern uint crc32(uint crc, int data, uint length); method in class:DotZLib.CRC32Checksum
114 /// Initializes a new instance of the CRC32 checksum generator
119 /// Initializes a new instance of the CRC32 checksum generator with a specified value
140 _current = crc32(_current, hData.AddrOfPinnedObject().ToInt32()+offset, (uint)count);
  /src/sys/lib/libkern/
crc32.c 1 /* $NetBSD: crc32.c,v 1.4 2009/03/26 22:18:14 he Exp $ */
3 /* crc32.c -- compute the CRC-32 of a data stream
32 #include "crc32.h"
42 uint32_t crc32(uint32_t crc, const uint8_t *buf, size_t len) function
83 uint32_t crc32(uint32_t crc, const uint8_t *buf, size_t len) function
  /src/usr.bin/mkubootimage/
crc32.c 1 /* $NetBSD: crc32.c,v 1.5 2024/02/09 16:10:18 christos Exp $ */
28 * CRC32 code derived from work by Gary S. Brown.
36 __RCSID("$NetBSD: crc32.c,v 1.5 2024/02/09 16:10:18 christos Exp $");
41 #include "crc32.h"
110 crc32(const void *buf, size_t size) function
  /src/external/bsd/libarchive/dist/libarchive/
archive_crc32.h 38 * the CRC32 check value. This is a drop-in compatible replacement
39 * for crc32() from zlib. It's slower than the zlib implementation,
44 crc32(unsigned long crc, const void *_p, size_t len) function
archive_read_support_filter_xz.c 63 uint32_t crc32; member in struct:private_data
499 state->crc32 = 0;
610 /* Check the crc32 value of the uncompressed data of the current
612 if (state->crc32 != archive_le32dec(f)) {
615 "Lzip: CRC32 error");
640 state->crc32 = 0;
725 state->crc32 = lzma_crc32(state->out_block,
726 decompressed, state->crc32);
archive_write_add_filter_xz.c 109 /* the CRC32 value of uncompressed data for lzip */
110 uint32_t crc32; member in struct:private_data
270 data->crc32 = 0;
425 data->crc32 = lzma_crc32(buff, length, data->crc32);
454 archive_le32enc(data->compressed, data->crc32);
  /src/external/gpl3/binutils/dist/zlib/contrib/dotzlib/DotZLib/
ChecksumImpl.cs 100 #region CRC32
102 /// Implements a CRC32 checksum generator
109 private static extern uint crc32(uint crc, int data, uint length); method in class:DotZLib.CRC32Checksum
114 /// Initializes a new instance of the CRC32 checksum generator
119 /// Initializes a new instance of the CRC32 checksum generator with a specified value
140 _current = crc32(_current, hData.AddrOfPinnedObject().ToInt32()+offset, (uint)count);
  /src/external/gpl3/binutils.old/dist/zlib/contrib/dotzlib/DotZLib/
ChecksumImpl.cs 100 #region CRC32
102 /// Implements a CRC32 checksum generator
109 private static extern uint crc32(uint crc, int data, uint length); method in class:DotZLib.CRC32Checksum
114 /// Initializes a new instance of the CRC32 checksum generator
119 /// Initializes a new instance of the CRC32 checksum generator with a specified value
140 _current = crc32(_current, hData.AddrOfPinnedObject().ToInt32()+offset, (uint)count);
  /src/external/gpl3/gdb.old/dist/zlib/contrib/dotzlib/DotZLib/
ChecksumImpl.cs 100 #region CRC32
102 /// Implements a CRC32 checksum generator
109 private static extern uint crc32(uint crc, int data, uint length); method in class:DotZLib.CRC32Checksum
114 /// Initializes a new instance of the CRC32 checksum generator
119 /// Initializes a new instance of the CRC32 checksum generator with a specified value
140 _current = crc32(_current, hData.AddrOfPinnedObject().ToInt32()+offset, (uint)count);
  /src/external/gpl3/gdb/dist/zlib/contrib/dotzlib/DotZLib/
ChecksumImpl.cs 100 #region CRC32
102 /// Implements a CRC32 checksum generator
109 private static extern uint crc32(uint crc, int data, uint length); method in class:DotZLib.CRC32Checksum
114 /// Initializes a new instance of the CRC32 checksum generator
119 /// Initializes a new instance of the CRC32 checksum generator with a specified value
140 _current = crc32(_current, hData.AddrOfPinnedObject().ToInt32()+offset, (uint)count);
  /src/external/bsd/liblzf/dist/cs/
CLZF.cs 49 // CRC32 data & function
106 public UInt32 crc32(UInt32 OldCRC,byte NewData) method in class:LZF.NET.CLZF
  /src/external/public-domain/xz/dist/src/liblzma/check/
check.h 90 uint32_t crc32; member in union:__anon329::__anon331
  /src/external/public-domain/xz/dist/src/liblzma/common/
index_encoder.c 37 /// CRC32 of the List of Records field
38 uint32_t crc32; member in struct:__anon359
54 // Position where to start calculating CRC32. The idea is that we
124 // Finish the CRC32 calculation.
125 coder->crc32 = lzma_crc32(out + out_start,
126 *out_pos - out_start, coder->crc32);
133 // coder->crc32 to be touched anymore.
138 out[*out_pos] = (coder->crc32 >> (coder->pos * 8))
152 // Update the CRC32.
159 coder->crc32 = lzma_crc32(out + out_start
    [all...]
index_decoder.c 50 /// CRC32 of the List of Records field
51 uint32_t crc32; member in struct:__anon357
166 // Finish the CRC32 calculation.
167 coder->crc32 = lzma_crc32(in + in_start,
168 *in_pos - in_start, coder->crc32);
178 if (((coder->crc32 >> (coder->pos * 8)) & 0xFF)
202 // Update the CRC32.
209 coder->crc32 = lzma_crc32(in + in_start,
210 in_used, coder->crc32);
268 coder->crc32 = 0
    [all...]
index_hash.c 66 /// CRC32 of the Index
67 uint32_t crc32; member in struct:lzma_index_hash_s
93 index_hash->crc32 = 0;
300 // Finish the CRC32 calculation.
301 index_hash->crc32 = lzma_crc32(in + in_start,
302 *in_pos - in_start, index_hash->crc32);
312 if (((index_hash->crc32 >> (index_hash->pos * 8))
329 // Update the CRC32.
336 index_hash->crc32 = lzma_crc32(in + in_start,
337 in_used, index_hash->crc32);
    [all...]
  /src/sys/external/bsd/drm2/dist/drm/i915/gvt/
firmware.c 37 #include <linux/crc32.h>
47 u32 crc32; /* protect the data after this field */ member in struct:gvt_firmware_header
121 crc32_start = offsetof(struct gvt_firmware_header, crc32) + 4;
122 h->crc32 = crc32_le(0, firmware + crc32_start, size - crc32_start);
171 crc32_start = offsetofend(struct gvt_firmware_header, crc32);
182 VERIFY("crc32", h->crc32, crc32_le(0, mem, fw->size - crc32_start));
  /src/external/cddl/osnet/dist/uts/common/zmod/
crc32.c 6 /* crc32.c -- compute the CRC-32 of a data stream
24 one thread to use crc32().
162 /* write out CRC tables to crc32.h */
166 out = fopen("crc32.h", "w");
168 fprintf(out, "/* crc32.h -- tables for rapid CRC calculation\n");
169 fprintf(out, " * Generated automatically by crc32.c\n */\n\n");
204 #include "crc32.h"
208 * This function can be used by asm versions of crc32()
224 unsigned long ZEXPORT crc32(crc, buf, len) function
zconf.h 94 #define crc32 z_crc32 macro
  /src/common/dist/zlib/contrib/delphi/
ZLib.pas 202 {$L crc32.obj}
214 procedure crc32; external; procedure
  /src/common/dist/zlib/contrib/pascal/
zlibpas.pas 156 function crc32(crc: LongInt; const buf: PChar; len: Integer): LongInt; function
178 {$L crc32.obj}
193 function crc32; external; function
  /src/sys/lib/libsa/
cread.c 76 unsigned long crc; /* crc32 of uncompressed data */
90 * This is the double-loop version of LE CRC32 from if_ethersubr,
98 crc32(uint32_t crc, const uint8_t *const buf, size_t len) function
386 s->crc = crc32(s->crc, start, (unsigned int)
408 s->crc = crc32(0L, Z_NULL, 0);
418 s->crc = crc32(s->crc, start,
  /src/sys/ufs/ext2fs/
ext2fs_alloc.c 805 uint32_t crc32; local
810 crc32 = ext2fs_crc32c(~0, fs->e2fs.e2fs_uuid,
812 crc32 = ext2fs_crc32c(crc32, &cg_bswapped, sizeof(cg_bswapped));
813 crc32 = ext2fs_crc32c(crc32, gd, off);
814 crc32 = ext2fs_crc32c(crc32, dummy, 2);
815 crc32 = ext2fs_crc32c(crc32, gd + off + 2, cgsize - (off + 2))
    [all...]

Completed in 29 milliseconds

1 2 3 4