Home
last modified time | relevance | path

Searched refs:cbarg (Results 1 – 13 of 13) sorted by relevance

/external/libevent/include/event2/
Drpc.h184 struct reqstruct *, struct rplystruct *, void *cbarg), \
197 void *cbarg);
214 pool, request, reply, cb, cbarg) \ argument
221 cbarg)
237 struct reqstruct *, struct rplystruct *, void *cbarg), \
238 void *cbarg) { \
241 cbarg, \
319 #define EVRPC_REGISTER(base, name, request, reply, callback, cbarg) \ argument
321 (void (*)(struct evrpc_req_generic *, void *))callback, cbarg, \
374 #define EVRPC_MAKE_REQUEST(name, pool, request, reply, cb, cbarg) \ argument
[all …]
Dbuffer_compat.h95 void evbuffer_setcb(struct evbuffer *buffer, evbuffer_cb cb, void *cbarg);
Dbufferevent_struct.h102 void *cbarg; member
Dbufferevent_compat.h76 evbuffercb readcb, evbuffercb writecb, everrorcb errorcb, void *cbarg);
Dbuffer.h906 struct evbuffer_cb_entry *evbuffer_add_cb(struct evbuffer *buffer, evbuffer_cb_func cb, void *cbarg
927 int evbuffer_remove_cb(struct evbuffer *buffer, evbuffer_cb_func cb, void *cbarg);
Dbufferevent.h325 bufferevent_event_cb eventcb, void *cbarg);
/external/libevent/
Dbufferevent.c145 bufev->errorcb(bufev, BEV_EVENT_CONNECTED, bufev->cbarg); in bufferevent_run_deferred_callbacks_locked()
149 bufev->readcb(bufev, bufev->cbarg); in bufferevent_run_deferred_callbacks_locked()
153 bufev->writecb(bufev, bufev->cbarg); in bufferevent_run_deferred_callbacks_locked()
161 bufev->errorcb(bufev, what, bufev->cbarg); in bufferevent_run_deferred_callbacks_locked()
181 void *cbarg = bufev->cbarg; in bufferevent_run_deferred_callbacks_unlocked() local
183 UNLOCKED(errorcb(bufev, BEV_EVENT_CONNECTED, cbarg)); in bufferevent_run_deferred_callbacks_unlocked()
187 void *cbarg = bufev->cbarg; in bufferevent_run_deferred_callbacks_unlocked() local
189 UNLOCKED(readcb(bufev, cbarg)); in bufferevent_run_deferred_callbacks_unlocked()
193 void *cbarg = bufev->cbarg; in bufferevent_run_deferred_callbacks_unlocked() local
195 UNLOCKED(writecb(bufev, cbarg)); in bufferevent_run_deferred_callbacks_unlocked()
[all …]
Dhttp-internal.h117 void *cbarg; member
Devrpc.c829 void *cbarg) in evrpc_make_request_ctx() argument
845 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()
Dbuffer.c506 info.orig_size, new_size, cbent->cbarg); in evbuffer_run_callbacks()
508 cbent->cb.cb_func(buffer, &info, cbent->cbarg); in evbuffer_run_callbacks()
3297 evbuffer_setcb(struct evbuffer *buffer, evbuffer_cb cb, void *cbarg) in evbuffer_setcb() argument
3306 evbuffer_add_cb(buffer, NULL, cbarg); in evbuffer_setcb()
3314 evbuffer_add_cb(struct evbuffer *buffer, evbuffer_cb_func cb, void *cbarg) in evbuffer_add_cb() argument
3321 e->cbarg = cbarg; in evbuffer_add_cb()
3340 evbuffer_remove_cb(struct evbuffer *buffer, evbuffer_cb_func cb, void *cbarg) in evbuffer_remove_cb() argument
3346 if (cb == cbent->cb.cb_func && cbarg == cbent->cbarg) { in evbuffer_remove_cb()
3424 cb->cb(buffer, sz, evbuffer_get_length(buffer), cb->cbarg);
Devbuffer-internal.h73 void *cbarg; member
Dbufferevent_sock.c562 bufferevent_event_cb eventcb, void *cbarg) in bufferevent_new() argument
569 bufferevent_setcb(bufev, readcb, writecb, eventcb, cbarg); in bufferevent_new()
Dhttp.c2502 void (*cb)(struct evhttp_connection *, void *), void *cbarg) in evhttp_connection_set_closecb() argument
2505 evcon->closecb_arg = cbarg; in evhttp_connection_set_closecb()
3438 (*cb->cb)(req, cb->cbarg); in evhttp_handle_request()
3855 void (*cb)(struct evhttp_request *, void *), void *cbarg) in evhttp_set_cb() argument
3876 http_cb->cbarg = cbarg; in evhttp_set_cb()
3904 void (*cb)(struct evhttp_request *, void *), void *cbarg) in evhttp_set_gencb() argument
3907 http->gencbarg = cbarg; in evhttp_set_gencb()
3912 struct bufferevent* (*cb)(struct event_base *, void *), void *cbarg) in evhttp_set_bevcb() argument
3915 http->bevcbarg = cbarg; in evhttp_set_bevcb()