Home
last modified time | relevance | path

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

/freebsd/contrib/ntp/sntp/libevent/
H A Dbufferevent.c170 if (bufev_private->writecb_pending && bufev->writecb) { in bufferevent_run_deferred_callbacks_locked()
172 bufev->writecb(bufev, bufev->cbarg); in bufferevent_run_deferred_callbacks_locked()
211 if (bufev_private->writecb_pending && bufev->writecb) { in bufferevent_run_deferred_callbacks_unlocked()
212 bufferevent_data_cb writecb = bufev->writecb; in bufferevent_run_deferred_callbacks_unlocked() local
215 UNLOCKED(writecb(bufev, cbarg)); in bufferevent_run_deferred_callbacks_unlocked()
261 if (bufev->writecb == NULL) in bufferevent_run_writecb_()
267 bufev->writecb(bufev, bufev->cbarg); in bufferevent_run_writecb_()
390 bufferevent_data_cb readcb, bufferevent_data_cb writecb, in bufferevent_setcb() argument
396 bufev->writecb = writecb; in bufferevent_setcb()
414 *writecb_ptr = bufev->writecb; in bufferevent_getcb()
H A 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()
/freebsd/contrib/libevent/
H A Dbufferevent.c170 if (bufev_private->writecb_pending && bufev->writecb) { in bufferevent_run_deferred_callbacks_locked()
172 bufev->writecb(bufev, bufev->cbarg); in bufferevent_run_deferred_callbacks_locked()
211 if (bufev_private->writecb_pending && bufev->writecb) { in bufferevent_run_deferred_callbacks_unlocked()
212 bufferevent_data_cb writecb = bufev->writecb; in bufferevent_run_deferred_callbacks_unlocked() local
215 UNLOCKED(writecb(bufev, cbarg)); in bufferevent_run_deferred_callbacks_unlocked()
261 if (bufev->writecb == NULL) in bufferevent_run_writecb_()
267 bufev->writecb(bufev, bufev->cbarg); in bufferevent_run_writecb_()
390 bufferevent_data_cb readcb, bufferevent_data_cb writecb, in bufferevent_setcb() argument
396 bufev->writecb = writecb; in bufferevent_setcb()
414 *writecb_ptr = bufev->writecb; in bufferevent_getcb()
H A 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()
/freebsd/contrib/pf/libevent/
H A Devbuffer.c195 if (bufev->writecb != NULL && in bufferevent_writecb()
197 (*bufev->writecb)(bufev, bufev->cbarg); in bufferevent_writecb()
222 bufferevent_new(int fd, evbuffercb readcb, evbuffercb writecb, in bufferevent_new() argument
245 bufev->writecb = writecb; in bufferevent_new()
H A Devent.h250 evbuffercb writecb; member
261 evbuffercb readcb, evbuffercb writecb, everrorcb errorcb, void *cbarg);
/freebsd/contrib/ntp/sntp/libevent/test/
H A 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()
H A Dregress_bufferevent.c125 writecb(struct bufferevent *bev, void *arg) in writecb() 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()
173 tt_ptr_op(w, ==, writecb); in test_bufferevent_impl()
580 bufferevent_setcb(bev1, NULL, writecb, errorcb, NULL); in test_bufferevent_filters_impl()
/freebsd/contrib/libevent/test/
H A 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()
H A Dregress_bufferevent.c125 writecb(struct bufferevent *bev, void *arg) in writecb() 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()
173 tt_ptr_op(w, ==, writecb); in test_bufferevent_impl()
580 bufferevent_setcb(bev1, NULL, writecb, errorcb, NULL); in test_bufferevent_filters_impl()
/freebsd/contrib/ntp/sntp/libevent/include/event2/
H A Dbufferevent_struct.h98 bufferevent_data_cb writecb; member
H A Dbufferevent_compat.h79 evbuffercb readcb, evbuffercb writecb, everrorcb errorcb, void *cbarg);
H A Dbufferevent.h324 bufferevent_data_cb readcb, bufferevent_data_cb writecb,
/freebsd/contrib/libevent/include/event2/
H A Dbufferevent_struct.h98 bufferevent_data_cb writecb; member
H A Dbufferevent_compat.h79 evbuffercb readcb, evbuffercb writecb, everrorcb errorcb, void *cbarg);
H A Dbufferevent.h324 bufferevent_data_cb readcb, bufferevent_data_cb writecb,