Searched refs:current_time (Results 1 – 2 of 2) sorted by relevance
/glibc-2.36/inet/ |
D | tst-deadline.c | 49 struct deadline_current_time current_time = __deadline_current_time (); in do_test() local 50 TEST_VERIFY (current_time.current.tv_sec >= 0); in do_test() 51 current_time = __deadline_current_time (); in do_test() 55 TEST_VERIFY (current_time.current.tv_sec >= 0); in do_test() 56 TEST_VERIFY (current_time.current.tv_sec > 0 in do_test() 57 || current_time.current.tv_nsec > 0); in do_test() 61 struct deadline_current_time current_time = { { 1, 123456789 } }; in do_test() local 63 (current_time, (struct timeval) { 0, 1 }); in do_test() 66 TEST_VERIFY (__deadline_to_ms (current_time, deadline) == 1); in do_test() 69 (current_time, ((struct timeval) { 0, 2 })); in do_test() [all …]
|
/glibc-2.36/sunrpc/ |
D | clnt_udp.c | 293 struct deadline_current_time current_time = __deadline_current_time (); in clntudp_call() local 321 total_deadline = __deadline_from_timeval (current_time, tv); in clntudp_call() 354 current_time = __deadline_current_time (); in clntudp_call() 356 response_deadline = __deadline_from_timeval (current_time, cu->cu_wait); in clntudp_call() 372 if (__deadline_elapsed (current_time, total_deadline)) in clntudp_call() 376 (current_time, __deadline_first (total_deadline, in clntudp_call() 387 milliseconds = __deadline_to_ms (current_time, response_deadline); in clntudp_call() 485 current_time = __deadline_current_time (); in clntudp_call()
|