Lines Matching refs:wrapper
36 php_stream_wrapper wrapper; member
39 static php_stream *user_wrapper_opener(php_stream_wrapper *wrapper, char *filename, char *mode, int…
40 static int user_wrapper_stat_url(php_stream_wrapper *wrapper, char *url, int flags, php_stream_stat…
41 static int user_wrapper_unlink(php_stream_wrapper *wrapper, char *url, int options, php_stream_cont…
42 static int user_wrapper_rename(php_stream_wrapper *wrapper, char *url_from, char *url_to, int optio…
43 static int user_wrapper_mkdir(php_stream_wrapper *wrapper, char *url, int mode, int options, php_st…
44 static int user_wrapper_rmdir(php_stream_wrapper *wrapper, char *url, int options, php_stream_conte…
45 static php_stream *user_wrapper_opendir(php_stream_wrapper *wrapper, char *filename, char *mode,
106 struct php_user_stream_wrapper * wrapper; member
261 static php_stream *user_wrapper_opener(php_stream_wrapper *wrapper, char *filename, char *mode, int… in user_wrapper_opener() argument
263 struct php_user_stream_wrapper *uwrap = (struct php_user_stream_wrapper*)wrapper->abstract; in user_wrapper_opener()
273 php_stream_wrapper_log_error(wrapper, options TSRMLS_CC, "infinite recursion prevented"); in user_wrapper_opener()
283 if(uwrap->wrapper.is_url == 0 && in user_wrapper_opener()
290 us->wrapper = uwrap; in user_wrapper_opener()
383 …php_stream_wrapper_log_error(wrapper, options TSRMLS_CC, "\"%s::" USERSTREAM_OPEN "\" call failed", in user_wrapper_opener()
384 us->wrapper->classname); in user_wrapper_opener()
407 static php_stream *user_wrapper_opendir(php_stream_wrapper *wrapper, char *filename, char *mode, in user_wrapper_opendir() argument
410 struct php_user_stream_wrapper *uwrap = (struct php_user_stream_wrapper*)wrapper->abstract; in user_wrapper_opendir()
419 php_stream_wrapper_log_error(wrapper, options TSRMLS_CC, "infinite recursion prevented"); in user_wrapper_opendir()
425 us->wrapper = uwrap; in user_wrapper_opendir()
467 …php_stream_wrapper_log_error(wrapper, options TSRMLS_CC, "\"%s::" USERSTREAM_DIR_OPEN "\" call fai… in user_wrapper_opendir()
468 us->wrapper->classname); in user_wrapper_opendir()
506 uwrap->wrapper.wops = &user_stream_wops; in PHP_FUNCTION()
507 uwrap->wrapper.abstract = uwrap; in PHP_FUNCTION()
508 uwrap->wrapper.is_url = ((flags & PHP_STREAM_IS_URL) != 0); in PHP_FUNCTION()
514 if (php_register_url_stream_wrapper_volatile(protocol, &uwrap->wrapper TSRMLS_CC) == SUCCESS) { in PHP_FUNCTION()
561 php_stream_wrapper **wrapperpp = NULL, *wrapper; in PHP_FUNCTION() local
580 wrapper = *wrapperpp; in PHP_FUNCTION()
585 if (php_register_url_stream_wrapper_volatile(protocol, wrapper TSRMLS_CC) == FAILURE) { in PHP_FUNCTION()
626 us->wrapper->classname); in php_userstreamop_write()
632 us->wrapper->classname, in php_userstreamop_write()
673 us->wrapper->classname, (long)(didread - count), (long)didread, (long)count); in php_userstreamop_read()
680 us->wrapper->classname); in php_userstreamop_read()
704 us->wrapper->classname); in php_userstreamop_read()
839 …(NULL TSRMLS_CC, E_WARNING, "%s::" USERSTREAM_TELL " is not implemented!", us->wrapper->classname); in php_userstreamop_seek()
920 us->wrapper->classname); in php_userstreamop_stat()
950 us->wrapper->classname); in php_userstreamop_set_option()
992 us->wrapper->classname); in php_userstreamop_set_option()
1049 us->wrapper->classname); in php_userstreamop_set_option()
1082 static int user_wrapper_unlink(php_stream_wrapper *wrapper, char *url, int options, php_stream_cont… in user_wrapper_unlink() argument
1084 struct php_user_stream_wrapper *uwrap = (struct php_user_stream_wrapper*)wrapper->abstract; in user_wrapper_unlink()
1136 static int user_wrapper_rename(php_stream_wrapper *wrapper, char *url_from, char *url_to, int optio… in user_wrapper_rename() argument
1138 struct php_user_stream_wrapper *uwrap = (struct php_user_stream_wrapper*)wrapper->abstract; in user_wrapper_rename()
1195 static int user_wrapper_mkdir(php_stream_wrapper *wrapper, char *url, int mode, int options, php_st… in user_wrapper_mkdir() argument
1197 struct php_user_stream_wrapper *uwrap = (struct php_user_stream_wrapper*)wrapper->abstract; in user_wrapper_mkdir()
1260 static int user_wrapper_rmdir(php_stream_wrapper *wrapper, char *url, int options, php_stream_conte… in user_wrapper_rmdir() argument
1262 struct php_user_stream_wrapper *uwrap = (struct php_user_stream_wrapper*)wrapper->abstract; in user_wrapper_rmdir()
1320 static int user_wrapper_stat_url(php_stream_wrapper *wrapper, char *url, int flags, php_stream_stat… in user_wrapper_stat_url() argument
1322 struct php_user_stream_wrapper *uwrap = (struct php_user_stream_wrapper*)wrapper->abstract; in user_wrapper_stat_url()
1414 us->wrapper->classname); in php_userstreamop_readdir()
1503 us->wrapper->classname); in php_userstreamop_cast()
1512 us->wrapper->classname); in php_userstreamop_cast()
1517 us->wrapper->classname); in php_userstreamop_cast()