Home
last modified time | relevance | path

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

/crypto/bio/
A Dbss_dgram.c323 struct timeval tv; in dgram_adjust_rcv_timeout()
324 socklen_t sz = sizeof(tv); in dgram_adjust_rcv_timeout()
351 tv = ossl_time_to_timeval(timeleft); in dgram_adjust_rcv_timeout()
353 sizeof(tv)) < 0) in dgram_adjust_rcv_timeout()
400 if (setsockopt(b->num, SOL_SOCKET, SO_RCVTIMEO, &tv, sizeof(tv)) < 0) in dgram_reset_rcv_timeout()
780 int timeout = tv->tv_sec * 1000 + tv->tv_usec / 1000; in dgram_ctrl()
807 tv->tv_sec = timeout / 1000; in dgram_ctrl()
809 ret = sizeof(*tv); in dgram_ctrl()
830 int timeout = tv->tv_sec * 1000 + tv->tv_usec / 1000; in dgram_ctrl()
857 tv->tv_sec = timeout / 1000; in dgram_ctrl()
[all …]
A Dbio_sock.c435 struct timeval tv; in BIO_socket_wait() local
453 tv.tv_usec = 0; in BIO_socket_wait()
454 tv.tv_sec = (long)(max_time - now); /* might overflow */ in BIO_socket_wait()
456 for_read ? NULL : &confds, NULL, &tv); in BIO_socket_wait()
/crypto/conf/
A Dconf_def.c219 CONF_VALUE *v = NULL, *tv; in def_load_bio() local
544 if ((tv = _CONF_get_section(conf, psection)) in def_load_bio()
546 tv = _CONF_new_section(conf, psection); in def_load_bio()
547 if (tv == NULL) { in def_load_bio()
553 tv = sv; in def_load_bio()
554 if (_CONF_add_string(conf, tv, v) == 0) { in def_load_bio()
/crypto/ts/
A Dts_rsp_sign.c66 struct timeval tv; in def_time_cb() local
76 tv = ossl_time_to_timeval(t); in def_time_cb()
77 *sec = (long int)tv.tv_sec; in def_time_cb()
78 *usec = (long int)tv.tv_usec; in def_time_cb()

Completed in 17 milliseconds