Home
last modified time | relevance | path

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

/external/libevent/
Dlistener.c284 EVUTIL_UPCAST(lev, struct evconnlistener_event, base); in event_listener_destroy()
321 EVUTIL_UPCAST(lev, struct evconnlistener_event, base); in event_listener_enable()
329 EVUTIL_UPCAST(lev, struct evconnlistener_event, base); in event_listener_disable()
347 EVUTIL_UPCAST(lev, struct evconnlistener_event, base); in event_listener_getfd()
365 EVUTIL_UPCAST(lev, struct evconnlistener_event, base); in event_listener_getbase()
676 EVUTIL_UPCAST(o, struct accepting_socket, overlapped); in accepted_socket_cb()
720 EVUTIL_UPCAST(lev, struct evconnlistener_iocp, base); in iocp_listener_enable()
742 EVUTIL_UPCAST(lev, struct evconnlistener_iocp, base); in iocp_listener_disable_impl()
776 EVUTIL_UPCAST(lev, struct evconnlistener_iocp, base); in iocp_listener_destroy()
789 EVUTIL_UPCAST(lev, struct evconnlistener_iocp, base); in iocp_listener_getfd()
[all …]
Dbufferevent_async.c131 bev_a = EVUTIL_UPCAST(bev, struct bufferevent_async, bev.bev); in upcast()
139 bev_a = EVUTIL_UPCAST(eo, struct bufferevent_async, connect_overlapped); in upcast_connect()
148 bev_a = EVUTIL_UPCAST(eo, struct bufferevent_async, read_overlapped); in upcast_read()
157 bev_a = EVUTIL_UPCAST(eo, struct bufferevent_async, write_overlapped); in upcast_write()
Devent_iocp.c59 EVUTIL_UPCAST(o, struct event_overlapped, overlapped); in handle_entry()
Dbufferevent-internal.h478 #define BEV_UPCAST(b) EVUTIL_UPCAST((b), struct bufferevent_private, bev)
Dbuffer_iocp.c79 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.h288 #define EVUTIL_UPCAST(ptr, type, field) \ macro
Devdns.c792 EVUTIL_UPCAST(d, struct deferred_reply_callback, deferred); in reply_run_callback()
4478 data = EVUTIL_UPCAST(req, struct evdns_getaddrinfo_request, ipv4_request); in evdns_getaddrinfo_gotresolve()
4481 data = EVUTIL_UPCAST(req, struct evdns_getaddrinfo_request, ipv6_request); in evdns_getaddrinfo_gotresolve()
Devent.c495 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.c743 tt_ptr_op(EVUTIL_UPCAST(cp, struct example_struct, b), ==, &es1); in test_evutil_upcast()