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 | 628 napi_value raw_headers, uint32_t idx) in append_header() argument 644 set_element(raw_headers, idx * 2, str); in append_header() 645 set_element(raw_headers, idx * 2 + 1, vstr); in append_header()
|
/unit/src/ |
H A D | nxt_main_process.c | 450 nxt_app_type_t idx; in nxt_main_start_process_handler() local 556 idx = nxt_app_parse_type(app_conf->type.start, type_len); in nxt_main_start_process_handler() 558 if (nxt_slow_path(idx >= nxt_nitems(nxt_app_maps))) { in nxt_main_start_process_handler() 559 nxt_alert(task, "invalid app type %d received from router", (int) idx); in nxt_main_start_process_handler() 563 ret = nxt_conf_map_object(process->mem_pool, conf, nxt_app_maps[idx].map, in nxt_main_start_process_handler() 564 nxt_app_maps[idx].size, app_conf); in nxt_main_start_process_handler()
|
H A D | nxt_http_static.c | 243 nxt_str_t idx; in nxt_http_static_iterate() local 246 idx = conf->index; in nxt_http_static_iterate() 259 &shr, &idx, &chr); in nxt_http_static_iterate() 261 nxt_debug(task, "http static: \"%V\", index: \"%V\"", &shr, &idx); in nxt_http_static_iterate()
|
/unit/tools/ |
H A D | setup-unit | 969 local idx=$2; 972 jq '.[0:$idx]' <'$arr'; 976 jq '.[$idx:]' <'$arr';
|