Home
last modified time | relevance | path

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

/third_party/nghttp2/src/
Dshrpx_router.cc34 RNode::RNode() : s(nullptr), len(0), index(-1), wildcard_index(-1) {} in RNode()
36 RNode::RNode(const char *s, size_t len, ssize_t index, ssize_t wildcard_index) in RNode() argument
37 : s(s), len(len), index(index), wildcard_index(wildcard_index) {} in RNode()
67 ssize_t index, ssize_t wildcard_index) { in add_node() argument
70 std::make_unique<RNode>(pat.c_str(), pat.size(), index, wildcard_index); in add_node()
75 ssize_t index = -1, wildcard_index = -1; in add_route() local
77 wildcard_index = idx; in add_route()
89 wildcard_index); in add_route()
114 assert(wildcard_index != -1); in add_route()
116 if (node->wildcard_index != -1) { in add_route()
[all …]
Dshrpx_router.h41 RNode(const char *s, size_t len, ssize_t index, ssize_t wildcard_index);
60 ssize_t wildcard_index; member
97 ssize_t wildcard_index);