/external/libevent/ |
D | bufferevent_sock.c | 103 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 …]
|
D | bufferevent.c | 70 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 …]
|
D | listener.c | 278 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 …]
|
D | bufferevent_async.c | 109 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()
|
D | bufferevent_ratelim.c | 564 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_()
|
D | bufferevent-internal.h | 446 #define BEV_UPCAST(b) EVUTIL_UPCAST((b), struct bufferevent_private, bev)
|
D | event_iocp.c | 59 EVUTIL_UPCAST(o, struct event_overlapped, overlapped); in handle_entry()
|
D | buffer_iocp.c | 78 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 | 253 #define EVUTIL_UPCAST(ptr, type, field) \ macro
|
D | evdns.c | 788 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()
|
D | event.c | 455 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 | 680 tt_ptr_op(EVUTIL_UPCAST(cp, struct example_struct, b), ==, &es1); in test_evutil_upcast()
|