/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 in typeref:typename:uint32_t 83 uint32_t crc32(uint32_t crc, const uint8_t *buf, size_t len) function in typeref:typename:uint32_t
|
/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 in typeref:typename:uint32_t
|
/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/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/common/dist/zlib/contrib/delphi/ |
zlibd32.mak | 21 OBJ1 = adler32.obj compress.obj crc32.obj deflate.obj gzclose.obj gzlib.obj gzread.obj 23 OBJP1 = +adler32.obj+compress.obj+crc32.obj+deflate.obj+gzclose.obj+gzlib.obj+gzread.obj 37 crc32.obj: crc32.c zlib.h zconf.h crc32.h
|
ZLib.pas | 202 {$L crc32.obj} 214 procedure crc32; external; procedure
|
/src/common/dist/zlib/contrib/pascal/ |
zlibd32.mak | 21 OBJ1 = adler32.obj compress.obj crc32.obj deflate.obj gzclose.obj gzlib.obj gzread.obj 23 OBJP1 = +adler32.obj+compress.obj+crc32.obj+deflate.obj+gzclose.obj+gzlib.obj+gzread.obj 37 crc32.obj: crc32.c zlib.h zconf.h crc32.h
|
zlibpas.pas | 156 function crc32(crc: LongInt; const buf: PChar; len: Integer): LongInt; function 178 {$L crc32.obj} 193 function crc32; external; function
|
/src/common/dist/zlib/contrib/ada/ |
zlib-thin.ads | 242 function crc32 subprogspec 420 pragma Import (C, crc32, "crc32");
|
/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 in typeref:typename:uint32_t 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 in function:ext2fs_cg_get_csum 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...] |
/src/common/dist/zlib/ |
crc32.c | 1 /* $NetBSD: crc32.c,v 1.7 2024/09/22 19:12:27 christos Exp $ */ 3 /* crc32.c -- compute the CRC-32 of a data stream 19 one thread to use crc32(). 21 MAKECRCH can be #defined to write out crc32.h. A main() routine is also 44 crc32.h would need to be regenerated, if the maximum N value is increased. 103 /* If available, use the ARM processor CRC32 instruction. */ 147 # include "crc32.h" 341 The crc32.h header file contains tables for both 32-bit and 64-bit 347 # error Need a 64-bit integer type in order to generate crc32.h. 354 out = fopen("crc32.h", "w") 1017 unsigned long ZEXPORT crc32(unsigned long crc, const unsigned char FAR *buf, function in typeref:typename:unsigned long ZEXPORT [all...] |
Makefile.in | 56 OBJZ = adler32.o crc32.o deflate.o infback.o inffast.o inflate.o inftrees.o trees.o zutil.o 60 PIC_OBJZ = adler32.lo crc32.lo deflate.lo infback.lo inffast.lo inflate.lo inftrees.lo trees.lo zutil.lo 158 crc32.o: $(SRCDIR)crc32.c 159 $(CC) $(CFLAGS) $(ZINC) -c -o $@ $(SRCDIR)crc32.c 206 crc32.lo: $(SRCDIR)crc32.c 208 $(CC) $(SFLAGS) $(ZINC) -DPIC -c -o objs/crc32.o $(SRCDIR)crc32.c 209 -@mv objs/crc32.o $ [all...] |
zconf.h | 42 # define crc32 z_crc32 macro
|
zconf.h.in | 38 # define crc32 z_crc32 macro
|
/src/sys/net/ |
zlib.h | 85 # define crc32 z_crc32 macro 1140 An Adler-32 checksum is almost as reliable as a CRC32 but can be computed 1152 ZEXTERN uLong ZEXPORT crc32(uLong, const Bytef *, uInt); 1161 uLong crc = crc32(0L, Z_NULL, 0); 1164 crc = crc32(crc, buffer, length);
|
/src/sbin/gpt/ |
gpt.c | 26 * CRC32 code derived from work by Gary S. Brown. 110 crc32(const void *buf, size_t size) function in typeref:typename:uint32_t 399 if (crc32(hdr, le32toh(hdr->hdr_size)) != crc) { 422 if (crc32(p, tblsz) != le32toh(hdr->hdr_crc_table)) { 721 hdr->hdr_crc_table = htole32(crc32(tbl->map_data, 724 hdr->hdr_crc_self = htole32(crc32(hdr, le32toh(hdr->hdr_size)));
|
/src/sys/dev/usb/ |
if_bwfm_usb.c | 150 uint32_t crc32; /* CRC from flag_version to end of file */ member in struct:trx_header
|
/src/sys/external/bsd/drm2/dist/drm/radeon/ |
radeon_ucode.h | 168 uint32_t crc32; /* crc32 checksum of the payload */ member in struct:common_firmware_header
|
/src/sbin/cgdconfig/ |
cgdconfig.c | 1142 crc32(const void *buf, size_t size) function in typeref:typename:uint32_t 1186 if (crc32(&hdr, sizeof(hdr))) {
|
/src/common/dist/zlib/contrib/minizip/ |
unzip.c | 146 uLong crc32; /* crc32 of all data uncompressed */ member in struct:__anon41b228de0108 147 uLong crc32_wait; /* crc32 we must obtain after decompress all */ 1411 pfile_in_zip_read_info->crc32=0; 1651 pfile_in_zip_read_info->crc32 = crc32(pfile_in_zip_read_info->crc32, 1688 pfile_in_zip_read_info->crc32 = crc32(pfile_in_zip_read_info->crc32,bufBefore, (uInt)(uOutThis)) [all...] |
zip.c | 148 uLong crc32; member in struct:__anonda15a5bb0108 1096 zi->ci.crc32 = 0; 1376 zi->ci.crc32 = crc32(zi->ci.crc32,buf,(uInt)len); 1466 extern int ZEXPORT zipCloseFileInZipRaw(zipFile file, uLong uncompressed_size, uLong crc32) { 1467 return zipCloseFileInZipRaw64 (file, uncompressed_size, crc32); 1470 extern int ZEXPORT zipCloseFileInZipRaw64(zipFile file, ZPOS64_T uncompressed_size, uLong crc32) { 1557 crc32 = (uLong)zi->ci.crc32; [all...] |
/src/sys/arch/acorn32/podulebus/ |
if_ie.c | 266 crc32(u_char *p, int l) function in typeref:typename:u_long 425 if ( crc32(idrom,28) != *(u_long *)(idrom+28) ) 428 crc32(idrom,28), *(u_long *)(idrom+28));
|
/src/sys/external/bsd/drm2/dist/drm/amd/amdgpu/ |
amdgpu_ucode.h | 40 uint32_t crc32; /* crc32 checksum of the payload */ member in struct:common_firmware_header
|