Searched defs:opened_path (Results 1 - 19 of 19) sorted by relevance

/PHP_5_3/ext/zip/
H A Dzip_stream.c241 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
/PHP_5_3/ext/bz2/
H A Dbz2.c211 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 | ENFORCE_SAFE_MODE, 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
/PHP_5_3/ext/curl/
H A Dstreams.c270 int options, char **opened_path, php_stream_context *context STREAMS_DC TSRMLS_DC)
269 php_curl_stream_opener(php_stream_wrapper *wrapper, char *filename, char *mode, int options, char **opened_path, php_stream_context *context STREAMS_DC TSRMLS_DC) argument
/PHP_5_3/ext/dba/
H A Ddba.c621 char *opened_path, *lock_name; local
835 info->lock.fp = php_stream_open_wrapper(lock_name, lock_file_mode, STREAM_MUST_SEEK|IGNORE_PATH|ENFORCE_SAFE_MODE|persistent_flag, &opened_path);
842 info->lock.name = opened_path;
844 info->lock.name = pestrdup(opened_path, persistent);
845 efree(opened_path);
850 info->lock.fp = php_stream_open_wrapper(lock_name, lock_file_mode, STREAM_MUST_SEEK|REPORT_ERRORS|IGNORE_PATH|ENFORCE_SAFE_MODE|persistent_flag, &opened_path);
855 info->path = pestrdup(opened_path, persistent);
859 info->lock.name = opened_path;
861 info->lock.name = pestrdup(opened_path, persistent);
862 efree(opened_path);
[all...]
/PHP_5_3/ext/standard/
H A Dftp_fopen_wrapper.c133 static php_stream *php_ftp_fopen_connect(php_stream_wrapper *wrapper, char *path, char *mode, int options, char **opened_path, php_stream_context *context, argument
414 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) argument
457 return php_stream_url_wrap_http(wrapper, path, mode, options, opened_path, context STREAMS_CC TSRMLS_CC);
465 stream = php_ftp_fopen_connect(wrapper, path, mode, options, opened_path, context, &reuseid, &resource, &use_ssl, &use_ssl_on_data TSRMLS_CC);
695 php_stream * php_stream_ftp_opendir(php_stream_wrapper *wrapper, char *path, char *mode, int options, char **opened_path, php_stream_context *context STREAMS_DC TSRMLS_DC) argument
707 stream = php_ftp_fopen_connect(wrapper, path, mode, options, opened_path, context, &reuseid, &resource, &use_ssl, &use_ssl_on_data TSRMLS_CC);
H A Dhttp_fopen_wrapper.c87 php_stream *php_stream_url_wrap_http_ex(php_stream_wrapper *wrapper, char *path, char *mode, int options, char **opened_path, php_stream_context *context, int redirect_max, int flags STREAMS_DC TSRMLS_DC) /* {{{ */ argument
868 stream = php_stream_url_wrap_http_ex(wrapper, new_path, mode, options, opened_path, context, --redirect_max, HTTP_WRAPPER_REDIRECTED STREAMS_CC TSRMLS_CC);
922 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) /* {{{ */ argument
924 return php_stream_url_wrap_http_ex(wrapper, path, mode, options, opened_path, context, PHP_URL_REDIRECT_MAX, HTTP_WRAPPER_HEADER_INIT STREAMS_CC TSRMLS_CC);
H A Dphp_fopen_wrapper.c160 php_stream * php_stream_url_wrap_php(php_stream_wrapper *wrapper, char *path, char *mode, int options, char **opened_path, php_stream_context *context STREAMS_DC TSRMLS_DC) /* {{{ */ argument
322 if (!(stream = php_stream_open_wrapper(p + 10, mode, options, opened_path))) {
H A Dfile.c849 char *opened_path; local
880 if ((fd = php_open_temporary_fd_ex(dir, p, &opened_path, 1 TSRMLS_CC)) >= 0) {
882 RETVAL_STRING(opened_path, 0);
/PHP_5_3/ext/zlib/
H A Dzlib_fopen_wrapper.c110 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_3/main/
H A Dphp_open_temporary_file.c100 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_3/main/streams/
H A Dglob_wrapper.c210 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 Dmemory.c605 static php_stream * php_stream_url_wrap_rfc2397(php_stream_wrapper *wrapper, char *path, char *mode, int options, char **opened_path, php_stream_context *context STREAMS_DC TSRMLS_DC) /* {{{ */ argument
H A Dplain_wrapper.c179 PHPAPI php_stream *_php_stream_fopen_temporary_file(const char *dir, const char *pfx, char **opened_path STREAMS_DC TSRMLS_DC)
181 int fd = php_open_temporary_fd(dir, pfx, opened_path TSRMLS_CC);
199 char *opened_path = NULL; local
200 int fd = php_open_temporary_fd(NULL, "php", &opened_path TSRMLS_CC);
207 stream->orig_path = estrdup(opened_path);
209 self->temp_file_name = opened_path;
853 int options, char **opened_path, php_stream_context *context STREAMS_DC TSRMLS_DC)
860 return php_glob_stream_wrapper.wops->dir_opener(&php_glob_stream_wrapper, path, mode, options, opened_path, context STREAMS_REL_CC TSRMLS_CC);
895 PHPAPI php_stream *_php_stream_fopen(const char *filename, const char *mode, char **opened_path, int options STREAMS_DC TSRMLS_DC) argument
923 if (opened_path) {
852 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
994 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
1320 _php_stream_fopen_with_path(char *filename, char *mode, char *path, char **opened_path, int options STREAMS_DC TSRMLS_DC) argument
[all...]
H A Dstreams.c1942 char **opened_path, php_stream_context *context STREAMS_DC TSRMLS_DC)
1952 if (opened_path) {
1953 *opened_path = NULL;
1989 opened_path, context STREAMS_REL_CC TSRMLS_CC);
2007 if (opened_path && !*opened_path && resolved_path) {
2008 *opened_path = resolved_path;
2068 if (opened_path && *opened_path) {
2069 efree(*opened_path);
1941 _php_stream_open_wrapper_ex(char *path, char *mode, int options, char **opened_path, php_stream_context *context STREAMS_DC TSRMLS_DC) argument
[all...]
H A Duserspace.c39 static php_stream *user_wrapper_opener(php_stream_wrapper *wrapper, char *filename, char *mode, int options, char **opened_path, php_stream_context *context STREAMS_DC TSRMLS_DC);
46 int options, char **opened_path, php_stream_context *context STREAMS_DC TSRMLS_DC);
136 function stream_open($path, $mode, $options, &$opened_path)
261 static php_stream *user_wrapper_opener(php_stream_wrapper *wrapper, char *filename, char *mode, int options, char **opened_path, php_stream_context *context STREAMS_DC TSRMLS_DC) argument
375 if (Z_TYPE_P(zopened) == IS_STRING && opened_path) {
376 *opened_path = estrndup(Z_STRVAL_P(zopened), Z_STRLEN_P(zopened));
408 int options, char **opened_path, php_stream_context *context STREAMS_DC TSRMLS_DC)
407 user_wrapper_opendir(php_stream_wrapper *wrapper, char *filename, char *mode, int options, char **opened_path, php_stream_context *context STREAMS_DC TSRMLS_DC) argument
/PHP_5_3/Zend/
H A Dzend_language_scanner.c244 file_handle->opened_path = NULL;
312 if (file_handle->opened_path) {
313 file_path = file_handle->opened_path;
395 char *opened_path = NULL; local
406 file_handle.opened_path = NULL;
413 if (!file_handle.opened_path) {
414 file_handle.opened_path = opened_path = estrndup(filename->value.str.val, filename->value.str.len);
417 zend_hash_add(&EG(included_files), file_handle.opened_path, strlen(file_handle.opened_path)
[all...]
H A Dzend_stream.h65 char *opened_path; member in struct:_zend_file_handle
/PHP_5_3/ext/phar/
H A Ddirstream.c322 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) /* {{{ */ argument
H A Dstream.c158 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);

Completed in 86 milliseconds