Home
last modified time | relevance | path

Searched defs:bev (Results 1 – 21 of 21) sorted by relevance

/external/libevent/
Dbufferevent_async.c80 struct bufferevent_private bev; member
104 upcast(struct bufferevent *bev) in upcast()
143 struct bufferevent *bev = &beva->bev.bev; in bev_async_del_write() local
154 struct bufferevent *bev = &beva->bev.bev; in bev_async_del_read() local
165 struct bufferevent *bev = &beva->bev.bev; in bev_async_add_write() local
176 struct bufferevent *bev = &beva->bev.bev; in bev_async_add_read() local
189 struct bufferevent *bev = &beva->bev.bev; in bev_async_consider_writing() local
235 struct bufferevent *bev = &beva->bev.bev; in bev_async_consider_reading() local
289 struct bufferevent *bev = arg; in be_async_outbuf_callback() local
308 struct bufferevent *bev = arg; in be_async_inbuf_callback() local
[all …]
Dbufferevent_ratelim.c114 bufferevent_update_buckets(struct bufferevent_private *bev) in bufferevent_update_buckets()
198 bufferevent_get_rlim_max_(struct bufferevent_private *bev, int is_write) in bufferevent_get_rlim_max_()
261 bufferevent_get_read_max_(struct bufferevent_private *bev) in bufferevent_get_read_max_()
267 bufferevent_get_write_max_(struct bufferevent_private *bev) in bufferevent_get_write_max_()
273 bufferevent_decrement_read_buckets_(struct bufferevent_private *bev, ev_ssize_t bytes) in bufferevent_decrement_read_buckets_()
311 bufferevent_decrement_write_buckets_(struct bufferevent_private *bev, ev_ssize_t bytes) in bufferevent_decrement_write_buckets_()
353 struct bufferevent_private *bev; in bev_group_suspend_reading_() local
378 struct bufferevent_private *bev; in bev_group_suspend_writing_() local
398 struct bufferevent_private *bev = arg; in bev_refill_callback_() local
449 struct bufferevent_private *bev; in bev_group_random_element_() local
[all …]
Dbufferevent_filter.c81 struct bufferevent_private bev; member
118 upcast(struct bufferevent *bev) in upcast()
229 be_filter_unlink(struct bufferevent *bev) in be_filter_unlink()
258 be_filter_destruct(struct bufferevent *bev) in be_filter_destruct()
273 be_filter_enable(struct bufferevent *bev, short event) in be_filter_enable()
288 be_filter_disable(struct bufferevent *bev, short event) in be_filter_disable()
307 struct bufferevent *bev = downcast(bevf); in be_filter_process_input() local
425 struct bufferevent *bev = downcast(bevf); in bufferevent_filtered_outbuf_cb() local
488 struct bufferevent *bev = downcast(bevf); in bufferevent_filtered_inbuf_cb() local
517 struct bufferevent *bev = downcast(bevf); in be_filter_readcb() local
[all …]
Dbufferevent_openssl.c291 struct bufferevent_private bev; member
354 upcast(struct bufferevent *bev) in upcast()
389 struct bufferevent *bev = &bev_ssl->bev.bev; in start_reading() local
412 struct bufferevent *bev = &bev_ssl->bev.bev; in start_writing() local
430 struct bufferevent *bev = &bev_ssl->bev.bev; in stop_reading() local
444 struct bufferevent *bev = &bev_ssl->bev.bev; in stop_writing() local
470 struct bufferevent *bev = &bev_ssl->bev.bev; in clear_rbow() local
484 struct bufferevent *bev = &bev_ssl->bev.bev; in clear_wbor() local
582 struct bufferevent *bev = &bev_ssl->bev.bev; in do_read() local
653 struct bufferevent *bev = &bev_ssl->bev.bev; in do_write() local
[all …]
Dbufferevent_pair.c46 struct bufferevent_private bev; member
56 upcast(struct bufferevent *bev) in upcast()
253 be_pair_disable(struct bufferevent *bev, short events) in be_pair_disable()
265 be_pair_unlink(struct bufferevent *bev) in be_pair_unlink()
278 be_pair_destruct(struct bufferevent *bev) in be_pair_destruct()
305 be_pair_flush(struct bufferevent *bev, short iotype, in be_pair_flush()
340 bufferevent_pair_get_partner(struct bufferevent *bev) in bufferevent_pair_get_partner()
Dbufferevent_sock.c100 bufferevent_socket_get_conn_address_(struct bufferevent *bev) in bufferevent_socket_get_conn_address_()
379 bufferevent_socket_connect(struct bufferevent *bev, in bufferevent_socket_connect()
465 struct bufferevent *bev = arg; in bufferevent_connect_getaddrinfo_cb() local
500 bufferevent_socket_connect_hostname(struct bufferevent *bev, in bufferevent_socket_connect_hostname()
535 bufferevent_socket_get_dns_error(struct bufferevent *bev) in bufferevent_socket_get_dns_error()
621 be_socket_flush(struct bufferevent *bev, short iotype, in be_socket_flush()
704 be_socket_ctrl(struct bufferevent *bev, enum bufferevent_ctrl_op op, in be_socket_ctrl()
Dbufferevent.c846 bufferevent_setfd(struct bufferevent *bev, evutil_socket_t fd) in bufferevent_setfd()
859 bufferevent_getfd(struct bufferevent *bev) in bufferevent_getfd()
872 bufferevent_get_options_(struct bufferevent *bev) in bufferevent_get_options_()
886 bufferevent_cancel_all_(struct bufferevent *bev) in bufferevent_cancel_all_()
907 bufferevent_get_underlying(struct bufferevent *bev) in bufferevent_get_underlying()
922 struct bufferevent *bev = ctx; in bufferevent_generic_read_timeout_cb() local
931 struct bufferevent *bev = ctx; in bufferevent_generic_write_timeout_cb() local
939 bufferevent_init_generic_timeout_cbs_(struct bufferevent *bev) in bufferevent_init_generic_timeout_cbs_()
948 bufferevent_generic_adj_timeouts_(struct bufferevent *bev) in bufferevent_generic_adj_timeouts_()
972 bufferevent_generic_adj_existing_timeouts_(struct bufferevent *bev) in bufferevent_generic_adj_existing_timeouts_()
[all …]
Dbufferevent-internal.h156 struct bufferevent bev; member
426 #define BEV_RESET_GENERIC_READ_TIMEOUT(bev) \ argument
433 #define BEV_RESET_GENERIC_WRITE_TIMEOUT(bev) \ argument
438 #define BEV_DEL_GENERIC_READ_TIMEOUT(bev) \ argument
440 #define BEV_DEL_GENERIC_WRITE_TIMEOUT(bev) \ argument
Dhttp.c2338 …_base_bufferevent_new(struct event_base *base, struct evdns_base *dnsbase, struct bufferevent* bev, in evhttp_connection_base_bufferevent_new()
4170 struct bufferevent* bev = NULL; in evhttp_get_request_connection() local
Dbuffer.c447 evbuffer_set_parent_(struct evbuffer *buf, struct bufferevent *bev) in evbuffer_set_parent_()
/external/libevent/test/
Dtest-fdleak.c82 server_read_cb(struct bufferevent *bev, void *ctx) in server_read_cb()
93 server_event_cb(struct bufferevent *bev, short events, void *ctx) in server_event_cb()
109 struct bufferevent *bev = bufferevent_socket_new(base, sock, in listener_accept_cb() local
168 client_read_cb(struct bufferevent *bev, void *ctx) in client_read_cb()
190 client_event_cb(struct bufferevent *bev, short events, void *ctx) in client_event_cb()
207 struct bufferevent *bev = bufferevent_socket_new(base, -1, in start_client() local
Dregress_bufferevent.c92 readcb(struct bufferevent *bev, void *arg) in readcb()
112 writecb(struct bufferevent *bev, void *arg) in writecb()
120 errorcb(struct bufferevent *bev, short what, void *arg) in errorcb()
354 wm_readcb(struct bufferevent *bev, void *arg) in wm_readcb()
377 wm_writecb(struct bufferevent *bev, void *arg) in wm_writecb()
387 wm_errorcb(struct bufferevent *bev, short what, void *arg) in wm_errorcb()
604 sender_writecb(struct bufferevent *bev, void *ctx) in sender_writecb()
614 sender_errorcb(struct bufferevent *bev, short what, void *ctx) in sender_errorcb()
632 struct bufferevent *bev; in listen_cb() local
669 reader_eventcb(struct bufferevent *bev, short what, void *ctx) in reader_eventcb()
[all …]
Dtest-ratelim.c112 loud_writecb(struct bufferevent *bev, void *ctx) in loud_writecb()
126 discard_readcb(struct bufferevent *bev, void *ctx) in discard_readcb()
136 write_on_connectedcb(struct bufferevent *bev, short what, void *ctx) in write_on_connectedcb()
146 echo_readcb(struct bufferevent *bev, void *ctx) in echo_readcb()
157 echo_writecb(struct bufferevent *bev, void *ctx) in echo_writecb()
165 echo_eventcb(struct bufferevent *bev, short what, void *ctx) in echo_eventcb()
179 struct bufferevent *bev; in echo_listenercb() local
201 struct bufferevent *bev = arg; in check_bucket_levels_cb() local
Dregress_ssl.c235 bufferevent_openssl_check_fd(struct bufferevent *bev, int filter) in bufferevent_openssl_check_fd()
249 bufferevent_openssl_check_freed(struct bufferevent *bev) in bufferevent_openssl_check_freed()
259 respond_to_number(struct bufferevent *bev, void *ctx) in respond_to_number()
293 done_writing_cb(struct bufferevent *bev, void *ctx) in done_writing_cb()
304 eventcb(struct bufferevent *bev, short what, void *ctx) in eventcb()
515 struct bufferevent *bev = arg; in acceptcb_deferred() local
523 struct bufferevent *bev; in acceptcb() local
670 struct bufferevent *bev; in regress_bufferevent_openssl_connect() local
Dregress_http.c243 http_readcb(struct bufferevent *bev, void *arg) in http_readcb()
281 http_writecb(struct bufferevent *bev, void *arg) in http_writecb()
291 http_errorcb(struct bufferevent *bev, short what, void *arg) in http_errorcb()
420 struct bufferevent *bev = arg; in http_complete_write() local
431 struct bufferevent *bev = NULL; in create_bev() local
459 struct bufferevent *bev = NULL; in http_basic_test_impl() local
586 http_badreq_errorcb(struct bufferevent *bev, short what, void *arg) in http_badreq_errorcb()
593 http_badreq_readcb(struct bufferevent *bev, void *arg) in http_badreq_readcb()
643 struct bufferevent *bev = NULL; in http_bad_request_test() local
764 struct bufferevent *bev; in http_delete_test() local
[all …]
Dregress_zlib.c243 readcb(struct bufferevent *bev, void *arg) in readcb()
263 writecb(struct bufferevent *bev, void *arg) in writecb()
271 errorcb(struct bufferevent *bev, short what, void *arg) in errorcb()
Dregress_iocp.c297 async_readcb(struct bufferevent *bev, void *arg) in async_readcb()
Dregress_dns.c1165 be_connect_hostname_event_cb(struct bufferevent *bev, short what, void *ctx) in be_connect_hostname_event_cb()
/external/libevent/sample/
Dhello-world.c93 struct bufferevent *bev; in listener_cb() local
109 conn_writecb(struct bufferevent *bev, void *user_data) in conn_writecb()
119 conn_eventcb(struct bufferevent *bev, short events, void *user_data) in conn_eventcb()
Dle-proxy.c52 readcb(struct bufferevent *bev, void *ctx) in readcb()
79 drained_writecb(struct bufferevent *bev, void *ctx) in drained_writecb()
92 close_on_finished_writecb(struct bufferevent *bev, void *ctx) in close_on_finished_writecb()
102 eventcb(struct bufferevent *bev, short what, void *ctx) in eventcb()
Dhttps-client.c61 struct bufferevent *bev = (struct bufferevent *) ctx; in http_request_done() local
203 struct bufferevent *bev; in main() local