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

/PHP_TRUNK/ext/phar/
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
H A Dphar_internal.h49 #include "ext/standard/crc32.h"
241 php_uint32 crc32; member in struct:_phar_entry_info
543 int phar_postprocess_file(phar_entry_data *idata, php_uint32 crc32, char **error, int process_zip TSRMLS_DC);
H A Dphar.c1109 PHAR_GET_32(buffer, entry.crc32);
2327 int phar_postprocess_file(phar_entry_data *idata, php_uint32 crc32, char **error, int process_zip TSRMLS_DC) /* {{{ */ argument
2368 memcpy(&(local.crc32), &(desc.crc32), 12);
2371 memcpy(&(local.crc32), &desc, 12);
2375 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)) {
2401 if (~crc == crc32) {
2405 spprintf(error, 0, "phar error: internal corruption of phar \"%s\" (crc32 mismatch on file \"%s\")", idata->phar->fname, entry->filename);
2767 entry->crc32
[all...]

Completed in 9 milliseconds