Searched refs:perMethod (Results 1 – 2 of 2) sorted by relevance
61 auto& perMethod = perMethods[static_cast<size_t>(method)]; in newRule() local70 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() argument159 SubRouteTrie::FindResult found = perMethod.trie.find(url); in findRouteByPerMethod()163 if (fragmentRuleIndex >= perMethod.rules.size()) in findRouteByPerMethod()[all …]
176 for (PerMethod& perMethod : perMethods) in validate()178 perMethod.trie.validate(); in validate()195 const PerMethod& perMethod) in findRouteByPerMethod() argument199 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() local265 Trie<crow::Node>& trie = perMethod.trie; in handleUpgrade()266 std::vector<BaseRule*>& rules = perMethod.rules; in handleUpgrade()