Lines Matching refs:probe
73 probe::probe_type_codes lastCommand = probe::probe_type_codes::FALSE_T; in doProbe()
76 for (const auto& probe : probeCommand) in doProbe() local
78 probe::FoundProbeTypeT probeType = probe::findProbeType(probe); in doProbe()
83 case probe::probe_type_codes::FALSE_T: in doProbe()
88 case probe::probe_type_codes::TRUE_T: in doProbe()
93 case probe::probe_type_codes::MATCH_ONE: in doProbe()
107 case probe::probe_type_codes::FOUND: in doProbe()
109 if (!std::regex_search(probe, match, command)) in doProbe()
112 probe); in doProbe()
132 if (!std::regex_search(probe, match, command)) in doProbe()
134 lg2::error("dbus probe syntax error {JSON}", "JSON", probe); in doProbe()
153 auto findStart = probe.find('('); in doProbe()
159 std::string probeInterface = probe.substr(0, findStart); in doProbe()
166 if (lastCommand == probe::probe_type_codes::AND) in doProbe()
170 else if (lastCommand == probe::probe_type_codes::OR) in doProbe()
180 lastCommand = probeType.value_or(probe::probe_type_codes::FALSE_T); in doProbe()
201 namespace probe namespace
221 FoundProbeTypeT findProbeType(const std::string& probe) in findProbeType() argument
236 if (probe.find(probeType->first) != std::string::npos) in findProbeType()