Home
last modified time | relevance | path

Searched refs:CLOCK_REALTIME (Results 1 – 11 of 11) sorted by relevance

/bionic/libc/kernel/uapi/linux/
Dtime.h55 #define CLOCK_REALTIME 0 macro
71 #define CLOCKS_MASK (CLOCK_REALTIME | CLOCK_MONOTONIC)
/bionic/libc/bionic/
Dpthread_cond.cpp70 *attr |= (CLOCK_REALTIME << 1); in pthread_condattr_init()
94 if (clock != CLOCK_MONOTONIC && clock != CLOCK_REALTIME) { in pthread_condattr_setclock()
Dsemaphore.cpp248 if (!timespec_from_absolute_timespec(ts, *abs_timeout, CLOCK_REALTIME)) { in sem_timedwait()
Dpthread_rwlock.cpp312 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()
Dlibc_logging.cpp507 clock_gettime(CLOCK_REALTIME, &ts); in __libc_write_log()
569 clock_gettime(CLOCK_REALTIME, &ts); in __libc_android_log_event()
Dpthread_mutex.cpp636 abs_timeout, CLOCK_REALTIME); in pthread_mutex_timedlock()
Dgetentropy_linux.c320 CLOCK_REALTIME,
/bionic/libc/upstream-netbsd/lib/libc/isc/
Dev_timers.c126 #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/
Dsemaphore_test.cpp108 ASSERT_EQ(0, clock_gettime(CLOCK_REALTIME, &ts)); in TEST()
Dtime_test.cpp241 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()
Dpthread_test.cpp1000 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()