Searched refs:writecb (Results 1 – 7 of 7) sorted by relevance
/external/libevent/ |
D | bufferevent.c | 151 if (bufev_private->writecb_pending && bufev->writecb) { in bufferevent_run_deferred_callbacks_locked() 153 bufev->writecb(bufev, bufev->cbarg); in bufferevent_run_deferred_callbacks_locked() 191 if (bufev_private->writecb_pending && bufev->writecb) { in bufferevent_run_deferred_callbacks_unlocked() 192 bufferevent_data_cb writecb = bufev->writecb; in bufferevent_run_deferred_callbacks_unlocked() local 195 UNLOCKED(writecb(bufev, cbarg)); in bufferevent_run_deferred_callbacks_unlocked() 242 if (bufev->writecb == NULL) in bufferevent_run_writecb_() 248 bufev->writecb(bufev, bufev->cbarg); in bufferevent_run_writecb_() 368 bufferevent_data_cb readcb, bufferevent_data_cb writecb, in bufferevent_setcb() argument 374 bufev->writecb = writecb; in bufferevent_setcb() 392 *writecb_ptr = bufev->writecb; in bufferevent_getcb()
|
D | bufferevent_sock.c | 561 bufferevent_data_cb readcb, bufferevent_data_cb writecb, in bufferevent_new() argument 569 bufferevent_setcb(bufev, readcb, writecb, eventcb, cbarg); in bufferevent_new()
|
/external/libevent/test/ |
D | regress_zlib.c | 263 writecb(struct bufferevent *bev, void *arg) in writecb() 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 | 112 writecb(struct bufferevent *bev, void *arg) in writecb() function 138 bufferevent_setcb(bev1, readcb, writecb, errorcb, bev1); in test_bufferevent_impl() 139 bufferevent_setcb(bev2, readcb, writecb, errorcb, NULL); in test_bufferevent_impl() 145 bev1 = bufferevent_new(pair[0], readcb, writecb, errorcb, NULL); in test_bufferevent_impl() 146 bev2 = bufferevent_new(pair[1], readcb, writecb, errorcb, NULL); in test_bufferevent_impl() 160 tt_ptr_op(w, ==, writecb); in test_bufferevent_impl() 567 bufferevent_setcb(bev1, NULL, writecb, errorcb, NULL); in test_bufferevent_filters_impl()
|
/external/libevent/include/event2/ |
D | bufferevent_struct.h | 98 bufferevent_data_cb writecb; member
|
D | bufferevent_compat.h | 76 evbuffercb readcb, evbuffercb writecb, everrorcb errorcb, void *cbarg);
|
D | bufferevent.h | 324 bufferevent_data_cb readcb, bufferevent_data_cb writecb,
|