Home
last modified time | relevance | path

Searched refs:opened_path (Results 1 – 25 of 91) sorted by relevance

1234

/PHP-5.3/main/
H A Dphp_open_temporary_file.c100 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 Dfopen_wrappers.c400 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 Dfopen_wrappers.h50 …_with_path(const char *filename, const char *mode, const char *path, char **opened_path TSRMLS_DC);
/PHP-5.3/main/streams/
H A Dphp_stream_plain_wrapper.h30 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 Dplain_wrapper.c199 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 Dcast.c354 …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 Dglob_wrapper.c210 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 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
H A Dbz2.c211 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 Dphp_fopen_wrappers.h26 …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 Dstream_get_line_NUL_delimiter.phpt7 function stream_open($path, $mode, $options, &$opened_path) {
H A Dbug60455_02.phpt7 function stream_open($path, $mode, $options, &$opened_path) {
H A Dbug53903.phpt8 public function stream_open($path, $mode, $options, &$opened_path) {
H A Dbug60455_04.phpt8 function stream_open($path, $mode, $options, &$opened_path) {
H A Dbug60817.phpt7 function stream_open($path, $mode, $options, &$opened_path) {
/PHP-5.3/sapi/apache/
H A Dsapi_apache.c50 file_handle.opened_path = NULL; in apache_php_module_main()
/PHP-5.3/ext/zlib/
H A Dphp_zlib.h46 …p_stream_wrapper *wrapper, char *path, char *mode, int options, char **opened_path, php_stream_con…
H A Dzlib_fopen_wrapper.c110 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 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()
326 if (fh->opened_path) {
327 efree(fh->opened_path);
328 fh->opened_path = NULL;
H A Dzend_stream.h65 char *opened_path; member
/PHP-5.3/ext/spl/tests/
H A DSplFileObject_ftruncate_error_001.phpt11 function stream_open($path, $mode, $options, &$opened_path)
H A DSplFileObject_fflush_basic_001.phpt19 function stream_open($path, $mode, $options, &$opened_path)
/PHP-5.3/ext/phar/
H A Ddirstream.h36 …p_stream_wrapper *wrapper, char *path, char *mode, int options, char **opened_path, php_stream_con…
/PHP-5.3/ext/sqlite3/tests/
H A Dstream_test.inc9 public function stream_open($path, $mode, $options, &$opened_path)
/PHP-5.3/ext/zip/
H A Dzip_stream.c241 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()

Completed in 48 milliseconds

1234