Home
last modified time | relevance | path

Searched refs:idx (Results 1 – 4 of 4) sorted by relevance

/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()
/unit/src/
H A Dnxt_main_process.c363 nxt_app_type_t idx; in nxt_main_start_process_handler() local
469 idx = nxt_app_parse_type(app_conf->type.start, type_len); in nxt_main_start_process_handler()
471 if (nxt_slow_path(idx >= nxt_nitems(nxt_app_maps))) { in nxt_main_start_process_handler()
472 nxt_alert(task, "invalid app type %d received from router", (int) idx); in nxt_main_start_process_handler()
476 ret = nxt_conf_map_object(process->mem_pool, conf, nxt_app_maps[idx].map, in nxt_main_start_process_handler()
477 nxt_app_maps[idx].size, app_conf); in nxt_main_start_process_handler()
H A Dnxt_http_static.c242 nxt_str_t idx; in nxt_http_static_iterate() local
245 idx = conf->index; in nxt_http_static_iterate()
258 &shr, &idx, &chr); in nxt_http_static_iterate()
260 nxt_debug(task, "http static: \"%V\", index: \"%V\"", &shr, &idx); in nxt_http_static_iterate()