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()
482 sig = (char *) emalloc(entry.uncompressed_filesize); in phar_parse_zipfile()
483 read = php_stream_read(fp, sig, entry.uncompressed_filesize); in phar_parse_zipfile()
484 if (read != entry.uncompressed_filesize || read <= 8) { in phar_parse_zipfile()
490 …file, php_stream_tell(sigfile), mydata->sig_flags, sig + 8, entry.uncompressed_filesize - 8, fname… in phar_parse_zipfile()
604 …if (entry.crc32 != PHAR_GET_32(local.crc32) || entry.uncompressed_filesize != PHAR_GET_32(local.un… in phar_parse_zipfile()
619 mydata->alias_len = entry.uncompressed_filesize; in phar_parse_zipfile()
633 zend_string *str = php_stream_copy_to_mem(fp, entry.uncompressed_filesize, 0); in phar_parse_zipfile()
635 entry.uncompressed_filesize = ZSTR_LEN(str); in phar_parse_zipfile()
640 entry.uncompressed_filesize = 0; in phar_parse_zipfile()
644 if (!entry.uncompressed_filesize || !actual_alias) { 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()
687 zend_string *str = php_stream_copy_to_mem(fp, entry.uncompressed_filesize, 0); in phar_parse_zipfile()
689 entry.uncompressed_filesize = ZSTR_LEN(str); in phar_parse_zipfile()
694 entry.uncompressed_filesize = 0; in phar_parse_zipfile()
698 if (!entry.uncompressed_filesize || !actual_alias) { in phar_parse_zipfile()
940 php_crc32_stream_bulk_update(&newcrc32, efp, entry->uncompressed_filesize); in phar_zip_changed_apply_int()
943 PHAR_SET_32(central.uncompsize, entry->uncompressed_filesize); in phar_zip_changed_apply_int()
944 PHAR_SET_32(local.uncompsize, entry->uncompressed_filesize); in phar_zip_changed_apply_int()
948 entry->compressed_filesize = entry->uncompressed_filesize; in phar_zip_changed_apply_int()
949 PHAR_SET_32(central.compsize, entry->uncompressed_filesize); in phar_zip_changed_apply_int()
950 PHAR_SET_32(local.compsize, entry->uncompressed_filesize); in phar_zip_changed_apply_int()
984 …if (SUCCESS != php_stream_copy_to_stream_ex(efp, entry->cfp, entry->uncompressed_filesize, NULL)) { in phar_zip_changed_apply_int()
1002 PHAR_SET_32(central.uncompsize, entry->uncompressed_filesize); in phar_zip_changed_apply_int()
1003 PHAR_SET_32(local.uncompsize, entry->uncompressed_filesize); in phar_zip_changed_apply_int()
1094 …_stream_copy_to_stream_ex(phar_get_efp(entry, 0), p->filefp, entry->uncompressed_filesize, NULL)) { in phar_zip_changed_apply_int()
1208 entry.uncompressed_filesize = entry.compressed_filesize = signature_length + 8; in phar_zip_applysignature()
1270 entry.uncompressed_filesize = entry.compressed_filesize = phar->alias_len; in phar_zip_flush()
1346 entry.uncompressed_filesize = len + 5; in phar_zip_flush()
1383 entry.uncompressed_filesize = entry.compressed_filesize = sizeof(newstub) - 1; in phar_zip_flush()