Home
last modified time | relevance | path

Searched refs:errorcb (Results 1 – 25 of 26) sorted by relevance

12

/freebsd/contrib/ntp/sntp/libevent/
H A Dlistener.c80 evconnlistener_errorcb errorcb; member
274 lev->errorcb = NULL; in evconnlistener_free()
386 evconnlistener_errorcb errorcb) in evconnlistener_set_error_cb() argument
389 lev->errorcb = errorcb; in evconnlistener_set_error_cb()
399 evconnlistener_errorcb errorcb; in listener_read_cb() local
444 if (lev->errorcb != NULL) { in listener_read_cb()
446 errorcb = lev->errorcb; in listener_read_cb()
449 errorcb(lev, user_data); in listener_read_cb()
617 evconnlistener_errorcb errorcb=NULL; in accepted_socket_invoke_user_cb() local
635 errorcb = lev->errorcb; in accepted_socket_invoke_user_cb()
[all …]
H A Dbufferevent.c159 bufev->errorcb) { in bufferevent_run_deferred_callbacks_locked()
163 bufev->errorcb(bufev, BEV_EVENT_CONNECTED, bufev->cbarg); in bufferevent_run_deferred_callbacks_locked()
174 if (bufev_private->eventcb_pending && bufev->errorcb) { in bufferevent_run_deferred_callbacks_locked()
180 bufev->errorcb(bufev, what, bufev->cbarg); in bufferevent_run_deferred_callbacks_locked()
196 bufev->errorcb) { in bufferevent_run_deferred_callbacks_unlocked()
199 bufferevent_event_cb errorcb = bufev->errorcb; in bufferevent_run_deferred_callbacks_unlocked() local
202 UNLOCKED(errorcb(bufev, BEV_EVENT_CONNECTED, cbarg)); in bufferevent_run_deferred_callbacks_unlocked()
217 if (bufev_private->eventcb_pending && bufev->errorcb) { in bufferevent_run_deferred_callbacks_unlocked()
218 bufferevent_event_cb errorcb = bufev->errorcb; in bufferevent_run_deferred_callbacks_unlocked() local
225 UNLOCKED(errorcb(bufev,what,cbarg)); in bufferevent_run_deferred_callbacks_unlocked()
[all …]
H A Dbufferevent_filter.c248 if (bevf->underlying->errorcb == be_filter_eventcb) in be_filter_unlink()
H A Dbufferevent_openssl.c1219 if (bev_ssl->underlying->errorcb == be_openssl_eventcb) in be_openssl_unlink()
H A DChangeLog531 o test/http: exit from the loop in the errorcb to wait cancellation (927ab33 Azat Khuzhin)
/freebsd/contrib/libevent/
H A Dlistener.c80 evconnlistener_errorcb errorcb; member
274 lev->errorcb = NULL; in evconnlistener_free()
386 evconnlistener_errorcb errorcb) in evconnlistener_set_error_cb() argument
389 lev->errorcb = errorcb; in evconnlistener_set_error_cb()
399 evconnlistener_errorcb errorcb; in listener_read_cb() local
444 if (lev->errorcb != NULL) { in listener_read_cb()
446 errorcb = lev->errorcb; in listener_read_cb()
449 errorcb(lev, user_data); in listener_read_cb()
617 evconnlistener_errorcb errorcb=NULL; in accepted_socket_invoke_user_cb() local
635 errorcb = lev->errorcb; in accepted_socket_invoke_user_cb()
[all …]
H A Dbufferevent.c159 bufev->errorcb) { in bufferevent_run_deferred_callbacks_locked()
163 bufev->errorcb(bufev, BEV_EVENT_CONNECTED, bufev->cbarg); in bufferevent_run_deferred_callbacks_locked()
174 if (bufev_private->eventcb_pending && bufev->errorcb) { in bufferevent_run_deferred_callbacks_locked()
180 bufev->errorcb(bufev, what, bufev->cbarg); in bufferevent_run_deferred_callbacks_locked()
196 bufev->errorcb) { in bufferevent_run_deferred_callbacks_unlocked()
199 bufferevent_event_cb errorcb = bufev->errorcb; in bufferevent_run_deferred_callbacks_unlocked() local
202 UNLOCKED(errorcb(bufev, BEV_EVENT_CONNECTED, cbarg)); in bufferevent_run_deferred_callbacks_unlocked()
217 if (bufev_private->eventcb_pending && bufev->errorcb) { in bufferevent_run_deferred_callbacks_unlocked()
218 bufferevent_event_cb errorcb = bufev->errorcb; in bufferevent_run_deferred_callbacks_unlocked() local
225 UNLOCKED(errorcb(bufev,what,cbarg)); in bufferevent_run_deferred_callbacks_unlocked()
[all …]
H A Dbufferevent_filter.c248 if (bevf->underlying->errorcb == be_filter_eventcb) in be_filter_unlink()
H A Dbufferevent_openssl.c1219 if (bev_ssl->underlying->errorcb == be_openssl_eventcb) in be_openssl_unlink()
/freebsd/contrib/pf/libevent/
H A Devbuffer.c148 (*bufev->errorcb)(bufev, what, bufev->cbarg); in bufferevent_readcb()
207 (*bufev->errorcb)(bufev, what, bufev->cbarg); in bufferevent_writecb()
223 everrorcb errorcb, void *cbarg) in bufferevent_new() argument
246 bufev->errorcb = errorcb; in bufferevent_new()
H A Devent.h251 everrorcb errorcb; member
261 evbuffercb readcb, evbuffercb writecb, everrorcb errorcb, void *cbarg);
/freebsd/contrib/ntp/sntp/libevent/test/
H A Dbench_httpclient.c70 static void errorcb(struct bufferevent *b, short what, void *arg);
84 errorcb(struct bufferevent *b, short what, void *arg) in errorcb() function
167 bufferevent_setcb(b, readcb, NULL, errorcb, ri); in launch_request()
H A Dregress_zlib.c271 errorcb(struct bufferevent *bev, short what, void *arg) in errorcb() function
311 bufferevent_setcb(bev1, readcb, writecb, errorcb, NULL); in test_bufferevent_zlib()
312 bufferevent_setcb(bev2, readcb, writecb, errorcb, NULL); in test_bufferevent_zlib()
H A Dregress_bufferevent.c133 errorcb(struct bufferevent *bev, short what, void *arg) in errorcb() function
151 bufferevent_setcb(bev1, readcb, writecb, errorcb, bev1); in test_bufferevent_impl()
152 bufferevent_setcb(bev2, readcb, writecb, errorcb, NULL); in test_bufferevent_impl()
158 bev1 = bufferevent_new(pair[0], readcb, writecb, errorcb, NULL); in test_bufferevent_impl()
159 bev2 = bufferevent_new(pair[1], readcb, writecb, errorcb, NULL); in test_bufferevent_impl()
174 tt_ptr_op(e, ==, errorcb); 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()
H A Dregress_listener.c148 errorcb(struct evconnlistener *lis, void *data_) in errorcb() function
177 evconnlistener_set_error_cb(listener, errorcb); in regress_listener_error()
/freebsd/contrib/libevent/test/
H A Dbench_httpclient.c70 static void errorcb(struct bufferevent *b, short what, void *arg);
84 errorcb(struct bufferevent *b, short what, void *arg) in errorcb() function
167 bufferevent_setcb(b, readcb, NULL, errorcb, ri); in launch_request()
H A Dregress_zlib.c271 errorcb(struct bufferevent *bev, short what, void *arg) in errorcb() function
311 bufferevent_setcb(bev1, readcb, writecb, errorcb, NULL); in test_bufferevent_zlib()
312 bufferevent_setcb(bev2, readcb, writecb, errorcb, NULL); in test_bufferevent_zlib()
H A Dregress_bufferevent.c133 errorcb(struct bufferevent *bev, short what, void *arg) in errorcb() function
151 bufferevent_setcb(bev1, readcb, writecb, errorcb, bev1); in test_bufferevent_impl()
152 bufferevent_setcb(bev2, readcb, writecb, errorcb, NULL); in test_bufferevent_impl()
158 bev1 = bufferevent_new(pair[0], readcb, writecb, errorcb, NULL); in test_bufferevent_impl()
159 bev2 = bufferevent_new(pair[1], readcb, writecb, errorcb, NULL); in test_bufferevent_impl()
174 tt_ptr_op(e, ==, errorcb); 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()
H A Dregress_listener.c148 errorcb(struct evconnlistener *lis, void *data_) in errorcb() function
177 evconnlistener_set_error_cb(listener, errorcb); in regress_listener_error()
/freebsd/contrib/ntp/sntp/libevent/include/event2/
H A Dbufferevent_struct.h101 bufferevent_event_cb errorcb; member
H A Dbufferevent_compat.h79 evbuffercb readcb, evbuffercb writecb, everrorcb errorcb, void *cbarg);
H A Dlistener.h186 evconnlistener_errorcb errorcb);
/freebsd/contrib/libevent/include/event2/
H A Dbufferevent_struct.h101 bufferevent_event_cb errorcb; member
H A Dbufferevent_compat.h79 evbuffercb readcb, evbuffercb writecb, everrorcb errorcb, void *cbarg);
H A Dlistener.h186 evconnlistener_errorcb errorcb);

12