Home
last modified time | relevance | path

Searched refs:EVUTIL_UPCAST (Results 1 – 14 of 14) sorted by relevance

/external/libevent/
Dbufferevent_sock.c103 EVUTIL_UPCAST(bev, struct bufferevent_private, bev); in bufferevent_socket_get_conn_address_()
131 EVUTIL_UPCAST(bufev, struct bufferevent_private, bev); in bufferevent_socket_outbuf_cb()
150 EVUTIL_UPCAST(bufev, struct bufferevent_private, bev); in bufferevent_readcb()
232 EVUTIL_UPCAST(bufev, struct bufferevent_private, bev); in bufferevent_writecb()
383 EVUTIL_UPCAST(bev, struct bufferevent_private, bev); in bufferevent_socket_connect()
467 EVUTIL_UPCAST(bev, struct bufferevent_private, bev); in bufferevent_connect_getaddrinfo_cb()
506 EVUTIL_UPCAST(bev, struct bufferevent_private, bev); in bufferevent_socket_connect_hostname()
539 EVUTIL_UPCAST(bev, struct bufferevent_private, bev); in bufferevent_socket_get_dns_error()
591 EVUTIL_UPCAST(bufev, struct bufferevent_private, bev); in be_socket_disable()
608 EVUTIL_UPCAST(bufev, struct bufferevent_private, bev); in be_socket_destruct()
[all …]
Dbufferevent.c70 EVUTIL_UPCAST(bufev, struct bufferevent_private, bev); in bufferevent_suspend_read_()
82 EVUTIL_UPCAST(bufev, struct bufferevent_private, bev); in bufferevent_unsuspend_read_()
94 EVUTIL_UPCAST(bufev, struct bufferevent_private, bev); in bufferevent_suspend_write_()
106 EVUTIL_UPCAST(bufev, struct bufferevent_private, bev); in bufferevent_unsuspend_write_()
225 EVUTIL_UPCAST(bufev, struct bufferevent_private, bev); in bufferevent_run_readcb_()
241 EVUTIL_UPCAST(bufev, struct bufferevent_private, bev); in bufferevent_run_writecb_()
270 EVUTIL_UPCAST(bufev, struct bufferevent_private, bev); in bufferevent_run_eventcb_()
463 EVUTIL_UPCAST(bufev, struct bufferevent_private, bev); in bufferevent_enable()
537 EVUTIL_UPCAST(bufev, struct bufferevent_private, bev); in bufferevent_disable_hard_()
574 EVUTIL_UPCAST(bufev, struct bufferevent_private, bev); in bufferevent_setwatermark()
[all …]
Dlistener.c278 EVUTIL_UPCAST(lev, struct evconnlistener_event, base); in event_listener_destroy()
315 EVUTIL_UPCAST(lev, struct evconnlistener_event, base); in event_listener_enable()
323 EVUTIL_UPCAST(lev, struct evconnlistener_event, base); in event_listener_disable()
341 EVUTIL_UPCAST(lev, struct evconnlistener_event, base); in event_listener_getfd()
359 EVUTIL_UPCAST(lev, struct evconnlistener_event, base); in event_listener_getbase()
667 EVUTIL_UPCAST(o, struct accepting_socket, overlapped); in accepted_socket_cb()
711 EVUTIL_UPCAST(lev, struct evconnlistener_iocp, base); in iocp_listener_enable()
733 EVUTIL_UPCAST(lev, struct evconnlistener_iocp, base); in iocp_listener_disable_impl()
767 EVUTIL_UPCAST(lev, struct evconnlistener_iocp, base); in iocp_listener_destroy()
780 EVUTIL_UPCAST(lev, struct evconnlistener_iocp, base); in iocp_listener_getfd()
[all …]
Dbufferevent_async.c109 bev_a = EVUTIL_UPCAST(bev, struct bufferevent_async, bev.bev); in upcast()
117 bev_a = EVUTIL_UPCAST(eo, struct bufferevent_async, connect_overlapped); in upcast_connect()
126 bev_a = EVUTIL_UPCAST(eo, struct bufferevent_async, read_overlapped); in upcast_read()
135 bev_a = EVUTIL_UPCAST(eo, struct bufferevent_async, write_overlapped); in upcast_write()
Dbufferevent_ratelim.c564 EVUTIL_UPCAST(bev, struct bufferevent_private, bev); in bufferevent_set_rate_limit()
741 EVUTIL_UPCAST(bev, struct bufferevent_private, bev); in bufferevent_add_to_rate_limit_group()
793 EVUTIL_UPCAST(bev, struct bufferevent_private, bev); in bufferevent_remove_from_rate_limit_group_internal_()
Dbufferevent-internal.h446 #define BEV_UPCAST(b) EVUTIL_UPCAST((b), struct bufferevent_private, bev)
Devent_iocp.c59 EVUTIL_UPCAST(o, struct event_overlapped, overlapped); in handle_entry()
Dbuffer_iocp.c78 return EVUTIL_UPCAST(buf, struct evbuffer_overlapped, buffer); in upcast_evbuffer()
Dbufferevent_pair.c61 bev_p = EVUTIL_UPCAST(bev, struct bufferevent_pair, bev.bev); in upcast()
Dutil-internal.h253 #define EVUTIL_UPCAST(ptr, type, field) \ macro
Devdns.c788 EVUTIL_UPCAST(d, struct deferred_reply_callback, deferred); in reply_run_callback()
4405 data = EVUTIL_UPCAST(req, struct evdns_getaddrinfo_request, ipv4_request); in evdns_getaddrinfo_gotresolve()
4408 data = EVUTIL_UPCAST(req, struct evdns_getaddrinfo_request, ipv6_request); in evdns_getaddrinfo_gotresolve()
Devent.c455 return EVUTIL_UPCAST(evcb, struct event, ev_evcallback); in event_callback_to_event()
/external/libevent/test/
Dregress_iocp.c125 EVUTIL_UPCAST(o, struct dummy_overlapped, eo); in dummy_cb()
Dregress_util.c680 tt_ptr_op(EVUTIL_UPCAST(cp, struct example_struct, b), ==, &es1); in test_evutil_upcast()