Searched refs:EVUTIL_UPCAST (Results 1 – 11 of 11) sorted by relevance
/external/libevent/ |
D | listener.c | 284 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 …]
|
D | bufferevent_async.c | 131 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()
|
D | event_iocp.c | 59 EVUTIL_UPCAST(o, struct event_overlapped, overlapped); in handle_entry()
|
D | bufferevent-internal.h | 478 #define BEV_UPCAST(b) EVUTIL_UPCAST((b), struct bufferevent_private, bev)
|
D | buffer_iocp.c | 79 return EVUTIL_UPCAST(buf, struct evbuffer_overlapped, buffer); in upcast_evbuffer()
|
D | bufferevent_pair.c | 61 bev_p = EVUTIL_UPCAST(bev, struct bufferevent_pair, bev.bev); in upcast()
|
D | util-internal.h | 288 #define EVUTIL_UPCAST(ptr, type, field) \ macro
|
D | evdns.c | 792 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()
|
D | event.c | 495 return EVUTIL_UPCAST(evcb, struct event, ev_evcallback); in event_callback_to_event()
|
/external/libevent/test/ |
D | regress_iocp.c | 125 EVUTIL_UPCAST(o, struct dummy_overlapped, eo); in dummy_cb()
|
D | regress_util.c | 743 tt_ptr_op(EVUTIL_UPCAST(cp, struct example_struct, b), ==, &es1); in test_evutil_upcast()
|