Searched refs:crc (Results 101 - 125 of 181) sorted by relevance

12345678

/external/flac/include/FLAC/
H A Dformat.h439 FLAC__uint8 crc; member in struct:__anon4968
461 FLAC__uint16 crc; member in struct:__anon4970
463 * 0) of the bytes before the crc, back to and including the frame header
/external/lzma/C/
H A DXz.h80 UInt32 crc; member in struct:__anon11557
214 UInt32 crc; member in struct:__anon11565
H A DXzDec.c701 p->crc = CrcUpdate(CRC_INIT_VAL, p->buf, p->indexPreSize);
777 p->crc = CrcUpdate(p->crc, src, srcRem);
786 p->crc = CRC_UPDATE_BYTE(p->crc, b);
818 if (CRC_GET_DIGEST(p->crc) != GetUi32(p->buf))
/external/valgrind/memcheck/tests/
H A Dvarinfo6.stdout.exp2 block 1: crc = 0xA212ABF8, combined CRC = 0xA212ABF8, size = 22373
H A Dorigin5-bz2.stdout.exp3 block 1: crc = 0xA212ABF8, combined CRC = 0xA212ABF8, size = 22373
H A Dvcpu_bz2.stdout.exp2 block 1: crc = 0xA212ABF8, combined CRC = 0xA212ABF8, size = 22373
/external/zlib/src/contrib/minizip/
H A Dmztools.c59 unsigned int crc = READ_32(header + 14); /* crc */ local
159 WRITE_32(header + 16, crc);
H A Dunzip.h118 uLong crc; /* crc-32 4 bytes */ member in struct:unz_file_info64_s
139 uLong crc; /* crc-32 4 bytes */ member in struct:unz_file_info_s
/external/libnfc-nxp/src/
H A DphDnldNfc.c807 unsigned long crc; local
812 crc = i;
815 if ( crc & 1 )
817 crc = ( crc>> 1 ) ^ CRC32_POLYNOMIAL;
821 crc>>= 1;
824 CRC32Table[ i ] = crc;
830 * table lookup method. It accepts an original value for the crc,
834 uint32_t CalculateCRC32( void *buffer , uint32_t count, uint32_t crc )
842 temp1 = ( crc>>
874 uint16_t crc = 0; local
[all...]
H A DphLlcNfc_Frame.c1756 uint16_t crc = 0; local
1759 crc = 0x6363; /* ITU-V.41 */
1761 crc = 0xFFFF; /* ISO/IEC 13239 (formerly ISO/IEC 3309) */
1767 phLlcNfc_H_UpdateCrc(crc_byte, &crc);
1772 crc = ~crc; /* ISO/IEC 13239 (formerly ISO/IEC 3309) */
1775 *pCrc1 = (uint8_t) (crc & 0xFF);
1776 *pCrc2 = (uint8_t) ((crc >> 8) & 0xFF);
/external/lzma/CPP/7zip/Archive/7z/
H A D7zOut.cpp82 CCRC crc; local
83 crc.UpdateUInt64(h.NextHeaderOffset);
84 crc.UpdateUInt64(h.NextHeaderSize);
85 crc.UpdateUInt32(h.NextHeaderCRC);
86 crc.UpdateUInt64(h.ArchiveStartOffset);
87 crc.UpdateUInt64(h.AdditionalStartBlockSize);
88 RINOK(WriteDirectUInt32(crc.GetDigest()));
/external/e2fsprogs/lib/blkid/
H A Dprobe.c1316 unsigned int i, crc = 0xf597a6cf; local
1320 crc ^= *data++;
1321 crc = (crc >> 4) ^ crctab[crc & 0xf];
1322 crc = (crc >> 4) ^ crctab[crc & 0xf];
1324 return crc;
/external/libpng/
H A Dpng.c104 /* The cast is safe because the crc is a 32 bit value. */
105 png_ptr->crc = (png_uint_32)crc32(0, Z_NULL, 0);
138 uLong crc = png_ptr->crc; /* Should never issue a warning */ local
146 crc = crc32(crc, ptr, safe_length);
157 /* And the following is always safe because the crc is only 32 bits. */
158 png_ptr->crc = (png_uint_32)crc;
2144 png_uint_32 adler, crc, lengt member in struct:__anon9088
2217 uLong crc = 0; /* the value for 0 length data */ local
[all...]
/external/pdfium/samples/fx_lpng/lpng_v163/
H A Dfx_png.c103 /* The cast is safe because the crc is a 32 bit value. */
104 png_ptr->crc = (png_uint_32)crc32(0, Z_NULL, 0);
137 uLong crc = png_ptr->crc; /* Should never issue a warning */ local
145 crc = crc32(crc, ptr, safe_length);
156 /* And the following is always safe because the crc is only 32 bits. */
157 png_ptr->crc = (png_uint_32)crc;
2077 png_uint_32 adler, crc, lengt member in struct:__anon13366
2150 uLong crc = 0; /* the value for 0 length data */ local
[all...]
/external/elfutils/src/lib/
H A Dsystem.h61 extern uint32_t crc32 (uint32_t crc, unsigned char *buf, size_t len);
/external/lzma/CPP/7zip/
H A DICoder.h165 STDMETHOD(CryptoSetCRC)(UInt32 crc) PURE;
/external/jmonkeyengine/engine/src/core-plugins/com/jme3/asset/plugins/
H A DHttpZipLocator.java93 long crc; field in class:HttpZipLocator.ZipEntry2
228 entry.crc = getu32(table, offset + CENCRC);
/external/gptfdisk/
H A Dgpt.cc497 uint32_t crc, hSize; local
514 crc = chksum_crc32((unsigned char*) partitions, numParts * GPT_SIZE);
515 mainHeader.partitionEntriesCRC = crc;
516 secondHeader.partitionEntriesCRC = crc;
526 crc = chksum_crc32((unsigned char*) &mainHeader, hSize);
528 ReverseBytes(&crc, 4);
529 mainHeader.headerCRC = crc;
530 crc = chksum_crc32((unsigned char*) &secondHeader, hSize);
532 ReverseBytes(&crc, 4);
533 secondHeader.headerCRC = crc;
[all...]
/external/f2fs-tools/mkfs/
H A Df2fs_format.c443 u_int32_t crc = 0; local
517 crc = f2fs_cal_crc32(F2FS_SUPER_MAGIC, cp, CHECKSUM_OFFSET);
519 cpu_to_le32(crc);
658 crc = f2fs_cal_crc32(F2FS_SUPER_MAGIC, cp, CHECKSUM_OFFSET);
660 cpu_to_le32(crc);
/external/valgrind/auxprogs/
H A Dvalgrind-di-server.c649 UInt crc = 0xFFFFFFFF; local
669 crc = crc32_table[(crc ^ buf[i]) & 0xff] ^ (crc >> 8);
673 return ~crc & 0xFFFFFFFF;
/external/flac/libFLAC/
H A Dstream_encoder_framing.c40 #include "private/crc.h"
218 FLAC__byte crc; local
354 if(!FLAC__bitwriter_get_write_crc8(bw, &crc))
356 if(!FLAC__bitwriter_write_raw_uint32(bw, crc, FLAC__FRAME_HEADER_CRC_LEN))
/external/libxml2/
H A Dxzlib.c491 if (flags & 2) { /* header crc */
532 unsigned long crc, len; local
586 /* update available output and crc check value */
597 if (gz_next4(state, &crc) == -1 || gz_next4(state, &len) == -1) {
601 if (crc != state->zstrm.adler) {
/external/valgrind/coregrind/m_debuginfo/
H A Dreadelf.c1164 DiImage* open_debug_file( const HChar* name, const HChar* buildid, UInt crc, argument
1181 /* We will always check the crc if we have one (altfiles don't have one)
1186 if (buildid && crc == 0) {
1202 if (calccrc != crc) {
1206 " .. CRC mismatch (computed %08x wanted %08x)\n", calccrc, crc);
1228 const HChar* debugname, UInt crc, Bool rel_ok )
1264 dimg = open_debug_file(debugpath, buildid, crc, rel_ok, NULL);
1268 dimg = open_debug_file(debugpath, buildid, crc, rel_ok, NULL);
1272 dimg = open_debug_file(debugpath, buildid, crc, rel_ok, NULL);
1278 dimg = open_debug_file(debugpath, buildid, crc, rel_o
1226 find_debug_file( struct _DebugInfo* di, const HChar* objpath, const HChar* buildid, const HChar* debugname, UInt crc, Bool rel_ok ) argument
2467 UInt crc = ML_(img_get_UInt)(debuglink_escn.img, local
[all...]
/external/fio/
H A Dserver.c25 #include "crc/crc16.h"
186 uint16_t crc; local
191 crc = fio_crc16(cmd, FIO_NET_CMD_CRC_SZ);
192 if (crc != cmd->cmd_crc16) {
193 log_err("fio: server bad crc on command (got %x, wanted %x)\n",
194 cmd->cmd_crc16, crc);
227 uint16_t crc; local
280 /* Verify payload crc */
281 crc = fio_crc16(pdu, cmd.pdu_len);
282 if (crc !
[all...]
/external/valgrind/exp-sgcheck/tests/
H A Dhackedbz2.stdout.exp2 block 1: crc = 0xA212ABF8, combined CRC = 0xA212ABF8, size = 22373

Completed in 930 milliseconds

12345678