Home
last modified time | relevance | path

Searched refs:BEV_EVENT_ERROR (Results 1 – 14 of 14) sorted by relevance

/external/libevent/
Dbufferevent_sock.c202 what |= BEV_EVENT_ERROR; in bufferevent_readcb()
264 bufferevent_run_eventcb_(bufev, BEV_EVENT_ERROR, 0); in bufferevent_writecb()
301 what |= BEV_EVENT_ERROR; in bufferevent_writecb()
442 bufferevent_run_eventcb_(bev, BEV_EVENT_ERROR, BEV_OPT_DEFER_CALLBACKS); in bufferevent_socket_connect()
477 bufferevent_run_eventcb_(bev, BEV_EVENT_ERROR, 0); in bufferevent_connect_getaddrinfo_cb()
488 bufferevent_run_eventcb_(bev, BEV_EVENT_ERROR, 0); in bufferevent_connect_getaddrinfo_cb()
Dbufferevent_async.c242 be_async_run_eventcb(bev, BEV_EVENT_ERROR, 0); in bev_async_consider_writing()
295 be_async_run_eventcb(bev, BEV_EVENT_ERROR, 0); in bev_async_consider_reading()
453 be_async_run_eventcb(bev, ok ? BEV_EVENT_CONNECTED : BEV_EVENT_ERROR, 0); in connect_complete()
486 what |= BEV_EVENT_ERROR; in read_complete()
529 what |= BEV_EVENT_ERROR; in write_complete()
Dbufferevent_openssl.c498 int event = BEV_EVENT_ERROR; in conn_closed()
927 event = BEV_EVENT_ERROR; in be_openssl_eventcb()
931 } else if (what & BEV_EVENT_ERROR) { in be_openssl_eventcb()
Dhttp.c1546 } else if (what & (BEV_EVENT_EOF|BEV_EVENT_ERROR)) { in evhttp_error_cb()
/external/libevent/test/
Dtest-fdleak.c95 if (events & BEV_EVENT_ERROR) { in server_event_cb()
198 } else if (events & BEV_EVENT_ERROR) { in client_event_cb()
Dregress_dns.c1229 if ((what & BEV_EVENT_CONNECTED) || (what & BEV_EVENT_ERROR)) { in be_connect_hostname_event_cb()
1359 tt_int_op(be_outcome[0].what, ==, BEV_EVENT_ERROR); in test_bufferevent_connect_hostname()
1361 tt_int_op(be_outcome[1].what, ==, !emfile ? BEV_EVENT_CONNECTED : BEV_EVENT_ERROR); in test_bufferevent_connect_hostname()
1363 tt_int_op(be_outcome[2].what, ==, !emfile ? BEV_EVENT_CONNECTED : BEV_EVENT_ERROR); in test_bufferevent_connect_hostname()
1365 tt_int_op(be_outcome[3].what, ==, !emfile ? BEV_EVENT_CONNECTED : BEV_EVENT_ERROR); in test_bufferevent_connect_hostname()
1372 tt_int_op(be_outcome[4].what, ==, BEV_EVENT_ERROR); in test_bufferevent_connect_hostname()
Dtest-ratelim.c183 if (what & (BEV_EVENT_EOF|BEV_EVENT_ERROR)) { in echo_eventcb()
Dregress_bufferevent.c685 if (what & BEV_EVENT_ERROR) { in reader_eventcb()
874 if (what & BEV_EVENT_ERROR) { in want_fail_eventcb()
Dregress_ssl.c400 } else if (what & BEV_EVENT_ERROR) { in eventcb()
Dregress_http.c935 if ((what & (BEV_EVENT_ERROR|BEV_EVENT_EOF))) { in http_allowed_methods_eventcb()
/external/libevent/include/event2/
Dbufferevent_compat.h96 #define EVBUFFER_ERROR BEV_EVENT_ERROR
Dbufferevent.h103 #define BEV_EVENT_ERROR 0x20 /**< unrecoverable error encountered */ macro
/external/libevent/sample/
Dle-proxy.c107 if (what & (BEV_EVENT_EOF|BEV_EVENT_ERROR)) { in eventcb()
108 if (what & BEV_EVENT_ERROR) { in eventcb()
Dhello-world.c122 } else if (events & BEV_EVENT_ERROR) { in conn_eventcb()