/PHP-7.4/Zend/tests/ |
H A D | bug38779.phpt | 9 public function stream_open($path, $mode, $options, &$opened_path) {
|
H A D | bug38779_1.phpt | 9 public function stream_open($path, $mode, $options, &$opened_path) {
|
H A D | bug78340.phpt | 11 function stream_open($path, $mode, $options, $opened_path) {
|
H A D | debug_backtrace_with_include_and_this.phpt | 6 function stream_open($path, $mode, $options, $opened_path) {
|
/PHP-7.4/Zend/ |
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()
|
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_dtrace.c | 47 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 D | zend_execute.c | 4280 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 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_stream.c | 78 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 D | zend_stream.h | 57 zend_string *opened_path; member
|
/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/ext/bz2/ |
H A D | bz2.c | 250 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 D | php_bz2.h | 51 …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 D | dba.c | 651 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 D | bug54440.phpt | 10 function stream_open($path, $mode, $options, &$opened_path)
|
H A D | bug61367-read.phpt | 33 public function stream_open ( $path , $mode , $options , &$opened_path ) {
|
H A D | bug61367-read_2.phpt | 32 public function stream_open ( $path , $mode , $options , &$opened_path ) {
|
H A D | bug61367-write.phpt | 17 public 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 …]
|
H A D | zend_file_cache.c | 1520 zend_string *full_path = file_handle->opened_path;
|
/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 | dirstream.h | 34 …rapper, const char *path, const char *mode, int options, zend_string **opened_path, php_stream_con…
|
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()
|
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 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()
|