Searched refs:crc (Results 26 - 50 of 181) sorted by relevance

12345678

/external/elfutils/src/libdwelf/
H A Dlibdwelf.h48 extern const char *dwelf_elf_gnu_debuglink (Elf *elf, GElf_Word *crc);
/external/elfutils/src/tests/
H A Drun-debuglink.sh24 testfile36: testfile36.debug, crc: 8c5c20a3
25 testfile52-32.so: testfile52-32.so.debug, crc: b835a71d
H A Ddebuglink.c1 /* Test program for dwelf_elf_gnu_debuglink, print name and crc.
52 GElf_Word crc; local
53 const char *debug = dwelf_elf_gnu_debuglink (elf, &crc);
57 printf ("%s: %s, crc: %" PRIx32 "\n", file, debug, crc);
/external/lzma/xz-embedded/
H A Dxz_stream.h16 # define xz_crc32(buf, size, crc) \
17 (~crc32_le(~(uint32_t)(crc), buf, size))
/external/libpng/contrib/tools/
H A Dpng-fix-itxt.c44 unsigned long crc; local
79 crc = crc32(0, Z_NULL, 0);
88 crc = crc32(crc, buf+4, (uInt)length+4);
93 if (((crc >> 24) & 0xff) == buf[length+8] &&
94 ((crc >> 16) & 0xff) == buf[length+9] &&
95 ((crc >> 8) & 0xff) == buf[length+10] &&
96 ((crc ) & 0xff) == buf[length+11])
108 crc = crc32(crc, bu
[all...]
/external/fio/
H A DAndroid.mk38 crc_src_files := crc/crc7.c crc/crc16.c crc/crc32.c crc/crc64.c crc/crc32c.c crc/crc32c-intel.c \
39 crc/sha1.c crc/sha256.c crc/sha512.c crc/md
[all...]
/external/jsilver/src/com/google/clearsilver/jsilver/functions/string/
H A DCrcFunction.java40 Checksum crc = new CRC32();
47 crc.update(b, 0, b.length);
50 return literalConstant((int) crc.getValue(), args[0]);
/external/lzma/C/
H A D7zCrcOpt.c8 #define CRC_UPDATE_BYTE_2(crc, b) (table[((crc) ^ (b)) & 0xFF] ^ ((crc) >> 8))
H A DXz.c50 case XZ_CHECK_CRC32: p->crc = CRC_INIT_VAL; break;
60 case XZ_CHECK_CRC32: p->crc = CrcUpdate(p->crc, data, size); break;
71 SetUi32(digest, CRC_GET_DIGEST(p->crc));
H A D7zCrc.c22 #define CRC_UPDATE_BYTE_2(crc, b) (table[((crc) ^ (b)) & 0xFF] ^ ((crc) >> 8))
/external/lzma/CS/7zip/Common/
H A DCRC.cs44 CRC crc = new CRC();
45 // crc.Init();
46 crc.Update(data, offset, size);
47 return crc.GetDigest();
/external/kernel-headers/original/uapi/linux/
H A Dbcm933xx_hcs.h21 __u32 crc; member in struct:bcm_hcs
/external/lzma/CPP/7zip/Common/
H A DInOutTempBuffer.cpp83 UInt32 crc = CRC_INIT_VAL; local
88 crc = CrcUpdate(crc, _buf, _bufPos);
104 crc = CrcUpdate(crc, _buf, processed);
108 return (_crc == crc && size == _size) ? S_OK : E_FAIL;
/external/pdfium/core/src/fxcodec/fx_zlib/zlib_v128/
H A Dfx_zlib_crc32.c17 of the crc tables. Therefore, if you #define DYNAMIC_CRC_TABLE, you should
35 /* Definitions for doing the crc four data bytes at a time. */
49 /* Local functions for crc concatenation */
95 /* terms of polynomial defining this crc (except x^32): */
110 /* generate a crc for every 8-bit value */
119 /* generate crc for each value followed by one, two, and three zeros,
200 #define DO1 crc = crc_table[0][((int)crc ^ (*buf++)) & 0xff] ^ (crc >> 8)
205 unsigned long crc,
204 crc32( unsigned long crc, const unsigned char FAR *buf, uInt len) argument
247 crc32_little( unsigned long crc, const unsigned char FAR *buf, unsigned len) argument
287 crc32_big( unsigned long crc, const unsigned char FAR *buf, unsigned len) argument
[all...]
/external/zlib/src/
H A Dcrc32.c17 of the crc tables. Therefore, if you #define DYNAMIC_CRC_TABLE, you should
35 /* Definitions for doing the crc four data bytes at a time. */
49 /* Local functions for crc concatenation */
95 /* terms of polynomial defining this crc (except x^32): */
110 /* generate a crc for every 8-bit value */
119 /* generate crc for each value followed by one, two, and three zeros,
200 #define DO1 crc = crc_table[0][((int)crc ^ (*buf++)) & 0xff] ^ (crc >> 8)
204 unsigned long ZEXPORT crc32(crc, bu
[all...]
/external/tcpdump/
H A Dprint-mobile.c76 u_short proto,crc; local
88 crc = EXTRACT_16BITS(&mob->hcheck);
108 (void)printf(" (bad checksum %d)",crc);
/external/flac/libFLAC/
H A Dcrc.c37 #include "private/crc.h"
114 void FLAC__crc8_update(const FLAC__byte data, FLAC__uint8 *crc) argument
116 *crc = FLAC__crc8_table[*crc ^ data];
119 void FLAC__crc8_update_block(const FLAC__byte *data, unsigned len, FLAC__uint8 *crc) argument
122 *crc = FLAC__crc8_table[*crc ^ *data++];
127 FLAC__uint8 crc = 0; local
130 crc = FLAC__crc8_table[crc
137 unsigned crc = 0; local
[all...]
/external/elfutils/src/lib/
H A Dcrc32.c90 crc32 (uint32_t crc, unsigned char *buf, size_t len) argument
94 crc = ~crc;
96 crc = crc32_table[(crc ^ *buf) & 0xff] ^ (crc >> 8);
97 return ~crc;
/external/openssh/
H A Ddeattack.c81 u_int32_t crc; local
84 crc = 0;
87 crc_update(&crc, 1);
88 crc_update(&crc, 0);
90 crc_update(&crc, 0);
91 crc_update(&crc, 0);
94 return crc == 0;
H A Dcrc32.c99 u_int32_t i, crc; local
101 crc = 0;
103 crc = crc32tab[(crc ^ buf[i]) & 0xff] ^ (crc >> 8);
104 return crc;
/external/e2fsprogs/lib/ext2fs/
H A Dcrc32c.c75 static uint32_t crc32c_le_body(uint32_t crc, uint8_t const *buf, size_t len) argument
86 crc = (__force uint32_t) __cpu_to_le32(crc);
99 i0 = *p8++ ^ crc;
100 crc = t0_le[i0] ^ (crc >> 8);
102 i0 = *p8++ ^ (crc >> 24);
103 crc = t0_le[i0] ^ (crc << 8);
112 q = *++p32 ^ crc;
145 crc32c_be_body(uint32_t crc, uint8_t const *buf, size_t len) argument
212 crc32c_le_body(uint32_t crc, uint8_t const *buf, size_t len) argument
292 crc32c_be_body(uint32_t crc, uint8_t const *buf, size_t len) argument
378 ext2fs_crc32c_le(uint32_t crc, unsigned char const *p, size_t len) argument
419 ext2fs_crc32c_be(uint32_t crc, unsigned char const *p, size_t len) argument
971 uint32_t crc; /* random starting crc */ member in struct:crc_test
[all...]
H A Dcsum.c38 __u16 crc; local
59 crc = ext2fs_crc16(~0, fs->super->s_uuid,
61 crc = ext2fs_crc16(crc, &group, sizeof(group));
62 crc = ext2fs_crc16(crc, desc, offset);
66 crc = ext2fs_crc16(crc, (char *)desc + offset,
76 crc = ext2fs_crc16(crc,
[all...]
/external/aac/libSBRenc/src/
H A Denv_bit.cpp104 * @brief updates crc data register
107 * This function updates the crc register
112 USHORT *crc,
121 flag = ((*crc) & crcMask) ? (1) : (0) ;
124 (*crc)<<=1;
125 if(flag) (*crc) ^= crcPoly;
226 calculate crc
110 crcAdvance(USHORT crcPoly, USHORT crcMask, USHORT *crc, ULONG bValue, INT bBits ) argument
/external/deqp/framework/common/
H A DtcuSeedBuilder.cpp25 * different results. Then values are passed through 32 bit crc.
41 deUint32 crc = oldCrc; local
46 crc = crc ^ current;
50 if (crc & 1u)
51 crc = (crc >> 1u) ^ generator;
53 crc = (crc >> 1u);
57 return crc;
[all...]
/external/aac/libFDK/src/
H A DFDK_crc.cpp98 * \brief This table defines precalculated lookup tables for crc polynom x^16 + x^15 + x^2 + x^0.
137 * \brief This table defines precalculated lookup tables for crc polynom x^16 + x^12 + x^5 + x^0.
209 /* crc polynom example:
308 * \brief Calculate crc bits.
310 * Calculate crc starting at current bitstream postion over nBits.
312 * \param pCrc Pointer to an outlying allocated crc info structure.
329 USHORT crc = *pCrc; /* get crc value */ local
334 tmp ^= ( (crc & crcMask) ? 1 : 0 );
336 crc <<
374 USHORT crc = *pCrc; /* get crc value */ local
409 USHORT crc = hCrcInfo->crcValue; local
[all...]

Completed in 2967 milliseconds

12345678