/PHP-5.5/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 …_stream_fopen_with_path(char *filename, char *mode, 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 | 207 char *opened_path = NULL; in _php_stream_fopen_tmpfile() local 217 self->temp_file_name = opened_path; in _php_stream_fopen_tmpfile() 952 if (opened_path) { in _php_stream_fopen() 953 *opened_path = realpath; in _php_stream_fopen() 978 if (opened_path) { in _php_stream_fopen() 979 *opened_path = realpath; in _php_stream_fopen() 1000 if (opened_path) { in _php_stream_fopen() 1001 efree(*opened_path); in _php_stream_fopen() 1002 *opened_path = NULL; in _php_stream_fopen() 1400 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 222 if (opened_path) { in php_glob_stream_opener() 223 *opened_path = estrdup(path); in php_glob_stream_opener()
|
/PHP-5.5/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); 611 …n_with_path(const char *filename, const char *mode, const char *path, char **opened_path TSRMLS_DC) 621 if (opened_path) { 622 *opened_path = NULL; 637 return php_fopen_and_set_opened_path(filename, mode, opened_path TSRMLS_CC); 675 fp = php_fopen_and_set_opened_path(trypath, mode, opened_path TSRMLS_CC);
|
/PHP-5.5/ext/bz2/ |
H A D | php_bz2.h | 50 …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
|
H A D | bz2.c | 215 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()
|
/PHP-5.5/ext/standard/ |
H A D | php_fopen_wrappers.h | 26 …p_stream_wrapper *wrapper, char *path, char *mode, int options, char **opened_path, php_stream_con… 27 …p_stream_wrapper *wrapper, char *path, char *mode, int options, char **opened_path, php_stream_con…
|
/PHP-5.5/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.5/ext/standard/tests/streams/ |
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.5/sapi/apache/ |
H A D | sapi_apache.c | 50 file_handle.opened_path = NULL; in apache_php_module_main()
|
/PHP-5.5/ext/zlib/ |
H A D | zlib_fopen_wrapper.c | 110 char **opened_path, php_stream_context *context STREAMS_DC TSRMLS_DC) in php_stream_gzopen() argument 129 …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 …p_stream_wrapper *wrapper, char *path, char *mode, int options, char **opened_path, php_stream_con…
|
/PHP-5.5/ext/opcache/ |
H A D | ZendAccelerator.c | 684 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 …]
|
/PHP-5.5/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.5/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.5/ext/phar/ |
H A D | dirstream.h | 36 …p_stream_wrapper *wrapper, char *path, char *mode, int options, char **opened_path, php_stream_con…
|
/PHP-5.5/ext/sqlite3/tests/ |
H A D | stream_test.inc | 9 public function stream_open($path, $mode, $options, &$opened_path)
|
/PHP-5.5/ext/zip/ |
H A D | zip_stream.c | 241 char **opened_path, in php_stream_zip_opener() argument 301 if (opened_path) { in php_stream_zip_opener() 302 *opened_path = estrdup(path); in php_stream_zip_opener()
|