Lines Matching full:words
141 * Summary: It's bonkers (not my words, but describes it well)
148 std::vector<std::optional<std::string>> words; in getLedDescr() local
156 words.emplace_back(std::nullopt); in getLedDescr()
160 words.emplace_back(item); in getLedDescr()
166 words.emplace_back(std::nullopt); in getLedDescr()
175 if (words.size() != 3) in getLedDescr()
179 "DESC", name, "NPARTS", words.size()); in getLedDescr()
182 switch (words.size()) in getLedDescr()
186 ledDescr.function = words.at(2); in getLedDescr()
187 ledDescr.color = words.at(1); in getLedDescr()
188 ledDescr.devicename = words.at(0); in getLedDescr()
191 ledDescr.color = words.at(0); in getLedDescr()
192 ledDescr.function = words.at(1); in getLedDescr()
195 ledDescr.devicename = words.at(0); in getLedDescr()