Lines Matching refs:route

155     nxt_http_route_t               *route[0];  member
191 nxt_router_temp_conf_t *tmcf, nxt_http_route_t *route);
243 nxt_http_route_t *route; in nxt_http_routes_create() local
265 route = nxt_http_route_create(task, tmcf, route_conf); in nxt_http_routes_create()
266 if (nxt_slow_path(route == NULL)) { in nxt_http_routes_create()
270 routes->route[i] = route; in nxt_http_routes_create()
272 string = nxt_str_dup(mp, &route->name, &name); in nxt_http_routes_create()
279 route = nxt_http_route_create(task, tmcf, routes_conf); in nxt_http_routes_create()
280 if (nxt_slow_path(route == NULL)) { in nxt_http_routes_create()
284 routes->route[0] = route; in nxt_http_routes_create()
286 route->name.length = 0; in nxt_http_routes_create()
287 route->name.start = NULL; in nxt_http_routes_create()
363 nxt_http_route_t *route; in nxt_http_route_create() local
369 route = nxt_mp_alloc(tmcf->router_conf->mem_pool, size); in nxt_http_route_create()
370 if (nxt_slow_path(route == NULL)) { in nxt_http_route_create()
374 route->items = n; in nxt_http_route_create()
375 m = &route->match[0]; in nxt_http_route_create()
388 return route; in nxt_http_route_create()
1214 nxt_http_route_t **route, **end; in nxt_http_routes_resolve() local
1220 route = &routes->route[0]; in nxt_http_routes_resolve()
1221 end = route + routes->items; in nxt_http_routes_resolve()
1223 while (route < end) { in nxt_http_routes_resolve()
1224 ret = nxt_http_route_resolve(task, tmcf, *route); in nxt_http_routes_resolve()
1229 route++; in nxt_http_routes_resolve()
1239 nxt_http_route_t *route) in nxt_http_route_resolve() argument
1244 match = &route->match[0]; in nxt_http_route_resolve()
1245 end = match + route->items; in nxt_http_route_resolve()
1459 nxt_http_route_t **route, **end; in nxt_http_route_find() local
1465 route = &routes->route[0]; in nxt_http_route_find()
1466 end = route + routes->items; in nxt_http_route_find()
1468 while (route < end) { in nxt_http_route_find()
1469 if (nxt_strstr_eq(&(*route)->name, name)) { in nxt_http_route_find()
1470 action->u.route = *route; in nxt_http_route_find()
1476 route++; in nxt_http_route_find()
1539 nxt_http_route_t *route; in nxt_http_route_handler() local
1543 route = start->u.route; in nxt_http_route_handler()
1544 match = &route->match[0]; in nxt_http_route_handler()
1545 end = match + route->items; in nxt_http_route_handler()