Searched refs:tv (Results 1 – 2 of 2) sorted by relevance
489 struct timeval tv; in mbedtls_net_poll() local527 tv.tv_sec = timeout / 1000; in mbedtls_net_poll()528 tv.tv_usec = ( timeout % 1000 ) * 1000; in mbedtls_net_poll()557 struct timeval tv; in mbedtls_net_usleep()558 tv.tv_sec = usec / 1000000; in mbedtls_net_usleep()561 tv.tv_usec = (suseconds_t) usec % 1000000; in mbedtls_net_usleep()563 tv.tv_usec = usec % 1000000; in mbedtls_net_usleep()565 select( 0, NULL, NULL, NULL, &tv ); in mbedtls_net_usleep()613 struct timeval tv; in mbedtls_net_recv_timeout() local624 tv.tv_sec = timeout / 1000; in mbedtls_net_recv_timeout()[all …]
87 struct timeval tv; in s_fortuna_current_time() local88 gettimeofday(&tv, NULL); in s_fortuna_current_time()89 cur_time = (ulong64)(tv.tv_sec) * 1000000 + (ulong64)(tv.tv_usec); /* get microseconds */ in s_fortuna_current_time()
Completed in 4 milliseconds