Home
last modified time | relevance | path

Searched refs:perMethod (Results 1 – 2 of 2) sorted by relevance

/openbmc/bmcweb/redfish-core/include/
H A Dredfish_oem_routing.hpp61 auto& perMethod = perMethods[static_cast<size_t>(method)]; in newRule() local
70 perMethod.internalAdd(rule, std::move(ruleObject)); in newRule()
78 perMethod.internalAdd(rule, std::move(ruleObject)); in newRule()
86 perMethod.internalAdd(rule, std::move(ruleObject)); in newRule()
94 perMethod.internalAdd(rule, std::move(ruleObject)); in newRule()
103 perMethod.internalAdd(rule, std::move(ruleObject)); in newRule()
112 perMethod.internalAdd(rule, std::move(ruleObject)); in newRule()
155 const PerMethod& perMethod) in findRouteByPerMethod() argument
159 SubRouteTrie::FindResult found = perMethod.trie.find(url); in findRouteByPerMethod()
163 if (fragmentRuleIndex >= perMethod.rules.size()) in findRouteByPerMethod()
[all …]
/openbmc/bmcweb/http/
H A Drouting.hpp176 for (PerMethod& perMethod : perMethods) in validate()
178 perMethod.trie.validate(); in validate()
195 const PerMethod& perMethod) in findRouteByPerMethod() argument
199 Trie<crow::Node>::FindResult found = perMethod.trie.find(url); in findRouteByPerMethod()
200 if (found.ruleIndex >= perMethod.rules.size()) in findRouteByPerMethod()
207 route.rule = perMethod.rules[found.ruleIndex]; in findRouteByPerMethod()
264 PerMethod& perMethod = upgradeRoutes; in handleUpgrade() local
265 Trie<crow::Node>& trie = perMethod.trie; in handleUpgrade()
266 std::vector<BaseRule*>& rules = perMethod.rules; in handleUpgrade()