/PHP-7.4/ext/standard/tests/file/ |
H A D | bug38450.phpt | 14 function stream_open($path, $mode, $options, &$opened_path)
|
H A D | bug38450_1.phpt | 14 function stream_open($path, $mode, $options, &$opened_path)
|
H A D | bug38450_2.phpt | 14 function stream_open($path, $mode, $options, &$opened_path)
|
H A D | bug38450_3.phpt | 14 function stream_open($path, $mode, $options, &$opened_path)
|
H A D | fopencookie.phpt | 23 function stream_open($path, $mode, $options, &$opened_path)
|
H A D | include_streams.phpt | 28 function stream_open($path, $mode, $options, &$opened_path)
|
H A D | include_userstream_002.phpt | 13 function stream_open($path, $mode, $options, &$opened_path)
|
H A D | include_userstream_003.phpt | 13 function stream_open($path, $mode, $options, &$opened_path)
|
H A D | userstreams.phpt | 91 function stream_open($path, $mode, $options, &$opened_path)
|
/PHP-7.4/ext/opcache/ |
H A D | ZendAccelerator.c | 909 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 …]
|
/PHP-7.4/main/streams/ |
H A D | streams.c | 2079 zend_string **opened_path, php_stream_context *context STREAMS_DC) argument 2088 if (opened_path) { 2089 *opened_path = NULL; 2128 opened_path, context STREAMS_REL_CC); 2146 if (opened_path && !*opened_path && resolved_path) { 2147 *opened_path = resolved_path; 2207 if (opened_path && *opened_path) { 2208 zend_string_release_ex(*opened_path, 0); 2209 *opened_path = NULL;
|
H A D | userspace.c | 46 …er, const char *filename, const char *mode, int options, zend_string **opened_path, php_stream_con… 54 int options, zend_string **opened_path, php_stream_context *context STREAMS_DC); 330 int options, zend_string **opened_path, php_stream_context *context STREAMS_DC) in user_wrapper_opener() argument 394 if (Z_ISREF(args[3]) && Z_TYPE_P(Z_REFVAL(args[3])) == IS_STRING && opened_path) { in user_wrapper_opener() 395 *opened_path = zend_string_copy(Z_STR_P(Z_REFVAL(args[3]))); in user_wrapper_opener() 425 int options, zend_string **opened_path, php_stream_context *context STREAMS_DC) in user_wrapper_opendir() argument
|
H A D | memory.c | 634 const char *mode, int options, zend_string **opened_path, in php_stream_url_wrap_rfc2397() argument
|
/PHP-7.4/ext/standard/ |
H A D | php_fopen_wrapper.c | 179 zend_string **opened_path, php_stream_context *context STREAMS_DC) /* {{{ */ in php_stream_url_wrap_php() argument 357 if (!(stream = php_stream_open_wrapper(p + 10, mode, options, opened_path))) { in php_stream_url_wrap_php()
|
H A D | http_fopen_wrapper.c | 120 const char *path, const char *mode, int options, zend_string **opened_path, in php_stream_url_wrap_http_ex() argument 914 wrapper, new_path, mode, options, opened_path, context, in php_stream_url_wrap_http_ex() 965 …rapper, const char *path, const char *mode, int options, zend_string **opened_path, php_stream_con… in php_stream_url_wrap_http() argument 972 wrapper, path, mode, options, opened_path, context, in php_stream_url_wrap_http()
|
H A D | file.c | 821 zend_string *opened_path; in PHP_FUNCTION() local 837 …if ((fd = php_open_temporary_fd_ex(dir, ZSTR_VAL(p), &opened_path, PHP_TMP_FILE_OPEN_BASEDIR_CHECK… in PHP_FUNCTION() 839 RETVAL_STR(opened_path); in PHP_FUNCTION()
|
/PHP-7.4/Zend/ |
H A D | zend_language_scanner.l | 295 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 D | zend.h | 192 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 D | zend.c | 73 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()
|
/PHP-7.4/docs/ |
H A D | streams.md | 49 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/main/ |
H A D | main.c | 1598 static FILE *php_fopen_wrapper_for_zend(const char *filename, zend_string **opened_path) in php_fopen_wrapper_for_zend() argument 1600 …char *)filename, "rb", USE_PATH|IGNORE_URL_WIN|REPORT_ERRORS|STREAM_OPEN_FOR_INCLUDE, opened_path); in php_fopen_wrapper_for_zend() 1636 zend_string *opened_path; in php_stream_open_for_zend_ex() local 1637 php_stream *stream = php_stream_open_wrapper((char *)filename, "rb", mode, &opened_path); in php_stream_open_for_zend_ex() 1642 handle->opened_path = opened_path; in php_stream_open_for_zend_ex() 2633 primary_file->opened_path == NULL && in php_execute_script() 2637 primary_file->opened_path = zend_string_init(realfile, strlen(realfile), 0); in php_execute_script() 2638 zend_hash_add_empty_element(&EG(included_files), primary_file->opened_path); in php_execute_script()
|
/PHP-7.4/sapi/litespeed/ |
H A D | lsapi_main.c | 1346 file_handle.opened_path = NULL; in cli_main() 1357 file_handle.opened_path = NULL; in cli_main()
|
/PHP-7.4/ext/phar/ |
H A D | dirstream.c | 303 …rapper, const char *path, const char *mode, int options, zend_string **opened_path, php_stream_con… in phar_wrapper_open_dir() argument
|
H A D | phar.c | 3294 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()
|
/PHP-7.4/sapi/phpdbg/ |
H A D | phpdbg.c | 1335 …rapper, const char *path, const char *mode, int options, zend_string **opened_path, php_stream_con… in phpdbg_stream_url_wrap_php() argument 1355 …return PHPDBG_G(orig_url_wrap_php)->wops->stream_opener(wrapper, path, mode, options, opened_path,… in phpdbg_stream_url_wrap_php()
|