/freebsd/contrib/ntp/sntp/libevent/ |
H A D | listener.c | 80 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 D | bufferevent.c | 159 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 D | bufferevent_filter.c | 248 if (bevf->underlying->errorcb == be_filter_eventcb) in be_filter_unlink()
|
H A D | bufferevent_openssl.c | 1219 if (bev_ssl->underlying->errorcb == be_openssl_eventcb) in be_openssl_unlink()
|
H A D | ChangeLog | 531 o test/http: exit from the loop in the errorcb to wait cancellation (927ab33 Azat Khuzhin)
|
/freebsd/contrib/libevent/ |
H A D | listener.c | 80 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 D | bufferevent.c | 159 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 D | bufferevent_filter.c | 248 if (bevf->underlying->errorcb == be_filter_eventcb) in be_filter_unlink()
|
H A D | bufferevent_openssl.c | 1219 if (bev_ssl->underlying->errorcb == be_openssl_eventcb) in be_openssl_unlink()
|
/freebsd/contrib/pf/libevent/ |
H A D | evbuffer.c | 148 (*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 D | event.h | 251 everrorcb errorcb; member 261 evbuffercb readcb, evbuffercb writecb, everrorcb errorcb, void *cbarg);
|
/freebsd/contrib/ntp/sntp/libevent/test/ |
H A D | bench_httpclient.c | 70 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 D | regress_zlib.c | 271 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 D | regress_bufferevent.c | 133 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 D | regress_listener.c | 148 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 D | bench_httpclient.c | 70 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 D | regress_zlib.c | 271 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 D | regress_bufferevent.c | 133 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 D | regress_listener.c | 148 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 D | bufferevent_struct.h | 101 bufferevent_event_cb errorcb; member
|
H A D | bufferevent_compat.h | 79 evbuffercb readcb, evbuffercb writecb, everrorcb errorcb, void *cbarg);
|
H A D | listener.h | 186 evconnlistener_errorcb errorcb);
|
/freebsd/contrib/libevent/include/event2/ |
H A D | bufferevent_struct.h | 101 bufferevent_event_cb errorcb; member
|
H A D | bufferevent_compat.h | 79 evbuffercb readcb, evbuffercb writecb, everrorcb errorcb, void *cbarg);
|
H A D | listener.h | 186 evconnlistener_errorcb errorcb);
|