Home
last modified time | relevance | path

Searched refs:value_len (Results 1 – 7 of 7) sorted by relevance

/unit/src/java/
H A Dnxt_jni_Response.c266 jsize name_len, value_len; in nxt_java_Response_addHeader() local
270 value_len = (*env)->GetArrayLength(env, value); in nxt_java_Response_addHeader()
292 value_str, value_len); in nxt_java_Response_addHeader()
694 memcpy(dst, value, value_len); in nxt_java_response_set_header()
695 dst[value_len] = '\0'; in nxt_java_response_set_header()
696 f->value_length = value_len; in nxt_java_response_set_header()
727 jsize name_len, value_len; in nxt_java_Response_setHeader() local
748 value_len = (*env)->GetArrayLength(env, value); in nxt_java_Response_setHeader()
751 value_str, value_len); in nxt_java_Response_setHeader()
825 int value_len, rc; in nxt_java_Response_setIntHeader() local
[all …]
/unit/src/
H A Dnxt_upstream_source.h14 unsigned value_len:23; member
H A Dnxt_http_source.c348 nv->value_len = hp->header_end - hp->header_start; in nxt_http_source_header_line_process()
353 nv->value_len, nv->value_start); 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()
416 end = nv->value_start + nv->value_len; in nxt_http_source_transfer_encoding()
H A Dnxt_fastcgi_source.c571 nv->value_len = hp->header_end - hp->header_start; 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()
620 s.len = nv->value_len; in nxt_fastcgi_source_status()
642 length = nxt_off_t_parse(nv->value_start, nv->value_len); in nxt_fastcgi_source_content_length()
/unit/src/nodejs/unit-http/
H A Dhttp_server.js62 let value_len = 0
69 value_len += Buffer.byteLength(val + "", 'latin1');
74 value_len = Buffer.byteLength(value + "", 'latin1');
86 this.headers_len += value_len + (name_len * count);
H A Dunit.cpp786 size_t argc, name_len, value_len; in response_send_headers() local
863 value_len = napi.get_value_string_latin1(array_val, ptr, in response_send_headers()
875 f->value_length = (uint32_t) value_len; in response_send_headers()
877 ptr += value_len + 1; in response_send_headers()
878 header_len -= value_len + 1; in response_send_headers()
890 value_len = napi.get_value_string_latin1(value, ptr, header_len); in response_send_headers()
901 f->value_length = (uint32_t) value_len; in response_send_headers()
903 ptr += value_len + 1; in response_send_headers()
904 header_len -= value_len + 1; in response_send_headers()
/unit/src/perl/
H A Dnxt_perl_psgi.c786 STRLEN name_len, value_len; in nxt_perl_psgi_result_head() local
826 value = SvPV(*entry, value_len); in nxt_perl_psgi_result_head()
827 size += value_len; in nxt_perl_psgi_result_head()
844 value = SvPV(*entry, value_len); in nxt_perl_psgi_result_head()
846 rc = nxt_unit_response_add_field(req, name, name_len, value, value_len); in nxt_perl_psgi_result_head()