Home
last modified time | relevance | path

Searched refs:CLOCK_REALTIME (Results 1 – 10 of 10) 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.cpp64 *attr |= (CLOCK_REALTIME << 1); in pthread_condattr_init()
88 if (clock != CLOCK_MONOTONIC && clock != CLOCK_REALTIME) { in pthread_condattr_setclock()
Dpthread_rwlock.cpp74 if (__timespec_from_absolute(rel_timeout, abs_timeout, CLOCK_REALTIME) < 0) { in timespec_from_absolute()
Dsemaphore.c299 clock_gettime( CLOCK_REALTIME, &ts ); in sem_timedwait()
Dlibc_logging.cpp506 clock_gettime(CLOCK_REALTIME, &ts); in __libc_write_log()
568 clock_gettime(CLOCK_REALTIME, &ts); in __libc_android_log_event()
Dpthread_mutex.cpp743 return __pthread_mutex_timedlock(mutex, 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/
Dpthread_test.cpp750 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()
Dtime_test.cpp217 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()