Home
last modified time | relevance | path

Searched refs:Rule (Results 1 – 25 of 38) sorted by relevance

12

/openbmc/phosphor-power/phosphor-regulators/src/
H A Drule.hpp42 class Rule class
46 Rule() = delete;
47 Rule(const Rule&) = delete;
48 Rule(Rule&&) = delete;
49 Rule& operator=(const Rule&) = delete;
50 Rule& operator=(Rule&&) = delete;
51 ~Rule() = default;
59 explicit Rule(const std::string& id, in Rule() function in phosphor::power::regulators::Rule
H A Did_map.hpp28 class Rule;
72 void addRule(Rule& rule);
120 Rule& getRule(const std::string& id) const in getRule()
145 std::map<std::string, Rule*> ruleMap{};
H A Dsystem.hpp55 explicit System(std::vector<std::unique_ptr<Rule>> rules, in System()
131 const std::vector<std::unique_ptr<Rule>>& getRules() const in getRules()
157 std::vector<std::unique_ptr<Rule>> rules{};
H A Dconfig_file_parser.hpp72 std::tuple<std::vector<std::unique_ptr<Rule>>,
661 std::tuple<std::vector<std::unique_ptr<Rule>>,
675 std::unique_ptr<Rule> parseRule(const nlohmann::json& element);
687 std::vector<std::unique_ptr<Rule>>
H A Did_map.cpp48 void IDMap::addRule(Rule& rule) in addRule()
H A Dsystem.cpp25 for (std::unique_ptr<Rule>& rule : rules) in buildIDMap()
H A Dconfig_file_parser.cpp33 std::tuple<std::vector<std::unique_ptr<Rule>>,
991 std::tuple<std::vector<std::unique_ptr<Rule>>,
1005 std::vector<std::unique_ptr<Rule>> rules{}; in parseRoot()
1025 std::unique_ptr<Rule> parseRule(const json& element) in parseRule()
1050 return std::make_unique<Rule>(id, std::move(actions)); in parseRule()
1053 std::vector<std::unique_ptr<Rule>> parseRuleArray(const json& element) in parseRuleArray()
1056 std::vector<std::unique_ptr<Rule>> rules; in parseRuleArray()
H A Dmanager.cpp328 std::vector<std::unique_ptr<Rule>> rules{}; in loadConfigFile()
/openbmc/openbmc/poky/meta/files/common-licenses/
H A DDRL-1.01 Detection Rule License (DRL) 1.0
6 …) ("author" field) of the Rule and any others designated to receive attribution, in any reasonable…
8 a URI or hyperlink to the Rule set or explicit Rule to the extent reasonably practicable
10 …re licensed under this Detection Rule License, and include the text of, or the URI or hyperlink to…
/openbmc/phosphor-power/phosphor-regulators/test/
H A Drule_tests.cpp45 Rule rule("set_voltage_rule", std::move(actions)); in TEST()
67 Rule rule("set_voltage_rule", std::move(actions)); in TEST()
92 Rule rule("set_voltage_rule", std::move(actions)); in TEST()
111 Rule rule("set_voltage_rule", std::move(actions)); in TEST()
119 Rule rule("read_sensor_values", std::vector<std::unique_ptr<Action>>{}); in TEST()
H A Did_map_tests.cpp135 Rule rule{id, std::vector<std::unique_ptr<Action>>{}}; in TEST()
146 Rule& ruleFound = idMap.getRule(id); in TEST()
162 Rule rule2{"set_voltage_rule", std::vector<std::unique_ptr<Action>>{}}; in TEST()
261 Rule rule{id, std::vector<std::unique_ptr<Action>>{}}; in TEST()
267 Rule& ruleFound = idMap.getRule(id); in TEST()
H A Dsystem_tests.cpp64 std::vector<std::unique_ptr<Rule>> rules{}; in TEST()
110 std::vector<std::unique_ptr<Rule>> rules{}; in TEST()
164 std::vector<std::unique_ptr<Rule>> rules{}; in TEST()
220 std::vector<std::unique_ptr<Rule>> rules{}; in TEST()
253 std::vector<std::unique_ptr<Rule>> rules{}; in TEST()
350 std::vector<std::unique_ptr<Rule>> rules{}; in TEST()
363 std::vector<std::unique_ptr<Rule>> rules{}; in TEST()
380 std::vector<std::unique_ptr<Rule>> rules{}; in TEST()
431 std::vector<std::unique_ptr<Rule>> rules{}; in TEST()
543 std::vector<std::unique_ptr<Rule>> rules{}; in TEST()
H A Dtest_utils.hpp88 inline std::unique_ptr<Rule> createRule(const std::string& id) in createRule()
95 return std::make_unique<Rule>(id, std::move(actions)); in createRule()
H A Drail_tests.cpp134 std::vector<std::unique_ptr<Rule>> rules{}; in TEST()
225 std::vector<std::unique_ptr<Rule>> rules{}; in TEST()
281 std::vector<std::unique_ptr<Rule>> rules{}; in TEST()
362 std::vector<std::unique_ptr<Rule>> rules{}; in TEST()
423 std::vector<std::unique_ptr<Rule>> rules{}; in TEST()
H A Dconfiguration_tests.cpp133 std::vector<std::unique_ptr<Rule>> rules{}; in TEST()
193 std::vector<std::unique_ptr<Rule>> rules{}; in TEST()
260 std::vector<std::unique_ptr<Rule>> rules{}; in TEST()
328 std::vector<std::unique_ptr<Rule>> rules{}; in TEST()
399 std::vector<std::unique_ptr<Rule>> rules{}; in TEST()
477 std::vector<std::unique_ptr<Rule>> rules{}; in TEST()
H A Dpresence_detection_tests.cpp87 std::vector<std::unique_ptr<Rule>> rules{}; in createParentObjects()
H A Dsensor_monitoring_tests.cpp110 std::vector<std::unique_ptr<Rule>> rules{}; in createParentObjects()
/openbmc/phosphor-power/phosphor-regulators/test/actions/
H A Drun_rule_action_tests.cpp77 Rule rule("exception_rule", std::move(actions)); in TEST()
101 Rule rule("infinite_rule", std::move(actions)); in TEST()
139 Rule rule("set_voltage_rule", std::move(actions)); in TEST()
172 Rule rule("set_voltage_rule", std::move(actions)); in TEST()
H A Daction_environment_tests.cpp222 Rule setVoltageRule{"set_voltage_rule", in TEST()
231 Rule& rule = env.getRule("set_voltage_rule"); in TEST()
/openbmc/phosphor-power/phosphor-regulators/src/actions/
H A Daction_environment.hpp34 class Rule;
169 Rule& getRule(const std::string& id) const in getRule()
/openbmc/linux/Documentation/translations/zh_CN/mm/
H A Dpage_table_check.rst32 | Current Mapping | New mapping | Permissions | Rule |
/openbmc/qemu/tests/qemu-iotests/
H A Dnbd-fault-injector.py90 class Rule(object): class
215 return Rule(name, event, io, when)
/openbmc/linux/Documentation/maintainer/
H A Dmodifying-patches.rst11 Rule (b) allows you to adjust the code, but then it is very impolite to change
/openbmc/linux/Documentation/mm/
H A Dpage_table_check.rst36 | Current Mapping | New mapping | Permissions | Rule |
/openbmc/linux/Documentation/firmware-guide/acpi/
H A DDSD-properties-rules.rst49 General Validity Rule for Property Sets

12