Searched refs:CLOCK_REALTIME (Results 1 – 10 of 10) sorted by relevance
/bionic/libc/kernel/uapi/linux/ |
D | time.h | 55 #define CLOCK_REALTIME 0 macro 71 #define CLOCKS_MASK (CLOCK_REALTIME | CLOCK_MONOTONIC)
|
/bionic/libc/bionic/ |
D | pthread_cond.cpp | 64 *attr |= (CLOCK_REALTIME << 1); in pthread_condattr_init() 88 if (clock != CLOCK_MONOTONIC && clock != CLOCK_REALTIME) { in pthread_condattr_setclock()
|
D | pthread_rwlock.cpp | 74 if (__timespec_from_absolute(rel_timeout, abs_timeout, CLOCK_REALTIME) < 0) { in timespec_from_absolute()
|
D | semaphore.c | 299 clock_gettime( CLOCK_REALTIME, &ts ); in sem_timedwait()
|
D | libc_logging.cpp | 506 clock_gettime(CLOCK_REALTIME, &ts); in __libc_write_log() 568 clock_gettime(CLOCK_REALTIME, &ts); in __libc_android_log_event()
|
D | pthread_mutex.cpp | 743 return __pthread_mutex_timedlock(mutex, abs_timeout, CLOCK_REALTIME); in pthread_mutex_timedlock()
|
D | getentropy_linux.c | 320 CLOCK_REALTIME,
|
/bionic/libc/upstream-netbsd/lib/libc/isc/ |
D | ev_timers.c | 126 #ifdef CLOCK_REALTIME in evNowTime() 128 int m = CLOCK_REALTIME; in evNowTime() 147 #ifdef CLOCK_REALTIME in evUTCTime() 149 if (clock_gettime(CLOCK_REALTIME, &tsnow) == 0) in evUTCTime()
|
/bionic/tests/ |
D | pthread_test.cpp | 750 ASSERT_EQ(CLOCK_REALTIME, clock); in TEST() 761 ASSERT_EQ(0, pthread_condattr_setclock(&attr, CLOCK_REALTIME)); in TEST() 764 ASSERT_EQ(CLOCK_REALTIME, clock); in TEST() 807 ASSERT_EQ(0, clock_gettime(CLOCK_REALTIME, &ts)); in TEST() 814 ASSERT_EQ(0, clock_gettime(CLOCK_REALTIME, &ts)); in TEST()
|
D | time_test.cpp | 217 ASSERT_EQ(0, timer_create(CLOCK_REALTIME, &se, &timer_id)); in Create() 365 ASSERT_EQ(0, timer_create(CLOCK_REALTIME, &se, &tdd.timer_id)); in TEST()
|