Home
last modified time | relevance | path

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

1234

/PHP-5.5/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.c207 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 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.5/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.c342 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 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.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()
/PHP-5.5/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.5/Zend/
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_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;
/PHP-5.5/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) {
/PHP-5.5/sapi/apache/
H A Dsapi_apache.c50 file_handle.opened_path = NULL; in apache_php_module_main()
/PHP-5.5/ext/zlib/
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()
H A Dphp_zlib.h61 …p_stream_wrapper *wrapper, char *path, char *mode, int options, char **opened_path, php_stream_con…
/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 …]
/PHP-5.5/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.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/phar/
H A Ddirstream.h36 …p_stream_wrapper *wrapper, char *path, char *mode, int options, char **opened_path, php_stream_con…
/PHP-5.5/ext/sqlite3/tests/
H A Dstream_test.inc9 public function stream_open($path, $mode, $options, &$opened_path)
/PHP-5.5/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 90 milliseconds

1234