Home
last modified time | relevance | path

Searched refs:idx (Results 1 – 4 of 4) sorted by last modified time

/unit/src/
H A Dnxt_main_process.c375 nxt_app_type_t idx; in nxt_main_start_process_handler() local
481 idx = nxt_app_parse_type(app_conf->type.start, type_len); in nxt_main_start_process_handler()
483 if (nxt_slow_path(idx >= nxt_nitems(nxt_app_maps))) { in nxt_main_start_process_handler()
484 nxt_alert(task, "invalid app type %d received from router", (int) idx); in nxt_main_start_process_handler()
488 ret = nxt_conf_map_object(process->mem_pool, conf, nxt_app_maps[idx].map, in nxt_main_start_process_handler()
489 nxt_app_maps[idx].size, app_conf); in nxt_main_start_process_handler()
H A Dnxt_http_static.c241 nxt_str_t idx; in nxt_http_static_iterate() local
244 idx = conf->index; in nxt_http_static_iterate()
257 &shr, &idx, &chr); in nxt_http_static_iterate()
259 nxt_debug(task, "http static: \"%V\", index: \"%V\"", &shr, &idx); in nxt_http_static_iterate()
/unit/src/nodejs/unit-http/
H A Dunit.h78 napi_value raw_headers, uint32_t idx);
H A Dunit.cpp622 napi_value raw_headers, uint32_t idx) in append_header() argument
638 set_element(raw_headers, idx * 2, str); in append_header()
639 set_element(raw_headers, idx * 2 + 1, vstr); in append_header()