Home
last modified time | relevance | path

Searched refs:nap_milliseconds (Results 1 – 3 of 3) sorted by relevance

/third_party/openssl/doc/man3/
DBIO_socket_wait.pod17 int BIO_wait(BIO *bio, time_t max_time, unsigned int nap_milliseconds);
18 int BIO_do_connect_retry(BIO *bio, int timeout, int nap_milliseconds);
31 at most the given B<nap_milliseconds> in order to avoid a tight busy loop.
32 Via B<nap_milliseconds> the caller determines the polling granularity.
38 every B<nap_milliseconds> and sleeps in between using BIO_wait().
39 If B<nap_milliseconds> is < 0 then a default value of 100 ms is used.
/third_party/openssl/crypto/bio/
Dbio_lib.c861 static int bio_wait(BIO *bio, time_t max_time, unsigned int nap_milliseconds) in bio_wait() argument
883 if (nap_milliseconds > 1000) in bio_wait()
884 nap_milliseconds = 1000; in bio_wait()
886 if ((unsigned long)sec_diff * 1000 < nap_milliseconds) in bio_wait()
887 nap_milliseconds = (unsigned int)sec_diff * 1000; in bio_wait()
889 ossl_sleep(nap_milliseconds); in bio_wait()
901 int BIO_wait(BIO *bio, time_t max_time, unsigned int nap_milliseconds) in BIO_wait() argument
903 int rv = bio_wait(bio, max_time, nap_milliseconds); in BIO_wait()
919 int BIO_do_connect_retry(BIO *bio, int timeout, int nap_milliseconds) in BIO_do_connect_retry() argument
930 if (nap_milliseconds < 0) in BIO_do_connect_retry()
[all …]
/third_party/openssl/include/openssl/
Dbio.h.in686 int BIO_wait(BIO *bio, time_t max_time, unsigned int nap_milliseconds);
687 int BIO_do_connect_retry(BIO *bio, int timeout, int nap_milliseconds);