Searched refs:crc (Results 76 - 100 of 268) sorted by path

1234567891011

/external/chromium_org/third_party/zlib/contrib/minizip/
H A Dminiunz.c283 (uLong)file_info.crc,filename_inzip);
H A Dmztools.c59 unsigned int crc = READ_32(header + 14); /* crc */ local
149 WRITE_32(header + 16, crc);
H A Dunzip.c933 if (unz64local_getLong(&s->z_filefunc, s->filestream,&file_info.crc) != UNZ_OK)
1155 pfile_info->crc = file_info64.crc;
1435 if (unz64local_getLong(&s->z_filefunc, s->filestream,&uData) != UNZ_OK) /* crc */
1437 else if ((err==UNZ_OK) && (uData!=s->cur_file_info.crc) && ((uFlags & 8)==0))
1540 pfile_in_zip_read_info->crc32_wait=s->cur_file_info.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/chromium_org/third_party/zlib/
H A Dcrc32.c17 of the crc tables. Therefore, if you #define DYNAMIC_CRC_TABLE, you should
54 /* Definitions for doing the crc four data bytes at a time. */
67 /* Local functions for crc concatenation */
113 /* terms of polynomial defining this crc (except x^32): */
128 /* generate a crc for every 8-bit value */
137 /* generate crc for each value followed by one, two, and three zeros,
217 #define DO1 crc = crc_table[0][((int)crc ^ (*buf++)) & 0xff] ^ (crc >> 8)
221 unsigned long ZEXPORT crc32(crc, bu
[all...]
H A Dgzread.c189 if (flags & 2) { /* header crc */
228 to point to the just decompressed data, and the crc is updated. If the
238 unsigned long crc, len; local
270 /* update available output and crc check value */
277 if (gz_next4(state, &crc) == -1 || gz_next4(state, &len) == -1) {
281 if (crc != strm->adler) {
H A Dzlib.h125 int hcrc; /* true if there was or will be a header crc */
551 header crc, and the operating system will be set to 255 (unknown). If a
726 available there. If hcrc is true, a gzip header crc is included. Note that
728 1.3.x) do not support header crc's, and will report that it is a "multi-part
1079 and decode gzip streams (to avoid linking crc code)
1503 ZEXTERN uLong ZEXPORT crc32 OF((uLong crc, const Bytef *buf, uInt len));
1507 initial value for the for the crc. Pre- and post-conditioning (one's
1513 uLong crc = crc32(0L, Z_NULL, 0);
1516 crc = crc32(crc, buffe
[all...]
/external/dexmaker/lib/
H A Dmockito-core-1.9.1-SNAPSHOT.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/mockito/ org/mockito/asm/ org/mockito/asm/signature/ ...
/external/dnsmasq/src/
H A Ddnsmasq.h393 unsigned int crc; member in struct:frec
H A Dforward.c19 static struct frec *lookup_frec(unsigned short id, unsigned int crc);
22 unsigned int crc);
23 static unsigned short get_id(int force, unsigned short force_id, unsigned int crc);
211 unsigned int crc = questions_crc(header, plen, daemon->namebuff); local
219 else if (forward || (forward = lookup_frec_by_sender(ntohs(header->id), udpaddr, crc)))
253 forward->new_id = get_id(is_sign, forward->orig_id, crc);
255 forward->crc = crc;
805 unsigned int crc = questions_crc(header, (unsigned int)size, daemon->namebuff); local
873 /* If the crc o
1038 lookup_frec(unsigned short id, unsigned int crc) argument
1050 lookup_frec_by_sender(unsigned short id, union mysockaddr *addr, unsigned int crc) argument
1086 get_id(int force, unsigned short force_id, unsigned int crc) argument
[all...]
H A Drfc1035.c377 unsigned int crc = 0xffffffff; local
383 return crc; /* bad packet */
393 crc ^= c << 24;
395 crc = crc & 0x80000000 ? (crc << 1) ^ 0x04c11db7 : crc << 1;
402 crc ^= *p1 << 24;
404 crc = crc
[all...]
/external/e2fsprogs/e2fsck/
H A Dcrc32.c58 * @crc: seed value for computation. ~0 for Ethernet, sometimes 0 for
63 __u32 crc32_le(__u32 crc, unsigned char const *p, size_t len);
71 __u32 crc32_le(__u32 crc, unsigned char const *p, size_t len) argument
75 crc ^= *p++;
77 crc = (crc >> 1) ^ ((crc & 1) ? CRCPOLY_LE : 0);
79 return crc;
83 __u32 crc32_le(__u32 crc, unsigned char const *p, size_t len) argument
90 # define DO_CRC(x) crc
169 crc32_be(__u32 crc, unsigned char const *p, size_t len) argument
183 crc32_be(__u32 crc, unsigned char const *p, size_t len) argument
[all...]
H A De2fsck.h409 extern __u32 crc32_be(__u32 crc, unsigned char const *p, size_t len);
H A Dgen_crc32table.c27 * crc is the crc of the byte i; other entries are filled in based on the
34 uint32_t crc = 1; local
39 crc = (crc >> 1) ^ ((crc & 1) ? CRCPOLY_LE : 0);
41 crc32table_le[i + j] = crc ^ crc32table_le[j];
51 uint32_t crc = 0x80000000; local
56 crc = (crc <<
[all...]
/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;
H A Dprobe.h210 __u32 crc; member in struct:cramfs_super_block::cramfs_info
/external/e2fsprogs/lib/ext2fs/
H A Dcrc16.c54 * @param crc previous CRC value
59 crc16_t ext2fs_crc16(crc16_t crc, const void *buffer, unsigned int len) argument
70 crc = (((crc >> 8) & 0xffU) ^
71 crc16_table[(crc ^ *cp++) & 0xffU]) & 0x0000ffffU;
72 return crc;
H A Dcrc16.h24 extern crc16_t ext2fs_crc16(crc16_t crc, const void *buffer, unsigned int len);
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...]
H A Dext2fs.h945 extern __u32 ext2fs_crc32c_be(__u32 crc, unsigned char const *p, size_t len);
946 extern __u32 ext2fs_crc32c_le(__u32 crc, unsigned char const *p, size_t len);
H A Dgen_crc32ctable.c25 * crc is the crc of the byte i; other entries are filled in based on the
32 uint32_t crc = 1; local
37 crc = (crc >> 1) ^ ((crc & 1) ? CRCPOLY_LE : 0);
39 crc32ctable_le[0][i + j] = crc ^ crc32ctable_le[0][j];
42 crc = crc32ctable_le[0][i];
44 crc = crc32ctable_le[0][crc
56 uint32_t crc = 0x80000000; local
[all...]
/external/e2fsprogs/tests/progs/
H A Dcrcsum.c30 uint32_t crc = ~0; local
31 uint32_t (*csum_func)(uint32_t crc, unsigned char const *p,
63 crc = csum_func(crc, buf, c);
65 printf("%u\n", crc);
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.apache.ant_1.7.1.v20090120-1145/lib/
H A Dant-nodeps.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/apache/ org/apache/tools/ org/apache/tools/ant/ ...
H A Dant.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/apache/ org/apache/tools/ org/apache/tools/ant/ ...

Completed in 575 milliseconds

1234567891011