Searched refs:tsnow (Results 1 – 6 of 6) sorted by relevance
/external/rust/crates/grpcio-sys/grpc/third_party/cares/cares/ |
D | ares__timeval.c | 47 struct timespec tsnow; in ares__tvnow() local 48 if(0 == clock_gettime(CLOCK_MONOTONIC, &tsnow)) { in ares__tvnow() 49 now.tv_sec = tsnow.tv_sec; in ares__tvnow() 50 now.tv_usec = tsnow.tv_nsec / 1000; in ares__tvnow()
|
/external/curl/tests/libtest/ |
D | testutil.c | 55 struct timespec tsnow; in tutil_tvnow() local 56 if(0 == clock_gettime(CLOCK_MONOTONIC, &tsnow)) { in tutil_tvnow() 57 now.tv_sec = tsnow.tv_sec; in tutil_tvnow() 58 now.tv_usec = (int)(tsnow.tv_nsec / 1000); in tutil_tvnow()
|
/external/curl/src/ |
D | tool_util.c | 74 struct timespec tsnow; in tvnow() local 75 if(0 == clock_gettime(CLOCK_MONOTONIC, &tsnow)) { in tvnow() 76 now.tv_sec = tsnow.tv_sec; in tvnow() 77 now.tv_usec = (int)(tsnow.tv_nsec / 1000); in tvnow()
|
/external/mesa3d/src/util/ |
D | futex.h | 103 struct timespec tsnow, tsrel; in futex_wait() local 108 clock_gettime(CLOCK_MONOTONIC, &tsnow); in futex_wait() 109 if (timespeccmp(&tsnow, timeout, <)) in futex_wait() 110 timespecsub(timeout, &tsnow, &tsrel); in futex_wait()
|
/external/curl/lib/ |
D | timeval.c | 74 struct timespec tsnow; in Curl_now() local 91 (0 == clock_gettime(CLOCK_MONOTONIC, &tsnow))) { in Curl_now() 92 cnow.tv_sec = tsnow.tv_sec; in Curl_now() 93 cnow.tv_usec = (unsigned int)(tsnow.tv_nsec / 1000); in Curl_now()
|
/external/curl/tests/server/ |
D | util.c | 476 struct timespec tsnow; in tvnow() local 477 if(0 == clock_gettime(CLOCK_MONOTONIC, &tsnow)) { in tvnow() 478 now.tv_sec = tsnow.tv_sec; in tvnow() 479 now.tv_usec = (int)(tsnow.tv_nsec / 1000); in tvnow()
|