Searched refs:clcfp (Results 1 – 2 of 2) sorted by relevance
675 ngx_http_core_loc_conf_t **clcfp; in ngx_http_init_locations() local742 clcfp = ngx_palloc(cf->pool, in ngx_http_init_locations()744 if (clcfp == NULL) { in ngx_http_init_locations()748 cscf->named_locations = clcfp; in ngx_http_init_locations()756 *(clcfp++) = lq->exact; in ngx_http_init_locations()759 *clcfp = NULL; in ngx_http_init_locations()768 clcfp = ngx_palloc(cf->pool, in ngx_http_init_locations()770 if (clcfp == NULL) { in ngx_http_init_locations()774 pclcf->regex_locations = clcfp; in ngx_http_init_locations()782 *(clcfp++) = lq->exact; in ngx_http_init_locations()[all …]
1319 ngx_http_core_loc_conf_t *clcf, **clcfp; in ngx_http_core_find_location() local1351 for (clcfp = pclcf->regex_locations; *clcfp; clcfp++) { in ngx_http_core_find_location()1354 "test location: ~ \"%V\"", &(*clcfp)->name); in ngx_http_core_find_location()1356 n = ngx_http_regex_exec(r, (*clcfp)->regex, &r->uri); in ngx_http_core_find_location()1359 r->loc_conf = (*clcfp)->loc_conf; in ngx_http_core_find_location()2472 ngx_http_core_loc_conf_t **clcfp; in ngx_http_named_location() local2499 for (clcfp = cscf->named_locations; *clcfp; clcfp++) { in ngx_http_named_location()2502 "test location: \"%V\"", &(*clcfp)->name); in ngx_http_named_location()2504 if (name->len != (*clcfp)->name.len in ngx_http_named_location()2505 || ngx_strncmp(name->data, (*clcfp)->name.data, name->len) != 0) in ngx_http_named_location()[all …]