Home
last modified time | relevance | path

Searched refs:compressed_filesize (Results 1 – 7 of 7) sorted by relevance

/PHP-8.1/ext/phar/
H A Dzip.c382 entry.compressed_filesize = PHAR_GET_32(zipentry.compsize); in phar_parse_zipfile()
926 entry->compressed_filesize = entry->uncompressed_filesize; in phar_zip_changed_apply_int()
971 entry->compressed_filesize = (uint32_t) php_stream_tell(entry->cfp); in phar_zip_changed_apply_int()
972 PHAR_SET_32(central.compsize, entry->compressed_filesize); in phar_zip_changed_apply_int()
973 PHAR_SET_32(local.compsize, entry->compressed_filesize); in phar_zip_changed_apply_int()
982 PHAR_SET_32(central.compsize, entry->compressed_filesize); in phar_zip_changed_apply_int()
983 PHAR_SET_32(local.compsize, entry->compressed_filesize); in phar_zip_changed_apply_int()
1098 …try->is_dir && entry->compressed_filesize && SUCCESS != php_stream_copy_to_stream_ex(p->old, p->fi… in phar_zip_changed_apply_int()
1186 entry.uncompressed_filesize = entry.compressed_filesize = signature_length + 8; in phar_zip_applysignature()
1249 entry.uncompressed_filesize = entry.compressed_filesize = phar->alias_len; in phar_zip_flush()
[all …]
H A Dphar.c1169 PHAR_GET_32(buffer, entry.compressed_filesize); in phar_parse_pharfile()
1191 offset += entry.compressed_filesize; in phar_parse_pharfile()
1209 if (entry.uncompressed_filesize != entry.compressed_filesize) { in phar_parse_pharfile()
2420 entry->compressed_filesize, SEEK_SET); in phar_postprocess_file()
2434 …->uncompressed_filesize != PHAR_ZIP_32(local.uncompsize) || entry->compressed_filesize != PHAR_ZIP… in phar_postprocess_file()
2814 entry->compressed_filesize = entry->uncompressed_filesize; in phar_flush()
2881 entry->compressed_filesize = ((uint32_t) php_stream_tell(entry->cfp)) - entry->header_offset; in phar_flush()
3010 phar_set_32(entry_buffer+8, entry->compressed_filesize); in phar_flush()
3086 offset += entry->compressed_filesize; in phar_flush()
3087 if (php_stream_copy_to_stream_ex(file, newfile, entry->compressed_filesize, &wrote) == FAILURE) { in phar_flush()
H A Dtar.c280 size = entry.uncompressed_filesize = entry.compressed_filesize = in phar_parse_tarfile()
883 …entry->uncompressed_filesize = entry->compressed_filesize = serialized_str ? ZSTR_LEN(serialized_s… in phar_tar_setmetadata()
1123 entry.uncompressed_filesize = entry.compressed_filesize = sizeof(newstub) - 1; in phar_tar_flush()
1274 entry.uncompressed_filesize = entry.compressed_filesize = signature_length + 8; in phar_tar_flush()
H A Dstream.c217 && idata->internal_file->compressed_filesize == 0 in phar_wrapper_open_url()
265 entry->compressed_filesize = entry->uncompressed_filesize = phar->halt_offset; in phar_wrapper_open_url()
449 data->internal_file->compressed_filesize = data->internal_file->uncompressed_filesize; in phar_stream_write()
H A Dutil.c227 entry.uncompressed_filesize = entry.compressed_filesize = ssb.sb.st_size; in phar_mount_entry()
771 …!= php_stream_copy_to_stream_ex(phar_get_entrypfp(entry), ufp, entry->compressed_filesize, NULL)) { in phar_open_entry_fp()
811 entry->compressed_filesize = 0; in phar_create_writeable_entry()
844 entry->compressed_filesize = 0; in phar_create_writeable_entry()
H A Dphar_internal.h233 uint32_t compressed_filesize; member
H A Dphar_object.c1651 data->internal_file->uncompressed_filesize = data->internal_file->compressed_filesize = in phar_build()
1679 …data->internal_file->compressed_filesize = data->internal_file->uncompressed_filesize = contents_l… in phar_build()
3623 …data->internal_file->compressed_filesize = data->internal_file->uncompressed_filesize = contents_l… in phar_add_file()
4503 RETURN_LONG(entry_obj->entry->compressed_filesize); in PHP_METHOD()

Completed in 43 milliseconds