Searched defs:crc (Results 1 - 11 of 11) sorted by relevance

/PHP_5_3/ext/zip/lib/
H A Dzip.h200 zip_uint32_t crc; /* crc of file data */
198 zip_uint32_t crc; /* crc of file data */ member in struct:zip_stat
H A Dzip_source_crc.c42 struct crc {
47 zip_uint32_t crc;
59 struct crc *ctx;
66 if ((ctx=(struct crc *)malloc(sizeof(*ctx))) == NULL) {
83 struct crc *ctx;
86 ctx = (struct crc *)_ctx;
91 ctx->crc = crc32(0, NULL, 0);
111 if ((st.valid & ZIP_STAT_CRC) && st.crc != ctx->crc) {
127 ctx->crc
41 struct crc { struct
46 zip_uint32_t crc; member in struct:crc
[all...]
H A Dzip_source_pkware.c53 static const uLongf *crc = NULL;
55 #define CRC32(c, b) (crc[((c) ^ (b)) & 0xff] ^ ((c) >> 8))
86 if (crc == NULL)
87 crc = get_crc_table();
173 if (header[HEADERLEN-1] != st.crc>>24
52 static const uLongf *crc = NULL; variable
H A Dzipint.h174 #define ZIP_GPBF_DATA_DESCRIPTOR 0x0008 /* crc/size after file data */
226 unsigned int crc; /* (cl) CRC-32 of uncompressed data */
222 unsigned int crc; /* (cl) CRC-32 of uncompressed data */ member in struct:zip_dirent
H A Dzip_close.c211 de.crc = za->cdir->entry[i].crc;
280 cd->entry[j].crc = de.crc;
427 de->crc = st.crc;
521 uLong crc;
535 if (_zip_filerange_crc(out, cd->offset, cd->size, &crc, &za->error) < 0)
538 snprintf(buf, sizeof(buf), "%08lX", (long)crc);
514 uLong crc; local
/PHP_5_3/ext/standard/
H A Dcrc32.c32 register php_uint32 crc; local
37 crc = crcinit^0xFFFFFFFF;
40 crc = ((crc >> 8) & 0x00FFFFFF) ^ crc32tab[(crc ^ (*p)) & 0xFF ];
42 RETVAL_LONG(crc^0xFFFFFFFF);
/PHP_5_3/ext/zlib/
H A Dphp_zlib.h31 uLong crc; variable
H A Dzlib.c801 ZLIBG(crc) = crc32(0L, Z_NULL, 0);
817 ZLIBG(crc) = crc32(ZLIBG(crc), (const Bytef *) str, str_length);
836 /* write crc & stream.total_in in LSB order */
837 trailer[0] = (char) ZLIBG(crc) & 0xFF;
838 trailer[1] = (char) (ZLIBG(crc) >> 8) & 0xFF;
839 trailer[2] = (char) (ZLIBG(crc) >> 16) & 0xFF;
840 trailer[3] = (char) (ZLIBG(crc) >> 24) & 0xFF;
931 uLong crc = crc32(0L, Z_NULL, 0); local
933 crc
[all...]
/PHP_5_3/ext/phar/
H A Dphar.c2410 php_uint32 crc = ~0; local
2477 CRC32(crc, php_stream_getc(fp));
2482 if (~crc == crc32) {
2914 /* generate crc on compressed file */
H A Dzip.c813 php_uint32 crc = (php_uint32) ~0; local
814 CRC32(crc, perms.perms[0]);
815 CRC32(crc, perms.perms[1]);
816 PHAR_SET_32(perms.crc32, ~crc);
930 /* generate crc on compressed file */
/PHP_5_3/ext/pcre/pcrelib/
H A Dpcre_compile.c6111 int crc = memcmp(name, slot+IMM2_SIZE, IN_UCHARS(namelen)); local
6112 if (crc == 0)
6124 else crc = -1; /* Current name is a substring */
6132 if (crc < 0)

Completed in 29 milliseconds