Searched refs:crc32 (Results 1 - 25 of 94) sorted by relevance

1234

/freebsd-11-stable/stand/libsa/
H A Dcrc32.h5 * $FreeBSD: stable/11/stand/libsa/crc32.h 329134 2018-02-11 20:00:26Z kevans $
11 uint32_t crc32(const void *buf, size_t size);
H A Dgpt.c38 #include "crc32.h"
79 hdr->hdr_crc_table = crc32(table, hdr->hdr_entries * hdr->hdr_entsz);
81 hdr->hdr_crc_self = crc32(hdr, hdr->hdr_size);
202 if (crc32(hdr, hdr->hdr_size) != crc) {
268 hdr->hdr_crc_table = crc32(table, hdr->hdr_entries * hdr->hdr_entsz);
270 hdr->hdr_crc_self = crc32(hdr, hdr->hdr_size);
308 if (crc32(table, nent * hdr->hdr_entsz) != hdr->hdr_crc_table) {
/freebsd-11-stable/contrib/wpa/src/utils/
H A Dcrc32.h12 u32 crc32(const u8 *frame, size_t frame_len);
/freebsd-11-stable/sys/contrib/xz-embedded/linux/lib/xz/
H A Dxz_stream.h14 # include <linux/crc32.h>
15 # undef crc32 macro
/freebsd-11-stable/sys/dev/liquidio/base/
H A Dlio_image.h51 __be32 crc32; /* crc32 of image */ member in struct:lio_firmware_desc
66 __be32 crc32; /* header checksum */ member in struct:lio_firmware_file_header
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/Support/
H A DCRC.h22 uint32_t crc32(ArrayRef<uint8_t> Data);
26 uint32_t crc32(uint32_t CRC, ArrayRef<uint8_t> Data);
H A DCompression.h42 uint32_t crc32(StringRef Buffer);
/freebsd-11-stable/contrib/xz/src/liblzma/check/
H A Dcheck.c92 check->state.crc32 = 0;
123 check->state.crc32 = lzma_crc32(buf, size, check->state.crc32);
153 check->buffer.u32[0] = conv32le(check->state.crc32);
/freebsd-11-stable/sbin/hastd/
H A Dcrc32.h17 crc32(const void *buf, size_t size) function
H A Dhast_checksum.c40 #include <crc32.h>
59 crc = crc32(data, size);
87 return ("crc32");
141 if (strcmp(algo, "crc32") == 0)
H A Dtoken.l77 crc32 { DP; return CRC32; }
H A DMakefile8 SRCS+= control.c crc32.c
/freebsd-11-stable/usr.bin/cksum/
H A DMakefile5 SRCS= cksum.c crc.c print.c sum1.c sum2.c crc32.c
H A Dextern.h45 int crc32(int, uint32_t *, off_t *);
H A Dcksum.c93 cfncn = crc32;
/freebsd-11-stable/sys/contrib/xz-embedded/linux/scripts/
H A Dxz_wrap.sh23 exec xz --check=crc32 $BCJ --lzma2=$LZMA2OPTS,dict=32MiB
/freebsd-11-stable/tools/tools/bootparttest/
H A DMakefile10 SRCS= bootparttest.c crc32.c stub.c part.c disk.c
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Support/
H A DCompression.cpp84 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");
H A DCRC.cpp75 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);
/freebsd-11-stable/contrib/xz/src/liblzma/common/
H A Dindex_hash.c68 uint32_t crc32; member in struct:lzma_index_hash_s
94 index_hash->crc32 = 0;
303 index_hash->crc32 = lzma_crc32(in + in_start,
304 *in_pos - in_start, index_hash->crc32);
315 if (((index_hash->crc32 >> (index_hash->pos * 8))
330 index_hash->crc32 = lzma_crc32(in + in_start,
331 *in_pos - in_start, index_hash->crc32);
H A Dindex_decoder.c52 uint32_t crc32; member in struct:__anon4441
170 coder->crc32 = lzma_crc32(in + in_start,
171 *in_pos - in_start, coder->crc32);
182 if (((coder->crc32 >> (coder->pos * 8)) & 0xFF)
204 coder->crc32 = lzma_crc32(in + in_start,
205 *in_pos - in_start, coder->crc32);
262 coder->crc32 = 0;
H A Dindex_encoder.c39 uint32_t crc32; member in struct:__anon4443
127 coder->crc32 = lzma_crc32(out + out_start,
128 *out_pos - out_start, coder->crc32);
136 // coder->crc32 to be touched anymore.
141 out[*out_pos] = (coder->crc32 >> (coder->pos * 8))
156 coder->crc32 = lzma_crc32(out + out_start,
157 *out_pos - out_start, coder->crc32);
179 coder->crc32 = 0;
/freebsd-11-stable/sys/contrib/octeon-sdk/
H A Dcvmx-zip.h105 uint64_t crc32 : 32; member in struct:__anon8833::__anon8834
109 uint64_t crc32 : 32;
/freebsd-11-stable/sys/cddl/contrib/opensolaris/uts/common/zmod/
H A Dzconf.h94 #define crc32 z_crc32 macro
/freebsd-11-stable/sbin/hastctl/
H A DMakefile10 SRCS+= crc32.c

Completed in 427 milliseconds

1234