Home
last modified time | relevance | path

Searched refs:readcb (Results 1 – 12 of 12) sorted by relevance

/external/libevent/sample/
Dle-proxy.c53 readcb(struct bufferevent *bev, void *ctx) in readcb() function
71 bufferevent_setcb(partner, readcb, drained_writecb, in readcb()
86 bufferevent_setcb(bev, readcb, NULL, eventcb, partner); in drained_writecb()
126 readcb(bev, ctx); in eventcb()
203 bufferevent_setcb(b_in, readcb, NULL, eventcb, b_out); in accept_cb()
204 bufferevent_setcb(b_out, readcb, NULL, eventcb, b_in); in accept_cb()
/external/libevent/
Dbufferevent.c165 if (bufev_private->readcb_pending && bufev->readcb) { in bufferevent_run_deferred_callbacks_locked()
167 bufev->readcb(bufev, bufev->cbarg); in bufferevent_run_deferred_callbacks_locked()
204 if (bufev_private->readcb_pending && bufev->readcb) { in bufferevent_run_deferred_callbacks_unlocked()
205 bufferevent_data_cb readcb = bufev->readcb; in bufferevent_run_deferred_callbacks_unlocked() local
208 UNLOCKED(readcb(bufev, cbarg)); in bufferevent_run_deferred_callbacks_unlocked()
245 if (bufev->readcb == NULL) in bufferevent_run_readcb_()
251 bufev->readcb(bufev, bufev->cbarg); in bufferevent_run_readcb_()
390 bufferevent_data_cb readcb, bufferevent_data_cb writecb, in bufferevent_setcb() argument
395 bufev->readcb = readcb; in bufferevent_setcb()
412 *readcb_ptr = bufev->readcb; in bufferevent_getcb()
Dbufferevent_sock.c553 bufferevent_data_cb readcb, bufferevent_data_cb writecb, in bufferevent_new() argument
561 bufferevent_setcb(bufev, readcb, writecb, eventcb, cbarg); in bufferevent_new()
Dhttp.c1191 if (bev->readcb) in evhttp_deferred_read_cb()
1192 (bev->readcb)(evcon->bufev, evcon); in evhttp_deferred_read_cb()
DChangeLog-2.061 o Fixed potential double-readcb execution with openssl bufferevents. (4e62cd1 Mark Ellzey)
DChangeLog1490 o Fixed potential double-readcb execution with openssl bufferevents. (4e62cd1 Mark Ellzey)
/external/libevent/test/
Dbench_httpclient.c69 static void readcb(struct bufferevent *b, void *arg);
73 readcb(struct bufferevent *b, void *arg) in readcb() function
167 bufferevent_setcb(b, readcb, NULL, errorcb, ri); in launch_request()
Dregress_zlib.c243 readcb(struct bufferevent *bev, void *arg) in readcb() 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.c105 readcb(struct bufferevent *bev, void *arg) in readcb() 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()
172 tt_ptr_op(r, ==, readcb); in test_bufferevent_impl()
581 bufferevent_setcb(bev2, readcb, NULL, errorcb, NULL); in test_bufferevent_filters_impl()
/external/libevent/include/event2/
Dbufferevent_struct.h97 bufferevent_data_cb readcb; member
Dbufferevent_compat.h79 evbuffercb readcb, evbuffercb writecb, everrorcb errorcb, void *cbarg);
Dbufferevent.h324 bufferevent_data_cb readcb, bufferevent_data_cb writecb,