Lines Matching refs:wrapper
59 php_url* phar_parse_url(php_stream_wrapper *wrapper, char *filename, char *mode, int options TSRMLS… in phar_parse_url() argument
70 …php_stream_wrapper_log_error(wrapper, options TSRMLS_CC, "phar error: open mode append not support… in phar_parse_url()
77 …php_stream_wrapper_log_error(wrapper, options TSRMLS_CC, "phar error: no directory in \"%s\", must… in phar_parse_url()
80 …php_stream_wrapper_log_error(wrapper, options TSRMLS_CC, "phar error: invalid url or non-existent … in phar_parse_url()
111 …php_stream_wrapper_log_error(wrapper, options TSRMLS_CC, "phar error: write operations disabled by… in phar_parse_url()
120 php_stream_wrapper_log_error(wrapper, options TSRMLS_CC, "%s", error); in phar_parse_url()
131 php_stream_wrapper_log_error(wrapper, options TSRMLS_CC, "%s", error); in phar_parse_url()
143 php_stream_wrapper_log_error(wrapper, options TSRMLS_CC, "%s", error); in phar_parse_url()
158 static php_stream * phar_wrapper_open_url(php_stream_wrapper *wrapper, char *path, char *mode, int … in phar_wrapper_open_url() argument
170 if ((resource = phar_parse_url(wrapper, path, mode, options TSRMLS_CC)) == NULL) { in phar_wrapper_open_url()
177 php_stream_wrapper_log_error(wrapper, options TSRMLS_CC, "phar error: invalid url \"%s\"", path); in phar_wrapper_open_url()
183 …php_stream_wrapper_log_error(wrapper, options TSRMLS_CC, "phar error: not a phar stream url \"%s\"… in phar_wrapper_open_url()
195 php_stream_wrapper_log_error(wrapper, options TSRMLS_CC, "%s", error); in phar_wrapper_open_url()
198 …php_stream_wrapper_log_error(wrapper, options TSRMLS_CC, "phar error: file \"%s\" could not be cre… in phar_wrapper_open_url()
242 …php_stream_wrapper_log_error(wrapper, options TSRMLS_CC, "file %s is not a valid phar archive", re… in phar_wrapper_open_url()
289 php_stream_wrapper_log_error(wrapper, options TSRMLS_CC, "%s", error); in phar_wrapper_open_url()
292 …php_stream_wrapper_log_error(wrapper, options TSRMLS_CC, "phar error: \"%s\" is not a file in phar… in phar_wrapper_open_url()
312 php_stream_wrapper_log_error(wrapper, options TSRMLS_CC, "%s", error); in phar_wrapper_open_url()
440 …php_stream_wrapper_log_error(stream->wrapper, stream->flags TSRMLS_CC, "phar error: Could not writ… in phar_stream_write()
467 php_stream_wrapper_log_error(stream->wrapper, REPORT_ERRORS TSRMLS_CC, "%s", error); in phar_stream_flush()
566 static int phar_wrapper_stat(php_stream_wrapper *wrapper, char *url, int flags, in phar_wrapper_stat() argument
576 …if ((resource = phar_parse_url(wrapper, url, "r", flags|PHP_STREAM_URL_STAT_QUIET TSRMLS_CC)) == N… in phar_wrapper_stat()
689 static int phar_wrapper_unlink(php_stream_wrapper *wrapper, char *url, int options, php_stream_cont… in phar_wrapper_unlink() argument
698 if ((resource = phar_parse_url(wrapper, url, "rb", options TSRMLS_CC)) == NULL) { in phar_wrapper_unlink()
699 php_stream_wrapper_log_error(wrapper, options TSRMLS_CC, "phar error: unlink failed"); in phar_wrapper_unlink()
706 php_stream_wrapper_log_error(wrapper, options TSRMLS_CC, "phar error: invalid url \"%s\"", url); in phar_wrapper_unlink()
712 …php_stream_wrapper_log_error(wrapper, options TSRMLS_CC, "phar error: not a phar stream url \"%s\"… in phar_wrapper_unlink()
724 …php_stream_wrapper_log_error(wrapper, options TSRMLS_CC, "phar error: write operations disabled by… in phar_wrapper_unlink()
734 …php_stream_wrapper_log_error(wrapper, options TSRMLS_CC, "unlink of \"%s\" failed: %s", url, error… in phar_wrapper_unlink()
737 …php_stream_wrapper_log_error(wrapper, options TSRMLS_CC, "unlink of \"%s\" failed, file does not e… in phar_wrapper_unlink()
748 …php_stream_wrapper_log_error(wrapper, options TSRMLS_CC, "phar error: \"%s\" in phar \"%s\", has o… in phar_wrapper_unlink()
758 php_stream_wrapper_log_error(wrapper, options TSRMLS_CC, "%s", error); in phar_wrapper_unlink()
765 static int phar_wrapper_rename(php_stream_wrapper *wrapper, char *url_from, char *url_to, int optio… in phar_wrapper_rename() argument
777 …if ((resource_from = phar_parse_url(wrapper, url_from, "wb", options|PHP_STREAM_URL_STAT_QUIET TSR… in phar_wrapper_rename()
793 …if ((resource_to = phar_parse_url(wrapper, url_to, "wb", options|PHP_STREAM_URL_STAT_QUIET TSRMLS_… in phar_wrapper_rename()