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

12

/haiku-fatelf/src/add-ons/kernel/partitioning_systems/gpt/
H A Dcrc32.h12 uint32 crc32(const uint8* buffer, size_t size);
H A DHeader.cpp23 #include "crc32.h"
272 header.SetEntriesCRC(crc32(fEntries, _EntryArraySize()));
274 header.SetHeaderCRC(crc32((uint8*)&header, sizeof(efi_table_header)));
307 bool matches = originalCRC == crc32((const uint8*)&fHeader,
318 return fHeader.EntriesCRC() == crc32(fEntries, _EntryArraySize());
H A Dcrc32.cpp48 #include "crc32.h"
99 crc32(const uint8* buffer, size_t size) function
/haiku-fatelf/src/bin/gdb/gdb/rdi-share/
H A Dcrc.h25 * When using "crc32" or "crc16" these initial CRC values must be given to
29 * When the last data block has been processed using the "crc32" algorithm
52 * Function: crc32
64 extern unsigned int crc32(unsigned char *address, unsigned int size,
H A Dtx.c158 txstate->crc = crc32( &ch_in, 1, txstate->crc);
172 txstate->crc = crc32(&ch_in, 1, txstate->crc);
H A Drx.c112 rxstate->crc = crc32(&new_ch, 1, rxstate->crc);
152 rxstate->crc = crc32(&new_ch, 1, rxstate->crc);
157 rxstate->crc = crc32(&new_ch, 1, rxstate->crc);
H A Dcrc.c23 * crc32 IEEE-802.3 32bit CRC
94 unsigned int crc32(unsigned char *address, unsigned int size, unsigned int crc) function
/haiku-fatelf/src/libs/pdflib/libs/flate/
H A DMakefile16 $(srcdir)/crc32.c \
31 $(srcdir)/crc32$(LO) \
H A Dzconf.h34 # define crc32 psp_z_crc32 macro
90 # define crc32 pdf_z_crc32 macro
H A Dcrc32.c0 /* crc32.c -- compute the CRC-32 of a data stream
6 /* $Id: crc32.c 14574 2005-10-29 16:27:43Z bonefish $ */
7 /* @(#) $Id: crc32.c 14574 2005-10-29 16:27:43Z bonefish $ */
126 * This function can be used by asm versions of crc32()
143 uLong ZEXPORT crc32( function
/haiku-fatelf/src/bin/unzip/
H A Dcrc32.c9 /* crc32.c -- compute the CRC-32 of a data stream
14 /* $Id: crc32.c 1101 2002-09-21 14:54:45Z darkwyrm $ */
37 ulg crc32(crc, buf, len) function
H A Dcrypt.c539 GLOBAL(lrec.crc32), GLOBAL(pInfo->crc),
551 (ush)(c | (b<<8)), (ush)(GLOBAL(lrec.crc32) >> 16),
555 (ush)(GLOBAL(lrec.crc32) >> 16)))
560 b, (ush)(GLOBAL(lrec.crc32) >> 24),
564 (ush)(GLOBAL(lrec.crc32) >> 24)))
H A Dcryptf.c542 GLOBAL(lrec.crc32), GLOBAL(pInfo->crc),
554 (ush)(c | (b<<8)), (ush)(GLOBAL(lrec.crc32) >> 16),
558 (ush)(GLOBAL(lrec.crc32) >> 16)))
563 b, (ush)(GLOBAL(lrec.crc32) >> 24),
567 (ush)(GLOBAL(lrec.crc32) >> 24)))
H A Dcrc_i386.S35 * ulg crc32(ulg crc, ZCONST uch *buf, extent len).
48 # define _crc32 crc32
137 _crc32: /* ulg crc32(ulg crc, uch *buf, extent len) */
H A Dfunzip.c252 G.crc32val = crc32(G.crc32val, rawbuf, (extent)w);
286 G.crc32val = crc32(G.crc32val, slide, (extent)w);
518 G.crc32val = crc32(G.crc32val, slide, (extent)G.outcnt);
530 G.crc32val = crc32(G.crc32val, slide, (extent)G.outcnt);
/haiku-fatelf/src/bin/zip/
H A Dcrc32.c9 /* crc32.c -- compute the CRC-32 of a data stream
14 /* $Id: crc32.c 22782 2007-11-01 01:27:31Z korli $ */
37 ulg crc32(crc, buf, len) function
H A Dcrypt.c554 GLOBAL(lrec.crc32), GLOBAL(pInfo->crc),
566 (ush)(c | (b<<8)), (ush)(GLOBAL(lrec.crc32) >> 16),
570 (ush)(GLOBAL(lrec.crc32) >> 16)))
575 b, (ush)(GLOBAL(lrec.crc32) >> 24),
579 (ush)(GLOBAL(lrec.crc32) >> 24)))
H A Dcrc_i386.S35 * ulg crc32(ulg crc, ZCONST uch *buf, ulg len).
48 # define _crc32 crc32
137 _crc32: /* ulg crc32(ulg crc, uch *buf, extent len) */
H A Dzip.h229 #if 0 /* Optimization: use the (const) result of crc32(0L,NULL,0) */
230 # define CRCVAL_INITIAL crc32(0L, (uch *)NULL, 0)
506 /* in crc32.c */
507 ulg crc32 OF((ulg, ZCONST uch *, extent));
/haiku-fatelf/src/bin/gdb/bfd/
H A Dopncls.c889 and adding in the crc32 for @var{len} bytes of @var{buf}.
981 unsigned long crc32;
1004 crc32 = bfd_get_32 (abfd, contents + crc_offset);
1006 *crc32_out = crc32;
1016 (char *name, unsigned long crc32);
1020 match @var{crc32}.
1068 unsigned long crc32;
1079 basename = get_debug_link_info (abfd, & crc32);
1121 if (separate_debug_file_exists (debugfile, crc32))
1133 if (separate_debug_file_exists (debugfile, crc32))
980 unsigned long crc32; local
1067 unsigned long crc32; local
1289 unsigned long crc32; local
[all...]
/haiku-fatelf/src/system/kernel/debug/
H A Ddebug_paranoia.cpp57 crc32(const void* _data, size_t size) function
91 fCheckSum = crc32(fAddress, fSize);
96 return crc32(fAddress, fSize) == fCheckSum;
/haiku-fatelf/src/libs/zlib/
H A Ddeflate.c377 s->wrap == 2 ? crc32(0L, Z_NULL, 0) :
610 strm->adler = crc32(0L, Z_NULL, 0);
646 strm->adler = crc32(strm->adler, s->pending_buf,
689 strm->adler = crc32(strm->adler, s->pending_buf + beg,
700 strm->adler = crc32(strm->adler, s->pending_buf + beg,
718 strm->adler = crc32(strm->adler, s->pending_buf + beg,
731 strm->adler = crc32(strm->adler, s->pending_buf + beg,
749 strm->adler = crc32(strm->adler, s->pending_buf + beg,
762 strm->adler = crc32(strm->adler, s->pending_buf + beg,
777 strm->adler = crc32(
[all...]
H A Dinflate.c410 /* check function to use adler32() for zlib or crc32() for gzip */
413 (state->flags ? crc32(check, buf, len) : adler32(check, buf, len))
424 check = crc32(check, hbuf, 2); \
433 check = crc32(check, hbuf, 4); \
632 state->check = crc32(0L, Z_NULL, 0);
730 state->check = crc32(state->check, next, copy);
751 state->check = crc32(state->check, next, copy);
772 state->check = crc32(state->check, next, copy);
794 strm->adler = state->check = crc32(0L, Z_NULL, 0);
H A Dgzread.c198 strm->adler = crc32(0L, Z_NULL, 0);
273 strm->adler = crc32(strm->adler, state->next, state->have);
/haiku-fatelf/headers/libs/zlib/
H A Dzconf.h33 # define crc32 z_crc32 macro

Completed in 116 milliseconds

12