Lines Matching refs:wrapper

45 	php_stream_wrapper wrapper;  member
48 static php_stream *user_wrapper_opener(php_stream_wrapper *wrapper, const char *filename, const cha…
49 static int user_wrapper_stat_url(php_stream_wrapper *wrapper, const char *url, int flags, php_strea…
50 static int user_wrapper_unlink(php_stream_wrapper *wrapper, const char *url, int options, php_strea…
51 static int user_wrapper_rename(php_stream_wrapper *wrapper, const char *url_from, const char *url_t…
52 static int user_wrapper_mkdir(php_stream_wrapper *wrapper, const char *url, int mode, int options, …
53 static int user_wrapper_rmdir(php_stream_wrapper *wrapper, const char *url, int options, php_stream…
54 static int user_wrapper_metadata(php_stream_wrapper *wrapper, const char *url, int option, void *va…
55 static php_stream *user_wrapper_opendir(php_stream_wrapper *wrapper, const char *filename, const ch…
122 struct php_user_stream_wrapper * wrapper; member
332 static php_stream *user_wrapper_opener(php_stream_wrapper *wrapper, const char *filename, const cha… in user_wrapper_opener() argument
335 struct php_user_stream_wrapper *uwrap = (struct php_user_stream_wrapper*)wrapper->abstract; in user_wrapper_opener()
345 php_stream_wrapper_log_error(wrapper, options, "infinite recursion prevented"); in user_wrapper_opener()
355 if(uwrap->wrapper.is_url == 0 && in user_wrapper_opener()
362 us->wrapper = uwrap; in user_wrapper_opener()
404 php_stream_wrapper_log_error(wrapper, options, "\"%s::" USERSTREAM_OPEN "\" call failed", in user_wrapper_opener()
405 us->wrapper->classname); in user_wrapper_opener()
427 static php_stream *user_wrapper_opendir(php_stream_wrapper *wrapper, const char *filename, const ch… in user_wrapper_opendir() argument
430 struct php_user_stream_wrapper *uwrap = (struct php_user_stream_wrapper*)wrapper->abstract; in user_wrapper_opendir()
439 php_stream_wrapper_log_error(wrapper, options, "infinite recursion prevented"); in user_wrapper_opendir()
445 us->wrapper = uwrap; in user_wrapper_opendir()
474 php_stream_wrapper_log_error(wrapper, options, "\"%s::" USERSTREAM_DIR_OPEN "\" call failed", in user_wrapper_opendir()
475 us->wrapper->classname); in user_wrapper_opendir()
512 uwrap->wrapper.wops = &user_stream_wops; in PHP_FUNCTION()
513 uwrap->wrapper.abstract = uwrap; in PHP_FUNCTION()
514 uwrap->wrapper.is_url = ((flags & PHP_STREAM_IS_URL) != 0); in PHP_FUNCTION()
519 if (php_register_url_stream_wrapper_volatile(ZSTR_VAL(protocol), &uwrap->wrapper) == SUCCESS) { in PHP_FUNCTION()
565 php_stream_wrapper *wrapper; in PHP_FUNCTION() local
578 if ((wrapper = zend_hash_find_ptr(global_wrapper_hash, protocol)) == NULL) { in PHP_FUNCTION()
586 if (php_register_url_stream_wrapper_volatile(ZSTR_VAL(protocol), wrapper) == FAILURE) { in PHP_FUNCTION()
630 us->wrapper->classname); in php_userstreamop_write()
636 us->wrapper->classname, in php_userstreamop_write()
680 us->wrapper->classname, (zend_long)(didread - count), (zend_long)didread, (zend_long)count); in php_userstreamop_read()
687 us->wrapper->classname); in php_userstreamop_read()
708 us->wrapper->classname); in php_userstreamop_read()
834 …php_error_docref(NULL, E_WARNING, "%s::" USERSTREAM_TELL " is not implemented!", us->wrapper->clas… in php_userstreamop_seek()
912 us->wrapper->classname); in php_userstreamop_stat()
941 us->wrapper->classname); in php_userstreamop_set_option()
982 us->wrapper->classname); in php_userstreamop_set_option()
1021 us->wrapper->classname); in php_userstreamop_set_option()
1026 us->wrapper->classname); in php_userstreamop_set_option()
1081 us->wrapper->classname); in php_userstreamop_set_option()
1103 static int user_wrapper_unlink(php_stream_wrapper *wrapper, const char *url, int options, php_strea… in user_wrapper_unlink() argument
1105 struct php_user_stream_wrapper *uwrap = (struct php_user_stream_wrapper*)wrapper->abstract; in user_wrapper_unlink()
1146 static int user_wrapper_rename(php_stream_wrapper *wrapper, const char *url_from, const char *url_t… in user_wrapper_rename() argument
1149 struct php_user_stream_wrapper *uwrap = (struct php_user_stream_wrapper*)wrapper->abstract; in user_wrapper_rename()
1192 static int user_wrapper_mkdir(php_stream_wrapper *wrapper, const char *url, int mode, in user_wrapper_mkdir() argument
1195 struct php_user_stream_wrapper *uwrap = (struct php_user_stream_wrapper*)wrapper->abstract; in user_wrapper_mkdir()
1240 static int user_wrapper_rmdir(php_stream_wrapper *wrapper, const char *url, in user_wrapper_rmdir() argument
1243 struct php_user_stream_wrapper *uwrap = (struct php_user_stream_wrapper*)wrapper->abstract; in user_wrapper_rmdir()
1286 static int user_wrapper_metadata(php_stream_wrapper *wrapper, const char *url, int option, in user_wrapper_metadata() argument
1289 struct php_user_stream_wrapper *uwrap = (struct php_user_stream_wrapper*)wrapper->abstract; in user_wrapper_metadata()
1359 static int user_wrapper_stat_url(php_stream_wrapper *wrapper, const char *url, int flags, in user_wrapper_stat_url() argument
1362 struct php_user_stream_wrapper *uwrap = (struct php_user_stream_wrapper*)wrapper->abstract; in user_wrapper_stat_url()
1440 us->wrapper->classname); in php_userstreamop_readdir()
1526 us->wrapper->classname); in php_userstreamop_cast()
1535 us->wrapper->classname); in php_userstreamop_cast()
1540 us->wrapper->classname); in php_userstreamop_cast()