Lines Matching refs:uncompressed_filesize

383 		entry.uncompressed_filesize = PHAR_GET_32(zipentry.uncompsize);  in phar_parse_zipfile()
462 if (entry.uncompressed_filesize > 0x10000) { in phar_parse_zipfile()
483 sig = (char *) emalloc(entry.uncompressed_filesize); in phar_parse_zipfile()
484 read = php_stream_read(fp, sig, entry.uncompressed_filesize); in phar_parse_zipfile()
485 if (read != entry.uncompressed_filesize || read <= 8) { in phar_parse_zipfile()
491 …file, php_stream_tell(sigfile), mydata->sig_flags, sig + 8, entry.uncompressed_filesize - 8, fname… in phar_parse_zipfile()
605 …if (entry.crc32 != PHAR_GET_32(local.crc32) || entry.uncompressed_filesize != PHAR_GET_32(local.un… in phar_parse_zipfile()
620 mydata->alias_len = entry.uncompressed_filesize; in phar_parse_zipfile()
634 zend_string *str = php_stream_copy_to_mem(fp, entry.uncompressed_filesize, 0); in phar_parse_zipfile()
636 entry.uncompressed_filesize = ZSTR_LEN(str); in phar_parse_zipfile()
641 entry.uncompressed_filesize = 0; in phar_parse_zipfile()
645 if (!entry.uncompressed_filesize || !actual_alias) { in phar_parse_zipfile()
666 zend_string *str = php_stream_copy_to_mem(fp, entry.uncompressed_filesize, 0); in phar_parse_zipfile()
668 entry.uncompressed_filesize = ZSTR_LEN(str); in phar_parse_zipfile()
673 entry.uncompressed_filesize = 0; in phar_parse_zipfile()
677 if (!entry.uncompressed_filesize || !actual_alias) { in phar_parse_zipfile()
688 zend_string *str = php_stream_copy_to_mem(fp, entry.uncompressed_filesize, 0); in phar_parse_zipfile()
690 entry.uncompressed_filesize = ZSTR_LEN(str); in phar_parse_zipfile()
695 entry.uncompressed_filesize = 0; in phar_parse_zipfile()
699 if (!entry.uncompressed_filesize || !actual_alias) { in phar_parse_zipfile()
941 php_crc32_stream_bulk_update(&newcrc32, efp, entry->uncompressed_filesize); in phar_zip_changed_apply_int()
944 PHAR_SET_32(central.uncompsize, entry->uncompressed_filesize); in phar_zip_changed_apply_int()
945 PHAR_SET_32(local.uncompsize, entry->uncompressed_filesize); in phar_zip_changed_apply_int()
949 entry->compressed_filesize = entry->uncompressed_filesize; in phar_zip_changed_apply_int()
950 PHAR_SET_32(central.compsize, entry->uncompressed_filesize); in phar_zip_changed_apply_int()
951 PHAR_SET_32(local.compsize, entry->uncompressed_filesize); in phar_zip_changed_apply_int()
985 …if (SUCCESS != php_stream_copy_to_stream_ex(efp, entry->cfp, entry->uncompressed_filesize, NULL)) { in phar_zip_changed_apply_int()
1003 PHAR_SET_32(central.uncompsize, entry->uncompressed_filesize); in phar_zip_changed_apply_int()
1004 PHAR_SET_32(local.uncompsize, entry->uncompressed_filesize); in phar_zip_changed_apply_int()
1095 …_stream_copy_to_stream_ex(phar_get_efp(entry, 0), p->filefp, entry->uncompressed_filesize, NULL)) { in phar_zip_changed_apply_int()
1209 entry.uncompressed_filesize = entry.compressed_filesize = signature_length + 8; in phar_zip_applysignature()
1271 entry.uncompressed_filesize = entry.compressed_filesize = phar->alias_len; in phar_zip_flush()
1347 entry.uncompressed_filesize = len + 5; in phar_zip_flush()
1384 entry.uncompressed_filesize = entry.compressed_filesize = sizeof(newstub) - 1; in phar_zip_flush()