Home
last modified time | relevance | path

Searched refs:atmost (Results 1 – 4 of 4) sorted by relevance

/freebsd/contrib/ntp/sntp/libevent/
H A Dbufferevent_openssl.c588 int r, n, i, n_used = 0, atmost; in do_read() local
595 atmost = bufferevent_get_read_max_(&bev_ssl->bev); in do_read()
596 if (n_to_read > atmost) in do_read()
597 n_to_read = atmost; in do_read()
654 do_write(struct bufferevent_openssl *bev_ssl, int atmost) in do_write() argument
663 atmost = bev_ssl->last_write; in do_write()
665 atmost = bufferevent_get_write_max_(&bev_ssl->bev); in do_write()
667 n = evbuffer_peek(output, atmost, NULL, space, 8); in do_write()
H A Dbufferevent_sock.c237 ev_ssize_t atmost = -1; in bufferevent_writecb() local
288 atmost = bufferevent_get_write_max_(bufev_p); in bufferevent_writecb()
295 res = evbuffer_write_atmost(bufev->output, fd, atmost); in bufferevent_writecb()
/freebsd/contrib/libevent/
H A Dbufferevent_openssl.c588 int r, n, i, n_used = 0, atmost; in do_read() local
595 atmost = bufferevent_get_read_max_(&bev_ssl->bev); in do_read()
596 if (n_to_read > atmost) in do_read()
597 n_to_read = atmost; in do_read()
654 do_write(struct bufferevent_openssl *bev_ssl, int atmost) in do_write() argument
663 atmost = bev_ssl->last_write; in do_write()
665 atmost = bufferevent_get_write_max_(&bev_ssl->bev); in do_write()
667 n = evbuffer_peek(output, atmost, NULL, space, 8); in do_write()
H A Dbufferevent_sock.c237 ev_ssize_t atmost = -1; in bufferevent_writecb() local
288 atmost = bufferevent_get_write_max_(bufev_p); in bufferevent_writecb()
295 res = evbuffer_write_atmost(bufev->output, fd, atmost); in bufferevent_writecb()