Searched refs:crc32 (Results 1 - 17 of 17) sorted by path

/haiku/src/add-ons/kernel/partitioning_systems/gpt/
H A Dcrc32.cpp48 #include "crc32.h"
99 crc32(const uint8* buffer, size_t size) function
H A Dcrc32.h12 uint32 crc32(const uint8* buffer, size_t size);
H A DHeader.cpp32 #include "crc32.h"
311 header.SetEntriesCRC(crc32(fEntries, _EntryArraySize()));
313 header.SetHeaderCRC(crc32((uint8*)&header, sizeof(gpt_table_header)));
346 bool matches = originalCRC == crc32((const uint8*)&header,
357 return fHeader.EntriesCRC() == crc32(fEntries, _EntryArraySize());
/haiku/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 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 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 Dextract.c732 G.pInfo->crc = G.crec.crc32;
1650 if (G.crc32val != G.lrec.crc32) {
1656 G.lrec.crc32));
1843 crc32(CRCVAL_INITIAL, ef+(EB_HEADSIZE+4),
1999 register ulg crcval = crc32(CRCVAL_INITIAL, tgt, (extent)G.outcnt);
H A Dfileio.c768 G.crc32val = crc32(G.crc32val, rawbuf, (extent)size);
1081 crc32(CRCVAL_INITIAL, eb_data, (extent)eb_datlen))
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);
H A Dlist.c339 (LPSTR)fnfilter(G.filename, slide), (LPSTR)methbuf, G.crec.crc32,
349 yr, hh, mm, G.crec.crc32, (G.pInfo->lcflag? '^':' ')));
H A Dprocess.c1200 G.crec.crc32 =
1258 G.lrec.crc32 = makelong(&byterec[L_CRC32]);
1266 G.lrec.crc32 = G.pInfo->crc;
H A Dunzip.h509 ulg crc32; member in struct:central_directory_file_header
H A Dunzpriv.h1402 #define EB_ASI_CRC32 0 /* offset of ASI Unix field's crc32 checksum */
1623 ulg crc32; member in struct:local_file_header
1637 ulg crc32;
2031 ulg crc32 OF((ulg crc, ZCONST uch *buf, extent len));
2032 #endif /* !USE_ZLIB */ /* assembler source or crc32.c */
2163 #if 0 /* Optimization: use the (const) result of crc32(0L,NULL,0) */
2164 # define CRCVAL_INITIAL crc32(0L, NULL, 0)
H A Dzipinfo.c1096 Info(slide, 0, ((char *)slide, LoadFarString(CRC32Value), G.crec.crc32));
/haiku/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/headers/private/kernel/platform/efi/
H A Dboot-services.h197 efi_status (*CalculateCrc32) (void* data, size_t len, uint32_t* crc32) EFIAPI;

Completed in 136 milliseconds