Home
last modified time | relevance | path

Searched refs:bufferevent_setcb (Results 1 – 19 of 19) sorted by relevance

/external/libevent/sample/
Dle-proxy.c71 bufferevent_setcb(partner, readcb, drained_writecb, in readcb()
86 bufferevent_setcb(bev, readcb, NULL, eventcb, partner); in drained_writecb()
133 bufferevent_setcb(partner, in eventcb()
203 bufferevent_setcb(b_in, readcb, NULL, eventcb, b_out); in accept_cb()
204 bufferevent_setcb(b_out, readcb, NULL, eventcb, b_in); in accept_cb()
Dhello-world.c100 bufferevent_setcb(bev, NULL, conn_writecb, conn_eventcb, NULL); in listener_cb()
/external/libevent/test/
Dregress_bufferevent.c151 bufferevent_setcb(bev1, readcb, writecb, errorcb, bev1); in test_bufferevent_impl()
152 bufferevent_setcb(bev2, readcb, writecb, errorcb, NULL); in test_bufferevent_impl()
419 bufferevent_setcb(bev1, NULL, wm_writecb, errorcb, NULL); in test_bufferevent_watermarks_impl()
420 bufferevent_setcb(bev2, wm_readcb, NULL, errorcb, NULL); in test_bufferevent_watermarks_impl()
580 bufferevent_setcb(bev1, NULL, writecb, errorcb, NULL); in test_bufferevent_filters_impl()
581 bufferevent_setcb(bev2, readcb, NULL, errorcb, NULL); in test_bufferevent_filters_impl()
650 bufferevent_setcb(bev, NULL, sender_writecb, sender_errorcb, NULL); in listen_cb()
779 bufferevent_setcb(bev1, reader_readcb,NULL, reader_eventcb, data->base); in test_bufferevent_connect()
780 bufferevent_setcb(bev2, reader_readcb,NULL, reader_eventcb, data->base); in test_bufferevent_connect()
833 bufferevent_setcb(bev, reader_readcb, reader_readcb, in test_bufferevent_connect_fail_eventcb()
[all …]
Dtest-fdleak.c114 bufferevent_setcb(bev, server_read_cb, NULL, server_event_cb, NULL); in listener_accept_cb()
212 bufferevent_setcb(bev, client_read_cb, NULL, client_event_cb, NULL); in start_client()
Dbench_httpclient.c107 bufferevent_setcb(b, NULL, NULL, NULL, NULL); in errorcb()
167 bufferevent_setcb(b, readcb, NULL, errorcb, ri); in launch_request()
Dregress_ssl.c448 bufferevent_setcb(*bev1_out, respond_to_number, done_writing_cb, in open_ssl_bufevs()
450 bufferevent_setcb(*bev2_out, respond_to_number, done_writing_cb, in open_ssl_bufevs()
596 bufferevent_setcb(bev, respond_to_number, NULL, eventcb, in acceptcb()
767 bufferevent_setcb(bev, respond_to_number, free_on_cb, eventcb, in regress_bufferevent_openssl_connect()
823 bufferevent_setcb(bev, NULL, NULL, NULL, NULL); in wm_transfer()
874 bufferevent_setcb(bev, wm_transfer, NULL, wm_eventcb, ctx); in wm_acceptcb()
964 bufferevent_setcb(bev, wm_transfer, NULL, wm_eventcb, &client); in regress_bufferevent_openssl_wm()
Dregress_zlib.c311 bufferevent_setcb(bev1, readcb, writecb, errorcb, NULL); in test_bufferevent_zlib()
312 bufferevent_setcb(bev2, readcb, writecb, errorcb, NULL); in test_bufferevent_zlib()
Dregress_http.c530 bufferevent_setcb(bev, http_readcb, http_half_writecb, in http_basic_test_impl()
550 bufferevent_setcb(bev, http_readcb, http_writecb, in http_basic_test_impl()
571 bufferevent_setcb(bev, http_readcb, http_writecb, in http_basic_test_impl()
707 bufferevent_setcb(bev, http_badreq_readcb, http_writecb, in http_bad_request_test()
739 bufferevent_setcb(bev, http_badreq_readcb, http_writecb, in http_bad_request_test()
825 bufferevent_setcb(bev, http_readcb, http_writecb, in http_delete_test()
908 bufferevent_setcb(bev, http_readcb, http_writecb, in http_on_complete_test()
973 bufferevent_setcb(bev1, NULL, NULL, in http_allowed_methods_test()
991 bufferevent_setcb(bev2, NULL, NULL, in http_allowed_methods_test()
1009 bufferevent_setcb(bev3, NULL, NULL, in http_allowed_methods_test()
[all …]
Dtest-ratelim.c198 bufferevent_setcb(bev, echo_readcb, echo_writecb, echo_eventcb, NULL); in echo_listenercb()
435 bufferevent_setcb(bevs[i], discard_readcb, loud_writecb, in test_ratelimiting()
Dregress_iocp.c324 bufferevent_setcb(bea2, async_readcb, NULL, NULL, NULL); in test_iocp_bufferevent_async()
Dregress_dns.c1314 bufferevent_setcb(be[i], NULL, NULL, be_connect_hostname_event_cb, in test_bufferevent_connect_hostname()
/external/libevent/
Dbufferevent_filter.c208 bufferevent_setcb(bufev_f->underlying, in bufferevent_filter_new()
249 bufferevent_setcb(bevf->underlying, in be_filter_unlink()
Dbufferevent_openssl.c986 bufferevent_setcb(bev_ssl->underlying, in set_open_callbacks()
1087 bufferevent_setcb(bev_ssl->underlying, in set_handshake_callbacks()
1220 bufferevent_setcb(bev_ssl->underlying, in be_openssl_unlink()
Dbufferevent.c389 bufferevent_setcb(struct bufferevent *bufev, in bufferevent_setcb() function
809 bufferevent_setcb(bufev, NULL, NULL, NULL, NULL); in bufferevent_free()
Dhttp.c382 bufferevent_setcb(evcon->bufev, in evhttp_write_buffer()
407 bufferevent_setcb(evcon->bufev, in evhttp_send_continue()
1335 bufferevent_setcb(evcon->bufev, NULL, NULL, NULL, NULL); in evhttp_connection_reset_()
1628 bufferevent_setcb(evcon->bufev, in evhttp_connection_cb()
2412 bufferevent_setcb(bev, evhttp_read_cb, evhttp_write_cb, evhttp_error_cb, evcon); in evhttp_connection_base_bufferevent_new()
2596 bufferevent_setcb(evcon->bufev, in evhttp_connection_connect_()
2742 bufferevent_setcb(evcon->bufev, in evhttp_start_read_()
Dbufferevent_sock.c561 bufferevent_setcb(bufev, readcb, writecb, eventcb, cbarg); in bufferevent_new()
DChangeLog-1.4123 o introduce bufferevent_setcb and bufferevent_setfd to allow better manipulation of bufferevents
DChangeLog-2.01208 o introduce bufferevent_setcb and bufferevent_setfd to allow better manipulation of bufferevents
/external/libevent/include/event2/
Dbufferevent.h323 void bufferevent_setcb(struct bufferevent *bufev,