Home
last modified time | relevance | path

Searched refs:tstr_state (Results 1 – 12 of 12) sorted by relevance

/unit/src/
H A Dnxt_http_rewrite.c19 action->rewrite = nxt_tstr_compile(rtcf->tstr_state, &str, 0); in nxt_http_rewrite_init()
50 ret = nxt_tstr_query_init(&r->tstr_query, rtcf->tstr_state, in nxt_http_rewrite()
H A Dnxt_http_set_headers.c60 hv->value = nxt_tstr_compile(rtcf->tstr_state, &str, 0); in nxt_http_set_headers_init()
136 ret = nxt_tstr_query_init(&r->tstr_query, rtcf->tstr_state, in nxt_http_set_headers()
H A Dnxt_http_return.c60 conf->location = nxt_tstr_compile(rtcf->tstr_state, &str, 0); in nxt_http_return_init()
128 ret = nxt_tstr_query_init(&r->tstr_query, rtcf->tstr_state, in nxt_http_return()
H A Dnxt_router_access_log.c137 format = nxt_tstr_compile(rtcf->tstr_state, &str, NXT_TSTR_LOGGING); in nxt_router_access_log_create()
155 rtcf->log_expr = nxt_tstr_compile(rtcf->tstr_state, &str, 0); in nxt_router_access_log_create()
188 ret = nxt_tstr_query_init(&r->tstr_query, rtcf->tstr_state, in nxt_router_access_log_writer()
H A Dnxt_router.h46 nxt_tstr_state_t *tstr_state; member
H A Dnxt_conf.h76 nxt_tstr_state_t *tstr_state; member
H A Dnxt_http_static.c107 tstr = nxt_tstr_compile(rtcf->tstr_state, &str, NXT_TSTR_STRZ); in nxt_http_static_init()
131 conf->chroot = nxt_tstr_compile(rtcf->tstr_state, &acf->chroot, in nxt_http_static_init()
279 ret = nxt_tstr_query_init(&r->tstr_query, rtcf->tstr_state, in nxt_http_static_iterate()
H A Dnxt_http_js.c380 vv = nxt_var_get(&r->task, rtcf->tstr_state, &r->tstr_cache.var, &name, r); in nxt_http_js_ext_get_var()
H A Dnxt_conf_validation.c1408 vldt->tstr_state = nxt_tstr_state_new(vldt->pool, 1); in nxt_conf_validate()
1409 if (nxt_slow_path(vldt->tstr_state == NULL)) { in nxt_conf_validate()
1423 ret = nxt_tstr_state_done(vldt->tstr_state, error); in nxt_conf_validate()
1556 if (nxt_tstr_test(vldt->tstr_state, value, error) != NXT_OK) { in nxt_conf_vldt_var()
H A Dnxt_http_route.c700 action->u.tstr = nxt_tstr_compile(rtcf->tstr_state, &pass, 0); in nxt_http_action_init()
1333 ret = nxt_tstr_query_init(&r->tstr_query, rtcf->tstr_state, &r->tstr_cache, in nxt_http_pass_var()
1528 action->u.tstr = nxt_tstr_compile(rtcf->tstr_state, pass, 0); in nxt_http_action_create()
H A Dnxt_router.c1085 rtcf->tstr_state = nxt_tstr_state_new(mp, 0); in nxt_router_temp_conf()
1086 if (nxt_slow_path(rtcf->tstr_state == NULL)) { in nxt_router_temp_conf()
1091 nxt_http_register_js_proto(rtcf->tstr_state->jcf); in nxt_router_temp_conf()
1140 if (rtcf->tstr_state != NULL) { in nxt_router_temp_conf()
1141 nxt_tstr_state_release(rtcf->tstr_state); in nxt_router_temp_conf()
1232 ret = nxt_tstr_state_done(rtcf->tstr_state, NULL); in nxt_router_conf_apply()
2232 ret = nxt_js_add_module(rtcf->tstr_state->jcf, &js_module->name, &text); in nxt_router_js_module_rpc_handler()
3995 nxt_tstr_state_release(rtcf->tstr_state); in nxt_router_conf_release()
H A Dnxt_http_request.c890 ret = nxt_tstr_query_init(&r->tstr_query, rtcf->tstr_state, in nxt_http_request_access_log()