Home
last modified time | relevance | path

Searched refs:name_len (Results 1 – 13 of 13) sorted by relevance

/unit/src/java/
H A Dnxt_jni_Response.c71 const char *name, jint name_len);
364 jsize name_len; in nxt_java_Response_addIntHeader() local
388 uint8_t name_len, int value) in nxt_java_add_int_header() argument
401 f->name_length = name_len; in nxt_java_add_int_header()
404 memcpy(p, name, name_len); in nxt_java_add_int_header()
405 p += name_len; in nxt_java_add_int_header()
423 jsize name_len; in nxt_java_Response_containsHeader() local
464 jsize name_len; in nxt_java_Response_getHeader() local
530 jsize name_len; in nxt_java_Response_getHeaders() local
790 const char *name, jint name_len) in nxt_java_response_remove_header() argument
[all …]
H A Dnxt_jni.c108 const char *name, uint8_t name_len) in nxt_java_findHeader() argument
113 if (f->skip != 0 || f->name_length != name_len) { in nxt_java_findHeader()
119 if (nxt_java_strcaseeq(name, field_name, name_len)) { in nxt_java_findHeader()
H A Dnxt_jni_Request.c22 jlong req_ptr, jstring name, jint name_len);
26 jlong req_ptr, jstring name, jint name_len);
28 jlong req_ptr, jstring name, jint name_len);
274 jstring name, jint name_len) in nxt_java_Request_getHeader() argument
288 name_str, name_len); in nxt_java_Request_getHeader()
313 jstring name, jint name_len) in nxt_java_Request_getHeaders() argument
327 name_str, name_len); in nxt_java_Request_getHeaders()
342 jstring name, jint name_len) in nxt_java_Request_getIntHeader() argument
360 name_str, name_len); in nxt_java_Request_getIntHeader()
H A Dnxt_jni.h23 const char *name, uint8_t name_len);
/unit/src/
H A Dnxt_http_source.c323 size_t name_len; in nxt_http_source_header_line_process() local
331 name_len = hp->header_name_end - hp->header_name_start; in nxt_http_source_header_line_process()
333 if (name_len > 255) { in nxt_http_source_header_line_process()
335 "\"%*s\"", name_len, hp->header_name_start); 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()
356 lhq.key.len = nv->name_len; in nxt_http_source_header_line_process()
H A Dnxt_upstream_source.h16 unsigned name_len:8; member
H A Dnxt_fastcgi_source.c569 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()
578 lhq.key.len = nv->name_len; in nxt_fastcgi_source_header_process()
H A Dnxt_php_sapi.c254 ag->armed = ag->auto_global_callback(ag->name, ag->name_len TSRMLS_CC); in PHP_FUNCTION()
/unit/src/nodejs/unit-http/
H A Dhttp_server.js83 let name_len = Buffer.byteLength(name, 'latin1');
86 this.headers_len += value_len + (name_len * count);
134 let name_len = Buffer.byteLength(entry[0] + "", 'latin1');
141 this.headers_len -= value.length * name_len;
151 this.headers_len -= name_len + Buffer.byteLength(value + "", 'latin1');
H A Dunit.cpp786 size_t argc, name_len, value_len; in response_send_headers() local
841 name_len = napi.get_value_string_latin1(name, ptr, header_len); in response_send_headers()
844 ptr += name_len + 1; in response_send_headers()
845 header_len -= name_len + 1; in response_send_headers()
847 hash = nxt_unit_field_hash(name_ptr, name_len); in response_send_headers()
871 f->name_length = name_len; in response_send_headers()
897 f->name_length = name_len; in response_send_headers()
/unit/src/perl/
H A Dnxt_perl_psgi.c65 const char *name, uint32_t name_len, nxt_unit_sptr_t *sptr, uint32_t len);
67 const char *name, uint32_t name_len, const char *str, uint32_t len);
69 const char *name, uint32_t name_len, void *value);
717 const char *name, uint32_t name_len, nxt_unit_sptr_t *sptr, uint32_t len) in nxt_perl_psgi_add_sptr() argument
719 return nxt_perl_psgi_add_str(my_perl, hash_env, name, name_len, in nxt_perl_psgi_add_sptr()
726 const char *name, uint32_t name_len, const char *str, uint32_t len) in nxt_perl_psgi_add_str() argument
730 ha = hv_store(hash_env, name, (I32) name_len, in nxt_perl_psgi_add_str()
742 const char *name, uint32_t name_len, void *value) in nxt_perl_psgi_add_value() argument
746 ha = hv_store(hash_env, name, (I32) name_len, value, 0); in nxt_perl_psgi_add_value()
786 STRLEN name_len, value_len; in nxt_perl_psgi_result_head() local
[all …]
/unit/src/java/nginx/unit/
H A DRequest.java243 private static native String getHeader(long req_ptr, String name, int name_len); in getHeader() argument
265 private static native Enumeration<String> getHeaders(long req_ptr, String name, int name_len); in getHeaders() argument
276 private static native int getIntHeader(long req_ptr, String name, int name_len); in getIntHeader() argument
/unit/src/python/
H A Dnxt_python_asgi.c1243 uint32_t name_len, val_len; in nxt_py_asgi_add_field() local
1249 name_len = PyBytes_GET_SIZE(name); in nxt_py_asgi_add_field()
1257 rc = nxt_unit_response_add_field(req, name_str, name_len, in nxt_py_asgi_add_field()