Lines Matching refs:ruleIndex
45 unsigned ruleIndex = 0U; member
58 return ruleIndex == 0 && stringParamChild == 0 && in isSimpleNode()
136 if (child.ruleIndex != 0 && fragment != "/") in findRouteIndexesHelper()
138 routeIndexes.push_back(child.ruleIndex); in findRouteIndexesHelper()
161 unsigned ruleIndex; member
171 return {node.ruleIndex, params}; in findHelper()
190 if (ret.ruleIndex != 0U) in findHelper()
192 return {ret.ruleIndex, std::move(ret.params)}; in findHelper()
202 if (ret.ruleIndex != 0U) in findHelper()
204 return {ret.ruleIndex, std::move(ret.params)}; in findHelper()
218 if (ret.ruleIndex != 0U) in findHelper()
220 return {ret.ruleIndex, std::move(ret.params)}; in findHelper()
235 void add(std::string_view urlIn, unsigned ruleIndex) in add() argument
288 if (node.ruleIndex != 0U) in add()
294 node.ruleIndex = ruleIndex; in add()
507 if (found.ruleIndex >= perMethod.rules.size()) in findRouteByPerMethod()
512 if (found.ruleIndex != 0U) in findRouteByPerMethod()
514 route.rule = perMethod.rules[found.ruleIndex]; in findRouteByPerMethod()
576 unsigned ruleIndex = found.ruleIndex; in handleUpgrade() local
577 if (ruleIndex == 0U) in handleUpgrade()
585 if (ruleIndex >= rules.size()) in handleUpgrade()
590 BaseRule& rule = *rules[ruleIndex]; in handleUpgrade()