Home
last modified time | relevance | path

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

/PHP-8.2/ext/phar/
H A Dzip.c382 entry.compressed_filesize = PHAR_GET_32(zipentry.compsize); in phar_parse_zipfile()
949 entry->compressed_filesize = entry->uncompressed_filesize; in phar_zip_changed_apply_int()
994 entry->compressed_filesize = (uint32_t) php_stream_tell(entry->cfp); in phar_zip_changed_apply_int()
995 PHAR_SET_32(central.compsize, entry->compressed_filesize); in phar_zip_changed_apply_int()
996 PHAR_SET_32(local.compsize, entry->compressed_filesize); in phar_zip_changed_apply_int()
1005 PHAR_SET_32(central.compsize, entry->compressed_filesize); in phar_zip_changed_apply_int()
1006 PHAR_SET_32(local.compsize, entry->compressed_filesize); in phar_zip_changed_apply_int()
1121 …try->is_dir && entry->compressed_filesize && SUCCESS != php_stream_copy_to_stream_ex(p->old, p->fi… 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()
[all …]
H A Dphar.c1172 PHAR_GET_32(buffer, entry.compressed_filesize); in phar_parse_pharfile()
1194 offset += entry.compressed_filesize; in phar_parse_pharfile()
1212 if (entry.uncompressed_filesize != entry.compressed_filesize) { in phar_parse_pharfile()
2423 entry->compressed_filesize, SEEK_SET); in phar_postprocess_file()
2437 …->uncompressed_filesize != PHAR_ZIP_32(local.uncompsize) || entry->compressed_filesize != PHAR_ZIP… in phar_postprocess_file()
2812 entry->compressed_filesize = entry->uncompressed_filesize; in phar_flush()
2879 entry->compressed_filesize = ((uint32_t) php_stream_tell(entry->cfp)) - entry->header_offset; in phar_flush()
3008 phar_set_32(entry_buffer+8, entry->compressed_filesize); in phar_flush()
3084 offset += entry->compressed_filesize; in phar_flush()
3085 if (php_stream_copy_to_stream_ex(file, newfile, entry->compressed_filesize, &wrote) == FAILURE) { in phar_flush()
H A Dtar.c279 size = entry.uncompressed_filesize = entry.compressed_filesize = in phar_parse_tarfile()
887 …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()
276 entry->compressed_filesize = entry->uncompressed_filesize = phar->halt_offset; in phar_wrapper_open_url()
460 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.c1654 data->internal_file->uncompressed_filesize = data->internal_file->compressed_filesize = in phar_build()
1682 …data->internal_file->compressed_filesize = data->internal_file->uncompressed_filesize = contents_l… in phar_build()
3629 …data->internal_file->compressed_filesize = data->internal_file->uncompressed_filesize = contents_l… in phar_add_file()
4509 RETURN_LONG(entry_obj->entry->compressed_filesize); in PHP_METHOD()

Completed in 41 milliseconds