| /PHP_5_4/Zend/ |
| H A D | zend_dtrace.c | 39 DTRACE_COMPILE_FILE_ENTRY(file_handle->opened_path, file_handle->filename); 41 DTRACE_COMPILE_FILE_RETURN(file_handle->opened_path, file_handle->filename);
|
| H A D | zend_stream.c | 135 handle->opened_path = NULL; 136 handle->handle.fp = zend_fopen(filename, &handle->opened_path TSRMLS_CC); 325 if (fh->opened_path) { 326 efree(fh->opened_path); 327 fh->opened_path = NULL;
|
| H A D | zend_stream.h | 65 char *opened_path; member in struct:_zend_file_handle
|
| /PHP_5_4/ext/sqlite3/tests/ |
| H A D | stream_test.inc | 9 public function stream_open($path, $mode, $options, &$opened_path)
|
| /PHP_5_4/ext/zip/ |
| H A D | zip_stream.c | 241 char **opened_path, 301 if (opened_path) { 302 *opened_path = estrdup(path); 237 php_stream_zip_opener(php_stream_wrapper *wrapper, char *path, char *mode, int options, char **opened_path, php_stream_context *context STREAMS_DC TSRMLS_DC) argument
|
| H A D | php_zip.h | 84 php_stream *php_stream_zip_opener(php_stream_wrapper *wrapper, char *path, char *mode, int options, char **opened_path, php_stream_context *context STREAMS_DC TSRMLS_DC);
|
| /PHP_5_4/ext/bz2/ |
| H A D | bz2.c | 211 char **opened_path, 238 if (opened_path && bz_file) { 239 *opened_path = estrdup(path_copy); 245 stream = php_stream_open_wrapper(path, mode, options | STREAM_WILL_CAST, opened_path); 257 if (opened_path && !bz_file && mode[0] == 'w') { 258 VCWD_UNLINK(*opened_path); 207 _php_stream_bz2open(php_stream_wrapper *wrapper, char *path, char *mode, int options, char **opened_path, php_stream_context *context STREAMS_DC TSRMLS_DC) argument
|
| H A D | php_bz2.h | 50 PHP_BZ2_API php_stream *_php_stream_bz2open(php_stream_wrapper *wrapper, char *path, char *mode, int options, char **opened_path, php_stream_context *context STREAMS_DC TSRMLS_DC); 54 #define php_stream_bz2open(wrapper, path, mode, options, opened_path) _php_stream_bz2open((wrapper), (path), (mode), (options), (opened_path), NULL STREAMS_CC TSRMLS_CC)
|
| /PHP_5_4/ext/curl/ |
| H A D | php_curl.h | 161 int options, char **opened_path, php_stream_context *context STREAMS_DC TSRMLS_DC);
|
| /PHP_5_4/ext/dba/ |
| H A D | dba.c | 616 char *opened_path, *lock_name; local 830 info->lock.fp = php_stream_open_wrapper(lock_name, lock_file_mode, STREAM_MUST_SEEK|IGNORE_PATH|persistent_flag, &opened_path); 837 info->lock.name = opened_path; 839 info->lock.name = pestrdup(opened_path, persistent); 840 efree(opened_path); 845 info->lock.fp = php_stream_open_wrapper(lock_name, lock_file_mode, STREAM_MUST_SEEK|REPORT_ERRORS|IGNORE_PATH|persistent_flag, &opened_path); 850 info->path = pestrdup(opened_path, persistent); 854 info->lock.name = opened_path; 856 info->lock.name = pestrdup(opened_path, persistent); 857 efree(opened_path); [all...] |
| /PHP_5_4/ext/standard/ |
| H A D | php_fopen_wrappers.h | 26 php_stream *php_stream_url_wrap_http(php_stream_wrapper *wrapper, char *path, char *mode, int options, char **opened_path, php_stream_context *context STREAMS_DC TSRMLS_DC); 27 php_stream *php_stream_url_wrap_ftp(php_stream_wrapper *wrapper, char *path, char *mode, int options, char **opened_path, php_stream_context *context STREAMS_DC TSRMLS_DC);
|
| /PHP_5_4/ext/zlib/ |
| H A D | php_zlib.h | 61 php_stream *php_stream_gzopen(php_stream_wrapper *wrapper, char *path, char *mode, int options, char **opened_path, php_stream_context *context STREAMS_DC TSRMLS_DC);
|
| H A D | zlib_fopen_wrapper.c | 110 char **opened_path, php_stream_context *context STREAMS_DC TSRMLS_DC) 129 innerstream = php_stream_open_wrapper_ex(path, mode, STREAM_MUST_SEEK | options | STREAM_WILL_CAST, opened_path, context); 109 php_stream_gzopen(php_stream_wrapper *wrapper, char *path, char *mode, int options, char **opened_path, php_stream_context *context STREAMS_DC TSRMLS_DC) argument
|
| /PHP_5_4/main/ |
| H A D | fopen_wrappers.c | 342 static FILE *php_fopen_and_set_opened_path(const char *path, const char *mode, char **opened_path TSRMLS_DC) 350 if (fp && opened_path) { 351 *opened_path = expand_filepath_with_mode(path, NULL, NULL, 0, CWD_EXPAND TSRMLS_CC); 611 PHPAPI FILE *php_fopen_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);
|
| H A D | fopen_wrappers.h | 51 PHPAPI FILE *php_fopen_with_path(const char *filename, const char *mode, const char *path, char **opened_path TSRMLS_DC);
|
| H A D | php_open_temporary_file.c | 100 char *opened_path; local 141 if (spprintf(&opened_path, 0, "%s%s%sXXXXXX", new_state.cwd, trailing_slash, pfx) >= MAXPATHLEN) { 142 efree(opened_path); 149 if (GetTempFileName(new_state.cwd, pfx, 0, opened_path)) { 152 if (VCWD_CHMOD(opened_path, 0600)) { 153 efree(opened_path); 157 fd = VCWD_OPEN_MODE(opened_path, open_flags, 0600); 161 fd = mkstemp(opened_path); 163 if (mktemp(opened_path)) { 164 fd = VCWD_OPEN(opened_path, open_flag [all...] |
| /PHP_5_4/main/streams/ |
| H A D | cast.c | 346 PHPAPI FILE * _php_stream_open_wrapper_as_file(char *path, char *mode, int options, char **opened_path STREAMS_DC TSRMLS_DC) 351 stream = php_stream_open_wrapper_rel(path, mode, options|STREAM_WILL_CAST, opened_path); 359 if (opened_path && *opened_path) { 360 efree(*opened_path);
|
| H A D | glob_wrapper.c | 210 int options, char **opened_path, php_stream_context *context STREAMS_DC TSRMLS_DC) 222 if (opened_path) { 223 *opened_path = estrdup(path); 209 php_glob_stream_opener(php_stream_wrapper *wrapper, char *path, char *mode, int options, char **opened_path, php_stream_context *context STREAMS_DC TSRMLS_DC) argument
|
| H A D | plain_wrapper.c | 184 PHPAPI php_stream *_php_stream_fopen_temporary_file(const char *dir, const char *pfx, char **opened_path STREAMS_DC TSRMLS_DC) 186 int fd = php_open_temporary_fd(dir, pfx, opened_path TSRMLS_CC); 204 char *opened_path = NULL; local 205 int fd = php_open_temporary_fd(NULL, "php", &opened_path TSRMLS_CC); 212 stream->orig_path = estrdup(opened_path); 214 self->temp_file_name = opened_path; 855 int options, char **opened_path, php_stream_context *context STREAMS_DC TSRMLS_DC) 862 return php_glob_stream_wrapper.wops->dir_opener(&php_glob_stream_wrapper, path, mode, options, opened_path, context STREAMS_REL_CC TSRMLS_CC); 893 PHPAPI php_stream *_php_stream_fopen(const char *filename, const char *mode, char **opened_path, int options STREAMS_DC TSRMLS_DC) argument 921 if (opened_path) { 854 php_plain_files_dir_opener(php_stream_wrapper *wrapper, char *path, char *mode, int options, char **opened_path, php_stream_context *context STREAMS_DC TSRMLS_DC) argument 992 php_plain_files_stream_opener(php_stream_wrapper *wrapper, char *path, char *mode, int options, char **opened_path, php_stream_context *context STREAMS_DC TSRMLS_DC) argument 1361 _php_stream_fopen_with_path(char *filename, char *mode, char *path, char **opened_path, int options STREAMS_DC TSRMLS_DC) argument [all...] |
| H A D | php_stream_plain_wrapper.h | 30 PHPAPI php_stream *_php_stream_fopen(const char *filename, const char *mode, char **opened_path, int options STREAMS_DC TSRMLS_DC); 33 PHPAPI php_stream *_php_stream_fopen_with_path(char *filename, char *mode, char *path, char **opened_path, int options STREAMS_DC TSRMLS_DC); 48 PHPAPI php_stream *_php_stream_fopen_temporary_file(const char *dir, const char *pfx, char **opened_path STREAMS_DC TSRMLS_DC); 49 #define php_stream_fopen_temporary_file(dir, pfx, opened_path) _php_stream_fopen_temporary_file((dir), (pfx), (opened_path) STREAMS_CC TSRMLS_CC) 54 PHPAPI FILE * _php_stream_open_wrapper_as_file(char * path, char * mode, int options, char **opened_path STREAMS_DC TSRMLS_DC); 55 #define php_stream_open_wrapper_as_file(path, mode, options, opened_path) _php_stream_open_wrapper_as_file((path), (mode), (options), (opened_path) STREAMS_CC TSRMLS_CC)
|
| /PHP_5_4/sapi/apache/ |
| H A D | sapi_apache.c | 50 file_handle.opened_path = NULL;
|
| /PHP_5_4/sapi/apache_hooks/ |
| H A D | sapi_apache.c | 51 file_handle.opened_path = NULL;
|
| /PHP_5_4/ext/phar/ |
| H A D | dirstream.h | 36 php_stream* phar_wrapper_open_dir(php_stream_wrapper *wrapper, char *path, char *mode, int options, char **opened_path, php_stream_context *context STREAMS_DC TSRMLS_DC);
|
| H A D | stream.h | 27 static php_stream* phar_wrapper_open_url(php_stream_wrapper *wrapper, char *path, char *mode, int options, char **opened_path, php_stream_context *context STREAMS_DC TSRMLS_DC);
|
| H A D | stream.c | 158 static php_stream * phar_wrapper_open_url(php_stream_wrapper *wrapper, char *path, char *mode, int options, char **opened_path, php_stream_context *context STREAMS_DC TSRMLS_DC) /* {{{ */ argument 234 if (opened_path) { 235 spprintf(opened_path, MAXPATHLEN, "phar://%s/%s", idata->phar->fname, idata->internal_file->filename); 252 if (opened_path) { 253 spprintf(opened_path, MAXPATHLEN, "%s", phar->fname); 278 if (opened_path) { 279 spprintf(opened_path, MAXPATHLEN, "%s", phar->fname); 335 if (opened_path) { 336 spprintf(opened_path, MAXPATHLEN, "phar://%s/%s", idata->phar->fname, idata->internal_file->filename);
|