Lines Matching refs:ccv

108 ngx_http_compile_complex_value(ngx_http_compile_complex_value_t *ccv)  in ngx_http_compile_complex_value()  argument
115 v = ccv->value; in ngx_http_compile_complex_value()
132 && (ccv->conf_prefix || ccv->root_prefix)) in ngx_http_compile_complex_value()
134 if (ngx_conf_full_name(ccv->cf->cycle, v, ccv->conf_prefix) != NGX_OK) { in ngx_http_compile_complex_value()
138 ccv->conf_prefix = 0; in ngx_http_compile_complex_value()
139 ccv->root_prefix = 0; in ngx_http_compile_complex_value()
142 ccv->complex_value->value = *v; in ngx_http_compile_complex_value()
143 ccv->complex_value->flushes = NULL; in ngx_http_compile_complex_value()
144 ccv->complex_value->lengths = NULL; in ngx_http_compile_complex_value()
145 ccv->complex_value->values = NULL; in ngx_http_compile_complex_value()
153 if (ngx_array_init(&flushes, ccv->cf->pool, n, sizeof(ngx_uint_t)) in ngx_http_compile_complex_value()
163 if (ngx_array_init(&lengths, ccv->cf->pool, n, 1) != NGX_OK) { in ngx_http_compile_complex_value()
174 if (ngx_array_init(&values, ccv->cf->pool, n, 1) != NGX_OK) { in ngx_http_compile_complex_value()
184 sc.cf = ccv->cf; in ngx_http_compile_complex_value()
191 sc.zero = ccv->zero; in ngx_http_compile_complex_value()
192 sc.conf_prefix = ccv->conf_prefix; in ngx_http_compile_complex_value()
193 sc.root_prefix = ccv->root_prefix; in ngx_http_compile_complex_value()
200 ccv->complex_value->flushes = flushes.elts; in ngx_http_compile_complex_value()
201 ccv->complex_value->flushes[flushes.nelts] = (ngx_uint_t) -1; in ngx_http_compile_complex_value()
204 ccv->complex_value->lengths = lengths.elts; in ngx_http_compile_complex_value()
205 ccv->complex_value->values = values.elts; in ngx_http_compile_complex_value()
218 ngx_http_compile_complex_value_t ccv; in ngx_http_set_complex_value_slot() local
233 ngx_memzero(&ccv, sizeof(ngx_http_compile_complex_value_t)); in ngx_http_set_complex_value_slot()
235 ccv.cf = cf; in ngx_http_set_complex_value_slot()
236 ccv.value = &value[1]; in ngx_http_set_complex_value_slot()
237 ccv.complex_value = *cv; in ngx_http_set_complex_value_slot()
239 if (ngx_http_compile_complex_value(&ccv) != NGX_OK) { in ngx_http_set_complex_value_slot()
311 ngx_http_compile_complex_value_t ccv; in ngx_http_set_predicate_slot() local
330 ngx_memzero(&ccv, sizeof(ngx_http_compile_complex_value_t)); in ngx_http_set_predicate_slot()
332 ccv.cf = cf; in ngx_http_set_predicate_slot()
333 ccv.value = &value[i]; in ngx_http_set_predicate_slot()
334 ccv.complex_value = cv; in ngx_http_set_predicate_slot()
336 if (ngx_http_compile_complex_value(&ccv) != NGX_OK) { in ngx_http_set_predicate_slot()