crc32 1100 ext/phar/phar.c PHAR_GET_32(buffer, entry.crc32); crc32 2387 ext/phar/phar.c int phar_postprocess_file(phar_entry_data *idata, php_uint32 crc32, char **error, int process_zip TSRMLS_DC) /* {{{ */ crc32 2428 ext/phar/phar.c memcpy(&(local.crc32), &(desc.crc32), 12); crc32 2431 ext/phar/phar.c memcpy(&(local.crc32), &desc, 12); crc32 2435 ext/phar/phar.c if (entry->filename_len != PHAR_ZIP_16(local.filename_len) || entry->crc32 != PHAR_ZIP_32(local.crc32) || entry->uncompressed_filesize != PHAR_ZIP_32(local.uncompsize) || entry->compressed_filesize != PHAR_ZIP_32(local.compsize)) { crc32 2461 ext/phar/phar.c if (~crc == crc32) { crc32 2828 ext/phar/phar.c entry->crc32 = ~newcrc32; crc32 3030 ext/phar/phar.c phar_set_32(entry_buffer+12, entry->crc32); crc32 243 ext/phar/phar_internal.h php_uint32 crc32; crc32 559 ext/phar/phar_internal.h int phar_postprocess_file(phar_entry_data *idata, php_uint32 crc32, char **error, int process_zip TSRMLS_DC); crc32 4596 ext/phar/phar_object.c RETURN_LONG(entry_obj->ent.entry->crc32); crc32 29 ext/phar/pharzip.h char crc32[4]; /* crc-32 4 bytes */ crc32 41 ext/phar/pharzip.h char crc32[4]; /* crc-32 4 bytes */ crc32 48 ext/phar/pharzip.h char crc32[4]; /* crc-32 4 bytes */ crc32 143 ext/phar/pharzip.h char crc32[4]; /* CRC Long CRC-32 of the remaining data */ crc32 159 ext/phar/pharzip.h char crc32[4]; /* crc-32 4 bytes */ crc32 311 ext/phar/stream.c if (!idata->internal_file->is_crc_checked && phar_postprocess_file(idata, idata->internal_file->crc32, &error, 2 TSRMLS_CC) != SUCCESS) { crc32 774 ext/phar/tar.c entry->crc32 = phar_tar_checksum((char *)&header, sizeof(header)); crc32 776 ext/phar/tar.c if (FAILURE == phar_tar_octal(header.checksum, entry->crc32, sizeof(header.checksum)-1)) { crc32 740 ext/phar/util.c if (FAILURE == phar_postprocess_file(&dummy, entry->crc32, error, 1 TSRMLS_CC)) { crc32 758 ext/phar/util.c if (FAILURE == phar_postprocess_file(&dummy, entry->crc32, error, 1 TSRMLS_CC)) { crc32 805 ext/phar/util.c if (FAILURE == phar_postprocess_file(&dummy, entry->crc32, error, 0 TSRMLS_CC)) { crc32 824 ext/phar/util.c entry->crc32 = 0; crc32 857 ext/phar/util.c entry->crc32 = 0; crc32 63 ext/phar/zip.c read = php_stream_read(fp, (char *) &(h.unix3.crc32), sizeof(h.unix3) - sizeof(h.header)); crc32 371 ext/phar/zip.c entry.crc32 = PHAR_GET_32(zipentry.crc32); crc32 575 ext/phar/zip.c if (entry.filename_len != PHAR_GET_16(local.filename_len) || entry.crc32 != PHAR_GET_32(local.crc32) || entry.uncompressed_filesize != PHAR_GET_32(local.uncompsize) || entry.compressed_filesize != PHAR_GET_32(local.compsize)) { crc32 808 ext/phar/zip.c PHAR_SET_32(perms.crc32, ~crc); crc32 868 ext/phar/zip.c entry->crc32 = ~newcrc32; crc32 940 ext/phar/zip.c PHAR_SET_32(central.crc32, entry->crc32); crc32 941 ext/phar/zip.c PHAR_SET_32(local.crc32, entry->crc32); crc32 2699 ext/standard/basic_functions.c PHP_NAMED_FE(crc32,php_if_crc32, arginfo_crc32) crc32 51 ext/zip/lib/zip_filerange_crc.c *crcp = crc32(0L, Z_NULL, 0); crc32 65 ext/zip/lib/zip_filerange_crc.c *crcp = crc32(*crcp, buf, (uInt)n); crc32 92 ext/zip/lib/zip_source_crc.c ctx->crc = (zip_uint32_t)crc32(0, NULL, 0); crc32 128 ext/zip/lib/zip_source_crc.c ctx->crc = (zip_uint32_t)crc32(ctx->crc, (const Bytef *)data, (uInt)n); /* TODO: check for overflow, use multiple crc calls if needed */ crc32 124 ext/zip/lib/zip_source_pkware.c ctx->key[0] = (zip_uint32_t)crc32(ctx->key[0] ^ 0xffffffffUL, &b, 1) ^ 0xffffffffUL; crc32 127 ext/zip/lib/zip_source_pkware.c ctx->key[2] = (zip_uint32_t)crc32(ctx->key[2] ^ 0xffffffffUL, &b, 1) ^ 0xffffffffUL; crc32 48 ext/zip/lib/zip_string.c crc = (zip_uint32_t)crc32(0L, Z_NULL, 0); crc32 51 ext/zip/lib/zip_string.c crc = (zip_uint32_t)crc32(crc, s->raw, s->length);