Home
last modified time | relevance | path

Searched refs:tsnow (Results 1 - 6 of 6) sorted by relevance

/third_party/mesa3d/src/util/
H A Dfutex.h107 struct timespec tsnow, tsrel; in futex_wait() local
112 clock_gettime(CLOCK_MONOTONIC, &tsnow); in futex_wait()
113 if (timespeccmp(&tsnow, timeout, <)) in futex_wait()
114 timespecsub(timeout, &tsnow, &tsrel); in futex_wait()
146 struct timespec tsnow; in futex_wait() local
147 timespec_get(&tsnow, TIME_UTC); in futex_wait()
149 timeout_ms = (timeout->tv_sec - tsnow.tv_nsec) * 1000 + in futex_wait()
150 (timeout->tv_nsec - tsnow.tv_nsec) / 1000000; in futex_wait()
/third_party/curl/lib/
H A Dtimeval.c76 struct timespec tsnow; in Curl_now() local
96 (0 == clock_gettime(CLOCK_MONOTONIC_RAW, &tsnow))) { in Curl_now()
97 cnow.tv_sec = tsnow.tv_sec; in Curl_now()
98 cnow.tv_usec = (unsigned int)(tsnow.tv_nsec / 1000); in Curl_now()
108 (0 == clock_gettime(CLOCK_MONOTONIC, &tsnow))) { in Curl_now()
109 cnow.tv_sec = tsnow.tv_sec; in Curl_now()
110 cnow.tv_usec = (unsigned int)(tsnow.tv_nsec / 1000); in Curl_now()
/third_party/node/deps/cares/src/lib/
H A Dares__timeval.c59 struct timespec tsnow; in ares__tvnow() local
60 if (0 == clock_gettime(CLOCK_MONOTONIC, &tsnow)) { in ares__tvnow()
61 now.tv_sec = tsnow.tv_sec; in ares__tvnow()
62 now.tv_usec = (int)(tsnow.tv_nsec / 1000); in ares__tvnow()
/third_party/curl/src/
H A Dtool_util.c76 struct timespec tsnow; in tvnow() local
77 if(0 == clock_gettime(CLOCK_MONOTONIC, &tsnow)) { in tvnow()
78 now.tv_sec = tsnow.tv_sec; in tvnow()
79 now.tv_usec = (int)(tsnow.tv_nsec / 1000); in tvnow()
/third_party/curl/tests/libtest/
H A Dtestutil.c57 struct timespec tsnow; in tutil_tvnow() local
58 if(0 == clock_gettime(CLOCK_MONOTONIC, &tsnow)) { in tutil_tvnow()
59 now.tv_sec = tsnow.tv_sec; in tutil_tvnow()
60 now.tv_usec = (int)(tsnow.tv_nsec / 1000); in tutil_tvnow()
/third_party/curl/tests/server/
H A Dutil.c406 struct timespec tsnow; in tvnow() local
407 if(0 == clock_gettime(CLOCK_MONOTONIC, &tsnow)) { in tvnow()
408 now.tv_sec = tsnow.tv_sec; in tvnow()
409 now.tv_usec = (int)(tsnow.tv_nsec / 1000); in tvnow()

Completed in 3 milliseconds