/macosx-10.9.5/libarchive-29/libarchive/libarchive/ |
H A D | archive_crc32.h | 36 * for crc32() from zlib. It's slower than the zlib implementation, 41 crc32(unsigned long crc, const void *_p, size_t len) argument 62 crc = crc ^ 0xffffffffUL; 64 crc = crc_tbl[(crc ^ *p++) & 0xff] ^ (crc >> 8); 65 return (crc ^ 0xffffffffUL);
|
H A D | archive_write_set_compression_gzip.c | 64 unsigned long crc; member in struct:private_data 162 state->crc = crc32(0L, NULL, 0); 271 state->crc = crc32(state->crc, (const Bytef *)buff, length); 316 state->crc = crc32(state->crc, a->nulls, 331 trailer[0] = (state->crc) [all...] |
H A D | archive_read_support_compression_gzip.c | 58 unsigned long crc; member in struct:private_data 185 int crc = /* XXX TODO: Compute header CRC. */; 186 if (crc != hcrc) 290 state->crc = crc32(0L, NULL, 0);
|
/macosx-10.9.5/file_cmds-230/cksum/ |
H A D | extern.h | 40 int crc(int, uint32_t *, off_t *); 46 int crc32(int, uint32_t *, off_t *);
|
H A D | crc32.c | 6 * the crc computation is finished. The crc should be complemented 8 * The variable corresponding to the macro argument "crc" should 10 * use. An error-free packet will leave 0xDEBB20E3 in the crc. 15 __FBSDID("$FreeBSD: src/usr.bin/cksum/crc32.c,v 1.9 2003/03/13 23:32:28 robert Exp $"); 25 #define CRC(crc, ch) (crc = (crc >> 8) ^ crctab[(crc ^ (ch)) & 0xff]) 101 crc32(in function [all...] |
H A D | cksum.c | 91 cfncn = crc; 104 cfncn = crc32;
|
/macosx-10.9.5/CommonCrypto-60049/libcn/ |
H A D | CommonCRC.c | 27 #include "crc.h" 52 globals->crcSelectionTab[kCN_CRC_32].descriptor = &crc32; 64 crcInfoPtr crc; member in struct:crcRef_int 70 try_generic_oneshot(crcInfoPtr crc, size_t len, const void *in) argument 72 if(crc->descriptor->def.parms.reflect_reverse) return crc_reverse_oneshot(crc, (uint8_t *) in, len); 73 else return crc_normal_oneshot(crc, (uint8_t *) in, len); 77 try_generic_setup(crcInfoPtr crc) argument 79 if(crc->descriptor->def.parms.reflect_reverse) return crc_reverse_init(crc); 84 try_generic_update(crcInfoPtr crc, size_t len, const void *in, uint64_t current) argument 91 try_generic_final(crcInfoPtr crc, uint64_t current) argument 100 crcInfoPtr crc = getDesc(algorithm); local 158 crcInfoPtr crc = getDesc(algorithm); local 170 crcInfoPtr crc = getDesc(algorithm); local [all...] |
H A D | crc.h | 49 typedef uint64_t (*cccrc_update_p)(size_t len, const void *in, uint64_t crc); 50 typedef uint64_t (*cccrc_final_p)(size_t length, uint64_t crc); 105 int gen_std_crc_table(crcInfoPtr crc); 106 void dump_crc_table(crcInfoPtr crc); 107 uint64_t crc_normal_init(crcInfoPtr crc); 108 uint64_t crc_normal_update(crcInfoPtr crc, uint8_t *p, size_t len, uint64_t current); 109 uint64_t crc_normal_final(crcInfoPtr crc, uint64_t current); 110 uint64_t crc_normal_oneshot(crcInfoPtr crc, uint8_t *p, size_t len); 112 uint64_t crc_reverse_init(crcInfoPtr crc); 113 uint64_t crc_reverse_update(crcInfoPtr crc, uint8_ 143 const crcDescriptor crc32; variable [all...] |
/macosx-10.9.5/tcl-102/tcl_ext/tcllib/tcllib/modules/virtchannel_transform/ |
H A D | crc32.tcl | 6 # Package tcl::transform::crc32 1 12 # Meta description Implementation of a crc32 checksum 16 # Meta description the crc32 functionality. An observer 18 # Meta description on the crc checksum see 42 proc ::tcl::transform::crc32 {chan args} { 43 ::chan push $chan [crc32::implementation new {*}$args] 46 oo::class create ::tcl::transform::crc32::implementation { 88 upvar #0 $options($o) crc 89 set crc 0 95 upvar #0 $options($o) crc [all...] |
/macosx-10.9.5/tcl-102/tcl_ext/tcllib/tcllib/modules/crc/ |
H A D | crc16.tcl | 10 # [1] http://www.microconsultants.com/tips/crc/crc.txt for the reference 16 # Checks: a crc for the string "123456789" should give: 22 # eg: crc::crc16 "123456789" 23 # crc::crc-ccitt "123456789" 24 # or crc::crc16 -file tclsh.exe 30 # % set crc [crc::crc [all...] |
/macosx-10.9.5/rsync-42/rsync/zlib/ |
H A D | crc32.c | 0 /* crc32.c -- compute the CRC-32 of a data stream 17 of the crc tables. Therefore, if you #define DYNAMIC_CRC_TABLE, you should 19 one thread to use crc32(). 54 /* Definitions for doing the crc four data bytes at a time. */ 67 /* Local functions for crc concatenation */ 111 /* terms of polynomial defining this crc (except x^32): */ 126 /* generate a crc for every 8-bit value */ 135 /* generate crc for each value followed by one, two, and three zeros, 157 /* write out CRC tables to crc32.h */ 161 out = fopen("crc32 219 unsigned long ZEXPORT crc32(crc, buf, len) function [all...] |
/macosx-10.9.5/tcl-102/tcl_ext/tcllib/tcllib/support/installation/ |
H A D | version.tcl | 12 critcl crcc {crc/crcc.tcl crc/sum.tcl crc/crc32.tcl}
|
/macosx-10.9.5/xnu-2422.115.4/bsd/libkern/ |
H A D | crc32.c | 93 crc32(uint32_t crc, const void *buf, size_t size) argument 98 crc = crc ^ ~0U; 101 crc = crc32_tab[(crc ^ *p++) & 0xFF] ^ (crc >> 8); 103 return crc ^ ~0U;
|
H A D | libkern.h | 171 uint32_t crc32(uint32_t crc, const void *bufp, size_t len);
|
/macosx-10.9.5/sudo-72/src/zlib/ |
H A D | crc32.c | 0 /* crc32.c -- compute the CRC-32 of a data stream 17 of the crc tables. Therefore, if you #define DYNAMIC_CRC_TABLE, you should 19 one thread to use crc32(). 21 DYNAMIC_CRC_TABLE and MAKECRCH can be #defined to write out crc32.h. 56 /* Definitions for doing the crc four data bytes at a time. */ 71 /* Local functions for crc concatenation */ 117 /* terms of polynomial defining this crc (except x^32): */ 132 /* generate a crc for every 8-bit value */ 141 /* generate crc for each value followed by one, two, and three zeros, 163 /* write out CRC tables to crc32 226 unsigned long ZEXPORT crc32(crc, buf, len) function [all...] |
/macosx-10.9.5/zlib-53/zlib/ |
H A D | crc32.c | 0 /* crc32.c -- compute the CRC-32 of a data stream 17 of the crc tables. Therefore, if you #define DYNAMIC_CRC_TABLE, you should 19 one thread to use crc32(). 55 /* Definitions for doing the crc four data bytes at a time. */ 68 /* Local functions for crc concatenation */ 114 /* terms of polynomial defining this crc (except x^32): */ 129 /* generate a crc for every 8-bit value */ 138 /* generate crc for each value followed by one, two, and three zeros, 160 /* write out CRC tables to crc32.h */ 164 out = fopen("crc32 222 unsigned long ZEXPORT crc32(crc, buf, len) function [all...] |
/macosx-10.9.5/zlib-53/zlib/contrib/dotzlib/DotZLib/ |
H A D | ChecksumImpl.cs | 109 private static extern uint crc32(uint crc, int data, uint length);
argument 140 _current = crc32(_current, hData.AddrOfPinnedObject().ToInt32()+offset, (uint)count);
|
/macosx-10.9.5/cctools-845/libstuff/ |
H A D | crc32.c | 120 crc32( function 127 register u_int32_t crc; local 129 crc = 0; 131 COMPUTE(crc, *p); 135 COMPUTE(crc, len & 0xff); 138 return(~crc);
|
/macosx-10.9.5/tcl-102/tcl_ext/tcllib/tcllib/modules/png/ |
H A D | png.tcl | 30 package require crc32 40 binary scan [read $fh 4] I crc 41 if {$crc < 0} {set crc [format %u [expr {$crc & 0xffffffff}]]} 45 if {[::crc::crc32 $type$r] != $crc} { close $fh; return CKSUM } 63 if {[::crc::crc32 IHD [all...] |
/macosx-10.9.5/zlib-53/zlib/examples/ |
H A D | gzjoin.c | 37 crc32 for the concatenated uncompressed data. gzjoin does however have to 60 /* crc32(), crc32_combine(), inflateInit2(), inflate(), inflateEnd() */ 238 /* skip header crc if present */ 264 local void gzinit(unsigned long *crc, unsigned long *tot, FILE *out) argument 267 *crc = crc32(0L, Z_NULL, 0); 274 the output, and the gzip trailer is written. crc and tot maintains the 275 crc and length (modulo 2^32) of the output for the trailer. The resulting 277 of gzcopy() to write the gzip header and to initialize crc and tot. */ 278 local void gzcopy(char *name, int clr, unsigned long *crc, unsigne argument 428 unsigned long crc, tot; /* running crc and total uncompressed length */ local [all...] |
H A D | gun.c | 69 /* inflateBackEnd(), crc32() */ 120 int check; /* true if checking crc and total */ 121 unsigned long crc; member in struct:outd 136 me->crc = crc32(me->crc, buf, len); 459 if (flags & 2) { /* header crc */ 468 outd.crc = crc32(0L, Z_NULL, 0); 482 if (NEXT() != (int)(outd.crc [all...] |
H A D | gzappend.c | 261 unsigned long crc, tot; local 293 crc = crc32(0L, Z_NULL, 0); 314 /* update crc and sliding window pointer */ 315 crc = crc32(crc, window + have, DSIZE - have - strm->avail_out); 341 if (crc != read4(&gz)) 342 bye("invalid compressed data--crc mismatch in ", name); 365 /* set up deflate stream with window, crc, total_i [all...] |
/macosx-10.9.5/cxxfilt-11/cxxfilt/bfd/ |
H A D | opncls.c | 1029 (unsigned long crc, const unsigned char *buf, bfd_size_type len); 1033 Advances the previously computed @var{crc} value by computing 1034 and adding in the crc32 for @var{len} bytes of @var{buf}. 1041 bfd_calc_gnu_debuglink_crc32 (unsigned long crc, 1102 crc = ~crc & 0xffffffff; 1104 crc = crc32_table[(crc ^ *buf) & 0xff] ^ (crc >> 8); 1105 return ~crc 1040 bfd_calc_gnu_debuglink_crc32(unsigned long crc, const unsigned char *buf, bfd_size_type len) argument 1125 unsigned long crc32; local 1170 separate_debug_file_exists(const char *name, const unsigned long crc) argument 1214 unsigned long crc32; local 1428 unsigned long crc32; local [all...] |
/macosx-10.9.5/apache-786.1/httpd/modules/filters/ |
H A D | mod_deflate.c | 291 unsigned long crc; member in struct:deflate_ctx_t 301 /* Do not update ctx->crc, see comment in flush_libz_buffer */ 303 /* Do update ctx->crc, see comment in flush_libz_buffer */ 309 int crc) 321 * Do we need to update ctx->crc? Usually this is the case for 322 * inflate action where we need to do a crc on the output, whereas 323 * in the deflate case we need to do a crc on the input 325 if (crc) { 326 ctx->crc = crc32(ct 306 flush_libz_buffer(deflate_ctx *ctx, deflate_filter_config *c, struct apr_bucket_alloc_t *bucket_alloc, int (*libz_func)(z_streamp, int), int flush, int crc) argument [all...] |
/macosx-10.9.5/tcl-102/tcl_ext/tkimg/tkimg/zlib/ |
H A D | zlibtclDecls.h | 44 ZEXTERN uLong crc32(uLong crc, const Bytef *buf, uInt len); 145 uLong (*crc32Ptr) (uLong crc, const Bytef *buf, uInt len); /* 2 */ 210 #define crc32 \ macro
|