Searched refs:idx (Results 1 – 5 of 5) sorted by relevance
/unit/src/nodejs/unit-http/ |
H A D | unit.h | 78 napi_value raw_headers, uint32_t idx);
|
H A D | unit.cpp | 622 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 D | nxt_http_static.c | 245 nxt_str_t idx; in nxt_http_static_iterate() local 248 idx = conf->index; in nxt_http_static_iterate() 261 &shr, &idx, &chr); in nxt_http_static_iterate() 263 nxt_debug(task, "http static: \"%V\", index: \"%V\"", &shr, &idx); in nxt_http_static_iterate()
|
H A D | nxt_main_process.c | 435 nxt_app_type_t idx; in nxt_main_start_process_handler() local 541 idx = nxt_app_parse_type(app_conf->type.start, type_len); in nxt_main_start_process_handler() 543 if (nxt_slow_path(idx >= nxt_nitems(nxt_app_maps))) { in nxt_main_start_process_handler() 544 nxt_alert(task, "invalid app type %d received from router", (int) idx); in nxt_main_start_process_handler() 548 ret = nxt_conf_map_object(process->mem_pool, conf, nxt_app_maps[idx].map, in nxt_main_start_process_handler() 549 nxt_app_maps[idx].size, app_conf); in nxt_main_start_process_handler()
|
/unit/tools/ |
H A D | setup-unit | 995 local idx=$2; 998 jq '.[0:$idx]' <'$arr'; 1002 jq '.[$idx:]' <'$arr';
|