Home
last modified time | relevance | path

Searched refs:nv (Results 1 – 8 of 8) sorted by relevance

/unit/src/
H A Dnxt_http_js.c154 nxt_http_name_value_t *nv, *start, *end; in nxt_http_js_ext_get_arg() local
176 for (nv = start; nv < end; nv++) { in nxt_http_js_ext_get_arg()
178 if (key.length == nv->name_length in nxt_http_js_ext_get_arg()
179 && memcmp(key.start, nv->name, nv->name_length) == 0) in nxt_http_js_ext_get_arg()
181 return njs_vm_value_string_set(vm, retval, nv->value, in nxt_http_js_ext_get_arg()
182 nv->value_length); in nxt_http_js_ext_get_arg()
238 nxt_http_name_value_t *nv, *start, *end; in nxt_http_js_ext_get_cookie() local
260 for (nv = start; nv < end; nv++) { in nxt_http_js_ext_get_cookie()
262 if (key.length == nv->name_length in nxt_http_js_ext_get_cookie()
263 && memcmp(key.start, nv->name, nv->name_length) == 0) in nxt_http_js_ext_get_cookie()
[all …]
H A Dnxt_http_source.c25 nxt_name_value_t *nv);
27 nxt_name_value_t *nv);
344 nv->hash = hp->header_hash; in nxt_http_source_header_line_process()
345 nv->skip = 0; in nxt_http_source_header_line_process()
346 nv->name_len = name_len; in nxt_http_source_header_line_process()
352 nv->name_len, nv->name_start, in nxt_http_source_header_line_process()
353 nv->value_len, nv->value_start); in nxt_http_source_header_line_process()
355 lhq.key_hash = nv->hash; in nxt_http_source_header_line_process()
397 length = nxt_off_t_parse(nv->value_start, nv->value_len); in nxt_http_source_content_length()
411 nxt_name_value_t *nv) in nxt_http_source_transfer_encoding() argument
[all …]
H A Dnxt_fastcgi_source.c63 nxt_name_value_t *nv);
65 nxt_name_value_t *nv);
567 nv->hash = hp->header_hash; in nxt_fastcgi_source_header_process()
568 nv->skip = 0; in nxt_fastcgi_source_header_process()
569 nv->name_len = len; in nxt_fastcgi_source_header_process()
575 nv->name_len, nv->name_start, nv->value_len, nv->value_start); in nxt_fastcgi_source_header_process()
577 lhq.key_hash = nv->hash; in nxt_fastcgi_source_header_process()
620 s.len = nv->value_len; in nxt_fastcgi_source_status()
621 s.data = nv->value_start; in nxt_fastcgi_source_status()
637 nxt_name_value_t *nv) in nxt_fastcgi_source_content_length() argument
[all …]
H A Dnxt_http_variables.c418 nv = start + args->nelts - 1; in nxt_http_var_arg()
420 while (nv >= start) { in nxt_http_var_arg()
422 if (vf->hash == nv->hash in nxt_http_var_arg()
424 && memcmp(vf->name.start, nv->name, nv->name_length) == 0) in nxt_http_var_arg()
432 nv--; in nxt_http_var_arg()
495 nv = cookies->elts; in nxt_http_var_cookie()
496 end = nv + cookies->nelts; in nxt_http_var_cookie()
498 while (nv < end) { in nxt_http_var_cookie()
500 if (vf->hash == nv->hash in nxt_http_var_cookie()
502 && memcmp(vf->name.start, nv->name, nv->name_length) == 0) in nxt_http_var_cookie()
[all …]
H A Dnxt_http_request.c862 nxt_http_name_value_t *nv; in nxt_http_arguments_parse() local
964 nxt_http_name_value_t *nv; in nxt_http_argument() local
966 nv = nxt_array_add(array); in nxt_http_argument()
982 nv->value_length = length; in nxt_http_argument()
983 nv->name = name; in nxt_http_argument()
984 nv->value = start; in nxt_http_argument()
986 return nv; in nxt_http_argument()
1082 nv = nxt_array_add(array); in nxt_http_cookie()
1088 nv->name = name; in nxt_http_cookie()
1102 nv->value = start; in nxt_http_cookie()
[all …]
H A Dnxt_upstream_source.h34 nxt_upstream_source_t *us, nxt_name_value_t *nv);
78 nxt_name_value_t *nv);
H A Dnxt_http_route.c1933 nxt_http_name_value_t *nv, *end; in nxt_http_route_test_argument() local
1937 nv = array->elts; in nxt_http_route_test_argument()
1938 end = nv + array->nelts; in nxt_http_route_test_argument()
1940 while (nv < end) { in nxt_http_route_test_argument()
1944 && memcmp(rule->u.name.start, nv->name, nv->name_length) == 0) in nxt_http_route_test_argument()
1957 nv++; in nxt_http_route_test_argument()
2015 nv = array->elts; in nxt_http_route_test_cookie()
2016 end = nv + array->nelts; in nxt_http_route_test_cookie()
2018 while (nv < end) { in nxt_http_route_test_cookie()
2022 && memcmp(rule->u.name.start, nv->name, nv->name_length) == 0) in nxt_http_route_test_cookie()
[all …]
H A Dnxt_upstream_source.c68 nxt_upstream_name_value_ignore(nxt_upstream_source_t *us, nxt_name_value_t *nv) in nxt_upstream_name_value_ignore() argument