/PHP-5.3/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 | 400 if (fp && opened_path) { 401 *opened_path = expand_filepath(path, NULL TSRMLS_CC); 518 file_handle->opened_path = resolved_path; 690 if (opened_path) { 691 *opened_path = NULL; 705 return php_fopen_and_set_opened_path(filename, mode, opened_path TSRMLS_CC); 717 return php_fopen_and_set_opened_path(filename, mode, opened_path TSRMLS_CC); 722 return php_fopen_and_set_opened_path(filename, mode, opened_path TSRMLS_CC); 729 return php_fopen_and_set_opened_path(filename, mode, opened_path TSRMLS_CC); 774 fp = php_fopen_and_set_opened_path(trypath, mode, opened_path TSRMLS_CC); [all …]
|
H A D | fopen_wrappers.h | 50 …_with_path(const char *filename, const char *mode, const char *path, char **opened_path TSRMLS_DC);
|
/PHP-5.3/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 | 199 char *opened_path = NULL; in _php_stream_fopen_tmpfile() local 209 self->temp_file_name = opened_path; in _php_stream_fopen_tmpfile() 923 if (opened_path) { in _php_stream_fopen() 924 *opened_path = realpath; in _php_stream_fopen() 949 if (opened_path) { in _php_stream_fopen() 950 *opened_path = realpath; in _php_stream_fopen() 971 if (opened_path) { in _php_stream_fopen() 972 efree(*opened_path); in _php_stream_fopen() 973 *opened_path = NULL; in _php_stream_fopen() 1331 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.3/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 | 211 char **opened_path, in _php_stream_bz2open() argument 238 if (opened_path && bz_file) { in _php_stream_bz2open() 239 *opened_path = estrdup(path_copy); in _php_stream_bz2open() 245 …= php_stream_open_wrapper(path, mode, options | STREAM_WILL_CAST | ENFORCE_SAFE_MODE, opened_path); in _php_stream_bz2open() 257 if (opened_path && !bz_file && mode[0] == 'w') { in _php_stream_bz2open() 258 VCWD_UNLINK(*opened_path); in _php_stream_bz2open()
|
/PHP-5.3/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.3/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) {
|
H A D | bug60817.phpt | 7 function stream_open($path, $mode, $options, &$opened_path) {
|
/PHP-5.3/sapi/apache/ |
H A D | sapi_apache.c | 50 file_handle.opened_path = NULL; in apache_php_module_main()
|
/PHP-5.3/ext/zlib/ |
H A D | php_zlib.h | 46 …p_stream_wrapper *wrapper, char *path, char *mode, int options, char **opened_path, php_stream_con…
|
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()
|
/PHP-5.3/Zend/ |
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() 326 if (fh->opened_path) { 327 efree(fh->opened_path); 328 fh->opened_path = NULL;
|
H A D | zend_stream.h | 65 char *opened_path; member
|
/PHP-5.3/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.3/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.3/ext/sqlite3/tests/ |
H A D | stream_test.inc | 9 public function stream_open($path, $mode, $options, &$opened_path)
|
/PHP-5.3/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()
|