Home
last modified time | relevance | path

Searched refs:writecb (Results 1 – 7 of 7) sorted by relevance

/external/libevent/
Dbufferevent.c151 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()
Dbufferevent_sock.c561 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/
Dregress_zlib.c263 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()
Dregress_bufferevent.c112 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/
Dbufferevent_struct.h98 bufferevent_data_cb writecb; member
Dbufferevent_compat.h76 evbuffercb readcb, evbuffercb writecb, everrorcb errorcb, void *cbarg);
Dbufferevent.h324 bufferevent_data_cb readcb, bufferevent_data_cb writecb,