Searched defs:crc32 (Results 1 - 25 of 31) sorted by relevance

12

/freebsd-head/sbin/hastd/
H A Dcrc32.h17 crc32(const void *buf, size_t size) function
/freebsd-head/lib/libproc/
H A Dcrc32.h17 crc32(const void *buf, size_t size) function
/freebsd-head/contrib/wpa/src/utils/
H A Dcrc32.c12 #include "utils/crc32.h"
75 u32 crc32(const u8 *frame, size_t frame_len) function
/freebsd-head/sys/sys/
H A Dgsb_crc32.h28 crc32(const void *buf, size_t size) function
/freebsd-head/contrib/llvm-project/llvm/lib/Support/
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);
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");
/freebsd-head/usr.bin/cksum/
H A Dcrc32.c101 crc32(int fd, uint32_t *cval, off_t *clen) function
/freebsd-head/contrib/libarchive/libarchive/
H A Darchive_crc32.h39 * for crc32() from zlib. It's slower than the zlib implementation,
44 crc32(unsigned long crc, const void *_p, size_t len) function
H A Darchive_read_support_filter_xz.c65 uint32_t crc32; member in struct:private_data
506 state->crc32 = 0;
617 /* Check the crc32 value of the uncompressed data of the current
619 if (state->crc32 != archive_le32dec(f)) {
645 state->crc32 = 0;
718 state->crc32 = lzma_crc32(state->out_block,
719 decompressed, state->crc32);
H A Darchive_write_add_filter_xz.c112 uint32_t crc32; member in struct:private_data
272 data->crc32 = 0;
428 data->crc32 = lzma_crc32(buff, length, data->crc32);
457 archive_le32enc(data->compressed, data->crc32);
H A Darchive_write_set_format_7zip.c166 uint32_t crc32; member in struct:file
509 zip->entry_crc32 = crc32(zip->entry_crc32, p, (unsigned)bytes);
567 zip->precode_crc32 = crc32(zip->precode_crc32, buff,
583 zip->encoded_crc32 = crc32(zip->encoded_crc32,
596 zip->encoded_crc32 = crc32(zip->encoded_crc32,
618 zip->entry_crc32 = crc32(zip->entry_crc32, buff, (unsigned)bytes);
644 zip->cur_file->crc32 = zip->entry_crc32;
837 archive_le32enc(&wb[8], crc32(0, &wb[12], 20));/* Start Header CRC */
936 archive_le32enc(crc, file->crc32);
/freebsd-head/sys/contrib/xz-embedded/linux/lib/xz/
H A Dxz_stream.h14 # include <linux/crc32.h>
15 # undef crc32 macro
H A Dxz_dec_stream.c23 uint32_t crc32; member in struct:xz_dec_hash
288 s->block.hash.crc32 = xz_crc32(
290 sizeof(s->block.hash), s->block.hash.crc32);
347 s->index.hash.crc32 = xz_crc32(
350 s->index.hash.crc32);
/freebsd-head/contrib/xz/src/liblzma/check/
H A Dcheck.h91 uint32_t crc32; member in union:__anon3::__anon5
/freebsd-head/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-head/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_encoder.c39 uint32_t crc32; member in struct:__anon26
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;
H A Dindex_decoder.c52 uint32_t crc32; member in struct:__anon36
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;
/freebsd-head/sys/contrib/zlib/
H A Dcrc32.c0 /* crc32.c -- compute the CRC-32 of a data stream
19 one thread to use crc32().
21 DYNAMIC_CRC_TABLE and MAKECRCH can be #defined to write out crc32.h.
139 /* write out CRC tables to crc32.h */
143 out = fopen("crc32.h", "w");
145 fprintf(out, "/* crc32.h -- tables for rapid CRC calculation\n");
146 fprintf(out, " * Generated automatically by crc32.c\n */\n\n");
182 #include "crc32.h"
186 * This function can be used by asm versions of crc32()
237 unsigned long ZEXPORT crc32(cr function
[all...]
H A Dzconf.h44 # define crc32 z_crc32 macro
/freebsd-head/sys/contrib/octeon-sdk/
H A Dcvmx-zip.h105 uint64_t crc32 : 32; member in struct:__anon6764::__anon6765
109 uint64_t crc32 : 32;
/freebsd-head/usr.bin/mkimg/
H A Dgpt.c117 crc32(const void *buf, size_t sz) function
216 crc = crc32(hdr, offsetof(struct gpt_hdr, padding));
264 crc = crc32(tbl, tblsz * secsz);
/freebsd-head/contrib/binutils/bfd/
H A Dopncls.c1034 and adding in the crc32 for @var{len} bytes of @var{buf}.
1126 unsigned long crc32;
1151 crc32 = bfd_get_32 (abfd, contents + crc_offset);
1153 *crc32_out = crc32;
1163 (char *name, unsigned long crc32);
1167 match @var{crc32}.
1215 unsigned long crc32;
1226 basename = get_debug_link_info (abfd, & crc32);
1268 if (separate_debug_file_exists (debugfile, crc32))
1280 if (separate_debug_file_exists (debugfile, crc32))
1125 unsigned long crc32; local
1214 unsigned long crc32; local
1428 unsigned long crc32; local
[all...]
/freebsd-head/sys/dev/ioat/
H A Dioat_internal.h486 struct ioat_crc32_hw_descriptor crc32; member in union:ioat_softc::ioat_hw_descriptor
/freebsd-head/sys/dev/usb/wlan/
H A Dif_upgt.c1562 uint32_t crc32; local
1629 crc32 = upgt_crc32_le(fw->data, fw->datasize);
1630 *((uint32_t *)(data_cmd->buf) ) = crc32;

Completed in 153 milliseconds

12