Lines Matching refs:wrapper

43 	php_stream_wrapper wrapper;  member
46 static php_stream *user_wrapper_opener(php_stream_wrapper *wrapper, const char *filename, const cha…
47 static int user_wrapper_stat_url(php_stream_wrapper *wrapper, const char *url, int flags, php_strea…
48 static int user_wrapper_unlink(php_stream_wrapper *wrapper, const char *url, int options, php_strea…
49 static int user_wrapper_rename(php_stream_wrapper *wrapper, const char *url_from, const char *url_t…
50 static int user_wrapper_mkdir(php_stream_wrapper *wrapper, const char *url, int mode, int options, …
51 static int user_wrapper_rmdir(php_stream_wrapper *wrapper, const char *url, int options, php_stream…
52 static int user_wrapper_metadata(php_stream_wrapper *wrapper, const char *url, int option, void *va…
53 static php_stream *user_wrapper_opendir(php_stream_wrapper *wrapper, const char *filename, const ch…
120 struct php_user_stream_wrapper * wrapper; member
329 static php_stream *user_wrapper_opener(php_stream_wrapper *wrapper, const char *filename, const cha… in user_wrapper_opener() argument
332 struct php_user_stream_wrapper *uwrap = (struct php_user_stream_wrapper*)wrapper->abstract; in user_wrapper_opener()
342 php_stream_wrapper_log_error(wrapper, options, "infinite recursion prevented"); in user_wrapper_opener()
352 if(uwrap->wrapper.is_url == 0 && in user_wrapper_opener()
359 us->wrapper = uwrap; in user_wrapper_opener()
401 php_stream_wrapper_log_error(wrapper, options, "\"%s::" USERSTREAM_OPEN "\" call failed", in user_wrapper_opener()
402 us->wrapper->classname); in user_wrapper_opener()
424 static php_stream *user_wrapper_opendir(php_stream_wrapper *wrapper, const char *filename, const ch… in user_wrapper_opendir() argument
427 struct php_user_stream_wrapper *uwrap = (struct php_user_stream_wrapper*)wrapper->abstract; in user_wrapper_opendir()
436 php_stream_wrapper_log_error(wrapper, options, "infinite recursion prevented"); in user_wrapper_opendir()
442 us->wrapper = uwrap; in user_wrapper_opendir()
471 php_stream_wrapper_log_error(wrapper, options, "\"%s::" USERSTREAM_DIR_OPEN "\" call failed", in user_wrapper_opendir()
472 us->wrapper->classname); in user_wrapper_opendir()
509 uwrap->wrapper.wops = &user_stream_wops; in PHP_FUNCTION()
510 uwrap->wrapper.abstract = uwrap; in PHP_FUNCTION()
511 uwrap->wrapper.is_url = ((flags & PHP_STREAM_IS_URL) != 0); in PHP_FUNCTION()
516 if (php_register_url_stream_wrapper_volatile(protocol, &uwrap->wrapper) == SUCCESS) { in PHP_FUNCTION()
561 php_stream_wrapper *wrapper; in PHP_FUNCTION() local
569 if ((wrapper = zend_hash_find_ptr(global_wrapper_hash, protocol)) == NULL) { in PHP_FUNCTION()
575 if (wrapper_hash == global_wrapper_hash || zend_hash_find_ptr(wrapper_hash, protocol) == wrapper) { in PHP_FUNCTION()
583 if (php_register_url_stream_wrapper_volatile(protocol, wrapper) == FAILURE) { in PHP_FUNCTION()
629 us->wrapper->classname); in php_userstreamop_write()
636 us->wrapper->classname, in php_userstreamop_write()
677 us->wrapper->classname); in php_userstreamop_read()
693 us->wrapper->classname, (zend_long)(didread - count), (zend_long)didread, (zend_long)count); in php_userstreamop_read()
722 us->wrapper->classname); in php_userstreamop_read()
847 …php_error_docref(NULL, E_WARNING, "%s::" USERSTREAM_TELL " is not implemented!", us->wrapper->clas… in php_userstreamop_seek()
919 us->wrapper->classname); in php_userstreamop_stat()
948 us->wrapper->classname); in php_userstreamop_set_option()
989 us->wrapper->classname); in php_userstreamop_set_option()
1028 us->wrapper->classname); in php_userstreamop_set_option()
1033 us->wrapper->classname); in php_userstreamop_set_option()
1088 us->wrapper->classname); in php_userstreamop_set_option()
1110 static int user_wrapper_unlink(php_stream_wrapper *wrapper, const char *url, int options, php_strea… in user_wrapper_unlink() argument
1112 struct php_user_stream_wrapper *uwrap = (struct php_user_stream_wrapper*)wrapper->abstract; in user_wrapper_unlink()
1153 static int user_wrapper_rename(php_stream_wrapper *wrapper, const char *url_from, const char *url_t… in user_wrapper_rename() argument
1156 struct php_user_stream_wrapper *uwrap = (struct php_user_stream_wrapper*)wrapper->abstract; in user_wrapper_rename()
1199 static int user_wrapper_mkdir(php_stream_wrapper *wrapper, const char *url, int mode, in user_wrapper_mkdir() argument
1202 struct php_user_stream_wrapper *uwrap = (struct php_user_stream_wrapper*)wrapper->abstract; in user_wrapper_mkdir()
1247 static int user_wrapper_rmdir(php_stream_wrapper *wrapper, const char *url, in user_wrapper_rmdir() argument
1250 struct php_user_stream_wrapper *uwrap = (struct php_user_stream_wrapper*)wrapper->abstract; in user_wrapper_rmdir()
1293 static int user_wrapper_metadata(php_stream_wrapper *wrapper, const char *url, int option, in user_wrapper_metadata() argument
1296 struct php_user_stream_wrapper *uwrap = (struct php_user_stream_wrapper*)wrapper->abstract; in user_wrapper_metadata()
1366 static int user_wrapper_stat_url(php_stream_wrapper *wrapper, const char *url, int flags, in user_wrapper_stat_url() argument
1369 struct php_user_stream_wrapper *uwrap = (struct php_user_stream_wrapper*)wrapper->abstract; in user_wrapper_stat_url()
1446 us->wrapper->classname); in php_userstreamop_readdir()
1532 us->wrapper->classname); in php_userstreamop_cast()
1541 us->wrapper->classname); in php_userstreamop_cast()
1546 us->wrapper->classname); in php_userstreamop_cast()