/php-src/ext/phar/ |
H A D | stream.c | 161 …rapper, const char *path, const char *mode, int options, zend_string **opened_path, php_stream_con… in phar_wrapper_open_url() argument 233 if (opened_path) { in phar_wrapper_open_url() 234 …*opened_path = strpprintf(MAXPATHLEN, "phar://%s/%s", idata->phar->fname, idata->internal_file->fi… in phar_wrapper_open_url() 251 if (opened_path) { in phar_wrapper_open_url() 252 *opened_path = strpprintf(MAXPATHLEN, "%s", phar->fname); in phar_wrapper_open_url() 288 if (opened_path) { in phar_wrapper_open_url() 289 *opened_path = strpprintf(MAXPATHLEN, "%s", phar->fname); in phar_wrapper_open_url() 345 if (opened_path) { in phar_wrapper_open_url() 346 …*opened_path = strpprintf(MAXPATHLEN, "phar://%s/%s", idata->phar->fname, idata->internal_file->fi… in phar_wrapper_open_url()
|
/php-src/ext/exif/tests/ |
H A D | gh10834.phpt | 20 function stream_open($path, $mode, $options, &$opened_path) {
|
/php-src/ext/standard/tests/file/ |
H A D | include_userstream_001.phpt | 12 function stream_open($path, $mode, $options, &$opened_path)
|
H A D | bug27508.phpt | 9 function stream_open($path, $mode, $options, &$opened_path)
|
H A D | bug38450.phpt | 15 function stream_open($path, $mode, $options, &$opened_path)
|
H A D | bug38450_1.phpt | 15 function stream_open($path, $mode, $options, &$opened_path)
|
H A D | bug38450_2.phpt | 15 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_3.phpt | 15 function stream_open($path, $mode, $options, &$opened_path)
|
H A D | include_streams.phpt | 29 function stream_open($path, $mode, $options, &$opened_path)
|
H A D | include_userstream_002.phpt | 14 function stream_open($path, $mode, $options, &$opened_path)
|
/php-src/main/ |
H A D | php_streams.h | 75 …ream_fopen_temporary_file_rel(dir, pfx, opened_path) _php_stream_fopen_temporary_file((dir), (pfx)… argument 138 int options, zend_string **opened_path, php_stream_context *context STREAMS_DC); 147 int options, zend_string **opened_path, php_stream_context *context STREAMS_DC); 597 …pper_ex(const char *path, const char *mode, int options, zend_string **opened_path, php_stream_con…
|
H A D | main.c | 1527 static FILE *php_fopen_wrapper_for_zend(zend_string *filename, zend_string **opened_path) in php_fopen_wrapper_for_zend() argument 1529 *opened_path = filename; in php_fopen_wrapper_for_zend() 1530 …e), "rb", USE_PATH|REPORT_ERRORS|STREAM_OPEN_FOR_INCLUDE|STREAM_OPEN_FOR_ZEND_STREAM, opened_path); in php_fopen_wrapper_for_zend() 1566 zend_string *opened_path; in php_stream_open_for_zend_ex() local 1571 opened_path = filename = handle->filename; in php_stream_open_for_zend_ex() 1572 …m_open_wrapper((char *)ZSTR_VAL(filename), "rb", mode | STREAM_OPEN_FOR_ZEND_STREAM, &opened_path); in php_stream_open_for_zend_ex() 1577 handle->opened_path = opened_path; in php_stream_open_for_zend_ex() 2478 primary_file->opened_path == NULL && in php_execute_script_ex() 2482 primary_file->opened_path = zend_string_init(realfile, strlen(realfile), 0); in php_execute_script_ex() 2483 zend_hash_add_empty_element(&EG(included_files), primary_file->opened_path); in php_execute_script_ex()
|
/php-src/ext/dom/ |
H A D | html_document.c | 993 zend_string *opened_path = NULL; in PHP_METHOD() local 994 …stream = php_stream_open_wrapper_ex(filename, "rb", REPORT_ERRORS, &opened_path, php_libxml_get_st… in PHP_METHOD() 1097 if (stream->wrapper == &php_plain_files_wrapper && opened_path != NULL) { in PHP_METHOD() 1098 xmlChar *converted = xmlPathToURI((const xmlChar *) ZSTR_VAL(opened_path)); in PHP_METHOD() 1127 if (opened_path != NULL) { in PHP_METHOD() 1128 zend_string_release_ex(opened_path, false); in PHP_METHOD() 1151 if (opened_path != NULL) { in PHP_METHOD() 1152 zend_string_release_ex(opened_path, false); in PHP_METHOD()
|
/php-src/ext/libxml/tests/ |
H A D | bug61367-read_2.phpt | 35 public function stream_open ( $path , $mode , $options , &$opened_path ) {
|
H A D | bug61367-read.phpt | 34 public function stream_open ( $path , $mode , $options , &$opened_path ) {
|
/php-src/ext/standard/ |
H A D | ftp_fopen_wrapper.c | 126 zend_string **opened_path, php_stream_context *context, php_stream **preuseid, in php_ftp_fopen_connect() argument 404 int options, zend_string **opened_path, php_stream_context *context STREAMS_DC) in php_stream_url_wrap_ftp() argument 448 return php_stream_url_wrap_http(wrapper, path, mode, options, opened_path, context STREAMS_CC); in php_stream_url_wrap_ftp() 456 …stream = php_ftp_fopen_connect(wrapper, path, mode, options, opened_path, context, &reuseid, &reso… in php_stream_url_wrap_ftp() 682 zend_string **opened_path, php_stream_context *context STREAMS_DC) in php_stream_ftp_opendir() argument 694 …stream = php_ftp_fopen_connect(wrapper, path, mode, options, opened_path, context, &reuseid, &reso… in php_stream_ftp_opendir()
|
H A D | php_fopen_wrapper.c | 177 zend_string **opened_path, php_stream_context *context STREAMS_DC) /* {{{ */ in php_stream_url_wrap_php() argument 355 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 | 119 const char *path, const char *mode, int options, zend_string **opened_path, in php_stream_url_wrap_http_ex() argument 927 wrapper, new_path, mode, options, opened_path, context, in php_stream_url_wrap_http_ex() 981 …rapper, const char *path, const char *mode, int options, zend_string **opened_path, php_stream_con… in php_stream_url_wrap_http() argument 992 wrapper, path, mode, options, opened_path, context, in php_stream_url_wrap_http()
|
/php-src/ext/dom/tests/modern/html/parser/ |
H A D | HTMLDocument_fromFile_with_working_stream_wrapper.phpt | 13 public function stream_open($path, $mode, $options, &$opened_path) {
|
/php-src/ext/standard/tests/streams/ |
H A D | bug40459.phpt | 15 function stream_open($path, $mode, $options, &$opened_path)
|
/php-src/ext/opcache/ |
H A D | ZendAccelerator.c | 972 if (!file_handle->opened_path) { in zend_get_file_handle_timestamp_win() 1047 if (file_handle->opened_path) { in zend_get_file_handle_timestamp() 1112 if (file_handle->opened_path) { in do_validate_timestamps() 1131 file_handle->opened_path = NULL; in do_validate_timestamps() 1145 file_handle->opened_path = NULL; in do_validate_timestamps() 1429 file_handle.opened_path = NULL; in zend_accel_invalidate() 1752 …andle->opened_path && zend_accel_blacklist_is_blacklisted(&accel_blacklist, ZSTR_VAL(file_handle->… in opcache_compile_file() 1869 if (file_handle->opened_path) { in opcache_compile_file() 1891 if (!file_handle->opened_path) { in file_cache_compile_file() 2054 if (file_handle->opened_path) { in persistent_compile_file() [all …]
|
/php-src/main/streams/ |
H A D | streams.c | 2179 zend_string **opened_path, php_stream_context *context STREAMS_DC) argument 2189 if (opened_path) { 2191 path_str = *opened_path; 2193 *opened_path = NULL; 2236 opened_path, context STREAMS_REL_CC); 2254 if (opened_path && !*opened_path && resolved_path) { 2255 *opened_path = resolved_path; 2315 if (opened_path && *opened_path) { 2316 zend_string_release_ex(*opened_path, 0); 2317 *opened_path = NULL;
|
H A D | userspace.c | 45 …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); 294 int options, zend_string **opened_path, php_stream_context *context STREAMS_DC) in user_wrapper_opener() argument 355 if (Z_ISREF(args[3]) && Z_TYPE_P(Z_REFVAL(args[3])) == IS_STRING && opened_path) { in user_wrapper_opener() 356 *opened_path = zend_string_copy(Z_STR_P(Z_REFVAL(args[3]))); in user_wrapper_opener() 395 int options, zend_string **opened_path, php_stream_context *context STREAMS_DC) in user_wrapper_opendir() argument
|
/php-src/Zend/ |
H A D | zend.h | 241 FILE *(*fopen_function)(zend_string *filename, zend_string **opened_path); 333 extern ZEND_API FILE *(*zend_fopen)(zend_string *filename, zend_string **opened_path);
|