Home
last modified time | relevance | path

Searched refs:n_to_read (Results 1 – 2 of 2) sorted by relevance

/freebsd/contrib/ntp/sntp/libevent/
H A Dbufferevent_openssl.c584 do_read(struct bufferevent_openssl *bev_ssl, int n_to_read) { in do_read() argument
596 if (n_to_read > atmost) in do_read()
597 n_to_read = atmost; in do_read()
599 n = evbuffer_reserve_space(input, n_to_read, space, 2); in do_read()
788 int n_to_read; in consider_reading() local
799 n_to_read = bytes_to_read(bev_ssl); in consider_reading()
801 while (n_to_read) { in consider_reading()
802 r = do_read(bev_ssl, n_to_read); in consider_reading()
819 n_to_read = SSL_pending(bev_ssl->ssl); in consider_reading()
835 if (!n_to_read && bev_ssl->underlying) in consider_reading()
[all …]
/freebsd/contrib/libevent/
H A Dbufferevent_openssl.c584 do_read(struct bufferevent_openssl *bev_ssl, int n_to_read) { in do_read() argument
596 if (n_to_read > atmost) in do_read()
597 n_to_read = atmost; in do_read()
599 n = evbuffer_reserve_space(input, n_to_read, space, 2); in do_read()
788 int n_to_read; in consider_reading() local
799 n_to_read = bytes_to_read(bev_ssl); in consider_reading()
801 while (n_to_read) { in consider_reading()
802 r = do_read(bev_ssl, n_to_read); in consider_reading()
819 n_to_read = SSL_pending(bev_ssl->ssl); in consider_reading()
835 if (!n_to_read && bev_ssl->underlying) in consider_reading()
[all …]