Lines Matching refs:it
36 // we cannot override it
51 for (const auto* it : sorted)
54 for (const Layout::LedAction& action : it->actionSet)
67 for (const Layout::GroupLayout* it : assertedGroups)
70 for (const Layout::LedAction& action : it->actionSet)
88 for (const Layout::GroupLayout* it : assertedGroups)
90 sorted.insert(it);
92 if (it->priority != 0)
239 // This can be a really spammy event log, so we rate limit it to once an
243 if (auto it = physicalLEDErrors.find(objPath);
244 it != physicalLEDErrors.end())
247 if ((now - it->second) < 1h)
291 for (const auto& it : reqLedsDeAssert)
293 std::string objPath = std::string(phyLedPath) + it.name;
295 it.name, "ACTION", it.action);
296 if (drivePhysicalLED(objPath, Layout::Action::Off, it.dutyOn,
297 it.period) != 0)
299 failedLedsDeAssert.insert(it);
303 for (const auto& it : reqLedsAssert)
305 std::string objPath = std::string(phyLedPath) + it.name;
307 it.name, "ACTION", it.action);
308 if (drivePhysicalLED(objPath, it.action, it.dutyOn, it.period) != 0)
310 failedLedsAssert.insert(it);