Home
last modified time | relevance | path

Searched refs:match (Results 1 – 10 of 10) sorted by relevance

/unit/src/
H A Dnxt_pcre.c107 nxt_regex_match_t *match; in nxt_regex_match_create() local
109 match = nxt_mp_get(mp, sizeof(nxt_regex_match_t) + sizeof(int) * size); in nxt_regex_match_create()
110 if (nxt_fast_path(match != NULL)) { in nxt_regex_match_create()
111 match->ovecsize = size; in nxt_regex_match_create()
114 return match; in nxt_regex_match_create()
120 nxt_regex_match_t *match) in nxt_regex_match() argument
125 match->ovec, match->ovecsize); in nxt_regex_match()
H A Dnxt_pcre2.c113 nxt_regex_match_t *match; in nxt_regex_match_create() local
122 match = pcre2_match_data_create(size, ctx); in nxt_regex_match_create()
123 if (nxt_slow_path(match == NULL)) { in nxt_regex_match_create()
128 return match; in nxt_regex_match_create()
134 nxt_regex_match_t *match) in nxt_regex_match() argument
139 ret = pcre2_match(re->code, (PCRE2_SPTR) subject, length, 0, 0, match, in nxt_regex_match()
H A Dnxt_http_route.c385 *m++ = match; in nxt_http_route_create()
423 match->items = n; in nxt_http_route_match_create()
436 return match; in nxt_http_route_match_create()
576 return match; in nxt_http_route_match_create()
1242 match = &route->match[0]; in nxt_http_route_resolve()
1251 match++; in nxt_http_route_resolve()
1540 match = &route->match[0]; in nxt_http_route_handler()
1549 match++; in nxt_http_route_handler()
1721 if (!match) { in nxt_http_route_addr_pattern_match()
1729 if (!match) { in nxt_http_route_addr_pattern_match()
[all …]
H A Dnxt_regex.h37 size_t length, nxt_regex_match_t *match);
/unit/src/nodejs/unit-http/
H A Dwebsocket_request.js322 var invalidChar = cookie.name.match(cookieNameValidateRegEx);
330 if (cookie.value.match(cookieValueDQuoteValidateRegEx)) {
331 invalidChar = cookie.value.slice(1, -1).match(cookieValueValidateRegEx);
333 invalidChar = cookie.value.match(cookieValueValidateRegEx);
345 invalidChar = cookie.path.match(controlCharsAndSemicolonRegEx);
360 invalidChar = cookie.domain.match(controlCharsAndSemicolonRegEx);
/unit/src/java/nginx/unit/websocket/server/
H A DUriTemplate.java103 public Map<String,String> match(UriTemplate candidate) { in match() method in UriTemplate
H A DWsServerContainer.java306 pathParams = templateMatch.getUriTemplate().match(pathUriTemplate); in findMapping()
/unit/test/
H A Dtest_routing.py27 def route_match(self, match): argument
29 {"match": match, "action": {"return": 200}}
32 def route_match_invalid(self, match): argument
34 {"match": match, "action": {"return": 200}}
H A Dtest_ruby_application.py244 if re.match(pattern, l.upper()) is not None
/unit/src/java/nginx/unit/
H A DContext.java212 public boolean match(String url) in match() method in Context.PrefixPattern
716 if (m.pattern_.match(path)) { in CtxFilterChain()
777 if (p.match(path)) { in findServlet()
2310 public boolean match(String url)