/PHP-7.0/main/streams/ |
H A D | streams.c | 2011 zend_string **opened_path, php_stream_context *context STREAMS_DC) argument 2020 if (opened_path) { 2021 *opened_path = NULL; 2057 opened_path, context STREAMS_REL_CC); 2075 if (opened_path && !*opened_path && resolved_path) { 2076 *opened_path = resolved_path; 2136 if (opened_path && *opened_path) { 2137 zend_string_release(*opened_path); 2138 *opened_path = NULL;
|
H A D | userspace.c | 48 …er, const char *filename, const char *mode, int options, zend_string **opened_path, php_stream_con… 56 int options, zend_string **opened_path, php_stream_context *context STREAMS_DC); 333 int options, zend_string **opened_path, php_stream_context *context STREAMS_DC) in user_wrapper_opener() argument 397 if (Z_ISREF(args[3]) && Z_TYPE_P(Z_REFVAL(args[3])) == IS_STRING && opened_path) { in user_wrapper_opener() 398 *opened_path = zend_string_copy(Z_STR_P(Z_REFVAL(args[3]))); in user_wrapper_opener() 428 int options, zend_string **opened_path, php_stream_context *context STREAMS_DC) in user_wrapper_opendir() argument
|
/PHP-7.0/Zend/ |
H A D | zend.h | 199 FILE *(*fopen_function)(const char *filename, zend_string **opened_path); 277 extern ZEND_API FILE *(*zend_fopen)(const char *filename, zend_string **opened_path);
|
H A D | zend.c | 51 ZEND_API FILE *(*zend_fopen)(const char *filename, zend_string **opened_path); 384 static FILE *zend_fopen_wrapper(const char *filename, zend_string **opened_path) /* {{{ */ in zend_fopen_wrapper() argument 386 if (opened_path) { in zend_fopen_wrapper() 387 *opened_path = zend_string_init(filename, strlen(filename), 0); in zend_fopen_wrapper() 1440 if (file_handle->opened_path) { in zend_execute_scripts() 1441 zend_hash_add_empty_element(&EG(included_files), file_handle->opened_path); in zend_execute_scripts()
|
H A D | zend_language_scanner.c | 280 file_handle->opened_path = NULL; in zend_destroy_file_handle() 551 if (file_handle->opened_path) { in open_file_for_scanning() 552 compiled_filename = zend_string_copy(file_handle->opened_path); in open_file_for_scanning() 637 zend_string *opened_path = NULL; in compile_filename() local 648 file_handle.opened_path = NULL; in compile_filename() 653 if (!file_handle.opened_path) { in compile_filename() 654 file_handle.opened_path = opened_path = zend_string_copy(Z_STR_P(filename)); in compile_filename() 657 zend_hash_add_empty_element(&EG(included_files), file_handle.opened_path); in compile_filename() 659 if (opened_path) { in compile_filename() 660 zend_string_release(opened_path); in compile_filename() [all …]
|
/PHP-7.0/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 | fopencookie.phpt | 24 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 | 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 | 92 function stream_open($path, $mode, $options, &$opened_path)
|
/PHP-7.0/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 365 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 | 113 const char *path, const char *mode, int options, zend_string **opened_path, in php_stream_url_wrap_http_ex() argument 937 …stream = php_stream_url_wrap_http_ex(wrapper, new_path, mode, options, opened_path, context, --red… in php_stream_url_wrap_http_ex() 994 …rapper, const char *path, const char *mode, int options, zend_string **opened_path, php_stream_con… in php_stream_url_wrap_http() argument 996 …return php_stream_url_wrap_http_ex(wrapper, path, mode, options, opened_path, context, PHP_URL_RED… in php_stream_url_wrap_http()
|
H A D | file.c | 806 zend_string *opened_path; in PHP_FUNCTION() local 825 if ((fd = php_open_temporary_fd_ex(dir, ZSTR_VAL(p), &opened_path, 1)) >= 0) { in PHP_FUNCTION() 827 RETVAL_STR(opened_path); in PHP_FUNCTION()
|
/PHP-7.0/sapi/phpdbg/ |
H A D | phpdbg.h | 305 …rapper, const char *path, const char *mode, int options, zend_string **opened_path, php_stream_con…
|
/PHP-7.0/ |
H A D | README.STREAMS | 50 int options, char **opened_path); 67 opened_path is used to return the path of the actual file opened, 69 responsible for efree()ing opened_path. opened_path may be (and usually 83 const char *pfx, char **opened_path);
|
/PHP-7.0/main/ |
H A D | main.c | 1331 static FILE *php_fopen_wrapper_for_zend(const char *filename, zend_string **opened_path) in php_fopen_wrapper_for_zend() argument 1333 …char *)filename, "rb", USE_PATH|IGNORE_URL_WIN|REPORT_ERRORS|STREAM_OPEN_FOR_INCLUDE, opened_path); in php_fopen_wrapper_for_zend() 1370 php_stream *stream = php_stream_open_wrapper((char *)filename, "rb", mode, &handle->opened_path); in php_stream_open_for_zend_ex() 2467 primary_file->opened_path == NULL && in php_execute_script() 2471 primary_file->opened_path = zend_string_init(realfile, strlen(realfile), 0); in php_execute_script() 2472 zend_hash_add_empty_element(&EG(included_files), primary_file->opened_path); in php_execute_script() 2478 prepend_file.opened_path = NULL; in php_execute_script() 2488 append_file.opened_path = NULL; in php_execute_script()
|
/PHP-7.0/sapi/litespeed/ |
H A D | lsapi_main.c | 488 file_handle->opened_path = NULL; in lsapi_execute_script() 1103 file_handle.opened_path = NULL; in cli_main() 1114 file_handle.opened_path = NULL; in cli_main()
|
/PHP-7.0/sapi/cli/ |
H A D | php_cli.c | 622 file_handle->opened_path = NULL; in cli_seek_file_begin() 935 file_handle.opened_path = NULL; in do_cli()
|
/PHP-7.0/ext/readline/ |
H A D | readline_cli.c | 598 prepend_file.opened_path = NULL; in readline_shell_run()
|
/PHP-7.0/sapi/apache2handler/ |
H A D | sapi_apache2.c | 675 zfd.opened_path = NULL; in php_handler()
|
/PHP-7.0/ext/phar/ |
H A D | dirstream.c | 304 …rapper, const char *path, const char *mode, int options, zend_string **opened_path, php_stream_con… in phar_wrapper_open_dir() argument
|