/PHP-5.6/main/streams/ |
H A D | php_stream_plain_wrapper.h | 30 PHPAPI php_stream *_php_stream_fopen(const char *filename, const char *mode, char **opened_path, in… 33 …_path(const char *filename, const char *mode, const char *path, char **opened_path, int options ST… 48 …p_stream_fopen_temporary_file(const char *dir, const char *pfx, char **opened_path STREAMS_DC TSRM… 49 …p_stream_fopen_temporary_file(dir, pfx, opened_path) _php_stream_fopen_temporary_file((dir), (pfx)… argument 54 …eam_open_wrapper_as_file(char * path, char * mode, int options, char **opened_path STREAMS_DC TSRM… 55 …pper_as_file(path, mode, options, opened_path) _php_stream_open_wrapper_as_file((path), (mode), (o… argument
|
H A D | plain_wrapper.c | 189 char *opened_path = NULL; in _php_stream_fopen_temporary_file() local 197 *opened_path_ptr = opened_path; in _php_stream_fopen_temporary_file() 958 if (opened_path) { in _php_stream_fopen() 959 *opened_path = realpath; in _php_stream_fopen() 984 if (opened_path) { in _php_stream_fopen() 985 *opened_path = realpath; in _php_stream_fopen() 1006 if (opened_path) { in _php_stream_fopen() 1007 efree(*opened_path); in _php_stream_fopen() 1008 *opened_path = NULL; in _php_stream_fopen() 1407 if (opened_path) { in _php_stream_fopen_with_path() [all …]
|
H A D | cast.c | 354 …tream_open_wrapper_as_file(char *path, char *mode, int options, char **opened_path STREAMS_DC TSRM… in _php_stream_open_wrapper_as_file() 359 stream = php_stream_open_wrapper_rel(path, mode, options|STREAM_WILL_CAST, opened_path); in _php_stream_open_wrapper_as_file() 367 if (opened_path && *opened_path) { in _php_stream_open_wrapper_as_file() 368 efree(*opened_path); in _php_stream_open_wrapper_as_file()
|
H A D | glob_wrapper.c | 210 int options, char **opened_path, php_stream_context *context STREAMS_DC TSRMLS_DC) in php_glob_stream_opener() argument 218 if (opened_path) { in php_glob_stream_opener() 219 *opened_path = estrdup(path); in php_glob_stream_opener()
|
/PHP-5.6/main/ |
H A D | php_open_temporary_file.c | 100 char *opened_path; in php_do_open_temporary_file() local 142 efree(opened_path); in php_do_open_temporary_file() 149 if (GetTempFileName(new_state.cwd, pfx, 0, opened_path)) { in php_do_open_temporary_file() 152 if (VCWD_CHMOD(opened_path, 0600)) { in php_do_open_temporary_file() 153 efree(opened_path); in php_do_open_temporary_file() 157 fd = VCWD_OPEN_MODE(opened_path, open_flags, 0600); in php_do_open_temporary_file() 161 fd = mkstemp(opened_path); in php_do_open_temporary_file() 163 if (mktemp(opened_path)) { in php_do_open_temporary_file() 164 fd = VCWD_OPEN(opened_path, open_flags); in php_do_open_temporary_file() 169 efree(opened_path); in php_do_open_temporary_file() [all …]
|
H A D | fopen_wrappers.c | 342 static FILE *php_fopen_and_set_opened_path(const char *path, const char *mode, char **opened_path T… 350 if (fp && opened_path) { 351 *opened_path = expand_filepath_with_mode(path, NULL, NULL, 0, CWD_EXPAND TSRMLS_CC); 612 …n_with_path(const char *filename, const char *mode, const char *path, char **opened_path TSRMLS_DC) 622 if (opened_path) { 623 *opened_path = NULL; 638 return php_fopen_and_set_opened_path(filename, mode, opened_path TSRMLS_CC); 676 fp = php_fopen_and_set_opened_path(trypath, mode, opened_path TSRMLS_CC);
|
/PHP-5.6/ext/bz2/ |
H A D | php_bz2.h | 50 …pper *wrapper, const char *path, const 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
|
H A D | bz2.c | 216 char **opened_path, in _php_stream_bz2open() argument 246 if (opened_path && bz_file) { in _php_stream_bz2open() 247 *opened_path = estrdup(path_copy); in _php_stream_bz2open() 256 stream = php_stream_open_wrapper(path, mode, options | STREAM_WILL_CAST, opened_path); in _php_stream_bz2open() 268 if (opened_path && !bz_file && mode[0] == 'w') { in _php_stream_bz2open() 269 VCWD_UNLINK(*opened_path); in _php_stream_bz2open()
|
/PHP-5.6/ext/standard/ |
H A D | php_fopen_wrappers.h | 26 …pper *wrapper, const char *path, const char *mode, int options, char **opened_path, php_stream_con… 27 …pper *wrapper, const char *path, const char *mode, int options, char **opened_path, php_stream_con…
|
/PHP-5.6/Zend/ |
H A D | zend_dtrace.c | 39 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 D | zend_stream.c | 135 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;
|
/PHP-5.6/ext/standard/tests/streams/ |
H A D | user-stream-error.phpt | 7 public function stream_open($path, $mode, $options, &$opened_path) {
|
H A D | stream_get_line_NUL_delimiter.phpt | 7 function stream_open($path, $mode, $options, &$opened_path) {
|
H A D | bug60455_02.phpt | 7 function stream_open($path, $mode, $options, &$opened_path) {
|
H A D | bug53903.phpt | 8 public function stream_open($path, $mode, $options, &$opened_path) {
|
H A D | bug60455_04.phpt | 8 function stream_open($path, $mode, $options, &$opened_path) {
|
/PHP-5.6/sapi/apache/ |
H A D | sapi_apache.c | 50 file_handle.opened_path = NULL; in apache_php_module_main()
|
/PHP-5.6/ext/zlib/ |
H A D | zlib_fopen_wrapper.c | 112 char **opened_path, php_stream_context *context STREAMS_DC TSRMLS_DC) in php_stream_gzopen() argument 131 …m_open_wrapper_ex(path, mode, STREAM_MUST_SEEK | options | STREAM_WILL_CAST, opened_path, context); in php_stream_gzopen()
|
H A D | php_zlib.h | 61 …pper *wrapper, const char *path, const char *mode, int options, char **opened_path, php_stream_con…
|
/PHP-5.6/ext/opcache/ |
H A D | ZendAccelerator.c | 713 if (!file_handle->opened_path) { in zend_get_file_handle_timestamp_win() 862 if (file_handle->opened_path) { in do_validate_timestamps() 876 file_handle->opened_path = full_path_ptr; in do_validate_timestamps() 882 file_handle->opened_path = NULL; in do_validate_timestamps() 890 file_handle->opened_path = NULL; in do_validate_timestamps() 896 file_handle->opened_path = NULL; in do_validate_timestamps() 1105 file_handle.opened_path = realpath; in zend_accel_invalidate() 1471 if (file_handle->opened_path) { in compile_and_cache_file() 1571 if (file_handle->opened_path && 1906 handle->opened_path = NULL; [all …]
|
/PHP-5.6/ext/spl/tests/ |
H A D | SplFileObject_ftruncate_error_001.phpt | 11 function stream_open($path, $mode, $options, &$opened_path)
|
H A D | SplFileObject_fflush_basic_001.phpt | 19 function stream_open($path, $mode, $options, &$opened_path)
|
/PHP-5.6/ext/phar/ |
H A D | dirstream.h | 36 …pper *wrapper, const char *path, const char *mode, int options, char **opened_path, php_stream_con…
|
/PHP-5.6/ext/dba/ |
H A D | dba.c | 628 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.6/ext/sqlite3/tests/ |
H A D | stream_test.inc | 9 public function stream_open($path, $mode, $options, &$opened_path)
|