/external/libevent/include/event2/ |
D | rpc.h | 189 struct reqstruct *, struct rplystruct *, void *cbarg), \ 203 void *cbarg); 220 pool, request, reply, cb, cbarg) \ argument 227 cbarg) 243 struct reqstruct *, struct rplystruct *, void *cbarg), \ 244 void *cbarg) { \ 247 cbarg, \ 330 #define EVRPC_REGISTER(base, name, request, reply, callback, cbarg) \ argument 332 (void (*)(struct evrpc_req_generic *, void *))callback, cbarg, \ 387 #define EVRPC_MAKE_REQUEST(name, pool, request, reply, cb, cbarg) \ argument [all …]
|
D | buffer_compat.h | 96 int evbuffer_setcb(struct evbuffer *buffer, evbuffer_cb cb, void *cbarg);
|
D | bufferevent_struct.h | 102 void *cbarg; member
|
D | bufferevent_compat.h | 79 evbuffercb readcb, evbuffercb writecb, everrorcb errorcb, void *cbarg);
|
D | buffer.h | 907 struct evbuffer_cb_entry *evbuffer_add_cb(struct evbuffer *buffer, evbuffer_cb_func cb, void *cbarg… 928 int evbuffer_remove_cb(struct evbuffer *buffer, evbuffer_cb_func cb, void *cbarg);
|
D | bufferevent.h | 325 bufferevent_event_cb eventcb, void *cbarg);
|
/external/libevent/ |
D | bufferevent.c | 163 bufev->errorcb(bufev, BEV_EVENT_CONNECTED, bufev->cbarg); in bufferevent_run_deferred_callbacks_locked() 167 bufev->readcb(bufev, bufev->cbarg); in bufferevent_run_deferred_callbacks_locked() 172 bufev->writecb(bufev, bufev->cbarg); in bufferevent_run_deferred_callbacks_locked() 180 bufev->errorcb(bufev, what, bufev->cbarg); in bufferevent_run_deferred_callbacks_locked() 200 void *cbarg = bufev->cbarg; in bufferevent_run_deferred_callbacks_unlocked() local 202 UNLOCKED(errorcb(bufev, BEV_EVENT_CONNECTED, cbarg)); in bufferevent_run_deferred_callbacks_unlocked() 206 void *cbarg = bufev->cbarg; in bufferevent_run_deferred_callbacks_unlocked() local 208 UNLOCKED(readcb(bufev, cbarg)); in bufferevent_run_deferred_callbacks_unlocked() 213 void *cbarg = bufev->cbarg; in bufferevent_run_deferred_callbacks_unlocked() local 215 UNLOCKED(writecb(bufev, cbarg)); in bufferevent_run_deferred_callbacks_unlocked() [all …]
|
D | http-internal.h | 114 void *cbarg; member
|
D | evbuffer-internal.h | 73 void *cbarg; member
|
D | evrpc.c | 830 void *cbarg) in evrpc_make_request_ctx() argument 846 ctx->cb_arg = cbarg; in evrpc_make_request_ctx() 1133 void (*callback)(struct evrpc_req_generic *, void *), void *cbarg, in evrpc_register_generic() argument 1146 (void (*)(struct evrpc_req_generic*, void *))callback, cbarg); in evrpc_register_generic()
|
D | buffer.c | 507 info.orig_size, new_size, cbent->cbarg); in evbuffer_run_callbacks() 509 cbent->cb.cb_func(buffer, &info, cbent->cbarg); in evbuffer_run_callbacks() 3312 evbuffer_setcb(struct evbuffer *buffer, evbuffer_cb cb, void *cbarg) in evbuffer_setcb() argument 3321 evbuffer_add_cb(buffer, NULL, cbarg); in evbuffer_setcb() 3334 evbuffer_add_cb(struct evbuffer *buffer, evbuffer_cb_func cb, void *cbarg) in evbuffer_add_cb() argument 3341 e->cbarg = cbarg; in evbuffer_add_cb() 3360 evbuffer_remove_cb(struct evbuffer *buffer, evbuffer_cb_func cb, void *cbarg) in evbuffer_remove_cb() argument 3366 if (cb == cbent->cb.cb_func && cbarg == cbent->cbarg) { in evbuffer_remove_cb() 3444 cb->cb(buffer, sz, evbuffer_get_length(buffer), cb->cbarg);
|
D | bufferevent_sock.c | 554 bufferevent_event_cb eventcb, void *cbarg) in bufferevent_new() argument 561 bufferevent_setcb(bufev, readcb, writecb, eventcb, cbarg); in bufferevent_new()
|
D | http.c | 2543 void (*cb)(struct evhttp_connection *, void *), void *cbarg) in evhttp_connection_set_closecb() argument 2546 evcon->closecb_arg = cbarg; in evhttp_connection_set_closecb() 3495 (*cb->cb)(req, cb->cbarg); in evhttp_handle_request() 3915 void (*cb)(struct evhttp_request *, void *), void *cbarg) in evhttp_set_cb() argument 3936 http_cb->cbarg = cbarg; in evhttp_set_cb() 3964 void (*cb)(struct evhttp_request *, void *), void *cbarg) in evhttp_set_gencb() argument 3967 http->gencbarg = cbarg; in evhttp_set_gencb() 3972 struct bufferevent* (*cb)(struct event_base *, void *), void *cbarg) in evhttp_set_bevcb() argument 3975 http->bevcbarg = cbarg; in evhttp_set_bevcb()
|
/external/libevent/test/ |
D | regress_http.c | 135 void (*cb)(struct evhttp_request *, void *), void *cbarg) in http_setup_gencb() argument 151 evhttp_set_gencb(myhttp, cb, cbarg); in http_setup_gencb()
|