Searched refs:uncompressed_filesize (Results 1 – 8 of 8) sorted by relevance
/PHP-8.2/ext/phar/ |
H A D | zip.c | 462 if (entry.uncompressed_filesize > 0x10000) { in phar_parse_zipfile() 483 sig = (char *) emalloc(entry.uncompressed_filesize); in phar_parse_zipfile() 620 mydata->alias_len = entry.uncompressed_filesize; 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() 668 entry.uncompressed_filesize = ZSTR_LEN(str); in phar_parse_zipfile() 673 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() [all …]
|
H A D | tar.c | 167 metadata = (char *) safe_emalloc(1, entry->uncompressed_filesize, 1); in phar_tar_process_metadata() 169 read = php_stream_read(fp, metadata, entry->uncompressed_filesize); in phar_tar_process_metadata() 170 if (read != entry->uncompressed_filesize) { in phar_tar_process_metadata() 279 size = entry.uncompressed_filesize = entry.compressed_filesize = in phar_parse_tarfile() 371 entry.filename_len = entry.uncompressed_filesize; in phar_parse_tarfile() 819 if (entry->uncompressed_filesize) { in phar_tar_writeheaders_int() 839 …php_stream_write(fp->new, padding, ((entry->uncompressed_filesize +511)&~511) - entry->uncompresse… in phar_tar_writeheaders_int() 1019 entry.uncompressed_filesize = phar->alias_len; in phar_tar_flush() 1087 entry.uncompressed_filesize = len + 5; in phar_tar_flush() 1123 entry.uncompressed_filesize = entry.compressed_filesize = sizeof(newstub) - 1; in phar_tar_flush() [all …]
|
H A D | stream.c | 216 if (idata->internal_file->uncompressed_filesize == 0 in phar_wrapper_open_url() 276 entry->compressed_filesize = entry->uncompressed_filesize = phar->halt_offset; in phar_wrapper_open_url() 314 fprintf(stderr, "Size: %u\n", idata->internal_file->uncompressed_filesize); in phar_wrapper_open_url() 392 …got = php_stream_read(data->fp, buf, MIN(count, (size_t)(entry->uncompressed_filesize - data->posi… in phar_stream_read() 394 stream->eof = (data->position == (zend_off_t) entry->uncompressed_filesize); in phar_stream_read() 418 temp = data->zero + entry->uncompressed_filesize + offset; in phar_stream_seek() 429 if (temp > data->zero + (zend_off_t) entry->uncompressed_filesize) { in phar_stream_seek() 457 if (data->position > (zend_off_t)data->internal_file->uncompressed_filesize) { in phar_stream_write() 458 data->internal_file->uncompressed_filesize = data->position; in phar_stream_write() 460 data->internal_file->compressed_filesize = data->internal_file->uncompressed_filesize; in phar_stream_write() [all …]
|
H A D | util.c | 141 temp = eoffset + entry->uncompressed_filesize + offset; in phar_seek_efp() 153 if (temp > eoffset + (zend_off_t) entry->uncompressed_filesize) { in phar_seek_efp() 227 entry.uncompressed_filesize = entry.compressed_filesize = ssb.sb.st_size; in phar_mount_entry() 669 …php_stream_copy_to_stream_ex(phar_get_efp(link, 0), dest->fp, link->uncompressed_filesize, NULL)) { in phar_copy_entry_fp() 770 if (entry->uncompressed_filesize) { in phar_open_entry_fp() 782 if (php_stream_tell(ufp) - loc != (zend_off_t) entry->uncompressed_filesize) { in phar_open_entry_fp() 810 entry->uncompressed_filesize = 0; in phar_create_writeable_entry() 843 entry->uncompressed_filesize = 0; in phar_create_writeable_entry() 878 …if (SUCCESS != php_stream_copy_to_stream_ex(phar_get_efp(link, 0), fp, link->uncompressed_filesize… in phar_separate_entry_fp()
|
H A D | phar.c | 1158 PHAR_GET_32(buffer, entry.uncompressed_filesize); in phar_parse_pharfile() 1212 if (entry.uncompressed_filesize != entry.compressed_filesize) { in phar_parse_pharfile() 2392 int len = idata->internal_file->uncompressed_filesize, ret; in phar_postprocess_file() 2437 …lename_len) || entry->crc32 != PHAR_ZIP_32(local.crc32) || entry->uncompressed_filesize != PHAR_ZI… in phar_postprocess_file() 2807 php_crc32_stream_bulk_update(&newcrc32, file, entry->uncompressed_filesize); in phar_flush() 2812 entry->compressed_filesize = entry->uncompressed_filesize; in phar_flush() 2865 …if (SUCCESS != php_stream_copy_to_stream_ex(file, entry->cfp, entry->uncompressed_filesize, NULL))… in phar_flush() 3006 phar_set_32(entry_buffer, entry->uncompressed_filesize); in phar_flush()
|
H A D | phar_object.c | 174 …r.line_len = spprintf((char **) &(ctr.line), 0, "Content-length: %u", info->uncompressed_filesize); in phar_file_action() 200 got = php_stream_read(fp, buf, MIN(8192, info->uncompressed_filesize - position)); in phar_file_action() 204 if (position == (zend_off_t) info->uncompressed_filesize) { in phar_file_action() 1654 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() 1940 …if (SUCCESS != php_stream_copy_to_stream_ex(phar_get_efp(link, 0), fp, link->uncompressed_filesize… in phar_copy_file_contents() 3629 …data->internal_file->compressed_filesize = data->internal_file->uncompressed_filesize = contents_l… in phar_add_file() 3906 len = stub->uncompressed_filesize; in PHP_METHOD() 4251 … != php_stream_copy_to_stream_ex(phar_get_efp(entry, 0), fp, entry->uncompressed_filesize, NULL)) { in phar_extract_file() 4832 str = php_stream_copy_to_mem(fp, link->uncompressed_filesize, 0); in PHP_METHOD()
|
H A D | phar_internal.h | 231 uint32_t uncompressed_filesize; member
|
H A D | func_interceptors.c | 712 sb.st_size = data->uncompressed_filesize; in phar_file_stat()
|
Completed in 45 milliseconds