Home
last modified time | relevance | path

Searched refs:opened_path (Results 51 – 75 of 88) sorted by relevance

1234

/php-src/ext/phar/
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
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 Dgh10834.phpt20 function stream_open($path, $mode, $options, &$opened_path) {
/php-src/ext/standard/tests/file/
H A Dinclude_userstream_001.phpt12 function stream_open($path, $mode, $options, &$opened_path)
H A Dbug27508.phpt9 function stream_open($path, $mode, $options, &$opened_path)
H A Dbug38450.phpt15 function stream_open($path, $mode, $options, &$opened_path)
H A Dbug38450_1.phpt15 function stream_open($path, $mode, $options, &$opened_path)
H A Dbug38450_2.phpt15 function stream_open($path, $mode, $options, &$opened_path)
H A Dfopencookie.phpt24 function stream_open($path, $mode, $options, &$opened_path)
H A Dbug38450_3.phpt15 function stream_open($path, $mode, $options, &$opened_path)
H A Dinclude_streams.phpt29 function stream_open($path, $mode, $options, &$opened_path)
H A Dinclude_userstream_002.phpt14 function stream_open($path, $mode, $options, &$opened_path)
/php-src/main/
H A Dphp_streams.h75 …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 Dmain.c1527 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 Dhtml_document.c993 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 Dbug61367-read_2.phpt35 public function stream_open ( $path , $mode , $options , &$opened_path ) {
H A Dbug61367-read.phpt34 public function stream_open ( $path , $mode , $options , &$opened_path ) {
/php-src/ext/standard/
H A Dftp_fopen_wrapper.c126 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 Dphp_fopen_wrapper.c177 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 Dhttp_fopen_wrapper.c119 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 DHTMLDocument_fromFile_with_working_stream_wrapper.phpt13 public function stream_open($path, $mode, $options, &$opened_path) {
/php-src/ext/standard/tests/streams/
H A Dbug40459.phpt15 function stream_open($path, $mode, $options, &$opened_path)
/php-src/ext/opcache/
H A DZendAccelerator.c972 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 Dstreams.c2179 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 Duserspace.c45 …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 Dzend.h241 FILE *(*fopen_function)(zend_string *filename, zend_string **opened_path);
333 extern ZEND_API FILE *(*zend_fopen)(zend_string *filename, zend_string **opened_path);

Completed in 81 milliseconds

1234