Searched defs:wrapper (Results 1 - 25 of 25) sorted by relevance

/PHP_5_3/ext/xmlrpc/libxmlrpc/
H A Dxml_to_dandarpc.c280 xml_element* wrapper = NULL; local
289 wrapper = xml_elem_new();
298 wrapper->name = strdup(pStr);
304 Q_PushTail(&root->children, wrapper);
312 Q_PushTail(&wrapper->children, method);
314 Q_PushTail(&wrapper->children,
H A Dxml_to_xmlrpc.c373 xml_element* wrapper = NULL; local
379 wrapper = xml_elem_new();
388 wrapper->name = strdup(pStr);
398 Q_PushTail(&wrapper->children, method);
402 Q_PushTail(&wrapper->children,
409 Q_PushTail(&wrapper->children, params);
412 return wrapper;
/PHP_5_3/ext/zip/
H A Dzip_stream.c237 php_stream *php_stream_zip_opener(php_stream_wrapper *wrapper, argument
325 "zip wrapper",
/PHP_5_3/ext/bz2/
H A Dbz2.c207 PHP_BZ2_API php_stream *_php_stream_bz2open(php_stream_wrapper *wrapper, argument
244 /* that didn't work, so try and get something from the network/wrapper */
/PHP_5_3/ext/curl/
H A Dstreams.c269 php_stream *php_curl_stream_opener(php_stream_wrapper *wrapper, char *filename, char *mode, argument
/PHP_5_3/ext/dom/
H A Dphp_dom.c1028 dom_object *wrapper; local
1032 wrapper = php_dom_object_get_data(node);
1034 if (wrapper != NULL ) {
1321 zval *wrapper; local
1328 ALLOC_ZVAL(wrapper);
1329 ZVAL_NULL(wrapper);
1330 return wrapper;
1343 wrapper = return_value;
1416 ZVAL_NULL(wrapper);
1417 return wrapper;
[all...]
/PHP_5_3/ext/standard/
H A Dfilestat.c794 php_stream_wrapper *wrapper; local
805 if ((wrapper = php_stream_locate_url_wrapper(filename, &local, 0 TSRMLS_CC)) == &php_plain_files_wrapper) {
824 if (wrapper == &php_plain_files_wrapper) {
905 if (wrapper == &php_plain_files_wrapper) {
H A Dftp_fopen_wrapper.c94 static int php_stream_ftp_stream_stat(php_stream_wrapper *wrapper, php_stream *stream, php_stream_statbuf *ssb TSRMLS_DC) argument
104 static int php_stream_ftp_stream_close(php_stream_wrapper *wrapper, php_stream *stream TSRMLS_DC) argument
133 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
207 php_stream_wrapper_log_error(wrapper, options TSRMLS_CC, "Unable to activate SSL mode");
238 php_stream_wrapper_log_error(wrapper, options TSRMLS_CC, err_msg, val); \
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
438 php_stream_wrapper_log_error(wrapper, options TSRMLS_CC, "FTP does not support simultaneous read/write connections");
449 php_stream_wrapper_log_error(wrapper, options TSRMLS_CC, "Unknown file open mode");
456 /* Use http wrapper to proxy ftp request */
457 return php_stream_url_wrap_http(wrapper, pat
695 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
784 php_stream_ftp_url_stat(php_stream_wrapper *wrapper, char *url, int flags, php_stream_statbuf *ssb, php_stream_context *context TSRMLS_DC) argument
907 php_stream_ftp_unlink(php_stream_wrapper *wrapper, char *url, int options, php_stream_context *context TSRMLS_DC) argument
957 php_stream_ftp_rename(php_stream_wrapper *wrapper, char *url_from, char *url_to, int options, php_stream_context *context TSRMLS_DC) argument
1036 php_stream_ftp_mkdir(php_stream_wrapper *wrapper, char *url, int mode, int options, php_stream_context *context TSRMLS_DC) argument
1130 php_stream_ftp_rmdir(php_stream_wrapper *wrapper, char *url, int options, php_stream_context *context TSRMLS_DC) argument
[all...]
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
120 php_stream_wrapper_log_error(wrapper, options TSRMLS_CC, "Redirection limit reached, aborting");
131 php_stream_context_get_option(context, wrapper->wops->label, "proxy", &tmpzval) == FAILURE ||
137 /* Called from a non-http wrapper with http proxying requested (i.e. ftp) */
148 php_stream_wrapper_log_error(wrapper, options TSRMLS_CC, "HTTP wrapper does not support writeable connections");
161 php_stream_context_get_option(context, wrapper->wops->label, "proxy", &tmpzval) == SUCCESS &&
172 if (context && php_stream_context_get_option(context, wrapper->wops->label, "timeout", &tmpzval) == SUCCESS) {
191 php_stream_wrapper_log_error(wrapper, options TSRMLS_CC, "%s", errstr);
270 php_stream_wrapper_log_error(wrapper, option
922 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
928 php_stream_http_stream_stat(php_stream_wrapper *wrapper, php_stream *stream, php_stream_statbuf *ssb TSRMLS_DC) argument
[all...]
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
283 php_stream_wrapper_log_error(wrapper, options TSRMLS_CC,
295 php_stream_wrapper_log_error(wrapper, options TSRMLS_CC,
302 php_stream_wrapper_log_error(wrapper, options TSRMLS_CC,
H A Dfile.c1549 php_stream_wrapper *wrapper; local
1564 wrapper = php_stream_locate_url_wrapper(old_name, NULL, 0 TSRMLS_CC);
1566 if (!wrapper || !wrapper->wops) {
1567 php_error_docref(NULL TSRMLS_CC, E_WARNING, "Unable to locate stream wrapper");
1571 if (!wrapper->wops->rename) {
1572 php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s wrapper does not support renaming", wrapper->wops->label ? wrapper->wops->label : "Source");
1576 if (wrapper !
1593 php_stream_wrapper *wrapper; local
[all...]
H A Dstreamsfuncs.c512 if (stream->wrapper) {
513 add_assoc_string(return_value, "wrapper_type", (char *)stream->wrapper->wops->label, 1);
1005 Retrieve options for a stream/wrapper/context */
1025 Set an option for a wrapper */
1526 php_stream_wrapper *wrapper = NULL; local
1537 wrapper = stream->wrapper;
1541 wrapper = php_stream_locate_url_wrapper(Z_STRVAL_PP(zstream), NULL, 0 TSRMLS_CC);
1544 if (!wrapper) {
1548 RETURN_BOOL(wrapper
[all...]
/PHP_5_3/ext/xmlwriter/
H A Dphp_xmlwriter.c681 php_stream_wrapper *wrapper = NULL; local
/PHP_5_3/ext/xsl/
H A Dphp_xsl.c98 /* free wrapper */
209 static void xsl_object_set_data(void *obj, zval *wrapper TSRMLS_DC)
211 ((xsltStylesheetPtr) obj)->_private = wrapper;
216 void php_xsl_set_object(zval *wrapper, void *obj TSRMLS_DC) argument
220 object = (xsl_object *)zend_objects_get_address(wrapper TSRMLS_CC);
222 xsl_object_set_data(obj, wrapper TSRMLS_CC);
229 zval *wrapper; local
236 ALLOC_ZVAL(wrapper);
238 wrapper = wrapper_in;
240 ZVAL_NULL(wrapper);
[all...]
/PHP_5_3/ext/zlib/
H A Dzlib_fopen_wrapper.c109 php_stream *php_stream_gzopen(php_stream_wrapper *wrapper, char *path, char *mode, int options, argument
/PHP_5_3/main/
H A Dfopen_wrappers.c543 php_stream_wrapper *wrapper; local
556 wrapper = php_stream_locate_url_wrapper(filename, &actual_path, STREAM_OPEN_FOR_INCLUDE TSRMLS_CC);
557 if (wrapper == &php_plain_files_wrapper) {
580 /* Check for stream wrapper */
585 /* .:// or ..:// is not a stream wrapper */
614 wrapper = php_stream_locate_url_wrapper(trypath, &actual_path, STREAM_OPEN_FOR_INCLUDE TSRMLS_CC);
615 if (!wrapper) {
617 } else if (wrapper != &php_plain_files_wrapper) {
618 if (wrapper->wops->url_stat) {
621 if (SUCCESS == wrapper
[all...]
H A Dphp_streams.h134 php_stream *(*stream_opener)(php_stream_wrapper *wrapper, char *filename, char *mode,
137 int (*stream_closer)(php_stream_wrapper *wrapper, php_stream *stream TSRMLS_DC);
139 int (*stream_stat)(php_stream_wrapper *wrapper, php_stream *stream, php_stream_statbuf *ssb TSRMLS_DC);
141 int (*url_stat)(php_stream_wrapper *wrapper, char *url, int flags, php_stream_statbuf *ssb, php_stream_context *context TSRMLS_DC);
143 php_stream *(*dir_opener)(php_stream_wrapper *wrapper, char *filename, char *mode,
149 int (*unlink)(php_stream_wrapper *wrapper, char *url, int options, php_stream_context *context TSRMLS_DC);
152 int (*rename)(php_stream_wrapper *wrapper, char *url_from, char *url_to, int options, php_stream_context *context TSRMLS_DC);
155 int (*stream_mkdir)(php_stream_wrapper *wrapper, char *url, int mode, int options, php_stream_context *context TSRMLS_DC);
156 int (*stream_rmdir)(php_stream_wrapper *wrapper, char *url, int options, php_stream_context *context TSRMLS_DC);
160 php_stream_wrapper_ops *wops; /* operations the wrapper ca
194 php_stream_wrapper *wrapper; /* which wrapper was used to open the stream */ member in struct:_php_stream
[all...]
/PHP_5_3/main/streams/
H A Dglob_wrapper.c209 static php_stream *php_glob_stream_opener(php_stream_wrapper *wrapper, char *path, char *mode, 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
628 php_stream_wrapper_log_error(wrapper, options TSRMLS_CC, "rfc2397: no comma in URL");
640 php_stream_wrapper_log_error(wrapper, options TSRMLS_CC, "rfc2397: illegal media type");
656 php_stream_wrapper_log_error(wrapper, options TSRMLS_CC, "rfc2397: illegal media type");
669 php_stream_wrapper_log_error(wrapper, options TSRMLS_CC, "rfc2397: illegal parameter");
689 php_stream_wrapper_log_error(wrapper, options TSRMLS_CC, "rfc2397: illegal URL");
706 php_stream_wrapper_log_error(wrapper, options TSRMLS_CC, "rfc2397: unable to decode");
H A Dplain_wrapper.c206 stream->wrapper = &php_plain_files_wrapper;
852 static php_stream *php_plain_files_dir_opener(php_stream_wrapper *wrapper, char *path, char *mode, argument
994 static php_stream *php_plain_files_stream_opener(php_stream_wrapper *wrapper, char *path, char *mode, argument
1011 static int php_plain_files_url_stater(php_stream_wrapper *wrapper, char *url, int flags, php_stream_statbuf *ssb, php_stream_context *context TSRMLS_DC) argument
1045 static int php_plain_files_unlink(php_stream_wrapper *wrapper, char *url, int options, php_stream_context *context TSRMLS_DC) argument
1080 static int php_plain_files_rename(php_stream_wrapper *wrapper, char *url_from, char *url_to, int options, php_stream_context *context TSRMLS_DC) argument
1174 static int php_plain_files_mkdir(php_stream_wrapper *wrapper, char *dir, int mode, int options, php_stream_context *context TSRMLS_DC) argument
1269 static int php_plain_files_rmdir(php_stream_wrapper *wrapper, char *url, int options, php_stream_context *context TSRMLS_DC) argument
H A Dstreams.c37 /* Global wrapper hash, copied to FG(stream_wrappers) on registration of volatile wrapper */
151 static zend_llist *php_get_wrapper_errors_list(php_stream_wrapper *wrapper TSRMLS_DC)
157 zend_hash_find(FG(wrapper_errors), (const char*)&wrapper,
158 sizeof wrapper, (void**)&list); local
163 /* {{{ wrapper error reporting */
164 void php_stream_display_wrapper_errors(php_stream_wrapper *wrapper, const char *path, const char *caption TSRMLS_DC) argument
170 if (wrapper) {
171 zend_llist *err_list = php_get_wrapper_errors_list(wrapper TSRMLS_CC);
210 if (wrapper
231 zend_hash_del(FG(wrapper_errors), (const char*)&wrapper, sizeof wrapper); local
240 php_stream_wrapper_log_error(php_stream_wrapper *wrapper, int options TSRMLS_DC, const char *fmt, ...) argument
260 sizeof wrapper, (void**)&list); local
267 sizeof wrapper, &new_list, sizeof new_list, (void**)&list); local
1820 php_stream_wrapper *wrapper = NULL; local
1835 php_stream_wrapper *wrapper = NULL; local
1849 php_stream_wrapper *wrapper = NULL; local
1896 php_stream_wrapper *wrapper = NULL; local
1945 php_stream_wrapper *wrapper = NULL; local
[all...]
H A Duserspace.c36 php_stream_wrapper wrapper; member in struct:php_user_stream_wrapper
39 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);
40 static int user_wrapper_stat_url(php_stream_wrapper *wrapper, char *url, int flags, php_stream_statbuf *ssb, php_stream_context *context TSRMLS_DC);
41 static int user_wrapper_unlink(php_stream_wrapper *wrapper, char *url, int options, php_stream_context *context TSRMLS_DC);
42 static int user_wrapper_rename(php_stream_wrapper *wrapper, char *url_from, char *url_to, int options, php_stream_context *context TSRMLS_DC);
43 static int user_wrapper_mkdir(php_stream_wrapper *wrapper, char *url, int mode, int options, php_stream_context *context TSRMLS_DC);
44 static int user_wrapper_rmdir(php_stream_wrapper *wrapper, char *url, int options, php_stream_context *context TSRMLS_DC);
45 static php_stream *user_wrapper_opendir(php_stream_wrapper *wrapper, char *filename, char *mode,
106 struct php_user_stream_wrapper * wrapper; member in struct:_php_userstream_data
261 static php_stream *user_wrapper_opener(php_stream_wrapper *wrapper, cha argument
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
561 php_stream_wrapper **wrapperpp = NULL, *wrapper; local
1082 user_wrapper_unlink(php_stream_wrapper *wrapper, char *url, int options, php_stream_context *context TSRMLS_DC) argument
1136 user_wrapper_rename(php_stream_wrapper *wrapper, char *url_from, char *url_to, int options, php_stream_context *context TSRMLS_DC) argument
1195 user_wrapper_mkdir(php_stream_wrapper *wrapper, char *url, int mode, int options, php_stream_context *context TSRMLS_DC) argument
1260 user_wrapper_rmdir(php_stream_wrapper *wrapper, char *url, int options, php_stream_context *context TSRMLS_DC) argument
1320 user_wrapper_stat_url(php_stream_wrapper *wrapper, char *url, int flags, php_stream_statbuf *ssb, php_stream_context *context TSRMLS_DC) argument
[all...]
/PHP_5_3/ext/phar/
H A Ddirstream.c3 | phar:// stream wrapper support |
322 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
334 if ((resource = phar_parse_url(wrapper, path, mode, options TSRMLS_CC)) == NULL) {
335 php_stream_wrapper_log_error(wrapper, options TSRMLS_CC, "phar url \"%s\" is unknown", path);
342 php_stream_wrapper_log_error(wrapper, options TSRMLS_CC, "phar error: no directory in \"%s\", must have at least phar://%s/ for root directory (always use full path to a new phar)", path, resource->host);
347 php_stream_wrapper_log_error(wrapper, options TSRMLS_CC, "phar error: invalid url \"%s\", must have at least phar://%s/", path, path);
353 php_stream_wrapper_log_error(wrapper, options TSRMLS_CC, "phar error: not a phar url \"%s\"", path);
363 php_stream_wrapper_log_error(wrapper, options TSRMLS_CC, "%s", error);
366 php_stream_wrapper_log_error(wrapper, options TSRMLS_CC, "phar file \"%s\" is unknown", resource->host);
435 int phar_wrapper_mkdir(php_stream_wrapper *wrapper, cha argument
567 phar_wrapper_rmdir(php_stream_wrapper *wrapper, char *url, int options, php_stream_context *context TSRMLS_DC) argument
[all...]
H A Dstream.c3 | phar:// stream wrapper support |
59 php_url* phar_parse_url(php_stream_wrapper *wrapper, char *filename, char *mode, int options TSRMLS_DC) /* {{{ */ argument
70 php_stream_wrapper_log_error(wrapper, options TSRMLS_CC, "phar error: open mode append not supported");
77 php_stream_wrapper_log_error(wrapper, options TSRMLS_CC, "phar error: no directory in \"%s\", must have at least phar://%s/ for root directory (always use full path to a new phar)", filename, arch);
80 php_stream_wrapper_log_error(wrapper, options TSRMLS_CC, "phar error: invalid url or non-existent phar \"%s\"", filename);
111 php_stream_wrapper_log_error(wrapper, options TSRMLS_CC, "phar error: write operations disabled by the php.ini setting phar.readonly");
120 php_stream_wrapper_log_error(wrapper, options TSRMLS_CC, "%s", error);
131 php_stream_wrapper_log_error(wrapper, options TSRMLS_CC, "%s", error);
143 php_stream_wrapper_log_error(wrapper, options TSRMLS_CC, "%s", error);
158 static php_stream * phar_wrapper_open_url(php_stream_wrapper *wrapper, cha argument
566 phar_wrapper_stat(php_stream_wrapper *wrapper, char *url, int flags, php_stream_statbuf *ssb, php_stream_context *context TSRMLS_DC) argument
689 phar_wrapper_unlink(php_stream_wrapper *wrapper, char *url, int options, php_stream_context *context TSRMLS_DC) argument
765 phar_wrapper_rename(php_stream_wrapper *wrapper, char *url_from, char *url_to, int options, php_stream_context *context TSRMLS_DC) argument
[all...]
/PHP_5_3/ext/libxml/
H A Dlibxml.c156 php_libxml_node_object *wrapper; local
161 wrapper = nodeptr->_private;
162 if (wrapper) {
163 php_libxml_clear_object(wrapper TSRMLS_CC);
274 php_stream_wrapper *wrapper = NULL; local
299 if the wrapper supports stat, otherwise, figure it out from
304 wrapper = php_stream_locate_url_wrapper(resolved_path, &path_to_open, ENFORCE_SAFE_MODE TSRMLS_CC);
305 if (wrapper && read_only && wrapper->wops->url_stat) {
306 if (wrapper
[all...]

Completed in 37 milliseconds