/external/libevent/ |
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 …]
|
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 …]
|
D | bufferevent_filter.c | 248 if (bevf->underlying->errorcb == be_filter_eventcb) in be_filter_unlink()
|
D | bufferevent_openssl.c | 1219 if (bev_ssl->underlying->errorcb == be_openssl_eventcb) in be_openssl_unlink()
|
D | ChangeLog | 531 o test/http: exit from the loop in the errorcb to wait cancellation (927ab33 Azat Khuzhin)
|
/external/libevent/test/ |
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()
|
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()
|
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()
|
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()
|
/external/libcups/cups/ |
D | ipp-vars.c | 165 _ipp_ferror_cb_t errorcb, /* I - Error callback */ in _ippVarsInit() argument 171 v->errorcb = errorcb; in _ippVarsInit()
|
D | ipp-private.h | 175 _ipp_ferror_cb_t errorcb; /* Error callback */ member 207 extern void _ippVarsInit(_ipp_vars_t *v, _ipp_fattr_cb_t attrcb, _ipp_ferror_cb_t errorcb, _ipp_ft…
|
D | ipp-file.c | 842 if (v->errorcb) in report_error() 843 (*v->errorcb)(f, user_data, buffer); in report_error()
|
/external/python/cpython3/Modules/cjkcodecs/ |
D | multibytecodec.c | 558 PyObject *errorcb, *r, *ucvt; in _multibytecodec_MultibyteCodec_encode_impl() local 581 errorcb = internal_error_callback(errors); in _multibytecodec_MultibyteCodec_encode_impl() 582 if (errorcb == NULL) { in _multibytecodec_MultibyteCodec_encode_impl() 591 input, NULL, errorcb, in _multibytecodec_MultibyteCodec_encode_impl() 596 ERROR_DECREF(errorcb); in _multibytecodec_MultibyteCodec_encode_impl() 601 ERROR_DECREF(errorcb); in _multibytecodec_MultibyteCodec_encode_impl() 628 PyObject *errorcb, *res; in _multibytecodec_MultibyteCodec_decode_impl() local 635 errorcb = internal_error_callback(errors); in _multibytecodec_MultibyteCodec_decode_impl() 636 if (errorcb == NULL) { in _multibytecodec_MultibyteCodec_decode_impl() 641 ERROR_DECREF(errorcb); in _multibytecodec_MultibyteCodec_decode_impl() [all …]
|
/external/python/cpython2/Modules/cjkcodecs/ |
D | multibytecodec.c | 548 PyObject *errorcb, *r, *arg, *ucvt; in MultibyteCodec_Encode() local 573 errorcb = internal_error_callback(errors); in MultibyteCodec_Encode() 574 if (errorcb == NULL) { in MultibyteCodec_Encode() 583 (const Py_UNICODE **)&data, datalen, errorcb, in MultibyteCodec_Encode() 588 ERROR_DECREF(errorcb); in MultibyteCodec_Encode() 593 ERROR_DECREF(errorcb); in MultibyteCodec_Encode() 604 PyObject *errorcb; in MultibyteCodec_Decode() local 615 errorcb = internal_error_callback(errors); in MultibyteCodec_Decode() 616 if (errorcb == NULL) { in MultibyteCodec_Decode() 623 ERROR_DECREF(errorcb); in MultibyteCodec_Decode() [all …]
|
/external/libevent/include/event2/ |
D | bufferevent_struct.h | 101 bufferevent_event_cb errorcb; member
|
D | bufferevent_compat.h | 79 evbuffercb readcb, evbuffercb writecb, everrorcb errorcb, void *cbarg);
|
D | listener.h | 186 evconnlistener_errorcb errorcb);
|