Home
last modified time | relevance | path

Searched refs:opened_path (Results 1 – 25 of 95) sorted by path

1234

/PHP-5.5/
H A DREADME.STREAMS50 int options, char **opened_path TSRMLS_DC);
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 TSRMLS_DC);
/PHP-5.5/Zend/tests/
H A Dbug38779.phpt9 public function stream_open($path, $mode, $options, &$opened_path) {
H A Dbug38779_1.phpt9 public function stream_open($path, $mode, $options, &$opened_path) {
/PHP-5.5/Zend/
H A Dzend.c50 ZEND_API FILE *(*zend_fopen)(const char *filename, char **opened_path TSRMLS_DC);
453 static FILE *zend_fopen_wrapper(const char *filename, char **opened_path TSRMLS_DC) /* {{{ */ in zend_fopen_wrapper()
455 if (opened_path) { in zend_fopen_wrapper()
456 *opened_path = estrdup(filename); in zend_fopen_wrapper()
1320 if (file_handle->opened_path) { in zend_execute_scripts()
1322 …zend_hash_add(&EG(included_files), file_handle->opened_path, strlen(file_handle->opened_path) + 1,… in zend_execute_scripts()
H A Dzend.h546 FILE *(*fopen_function)(const char *filename, char **opened_path TSRMLS_DC);
691 extern ZEND_API FILE *(*zend_fopen)(const char *filename, char **opened_path TSRMLS_DC);
H A Dzend_dtrace.c39 DTRACE_COMPILE_FILE_ENTRY(file_handle->opened_path, (char *)file_handle->filename); in dtrace_compile_file()
41 DTRACE_COMPILE_FILE_RETURN(file_handle->opened_path, (char *)file_handle->filename); in dtrace_compile_file()
H A Dzend_language_scanner.c271 file_handle->opened_path = NULL; in zend_destroy_file_handle()
533 if (file_handle->opened_path) { in open_file_for_scanning()
534 file_path = file_handle->opened_path; in open_file_for_scanning()
619 char *opened_path = NULL; in compile_filename() local
630 file_handle.opened_path = NULL; in compile_filename()
637 if (!file_handle.opened_path) { in compile_filename()
638 …file_handle.opened_path = opened_path = estrndup(filename->value.str.val, filename->value.str.len); in compile_filename()
641 …zend_hash_add(&EG(included_files), file_handle.opened_path, strlen(file_handle.opened_path)+1, (vo… in compile_filename()
643 if (opened_path) { in compile_filename()
644 efree(opened_path); in compile_filename()
[all …]
H A Dzend_language_scanner.l269 file_handle->opened_path = NULL; in zend_destroy_file_handle()
531 if (file_handle->opened_path) { in open_file_for_scanning()
532 file_path = file_handle->opened_path; in open_file_for_scanning()
617 char *opened_path = NULL; in compile_filename() local
628 file_handle.opened_path = NULL; in compile_filename()
635 if (!file_handle.opened_path) { in compile_filename()
636 …file_handle.opened_path = opened_path = estrndup(filename->value.str.val, filename->value.str.len); in compile_filename()
639 …zend_hash_add(&EG(included_files), file_handle.opened_path, strlen(file_handle.opened_path)+1, (vo… in compile_filename()
641 if (opened_path) { in compile_filename()
642 efree(opened_path); in compile_filename()
[all …]
H A Dzend_stream.c135 handle->opened_path = NULL; in zend_stream_open()
136 handle->handle.fp = zend_fopen(filename, &handle->opened_path TSRMLS_CC); in zend_stream_open()
325 if (fh->opened_path) {
326 efree(fh->opened_path);
327 fh->opened_path = NULL;
H A Dzend_stream.h65 char *opened_path; member
H A Dzend_vm_def.h3787 if (!file_handle.opened_path) {
3788 file_handle.opened_path = estrdup(resolved_path);
3791 …ash_add_empty_element(&EG(included_files), file_handle.opened_path, strlen(file_handle.opened_path
H A Dzend_vm_execute.h2691 if (!file_handle.opened_path) { in ZEND_INCLUDE_OR_EVAL_SPEC_CONST_HANDLER()
2692 file_handle.opened_path = estrdup(resolved_path); in ZEND_INCLUDE_OR_EVAL_SPEC_CONST_HANDLER()
2695 …ash_add_empty_element(&EG(included_files), file_handle.opened_path, strlen(file_handle.opened_path in ZEND_INCLUDE_OR_EVAL_SPEC_CONST_HANDLER()
8002 if (!file_handle.opened_path) { in ZEND_INCLUDE_OR_EVAL_SPEC_TMP_HANDLER()
8003 file_handle.opened_path = estrdup(resolved_path); in ZEND_INCLUDE_OR_EVAL_SPEC_TMP_HANDLER()
8006 …ash_add_empty_element(&EG(included_files), file_handle.opened_path, strlen(file_handle.opened_path in ZEND_INCLUDE_OR_EVAL_SPEC_TMP_HANDLER()
13319 if (!file_handle.opened_path) { in ZEND_INCLUDE_OR_EVAL_SPEC_VAR_HANDLER()
13320 file_handle.opened_path = estrdup(resolved_path); in ZEND_INCLUDE_OR_EVAL_SPEC_VAR_HANDLER()
13323 …ash_add_empty_element(&EG(included_files), file_handle.opened_path, strlen(file_handle.opened_path in ZEND_INCLUDE_OR_EVAL_SPEC_VAR_HANDLER()
30989 if (!file_handle.opened_path) { in ZEND_INCLUDE_OR_EVAL_SPEC_CV_HANDLER()
[all …]
/PHP-5.5/ext/bz2/
H A Dbz2.c215 char **opened_path, in _php_stream_bz2open() argument
245 if (opened_path && bz_file) { in _php_stream_bz2open()
246 *opened_path = estrdup(path_copy); in _php_stream_bz2open()
255 stream = php_stream_open_wrapper(path, mode, options | STREAM_WILL_CAST, opened_path); in _php_stream_bz2open()
267 if (opened_path && !bz_file && mode[0] == 'w') { in _php_stream_bz2open()
268 VCWD_UNLINK(*opened_path); in _php_stream_bz2open()
H A Dphp_bz2.h50 …p_stream_wrapper *wrapper, char *path, char *mode, int options, char **opened_path, php_stream_con…
54 …open(wrapper, path, mode, options, opened_path) _php_stream_bz2open((wrapper), (path), (mode), (op… argument
/PHP-5.5/ext/dba/
H A Ddba.c628 char *opened_path = NULL; in php_dba_open() local
843 …pen_wrapper(lock_name, lock_file_mode, STREAM_MUST_SEEK|IGNORE_PATH|persistent_flag, &opened_path); in php_dba_open()
850 info->lock.name = opened_path; in php_dba_open()
852 if (opened_path) { in php_dba_open()
853 info->lock.name = pestrdup(opened_path, persistent); in php_dba_open()
854 efree(opened_path); in php_dba_open()
860 …ck_name, lock_file_mode, STREAM_MUST_SEEK|REPORT_ERRORS|IGNORE_PATH|persistent_flag, &opened_path); in php_dba_open()
865 info->path = pestrdup(opened_path, persistent); in php_dba_open()
869 info->lock.name = opened_path; in php_dba_open()
871 info->lock.name = pestrdup(opened_path, persistent); in php_dba_open()
[all …]
/PHP-5.5/ext/libxml/tests/
H A Dbug54440.phpt10 function stream_open($path, $mode, $options, &$opened_path)
H A Dbug61367-read.phpt30 public function stream_open ( $path , $mode , $options , &$opened_path ) {
H A Dbug61367-write.phpt17 public function stream_open ( $path , $mode , $options , &$opened_path ) {
/PHP-5.5/ext/opcache/
H A DZendAccelerator.c684 if (!file_handle->opened_path) { in zend_get_file_handle_timestamp_win()
833 if (file_handle->opened_path) { in do_validate_timestamps()
847 file_handle->opened_path = full_path_ptr; in do_validate_timestamps()
853 file_handle->opened_path = NULL; in do_validate_timestamps()
861 file_handle->opened_path = NULL; in do_validate_timestamps()
867 file_handle->opened_path = NULL; in do_validate_timestamps()
1076 file_handle.opened_path = realpath; in zend_accel_invalidate()
1438 if (file_handle->opened_path) { in compile_and_cache_file()
1538 if (file_handle->opened_path &&
1829 handle->opened_path = NULL;
[all …]
H A Dzend_accelerator_module.c771 handle.opened_path = NULL; in ZEND_FUNCTION()
/PHP-5.5/ext/phar/
H A Ddirstream.c319 …p_stream_wrapper *wrapper, char *path, char *mode, int options, char **opened_path, php_stream_con… in phar_wrapper_open_dir() argument
H A Ddirstream.h36 …p_stream_wrapper *wrapper, char *path, char *mode, int options, char **opened_path, php_stream_con…
H A Dphar.c3364 if (file_handle->opened_path) {
3365 efree(file_handle->opened_path);
3367 file_handle->opened_path = f.opened_path;
H A Dphar_object.c255 file_handle.opened_path = NULL; in phar_file_action()
H A Dstream.c158 …p_stream_wrapper *wrapper, char *path, char *mode, int options, char **opened_path, php_stream_con… in phar_wrapper_open_url() argument
234 if (opened_path) { in phar_wrapper_open_url()
235 …spprintf(opened_path, MAXPATHLEN, "phar://%s/%s", idata->phar->fname, idata->internal_file->filena… in phar_wrapper_open_url()
252 if (opened_path) { in phar_wrapper_open_url()
253 spprintf(opened_path, MAXPATHLEN, "%s", phar->fname); in phar_wrapper_open_url()
278 if (opened_path) { in phar_wrapper_open_url()
279 spprintf(opened_path, MAXPATHLEN, "%s", phar->fname); in phar_wrapper_open_url()
335 if (opened_path) { in phar_wrapper_open_url()
336 …spprintf(opened_path, MAXPATHLEN, "phar://%s/%s", idata->phar->fname, idata->internal_file->filena… in phar_wrapper_open_url()

Completed in 226 milliseconds

1234