Searched refs:CLOCK_REALTIME (Results 1 – 11 of 11) 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 | 70 *attr |= (CLOCK_REALTIME << 1); in pthread_condattr_init() 94 if (clock != CLOCK_MONOTONIC && clock != CLOCK_REALTIME) { in pthread_condattr_setclock()
|
D | semaphore.cpp | 248 if (!timespec_from_absolute_timespec(ts, *abs_timeout, CLOCK_REALTIME)) { in sem_timedwait()
|
D | pthread_rwlock.cpp | 312 if (!timespec_from_absolute_timespec(*rel_timeout, *abs_timeout_or_null, CLOCK_REALTIME)) { in __pthread_rwlock_timedrdlock() 390 if (!timespec_from_absolute_timespec(*rel_timeout, *abs_timeout_or_null, CLOCK_REALTIME)) { in __pthread_rwlock_timedwrlock()
|
D | libc_logging.cpp | 507 clock_gettime(CLOCK_REALTIME, &ts); in __libc_write_log() 569 clock_gettime(CLOCK_REALTIME, &ts); in __libc_android_log_event()
|
D | pthread_mutex.cpp | 636 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 | semaphore_test.cpp | 108 ASSERT_EQ(0, clock_gettime(CLOCK_REALTIME, &ts)); in TEST()
|
D | time_test.cpp | 241 ASSERT_EQ(0, timer_create(CLOCK_REALTIME, &se, &timer_id)); in Create() 456 ASSERT_EQ(0, timer_create(CLOCK_REALTIME, &se, &tdd.timer_id)); in TEST()
|
D | pthread_test.cpp | 1000 ASSERT_EQ(CLOCK_REALTIME, clock); in TEST() 1011 ASSERT_EQ(0, pthread_condattr_setclock(&attr, CLOCK_REALTIME)); in TEST() 1014 ASSERT_EQ(CLOCK_REALTIME, clock); in TEST() 1119 ASSERT_EQ(0, clock_gettime(CLOCK_REALTIME, &ts)); in TEST() 1126 ASSERT_EQ(0, clock_gettime(CLOCK_REALTIME, &ts)); in TEST()
|