Home
last modified time | relevance | path

Searched refs:internal_file (Results 1 – 6 of 6) sorted by relevance

/PHP-7.3/ext/phar/
H A Dstream.c165 char *internal_file; in phar_wrapper_open_url() local
203 efree(internal_file); in phar_wrapper_open_url()
212 efree(internal_file); in phar_wrapper_open_url()
245 efree(internal_file); in phar_wrapper_open_url()
296 efree(internal_file); in phar_wrapper_open_url()
317 efree(internal_file); in phar_wrapper_open_url()
340 efree(internal_file); in phar_wrapper_open_url()
453 data->internal_file->old_flags = data->internal_file->flags; in phar_stream_write()
710 efree(internal_file); in phar_wrapper_unlink()
720 efree(internal_file); in phar_wrapper_unlink()
[all …]
H A Ddirstream.c308 char *internal_file, *error; in phar_wrapper_open_dir() local
340 internal_file = ZSTR_VAL(resource->path) + 1; /* strip leading "/" */ in phar_wrapper_open_dir()
357 if (*internal_file == '\0') { in phar_wrapper_open_dir()
359 internal_file = estrndup(internal_file - 1, 1); in phar_wrapper_open_dir()
360 ret = phar_make_dirstream(internal_file, &phar->manifest); in phar_wrapper_open_dir()
370 …if (NULL != (entry = zend_hash_str_find_ptr(&phar->manifest, internal_file, strlen(internal_file))… in phar_wrapper_open_dir()
378 internal_file = estrdup(internal_file); in phar_wrapper_open_dir()
380 return phar_make_dirstream(internal_file, &phar->manifest); in phar_wrapper_open_dir()
382 size_t i_len = strlen(internal_file); in phar_wrapper_open_dir()
391 internal_file = estrndup(internal_file, in phar_wrapper_open_dir()
[all …]
H A Dphar.c436 if (idata->internal_file && !idata->internal_file->is_persistent) { in phar_entry_delref()
437 if (--idata->internal_file->fp_refcount < 0) { in phar_entry_delref()
438 idata->internal_file->fp_refcount = 0; in phar_entry_delref()
445 if (idata->internal_file->is_temp_dir) { in phar_entry_delref()
446 destroy_phar_manifest_entry_int(idata->internal_file); in phar_entry_delref()
447 efree(idata->internal_file); in phar_entry_delref()
466 if (idata->internal_file->fp_refcount < 2) { in phar_entry_remove()
470 …zend_hash_str_del(&idata->phar->manifest, idata->internal_file->filename, idata->internal_file->fi… in phar_entry_remove()
474 idata->internal_file->is_deleted = 1; in phar_entry_remove()
2354 int len = idata->internal_file->uncompressed_filesize;
[all …]
H A Dphar_object.c1665 if (data->internal_file->fp_type == PHAR_MOD) { in phar_build()
1666 php_stream_close(data->internal_file->fp); in phar_build()
1669 data->internal_file->fp = NULL; in phar_build()
1670 data->internal_file->fp_type = PHAR_UFP; in phar_build()
1671 data->internal_file->offset_abs = data->internal_file->offset = php_stream_tell(p_obj->fp); in phar_build()
1674 data->internal_file->uncompressed_filesize = data->internal_file->compressed_filesize = in phar_build()
1683 data->internal_file->flags &= ~mask; in phar_build()
1702 …data->internal_file->compressed_filesize = data->internal_file->uncompressed_filesize = contents_l… in phar_build()
3655 if (!data->internal_file->is_dir) { in phar_add_file()
3669 …data->internal_file->compressed_filesize = data->internal_file->uncompressed_filesize = contents_l… in phar_add_file()
[all …]
H A Dutil.c434 (*ret)->internal_file = entry; in phar_get_entry_data()
482 (*ret)->internal_file = entry; in phar_get_entry_data()
614 ret->internal_file = entry; in phar_get_or_create_entry_data()
726 dummy.internal_file = entry; in phar_open_entry_fp()
744 dummy.internal_file = entry; in phar_open_entry_fp()
H A Dphar_internal.h460 phar_entry_info *internal_file; member

Completed in 38 milliseconds