Home
last modified time | relevance | path

Searched refs:ALARM_TYPE_COUNT (Results 1 - 2 of 2) sorted by relevance

/base/time/time_service/services/timer/include/
H A Dtimer_handler.h29 static const size_t ALARM_TYPE_COUNT = 5; member
30 static const size_t N_TIMER_FDS = ALARM_TYPE_COUNT + 1;
/base/time/time_service/services/timer/src/
H A Dtimer_handler.cpp79 int err = timerfd_settime(fds[ALARM_TYPE_COUNT], TFD_TIMER_ABSTIME | TFD_TIMER_CANCEL_ON_SET, &spec, nullptr); in Create()
104 if (static_cast<size_t>(type) > ALARM_TYPE_COUNT) { in Set()
137 if (alarm_idx == ALARM_TYPE_COUNT && errno == ECANCELED) { in WaitForAlarm()

Completed in 1 milliseconds