Lines Matching refs:uncompressed_filesize

415 		entry.uncompressed_filesize = PHAR_GET_32(zipentry.uncompsize);  in phar_parse_zipfile()
494 if (entry.uncompressed_filesize > 0x10000) { in phar_parse_zipfile()
514 sig = (char *) emalloc(entry.uncompressed_filesize); in phar_parse_zipfile()
515 read = php_stream_read(fp, sig, entry.uncompressed_filesize); in phar_parse_zipfile()
516 if (read != entry.uncompressed_filesize || read <= 8) { in phar_parse_zipfile()
522 …file, php_stream_tell(sigfile), mydata->sig_flags, sig + 8, entry.uncompressed_filesize - 8, fname… in phar_parse_zipfile()
636 …if (entry.crc32 != PHAR_GET_32(local.crc32) || entry.uncompressed_filesize != PHAR_GET_32(local.un… in phar_parse_zipfile()
651 mydata->alias_len = entry.uncompressed_filesize; in phar_parse_zipfile()
665 zend_string *str = php_stream_copy_to_mem(fp, entry.uncompressed_filesize, 0); in phar_parse_zipfile()
667 entry.uncompressed_filesize = ZSTR_LEN(str); in phar_parse_zipfile()
672 entry.uncompressed_filesize = 0; in phar_parse_zipfile()
676 if (!entry.uncompressed_filesize || !actual_alias) { in phar_parse_zipfile()
697 zend_string *str = php_stream_copy_to_mem(fp, entry.uncompressed_filesize, 0); in phar_parse_zipfile()
699 entry.uncompressed_filesize = ZSTR_LEN(str); in phar_parse_zipfile()
704 entry.uncompressed_filesize = 0; in phar_parse_zipfile()
708 if (!entry.uncompressed_filesize || !actual_alias) { in phar_parse_zipfile()
719 zend_string *str = php_stream_copy_to_mem(fp, entry.uncompressed_filesize, 0); in phar_parse_zipfile()
721 entry.uncompressed_filesize = ZSTR_LEN(str); in phar_parse_zipfile()
726 entry.uncompressed_filesize = 0; in phar_parse_zipfile()
730 if (!entry.uncompressed_filesize || !actual_alias) { in phar_parse_zipfile()
971 php_crc32_stream_bulk_update(&newcrc32, efp, entry->uncompressed_filesize); in phar_zip_changed_apply_int()
974 PHAR_SET_32(central.uncompsize, entry->uncompressed_filesize); in phar_zip_changed_apply_int()
975 PHAR_SET_32(local.uncompsize, entry->uncompressed_filesize); in phar_zip_changed_apply_int()
979 entry->compressed_filesize = entry->uncompressed_filesize; in phar_zip_changed_apply_int()
980 PHAR_SET_32(central.compsize, entry->uncompressed_filesize); in phar_zip_changed_apply_int()
981 PHAR_SET_32(local.compsize, entry->uncompressed_filesize); in phar_zip_changed_apply_int()
1015 …if (SUCCESS != php_stream_copy_to_stream_ex(efp, entry->cfp, entry->uncompressed_filesize, NULL)) { in phar_zip_changed_apply_int()
1033 PHAR_SET_32(central.uncompsize, entry->uncompressed_filesize); in phar_zip_changed_apply_int()
1034 PHAR_SET_32(local.uncompsize, entry->uncompressed_filesize); in phar_zip_changed_apply_int()
1125 …_stream_copy_to_stream_ex(phar_get_efp(entry, 0), p->filefp, entry->uncompressed_filesize, NULL)) { in phar_zip_changed_apply_int()
1239 entry.uncompressed_filesize = entry.compressed_filesize = signature_length + 8; in phar_zip_applysignature()
1300 entry.uncompressed_filesize = entry.compressed_filesize = phar->alias_len; in phar_zip_flush()
1336 entry.uncompressed_filesize = len + end_sequence_len; in phar_zip_flush()
1368 entry.uncompressed_filesize = entry.compressed_filesize = sizeof(newstub) - 1; in phar_zip_flush()