Home
last modified time | relevance | path

Searched refs:TIMER_ABSTIME (Results 1 – 4 of 4) sorted by relevance

/Zephyr-latest/tests/posix/common/src/
Dnanosleep.c117 common_errors(SELECT_CLOCK_NANOSLEEP, CLOCK_MONOTONIC, TIMER_ABSTIME); in ZTEST()
121 zassert_equal(clock_nanosleep(CLOCK_MONOTONIC, TIMER_ABSTIME, &req, &rem), 0); in ZTEST()
127 zassert_equal(clock_nanosleep(CLOCK_REALTIME, TIMER_ABSTIME, &req, &rem), 0); in ZTEST()
233 common_lower_bound_check(SELECT_CLOCK_NANOSLEEP, CLOCK_MONOTONIC, TIMER_ABSTIME, in ZTEST()
237 common_lower_bound_check(SELECT_CLOCK_NANOSLEEP, CLOCK_MONOTONIC, TIMER_ABSTIME, in ZTEST()
241 common_lower_bound_check(SELECT_CLOCK_NANOSLEEP, CLOCK_MONOTONIC, TIMER_ABSTIME, in ZTEST()
245 common_lower_bound_check(SELECT_CLOCK_NANOSLEEP, CLOCK_MONOTONIC, TIMER_ABSTIME, in ZTEST()
249 common_lower_bound_check(SELECT_CLOCK_NANOSLEEP, CLOCK_MONOTONIC, TIMER_ABSTIME, in ZTEST()
253 common_lower_bound_check(SELECT_CLOCK_NANOSLEEP, CLOCK_MONOTONIC, TIMER_ABSTIME, in ZTEST()
261 common_lower_bound_check(SELECT_CLOCK_NANOSLEEP, CLOCK_REALTIME, TIMER_ABSTIME, in ZTEST()
[all …]
/Zephyr-latest/include/zephyr/posix/
Dtime.h84 #ifndef TIMER_ABSTIME
85 #define TIMER_ABSTIME 4 macro
/Zephyr-latest/lib/posix/options/
Dclock.c219 if ((flags & TIMER_ABSTIME) == 0 && unlikely(rqtp->tv_sec >= ULLONG_MAX / NSEC_PER_SEC)) { in __z_clock_nanosleep()
228 if (flags & TIMER_ABSTIME && clock_id == CLOCK_REALTIME) { in __z_clock_nanosleep()
234 if ((flags & TIMER_ABSTIME) == 0) { in __z_clock_nanosleep()
Dtimer.c275 if ((flags & TIMER_ABSTIME) != 0) { in timer_settime()