Searched defs:crc32 (Results 1 - 3 of 3) sorted by relevance

/PHP_5_5/ext/phar/
H A Dphar.c1104 PHAR_GET_32(buffer, entry.crc32);
2400 int phar_postprocess_file(phar_entry_data *idata, php_uint32 crc32, char **error, int process_zip TSRMLS_DC) /* {{{ */ argument
2441 memcpy(&(local.crc32), &(desc.crc32), 12);
2444 memcpy(&(local.crc32), &desc, 12);
2448 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)) {
2474 if (~crc == crc32) {
2478 spprintf(error, 0, "phar error: internal corruption of phar \"%s\" (crc32 mismatch on file \"%s\")", idata->phar->fname, entry->filename);
2841 entry->crc32
[all...]
H A Dphar_internal.h48 #include "ext/standard/crc32.h"
257 php_uint32 crc32; member in struct:_phar_entry_info
576 int phar_postprocess_file(phar_entry_data *idata, php_uint32 crc32, char **error, int process_zip TSRMLS_DC);
H A Dpharzip.h29 char crc32[4]; /* crc-32 4 bytes */ member in struct:_phar_zip_file_header
41 char crc32[4]; /* crc-32 4 bytes */ member in struct:_phar_zip_file_datadesc
48 char crc32[4]; /* crc-32 4 bytes */ member in struct:_phar_zip_file_datadesc_zip64
143 char crc32[4]; /* CRC Long CRC-32 of the remaining data */ member in struct:_phar_zip_unix3
159 char crc32[4]; /* crc-32 4 bytes */ member in struct:_phar_zip_central_dir_file

Completed in 22 milliseconds