Home
last modified time | relevance | path

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

/third_party/mesa3d/src/util/
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/
Dtimeval.c77 struct timespec tsnow; in Curl_now() local
97 (0 == clock_gettime(CLOCK_MONOTONIC_RAW, &tsnow))) { in Curl_now()
98 cnow.tv_sec = tsnow.tv_sec; in Curl_now()
99 cnow.tv_usec = (unsigned int)(tsnow.tv_nsec / 1000); in Curl_now()
109 (0 == clock_gettime(CLOCK_MONOTONIC, &tsnow))) { in Curl_now()
110 cnow.tv_sec = tsnow.tv_sec; in Curl_now()
111 cnow.tv_usec = (unsigned int)(tsnow.tv_nsec / 1000); in Curl_now()
/third_party/node/deps/cares/src/lib/
Dares__timeval.c47 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()
/third_party/curl/src/
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/
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/
Dutil.c418 struct timespec tsnow; in tvnow() local
419 if(0 == clock_gettime(CLOCK_MONOTONIC, &tsnow)) { in tvnow()
420 now.tv_sec = tsnow.tv_sec; in tvnow()
421 now.tv_usec = (int)(tsnow.tv_nsec / 1000); in tvnow()