Searched refs:crc (Results 126 - 150 of 261) sorted by relevance

1234567891011

/external/lzma/C/
H A DLzFind.h48 UInt32 crc[256]; member in struct:_CMatchFinder
H A DLzFindMt.c138 UInt32 *hash, UInt32 hashMask, UInt32 *heads, UInt32 numHeads, const UInt32 *crc) \
144 DEF_GetHeads2(2, (p[0] | ((UInt32)p[1] << 8)), UNUSED_VAR(hashMask); UNUSED_VAR(crc); )
145 DEF_GetHeads(3, (crc[p[0]] ^ p[1] ^ ((UInt32)p[2] << 8)) & hashMask)
146 DEF_GetHeads(4, (crc[p[0]] ^ p[1] ^ ((UInt32)p[2] << 8) ^ (crc[p[3]] << 5)) & hashMask)
147 DEF_GetHeads(4b, (crc[p[0]] ^ p[1] ^ ((UInt32)p[2] << 8) ^ ((UInt32)p[3] << 16)) & hashMask)
148 /* DEF_GetHeads(5, (crc[p[0]] ^ p[1] ^ ((UInt32)p[2] << 8) ^ (crc[p[3]] << 5) ^ (crc[p[4]] << 3)) & hashMask) */
207 mt->GetHeadsFunc(mf->buffer, mf->pos, mf->hash + mf->fixedHashSize, mf->hashMask, heads + 2, num, mf->crc);
[all...]
H A DXz.h80 UInt32 crc; member in struct:__anon14165
216 UInt32 crc; member in struct:__anon14173
/external/valgrind/none/tests/amd64/
H A Damd64locked.c112 UInt crc = crcIn; local
114 UPDATE_CRC(crc, bytes[0]);
115 UPDATE_CRC(crc, bytes[1]);
116 UPDATE_CRC(crc, bytes[2]);
117 UPDATE_CRC(crc, bytes[3]);
122 UPDATE_CRC(crc, bytes[0]);
126 return crc;
129 static UInt crcFinalise ( UInt crc ) {
130 return ~crc;
139 // update the running crc
[all...]
/external/valgrind/none/tests/x86/
H A Dx86locked.c112 UInt crc = crcIn; local
114 UPDATE_CRC(crc, bytes[0]);
115 UPDATE_CRC(crc, bytes[1]);
116 UPDATE_CRC(crc, bytes[2]);
117 UPDATE_CRC(crc, bytes[3]);
122 UPDATE_CRC(crc, bytes[0]);
126 return crc;
129 static UInt crcFinalise ( UInt crc ) {
130 return ~crc;
139 // update the running crc
[all...]
/external/stressapptest/src/
H A Dworker.cc884 const AdlerChecksum *expectedcrc = srcpe->pattern->crc();
890 AdlerChecksum crc; local
892 AdlerAddrCrcC(memslice, blocksize, &crc, srcpe);
894 CalculateAdlerChecksum(memslice, blocksize, &crc);
898 if (!crc.Equals(*expectedcrc)) {
901 crc.ToHexString().c_str(),
910 crc.ToHexString().c_str(),
1125 // C implementation of Adler memory crc.
1195 const AdlerChecksum *expectedcrc = srcpe->pattern->crc();
1201 AdlerChecksum crc; local
1345 AdlerChecksum crc; local
[all...]
/external/toybox/toys/pending/
H A Dxzcat.c176 uint32_t xz_crc32(const uint8_t *buf, size_t size, uint32_t crc) argument
178 crc = ~crc;
181 crc = xz_crc32_table[*buf++ ^ (crc & 0xFF)] ^ (crc >> 8);
185 return ~crc;
2378 uint64_t crc; member in struct:xz_dec
2571 s->crc = xz_crc32(b->out + s->out_start,
2572 b->out_pos - s->out_start, s->crc);
[all...]
/external/ImageMagick/coders/
H A Djnx.c85 crc,
189 jnx_info.crc=ReadBlobLSBSignedLong(image);
82 crc, member in struct:_JNXInfo
/external/e2fsprogs/lib/ext2fs/
H A Dundo_io.c116 __le32 crc; /* block checksum */ member in struct:undo_key_block
199 data->keyb->crc = 0;
200 data->keyb->crc = ext2fs_cpu_to_le32(
618 __le32 crc; local
631 crc = data->keyb->crc;
632 data->keyb->crc = 0;
635 if (ext2fs_le32_to_cpu(crc) != key_crc) {
/external/flac/include/FLAC/
H A Dformat.h439 FLAC__uint8 crc; member in struct:__anon6630
461 FLAC__uint16 crc; member in struct:__anon6632
463 * 0) of the bytes before the crc, back to and including the frame header
/external/libmicrohttpd/src/testzzuf/
H A Dtest_get_chunked.c65 crc (void *cls, uint64_t pos, char *buf, size_t max) function
114 &crc, responseptr, &crcf);
/external/valgrind/memcheck/tests/
H A Dvarinfo6.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/libmicrohttpd/src/microhttpd/
H A Dconnection.c338 if (NULL == response->crc)
351 /* will use sendfile, no need to bother response crc */
356 ret = response->crc (response->crc_cls,
367 if (NULL != response->crc)
381 if (NULL != response->crc)
447 ret = 0; /* response must be empty, don't bother calling crc */
449 ret = response->crc (response->crc_cls,
2130 if (NULL != response->crc)
2150 if (NULL != response->crc)
2502 if (NULL != connection->response->crc)
[all...]
/external/python/cpython2/Lib/idlelib/
H A DconfigHandler.py747 line, crc = 0, 0
750 global line, crc
753 crc = crc32(txt.encode(encoding='utf-8'), crc)
755 #print('***', line, crc, '***') # uncomment for diagnosis
772 print('\nlines = ', line, ', crc = ', crc, sep='')
/external/syslinux/com32/chain/
H A Dpartiter.c410 static inline int valid_crc(uint32_t crc, const uint8_t *buf, unsigned int siz) argument
412 return crc == crc32(crc32(0, NULL, 0), buf, siz);
418 uint32_t crc = gh->chksum; local
422 valid = crc == crc32(crc32(0, NULL, 0), buf, gh->hdr_size);
423 gh->chksum = crc;
/external/lzma/CPP/7zip/Archive/7z/
H A D7zOut.cpp62 CCRC crc; local
63 crc.UpdateUInt64(h.NextHeaderOffset);
64 crc.UpdateUInt64(h.NextHeaderSize);
65 crc.UpdateUInt32(h.NextHeaderCRC);
66 crc.UpdateUInt64(h.ArchiveStartOffset);
67 crc.UpdateUInt64(h.AdditionalStartBlockSize);
68 RINOK(WriteDirectUInt32(crc.GetDigest()));
/external/libpng/
H A Dpng.c109 /* The cast is safe because the crc is a 32-bit value. */
110 png_ptr->crc = (png_uint_32)crc32(0, Z_NULL, 0);
143 uLong crc = png_ptr->crc; /* Should never issue a warning */ local
153 crc = crc32(crc, ptr, safe_length);
164 /* And the following is always safe because the crc is only 32 bits. */
165 png_ptr->crc = (png_uint_32)crc;
2212 png_uint_32 adler, crc, lengt member in struct:__anon11543
2286 uLong crc = 0; /* the value for 0 length data */ local
[all...]
/external/pdfium/third_party/libpng16/
H A Dpng.c109 /* The cast is safe because the crc is a 32-bit value. */
110 png_ptr->crc = (png_uint_32)crc32(0, Z_NULL, 0);
143 uLong crc = png_ptr->crc; /* Should never issue a warning */ local
153 crc = crc32(crc, ptr, safe_length);
164 /* And the following is always safe because the crc is only 32 bits. */
165 png_ptr->crc = (png_uint_32)crc;
2178 png_uint_32 adler, crc, lengt member in struct:__anon16742
2252 uLong crc = 0; /* the value for 0 length data */ local
[all...]
/external/skia/third_party/libpng/
H A Dpng.c109 /* The cast is safe because the crc is a 32-bit value. */
110 png_ptr->crc = (png_uint_32)crc32(0, Z_NULL, 0);
143 uLong crc = png_ptr->crc; /* Should never issue a warning */ local
153 crc = crc32(crc, ptr, safe_length);
164 /* And the following is always safe because the crc is only 32 bits. */
165 png_ptr->crc = (png_uint_32)crc;
2178 png_uint_32 adler, crc, lengt member in struct:__anon18541
2252 uLong crc = 0; /* the value for 0 length data */ local
[all...]
/external/elfutils/lib/
H A Dsystem.h61 extern uint32_t crc32 (uint32_t crc, unsigned char *buf, size_t len);
/external/syslinux/gpxe/src/net/80211/
H A Dwpa_tkip.c457 u32 icv, crc; local
499 crc = ~crc32_le ( ~0, iob->data + hdrlen, datalen + TKIP_MIC_LEN );
500 if ( crc != icv ) {
502 ctx, icv, crc );
/external/libmicrohttpd/src/testcurl/
H A Dtest_get_chunked.c74 crc (void *cls, uint64_t pos, char *buf, size_t max) function
125 &crc, responseptr, &crcf);
/external/mesa3d/src/gallium/drivers/swr/rasterizer/core/
H A Dutils.h987 uint32_t ComputeCRC(uint32_t crc, const void *pData, uint32_t size) argument
995 crc = (uint32_t)_mm_crc32_u64(crc, *pDataWords++);
1003 crc = _mm_crc32_u32(crc, *pDataWords++);
1010 crc = _mm_crc32_u8(crc, *pRemainderBytes++);
1013 return crc;

Completed in 794 milliseconds

1234567891011