Home
last modified time | relevance | path

Searched refs:timeout_ts (Results 1 – 2 of 2) sorted by relevance

/system/utest/fdio/
A Dfdio_handle_fd.c132 struct timespec timeout_ts = {-1, -1}; in ppoll_negative_test() local
133 return ppoll_test_handler(&timeout_ts); in ppoll_negative_test()
142 …struct timespec timeout_ts = {UINT64_MAX / nanoseconds_in_seconds, UINT64_MAX % nanoseconds_in_sec… in ppoll_overflow_test() local
143 return ppoll_test_handler(&timeout_ts); in ppoll_overflow_test()
/system/ulib/fdio/
A Dunistd.c2068 const struct timespec* timeout_ts, const sigset_t* sigmask) { in ppoll() argument
2120 if (timeout_ts && timeout_ts->tv_sec >= 0 && timeout_ts->tv_nsec >= 0 && in ppoll()
2121 timeout_ts->tv_sec <= INT64_MAX / ZX_SEC(1)) { in ppoll()
2122 zx_duration_t seconds_duration = ZX_SEC(timeout_ts->tv_sec); in ppoll()
2124 zx_duration_add_duration(seconds_duration, timeout_ts->tv_nsec); in ppoll()
2167 struct timespec timeout_ts = {timeout / 1000, (timeout % 1000) * 1000000}; in poll() local
2168 struct timespec* ts = timeout >= 0 ? &timeout_ts : NULL; in poll()

Completed in 8 milliseconds