Home
last modified time | relevance | path

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

/external/libevent/
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 …]
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 …]
Dbufferevent_filter.c248 if (bevf->underlying->errorcb == be_filter_eventcb) in be_filter_unlink()
Dbufferevent_openssl.c1219 if (bev_ssl->underlying->errorcb == be_openssl_eventcb) in be_openssl_unlink()
DChangeLog531 o test/http: exit from the loop in the errorcb to wait cancellation (927ab33 Azat Khuzhin)
/external/libevent/test/
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()
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()
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()
Dregress_listener.c148 errorcb(struct evconnlistener *lis, void *data_) in errorcb() function
177 evconnlistener_set_error_cb(listener, errorcb); in regress_listener_error()
/external/libcups/cups/
Dipp-vars.c165 _ipp_ferror_cb_t errorcb, /* I - Error callback */ in _ippVarsInit() argument
171 v->errorcb = errorcb; in _ippVarsInit()
Dipp-private.h175 _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…
Dipp-file.c842 if (v->errorcb) in report_error()
843 (*v->errorcb)(f, user_data, buffer); in report_error()
/external/python/cpython3/Modules/cjkcodecs/
Dmultibytecodec.c558 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/
Dmultibytecodec.c548 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/
Dbufferevent_struct.h101 bufferevent_event_cb errorcb; member
Dbufferevent_compat.h79 evbuffercb readcb, evbuffercb writecb, everrorcb errorcb, void *cbarg);
Dlistener.h186 evconnlistener_errorcb errorcb);