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

12

/PHP_TRUNK/ext/mysqli/tests/
H A Dconnect.inc83 * Whenever possible, please use this wrapper to make testing ot MYSQLI_CLIENT_COMPRESS (and potentially SSL) possible
104 * Whenever possible, please use this wrapper to make testing ot MYSQLI_CLIENT_COMPRESS (and potentially SSL) possible
/PHP_TRUNK/ext/spl/internal/
H A Dnorewinditerator.inc13 * @brief An Iterator wrapper that doesn't call rewind
H A Diteratoriterator.inc13 * @brief Basic Iterator wrapper
16 * This iterator wrapper allows to convert anything that is traversable into
/PHP_TRUNK/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_TRUNK/ext/mysql/tests/
H A Dconnect.inc23 /* wrapper to simplify test porting */
/PHP_TRUNK/ext/phar/
H A Ddirstream.c3 | phar:// stream wrapper support |
303 php_stream *phar_wrapper_open_dir(php_stream_wrapper *wrapper, const char *path, const char *mode, int options, char **opened_path, php_stream_context *context STREAMS_DC TSRMLS_DC) /* {{{ */ argument
314 if ((resource = phar_parse_url(wrapper, path, mode, options TSRMLS_CC)) == NULL) {
315 php_stream_wrapper_log_error(wrapper, options TSRMLS_CC, "phar url \"%s\" is unknown", path);
322 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);
327 php_stream_wrapper_log_error(wrapper, options TSRMLS_CC, "phar error: invalid url \"%s\", must have at least phar://%s/", path, path);
333 php_stream_wrapper_log_error(wrapper, options TSRMLS_CC, "phar error: not a phar url \"%s\"", path);
343 php_stream_wrapper_log_error(wrapper, options TSRMLS_CC, "%s", error);
346 php_stream_wrapper_log_error(wrapper, options TSRMLS_CC, "phar file \"%s\" is unknown", resource->host);
412 int phar_wrapper_mkdir(php_stream_wrapper *wrapper, cons argument
544 phar_wrapper_rmdir(php_stream_wrapper *wrapper, const char *url, int options, php_stream_context *context TSRMLS_DC) argument
[all...]
H A Ddirstream.h23 int phar_wrapper_mkdir(php_stream_wrapper *wrapper, const char *url_from, int mode, int options, php_stream_context *context TSRMLS_DC);
24 int phar_wrapper_rmdir(php_stream_wrapper *wrapper, const char *url, int options, php_stream_context *context TSRMLS_DC);
27 php_url* phar_parse_url(php_stream_wrapper *wrapper, const char *filename, const char *mode, int options TSRMLS_DC);
36 php_stream* phar_wrapper_open_dir(php_stream_wrapper *wrapper, const char *path, const char *mode, int options, char **opened_path, php_stream_context *context STREAMS_DC TSRMLS_DC);
H A Dstream.c3 | phar:// stream wrapper support |
59 php_url* phar_parse_url(php_stream_wrapper *wrapper, const char *filename, const 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, cons argument
565 phar_wrapper_stat(php_stream_wrapper *wrapper, const char *url, int flags, php_stream_statbuf *ssb, php_stream_context *context TSRMLS_DC) argument
674 phar_wrapper_unlink(php_stream_wrapper *wrapper, const char *url, int options, php_stream_context *context TSRMLS_DC) argument
748 phar_wrapper_rename(php_stream_wrapper *wrapper, const char *url_from, const char *url_to, int options, php_stream_context *context TSRMLS_DC) argument
[all...]
H A Dstream.h24 php_url* phar_parse_url(php_stream_wrapper *wrapper, const char *filename, const char *mode, int options TSRMLS_DC);
27 static php_stream* phar_wrapper_open_url(php_stream_wrapper *wrapper, const char *path, const char *mode, int options, char **opened_path, php_stream_context *context STREAMS_DC TSRMLS_DC);
28 static int phar_wrapper_rename(php_stream_wrapper *wrapper, const char *url_from, const char *url_to, int options, php_stream_context *context TSRMLS_DC);
29 static int phar_wrapper_unlink(php_stream_wrapper *wrapper, const char *url, int options, php_stream_context *context TSRMLS_DC);
30 static int phar_wrapper_stat(php_stream_wrapper *wrapper, const char *url, int flags, php_stream_statbuf *ssb, php_stream_context *context TSRMLS_DC);
/PHP_TRUNK/ext/bz2/
H A Dphp_bz2.h50 PHP_BZ2_API php_stream *_php_stream_bz2open(php_stream_wrapper *wrapper, const char *path, const 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_TRUNK/ext/standard/
H A Dfilestat.c429 php_stream_wrapper *wrapper; local
435 wrapper = php_stream_locate_url_wrapper(filename, NULL, 0 TSRMLS_CC);
436 if(wrapper != &php_plain_files_wrapper || strncasecmp("file://", filename, 7) == 0) {
437 if(wrapper && wrapper->wops->stream_metadata) {
450 if(wrapper->wops->stream_metadata(wrapper, filename, option, value, NULL TSRMLS_CC)) {
566 php_stream_wrapper *wrapper; local
572 wrapper = php_stream_locate_url_wrapper(filename, NULL, 0 TSRMLS_CC);
573 if(wrapper !
674 php_stream_wrapper *wrapper; local
722 php_stream_wrapper *wrapper; local
861 php_stream_wrapper *wrapper; local
[all...]
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, const char *path, const char *mode, int options, argument
208 php_stream_wrapper_log_error(wrapper, options TSRMLS_CC, "Unable to activate SSL mode");
239 php_stream_wrapper_log_error(wrapper, options TSRMLS_CC, err_msg, val); \
414 php_stream * php_stream_url_wrap_ftp(php_stream_wrapper *wrapper, const char *path, const char *mode, argument
439 php_stream_wrapper_log_error(wrapper, options TSRMLS_CC, "FTP does not support simultaneous read/write connections");
450 php_stream_wrapper_log_error(wrapper, options TSRMLS_CC, "Unknown file open mode");
457 /* Use http wrapper to proxy ftp request */
458 return php_stream_url_wrap_http(wrapper, pat
687 php_stream_ftp_opendir(php_stream_wrapper *wrapper, const char *path, const char *mode, int options, char **opened_path, php_stream_context *context STREAMS_DC TSRMLS_DC) argument
777 php_stream_ftp_url_stat(php_stream_wrapper *wrapper, const char *url, int flags, php_stream_statbuf *ssb, php_stream_context *context TSRMLS_DC) argument
900 php_stream_ftp_unlink(php_stream_wrapper *wrapper, const char *url, int options, php_stream_context *context TSRMLS_DC) argument
950 php_stream_ftp_rename(php_stream_wrapper *wrapper, const char *url_from, const char *url_to, int options, php_stream_context *context TSRMLS_DC) argument
1029 php_stream_ftp_mkdir(php_stream_wrapper *wrapper, const char *url, int mode, int options, php_stream_context *context TSRMLS_DC) argument
1123 php_stream_ftp_rmdir(php_stream_wrapper *wrapper, const char *url, int options, php_stream_context *context TSRMLS_DC) argument
[all...]
H A Dphp_fopen_wrapper.c174 php_stream * php_stream_url_wrap_php(php_stream_wrapper *wrapper, const char *path, const char *mode, int options, argument
309 php_stream_wrapper_log_error(wrapper, options TSRMLS_CC,
321 php_stream_wrapper_log_error(wrapper, options TSRMLS_CC,
328 php_stream_wrapper_log_error(wrapper, options TSRMLS_CC,
H A Dphp_fopen_wrappers.h26 php_stream *php_stream_url_wrap_http(php_stream_wrapper *wrapper, const char *path, const 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, const char *path, const char *mode, int options, char **opened_path, php_stream_context *context STREAMS_DC TSRMLS_DC);
H A Dhttp_fopen_wrapper.c112 php_stream *php_stream_url_wrap_http_ex(php_stream_wrapper *wrapper, argument
150 php_stream_wrapper_log_error(wrapper, options TSRMLS_CC, "Redirection limit reached, aborting");
161 (tmpzval = php_stream_context_get_option(context, wrapper->wops->label, "proxy")) == NULL ||
167 /* Called from a non-http wrapper with http proxying requested (i.e. ftp) */
178 php_stream_wrapper_log_error(wrapper, options TSRMLS_CC, "HTTP wrapper does not support writeable connections");
191 (tmpzval = php_stream_context_get_option(context, wrapper->wops->label, "proxy")) != NULL &&
202 if (context && (tmpzval = php_stream_context_get_option(context, wrapper->wops->label, "timeout")) != NULL) {
220 php_stream_wrapper_log_error(wrapper, options TSRMLS_CC, "%s", errstr->val);
302 php_stream_wrapper_log_error(wrapper, option
917 php_stream_url_wrap_http(php_stream_wrapper *wrapper, const char *path, const char *mode, int options, char **opened_path, php_stream_context *context STREAMS_DC TSRMLS_DC) argument
923 php_stream_http_stream_stat(php_stream_wrapper *wrapper, php_stream *stream, php_stream_statbuf *ssb TSRMLS_DC) argument
[all...]
/PHP_TRUNK/ext/xsl/
H A Dphp_xsl.c98 /* free wrapper */
200 static void xsl_object_set_data(void *obj, zval *wrapper TSRMLS_DC)
202 ((xsltStylesheetPtr) obj)->_private = wrapper;
207 void php_xsl_set_object(zval *wrapper, void *obj TSRMLS_DC) argument
211 object = Z_XSL_P(wrapper);
213 xsl_object_set_data(obj, wrapper TSRMLS_CC);
220 zval *wrapper; local
224 wrapper = wrapper_in;
225 ZVAL_NULL(wrapper);
229 if ((wrapper
[all...]
H A Dphp_xsl.h78 void php_xsl_set_object(zval *wrapper, void *obj TSRMLS_DC);
/PHP_TRUNK/ext/zip/
H A Dphp_zip.h93 php_stream *php_stream_zip_opener(php_stream_wrapper *wrapper, const char *path, const char *mode, int options, char **opened_path, php_stream_context *context STREAMS_DC TSRMLS_DC);
/PHP_TRUNK/ext/zlib/
H A Dphp_zlib.h61 php_stream *php_stream_gzopen(php_stream_wrapper *wrapper, const char *path, const char *mode, int options, char **opened_path, php_stream_context *context STREAMS_DC TSRMLS_DC);
/PHP_TRUNK/main/
H A Dfopen_wrappers.c490 php_stream_wrapper *wrapper; local
499 wrapper = php_stream_locate_url_wrapper(filename, &actual_path, STREAM_OPEN_FOR_INCLUDE TSRMLS_CC);
500 if (wrapper == &php_plain_files_wrapper) {
523 /* Check for stream wrapper */
528 /* .:// or ..:// is not a stream wrapper */
557 wrapper = php_stream_locate_url_wrapper(trypath, &actual_path, STREAM_OPEN_FOR_INCLUDE TSRMLS_CC);
558 if (!wrapper) {
560 } else if (wrapper != &php_plain_files_wrapper) {
561 if (wrapper->wops->url_stat) {
564 if (SUCCESS == wrapper
[all...]
H A Dphp_streams.h136 php_stream *(*stream_opener)(php_stream_wrapper *wrapper, const char *filename, const char *mode,
139 int (*stream_closer)(php_stream_wrapper *wrapper, php_stream *stream TSRMLS_DC);
141 int (*stream_stat)(php_stream_wrapper *wrapper, php_stream *stream, php_stream_statbuf *ssb TSRMLS_DC);
143 int (*url_stat)(php_stream_wrapper *wrapper, const char *url, int flags, php_stream_statbuf *ssb, php_stream_context *context TSRMLS_DC);
145 php_stream *(*dir_opener)(php_stream_wrapper *wrapper, const char *filename, const char *mode,
151 int (*unlink)(php_stream_wrapper *wrapper, const char *url, int options, php_stream_context *context TSRMLS_DC);
154 int (*rename)(php_stream_wrapper *wrapper, const char *url_from, const char *url_to, int options, php_stream_context *context TSRMLS_DC);
157 int (*stream_mkdir)(php_stream_wrapper *wrapper, const char *url, int mode, int options, php_stream_context *context TSRMLS_DC);
158 int (*stream_rmdir)(php_stream_wrapper *wrapper, const char *url, int options, php_stream_context *context TSRMLS_DC);
160 int (*stream_metadata)(php_stream_wrapper *wrapper, cons
194 php_stream_wrapper *wrapper; /* which wrapper was used to open the stream */ member in struct:_php_stream
[all...]
/PHP_TRUNK/main/streams/
H A Dphp_streams_int.h69 void php_stream_tidy_wrapper_error_log(php_stream_wrapper *wrapper TSRMLS_DC);
70 void php_stream_display_wrapper_errors(php_stream_wrapper *wrapper, const char *path, const char *caption TSRMLS_DC);
H A Dstreams.c37 /* Global wrapper hash, copied to FG(stream_wrappers) on registration of volatile wrapper */
158 static zend_llist *php_get_wrapper_errors_list(php_stream_wrapper *wrapper TSRMLS_DC)
163 return (zend_llist*) zend_hash_str_find_ptr(FG(wrapper_errors), (const char*)&wrapper, sizeof(wrapper));
167 /* {{{ wrapper error reporting */
168 void php_stream_display_wrapper_errors(php_stream_wrapper *wrapper, const char *path, const char *caption TSRMLS_DC) argument
174 if (wrapper) {
175 zend_llist *err_list = php_get_wrapper_errors_list(wrapper TSRMLS_CC);
214 if (wrapper
250 php_stream_wrapper_log_error(php_stream_wrapper *wrapper, int options TSRMLS_DC, const char *fmt, ...) argument
1764 php_stream_wrapper *wrapper = NULL; local
1898 php_stream_wrapper *wrapper = NULL; local
1913 php_stream_wrapper *wrapper = NULL; local
1927 php_stream_wrapper *wrapper = NULL; local
1978 php_stream_wrapper *wrapper = NULL; local
2027 php_stream_wrapper *wrapper = NULL; local
[all...]
H A Duserspace.c45 php_stream_wrapper wrapper; member in struct:php_user_stream_wrapper
48 static php_stream *user_wrapper_opener(php_stream_wrapper *wrapper, const char *filename, const char *mode, int options, char **opened_path, php_stream_context *context STREAMS_DC TSRMLS_DC);
49 static int user_wrapper_stat_url(php_stream_wrapper *wrapper, const char *url, int flags, php_stream_statbuf *ssb, php_stream_context *context TSRMLS_DC);
50 static int user_wrapper_unlink(php_stream_wrapper *wrapper, const char *url, int options, php_stream_context *context TSRMLS_DC);
51 static int user_wrapper_rename(php_stream_wrapper *wrapper, const char *url_from, const char *url_to, int options, php_stream_context *context TSRMLS_DC);
52 static int user_wrapper_mkdir(php_stream_wrapper *wrapper, const char *url, int mode, int options, php_stream_context *context TSRMLS_DC);
53 static int user_wrapper_rmdir(php_stream_wrapper *wrapper, const char *url, int options, php_stream_context *context TSRMLS_DC);
54 static int user_wrapper_metadata(php_stream_wrapper *wrapper, const char *url, int option, void *value, php_stream_context *context TSRMLS_DC);
55 static php_stream *user_wrapper_opendir(php_stream_wrapper *wrapper, const char *filename, const char *mode,
122 struct php_user_stream_wrapper * wrapper; member in struct:_php_userstream_data
327 user_wrapper_opener(php_stream_wrapper *wrapper, const char *filename, const char *mode, int options, char **opened_path, php_stream_context *context STREAMS_DC TSRMLS_DC) argument
417 user_wrapper_opendir(php_stream_wrapper *wrapper, const char *filename, const char *mode, int options, char **opened_path, php_stream_context *context STREAMS_DC TSRMLS_DC) argument
555 php_stream_wrapper *wrapper; local
1085 user_wrapper_unlink(php_stream_wrapper *wrapper, const char *url, int options, php_stream_context *context TSRMLS_DC) argument
1128 user_wrapper_rename(php_stream_wrapper *wrapper, const char *url_from, const char *url_to, int options, php_stream_context *context TSRMLS_DC) argument
1174 user_wrapper_mkdir(php_stream_wrapper *wrapper, const char *url, int mode, int options, php_stream_context *context TSRMLS_DC) argument
1222 user_wrapper_rmdir(php_stream_wrapper *wrapper, const char *url, int options, php_stream_context *context TSRMLS_DC) argument
1268 user_wrapper_metadata(php_stream_wrapper *wrapper, const char *url, int option, void *value, php_stream_context *context TSRMLS_DC) argument
1341 user_wrapper_stat_url(php_stream_wrapper *wrapper, const char *url, int flags, php_stream_statbuf *ssb, php_stream_context *context TSRMLS_DC) argument
[all...]

Completed in 34 milliseconds

12