Searched refs:ALARM_TYPE_COUNT (Results 1 – 2 of 2) sorted by relevance
29 static const size_t ALARM_TYPE_COUNT = 5; variable30 static const size_t N_TIMER_FDS = ALARM_TYPE_COUNT + 1;
82 …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()