Lines Matching refs:uncompressed_filesize

358 		entry.uncompressed_filesize = PHAR_GET_32(zipentry.uncompsize);  in phar_parse_zipfile()
418 sig = (char *) emalloc(entry.uncompressed_filesize); in phar_parse_zipfile()
419 read = php_stream_read(fp, sig, entry.uncompressed_filesize); in phar_parse_zipfile()
420 if (read != entry.uncompressed_filesize || read <= 8) { in phar_parse_zipfile()
426 …file, php_stream_tell(sigfile), mydata->sig_flags, sig + 8, entry.uncompressed_filesize - 8, fname… in phar_parse_zipfile()
555 …filename_len) || entry.crc32 != PHAR_GET_32(local.crc32) || entry.uncompressed_filesize != PHAR_GE… in phar_parse_zipfile()
572 mydata->alias_len = entry.uncompressed_filesize; in phar_parse_zipfile()
586 zend_string *str = php_stream_copy_to_mem(fp, entry.uncompressed_filesize, 0); in phar_parse_zipfile()
588 entry.uncompressed_filesize = ZSTR_LEN(str); in phar_parse_zipfile()
593 entry.uncompressed_filesize = 0; in phar_parse_zipfile()
597 if (!entry.uncompressed_filesize || !actual_alias) { in phar_parse_zipfile()
618 zend_string *str = php_stream_copy_to_mem(fp, entry.uncompressed_filesize, 0); in phar_parse_zipfile()
620 entry.uncompressed_filesize = ZSTR_LEN(str); in phar_parse_zipfile()
625 entry.uncompressed_filesize = 0; in phar_parse_zipfile()
629 if (!entry.uncompressed_filesize || !actual_alias) { in phar_parse_zipfile()
640 zend_string *str = php_stream_copy_to_mem(fp, entry.uncompressed_filesize, 0); in phar_parse_zipfile()
642 entry.uncompressed_filesize = ZSTR_LEN(str); in phar_parse_zipfile()
647 entry.uncompressed_filesize = 0; in phar_parse_zipfile()
651 if (!entry.uncompressed_filesize || !actual_alias) { in phar_parse_zipfile()
883 for (loc = 0;loc < entry->uncompressed_filesize; ++loc) { in phar_zip_changed_apply_int()
888 PHAR_SET_32(central.uncompsize, entry->uncompressed_filesize); in phar_zip_changed_apply_int()
889 PHAR_SET_32(local.uncompsize, entry->uncompressed_filesize); in phar_zip_changed_apply_int()
893 entry->compressed_filesize = entry->uncompressed_filesize; in phar_zip_changed_apply_int()
894 PHAR_SET_32(central.compsize, entry->uncompressed_filesize); in phar_zip_changed_apply_int()
895 PHAR_SET_32(local.compsize, entry->uncompressed_filesize); in phar_zip_changed_apply_int()
929 …if (SUCCESS != php_stream_copy_to_stream_ex(efp, entry->cfp, entry->uncompressed_filesize, NULL)) { in phar_zip_changed_apply_int()
947 PHAR_SET_32(central.uncompsize, entry->uncompressed_filesize); in phar_zip_changed_apply_int()
948 PHAR_SET_32(local.uncompsize, entry->uncompressed_filesize); in phar_zip_changed_apply_int()
1047 …_stream_copy_to_stream_ex(phar_get_efp(entry, 0), p->filefp, entry->uncompressed_filesize, NULL)) { in phar_zip_changed_apply_int()
1165 entry.uncompressed_filesize = entry.compressed_filesize = signature_length + 8; in phar_zip_applysignature()
1230 entry.uncompressed_filesize = entry.compressed_filesize = phar->alias_len; in phar_zip_flush()
1315 entry.uncompressed_filesize = len + 5; in phar_zip_flush()
1360 entry.uncompressed_filesize = entry.compressed_filesize = sizeof(newstub) - 1; in phar_zip_flush()