Home
last modified time | relevance | path

Searched refs:opened_path (Results 1 – 25 of 77) sorted by path

1234

/PHP-7.4/Zend/tests/
H A Dbug38779.phpt9 public function stream_open($path, $mode, $options, &$opened_path) {
H A Dbug38779_1.phpt9 public function stream_open($path, $mode, $options, &$opened_path) {
H A Dbug78340.phpt11 function stream_open($path, $mode, $options, $opened_path) {
H A Ddebug_backtrace_with_include_and_this.phpt6 function stream_open($path, $mode, $options, $opened_path) {
/PHP-7.4/Zend/
H A Dzend.c73 ZEND_API FILE *(*zend_fopen)(const char *filename, zend_string **opened_path);
512 static FILE *zend_fopen_wrapper(const char *filename, zend_string **opened_path) /* {{{ */ in zend_fopen_wrapper() argument
514 if (opened_path) { in zend_fopen_wrapper()
515 *opened_path = zend_string_init(filename, strlen(filename), 0); in zend_fopen_wrapper()
1674 if (file_handle->opened_path) { in zend_execute_scripts()
1675 zend_hash_add_empty_element(&EG(included_files), file_handle->opened_path); in zend_execute_scripts()
H A Dzend.h192 FILE *(*fopen_function)(const char *filename, zend_string **opened_path);
280 extern ZEND_API FILE *(*zend_fopen)(const char *filename, zend_string **opened_path);
H A Dzend_dtrace.c47 DTRACE_COMPILE_FILE_ENTRY(ZSTR_VAL(file_handle->opened_path), (char *)file_handle->filename); in dtrace_compile_file()
49 DTRACE_COMPILE_FILE_RETURN(ZSTR_VAL(file_handle->opened_path), (char *)file_handle->filename); in dtrace_compile_file()
H A Dzend_execute.c4280 if (!file_handle.opened_path) { in zend_include_or_eval()
4281 file_handle.opened_path = zend_string_copy(resolved_path); in zend_include_or_eval()
4284 if (zend_hash_add_empty_element(&EG(included_files), file_handle.opened_path)) { in zend_include_or_eval()
H A Dzend_language_scanner.l295 file_handle->opened_path = NULL; in zend_destroy_file_handle()
569 if (file_handle->opened_path) { in open_file_for_scanning()
570 compiled_filename = zend_string_copy(file_handle->opened_path); in open_file_for_scanning()
662 zend_string *opened_path = NULL; in compile_filename() local
672 if (!file_handle.opened_path) { in compile_filename()
673 file_handle.opened_path = opened_path = zend_string_copy(Z_STR_P(filename)); in compile_filename()
676 zend_hash_add_empty_element(&EG(included_files), file_handle.opened_path); in compile_filename()
678 if (opened_path) { in compile_filename()
679 zend_string_release_ex(opened_path, 0); in compile_filename()
H A Dzend_stream.c78 zend_string *opened_path; in zend_stream_open() local
83 zend_stream_init_fp(handle, zend_fopen(filename, &opened_path), filename); in zend_stream_open()
84 handle->opened_path = opened_path; in zend_stream_open()
220 if (fh->opened_path) { in zend_file_handle_dtor()
221 zend_string_release_ex(fh->opened_path, 0); in zend_file_handle_dtor()
222 fh->opened_path = NULL; in zend_file_handle_dtor()
H A Dzend_stream.h57 zend_string *opened_path; member
/PHP-7.4/docs/
H A Dstreams.md49 int options, char **opened_path);
65 * `opened_path` is used to return the path of the actual file opened, but if you
67 `efree()ing` `opened_path`.
68 * `opened_path` may be (and usually is) `NULL`.
82 const char *pfx, char **opened_path);
/PHP-7.4/ext/bz2/
H A Dbz2.c250 zend_string **opened_path, in _php_stream_bz2open() argument
280 if (opened_path && bz_file) { in _php_stream_bz2open()
281 *opened_path = zend_string_init(path_copy, strlen(path_copy), 0); in _php_stream_bz2open()
290 stream = php_stream_open_wrapper(path, mode, options | STREAM_WILL_CAST, opened_path); in _php_stream_bz2open()
302 if (opened_path && !bz_file && mode[0] == 'w') { in _php_stream_bz2open()
303 VCWD_UNLINK(ZSTR_VAL(*opened_path)); in _php_stream_bz2open()
H A Dphp_bz2.h51 …rapper, const char *path, const char *mode, int options, zend_string **opened_path, php_stream_con…
55 …open(wrapper, path, mode, options, opened_path) _php_stream_bz2open((wrapper), (path), (mode), (op… argument
/PHP-7.4/ext/dba/
H A Ddba.c651 zend_string *opened_path = NULL; in php_dba_open() local
902 …pen_wrapper(lock_name, lock_file_mode, STREAM_MUST_SEEK|IGNORE_PATH|persistent_flag, &opened_path); in php_dba_open()
908 if (opened_path) { in php_dba_open()
909 info->lock.name = pestrndup(ZSTR_VAL(opened_path), ZSTR_LEN(opened_path), persistent); in php_dba_open()
910 zend_string_release_ex(opened_path, 0); in php_dba_open()
915 …ck_name, lock_file_mode, STREAM_MUST_SEEK|REPORT_ERRORS|IGNORE_PATH|persistent_flag, &opened_path); in php_dba_open()
920 info->path = pestrndup(ZSTR_VAL(opened_path), ZSTR_LEN(opened_path), persistent); in php_dba_open()
923 info->lock.name = pestrndup(ZSTR_VAL(opened_path), ZSTR_LEN(opened_path), persistent); in php_dba_open()
924 zend_string_release_ex(opened_path, 0); in php_dba_open()
/PHP-7.4/ext/libxml/tests/
H A Dbug54440.phpt10 function stream_open($path, $mode, $options, &$opened_path)
H A Dbug61367-read.phpt33 public function stream_open ( $path , $mode , $options , &$opened_path ) {
H A Dbug61367-read_2.phpt32 public function stream_open ( $path , $mode , $options , &$opened_path ) {
H A Dbug61367-write.phpt17 public function stream_open ( $path , $mode , $options , &$opened_path ) {
/PHP-7.4/ext/opcache/
H A DZendAccelerator.c909 if (!file_handle->opened_path) { in zend_get_file_handle_timestamp_win()
984 if (file_handle->opened_path) { in zend_get_file_handle_timestamp()
1048 if (file_handle->opened_path) { in do_validate_timestamps()
1067 file_handle->opened_path = NULL; in do_validate_timestamps()
1075 file_handle->opened_path = NULL; in do_validate_timestamps()
1081 file_handle->opened_path = NULL; in do_validate_timestamps()
1696 …andle->opened_path && zend_accel_blacklist_is_blacklisted(&accel_blacklist, ZSTR_VAL(file_handle-> in opcache_compile_file()
1808 if (file_handle->opened_path) { in opcache_compile_file()
1830 if (!file_handle->opened_path) { in file_cache_compile_file()
2000 if (file_handle->opened_path) { in persistent_compile_file()
[all …]
H A Dzend_file_cache.c1520 zend_string *full_path = file_handle->opened_path;
/PHP-7.4/ext/phar/
H A Ddirstream.c303 …rapper, const char *path, const char *mode, int options, zend_string **opened_path, php_stream_con… in phar_wrapper_open_dir() argument
H A Ddirstream.h34 …rapper, const char *path, const char *mode, int options, zend_string **opened_path, php_stream_con…
H A Dphar.c3294 if (f.opened_path) { in phar_compile_file()
3295 efree(f.opened_path); in phar_compile_file()
3297 f.opened_path = file_handle->opened_path; in phar_compile_file()
H A Dstream.c161 …rapper, const char *path, const char *mode, int options, zend_string **opened_path, php_stream_con… in phar_wrapper_open_url() argument
236 if (opened_path) { in phar_wrapper_open_url()
237 …*opened_path = strpprintf(MAXPATHLEN, "phar://%s/%s", idata->phar->fname, idata->internal_file->fi… in phar_wrapper_open_url()
254 if (opened_path) { in phar_wrapper_open_url()
255 *opened_path = strpprintf(MAXPATHLEN, "%s", phar->fname); in phar_wrapper_open_url()
280 if (opened_path) { in phar_wrapper_open_url()
281 *opened_path = strpprintf(MAXPATHLEN, "%s", phar->fname); in phar_wrapper_open_url()
337 if (opened_path) { in phar_wrapper_open_url()
338 …*opened_path = strpprintf(MAXPATHLEN, "phar://%s/%s", idata->phar->fname, idata->internal_file->fi… in phar_wrapper_open_url()

Completed in 117 milliseconds

1234