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/
Dtimer_handler.h29 static const size_t ALARM_TYPE_COUNT = 5; variable
30 static const size_t N_TIMER_FDS = ALARM_TYPE_COUNT + 1;
/base/time/time_service/services/timer/src/
Dtimer_handler.cpp82 …int err = timerfd_settime(fds[ALARM_TYPE_COUNT], TFD_TIMER_ABSTIME | TFD_TIMER_CANCEL_ON_SET, &spe… in Create()
107 if (static_cast<size_t>(type) > ALARM_TYPE_COUNT) { in Set()
133 if (alarm_idx == ALARM_TYPE_COUNT && errno == ECANCELED) { in WaitForAlarm()