Lines Matching full:count
17 * one provides different behavior, for example one may count
18 * missing fans, and another may count nonfunctional fans.
33 * @param[in] count - The number of items that is compared
37 PowerOffCause(size_t count, const std::string& name) : in PowerOffCause() argument
38 _count(count), _name(std::to_string(count) + " " + name) in PowerOffCause()
97 * @param[in] count - The minimum number of fans that must be
100 explicit MissingFanFRUCause(size_t count) : in MissingFanFRUCause() argument
101 PowerOffCause(count, "Missing Fan FRUs") in MissingFanFRUCause()
105 * @brief Returns true if 'count' or more fans are missing
112 size_t count = std::count_if( in satisfied() local
117 return count >= _count; in satisfied()
140 * @param[in] count - The minimum number of rotors that must be
143 explicit NonfuncFanRotorCause(size_t count) : in NonfuncFanRotorCause() argument
144 PowerOffCause(count, "Nonfunctional Fan Rotors") in NonfuncFanRotorCause()
148 * @brief Returns true if 'count' or more rotors are nonfunctional
155 size_t count = std::accumulate( in satisfied() local
165 return count >= _count; in satisfied()
191 * @param[in] count - The minimum number of fan FRUs with
194 explicit FanFRUsWithNonfuncRotorsCause(size_t count) : in FanFRUsWithNonfuncRotorsCause() argument
195 PowerOffCause(count, "Fans with Nonfunctional Rotors") in FanFRUsWithNonfuncRotorsCause()
199 * @brief Returns true if 'count' or more fan FRUs have
206 size_t count = std::count_if( in satisfied() local
214 return count >= _count; in satisfied()