Lines Matching refs:name_len

35     const char *name, uint8_t name_len, int value);
62 const char *name, jint name_len, const char *value, jint value_len);
71 const char *name, jint name_len);
266 jsize name_len, value_len; in nxt_java_Response_addHeader() local
269 name_len = (*env)->GetArrayLength(env, name); in nxt_java_Response_addHeader()
272 req = nxt_java_get_response_info(req_info_ptr, 1, name_len + value_len + 2); in nxt_java_Response_addHeader()
291 rc = nxt_unit_response_add_field(req, name_str, name_len, in nxt_java_Response_addHeader()
364 jsize name_len; in nxt_java_Response_addIntHeader() local
367 name_len = (*env)->GetArrayLength(env, name); in nxt_java_Response_addIntHeader()
369 req = nxt_java_get_response_info(req_info_ptr, 1, name_len + 40); in nxt_java_Response_addIntHeader()
380 nxt_java_add_int_header(req, name_str, name_len, value); in nxt_java_Response_addIntHeader()
388 uint8_t name_len, int value) in nxt_java_add_int_header() argument
399 f->hash = nxt_unit_field_hash(name, name_len); in nxt_java_add_int_header()
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
439 name_len = (*env)->GetArrayLength(env, name); in nxt_java_Response_containsHeader()
451 name_str, name_len) != NULL; in nxt_java_Response_containsHeader()
464 jsize name_len; in nxt_java_Response_getHeader() local
480 name_len = (*env)->GetArrayLength(env, name); in nxt_java_Response_getHeader()
490 name_str, name_len); in nxt_java_Response_getHeader()
530 jsize name_len; in nxt_java_Response_getHeaders() local
549 name_len = (*env)->GetArrayLength(env, name); in nxt_java_Response_getHeaders()
558 name_str, name_len); in nxt_java_Response_getHeaders()
666 const char *name, jint name_len, const char *value, jint value_len) in nxt_java_response_set_header() argument
687 f = nxt_java_findHeader(f, e, name, name_len); in nxt_java_response_set_header()
712 req = nxt_java_get_response_info(req_info_ptr, 1, name_len + value_len + 2); in nxt_java_response_set_header()
717 return nxt_unit_response_add_field(req, name, name_len, value, value_len); in nxt_java_response_set_header()
727 jsize name_len, value_len; in nxt_java_Response_setHeader() local
747 name_len = (*env)->GetArrayLength(env, name); in nxt_java_Response_setHeader()
750 rc = nxt_java_response_set_header(req_info_ptr, name_str, name_len, in nxt_java_Response_setHeader()
767 jsize name_len; in nxt_java_Response_removeHeader() local
770 name_len = (*env)->GetArrayLength(env, name); in nxt_java_Response_removeHeader()
779 rc = nxt_java_response_remove_header(req_info_ptr, name_str, name_len); in nxt_java_Response_removeHeader()
790 const char *name, jint name_len) in nxt_java_response_remove_header() argument
807 f = nxt_java_findHeader(f, e, name, name_len); in nxt_java_response_remove_header()
828 jsize name_len; in nxt_java_Response_setIntHeader() local
832 name_len = (*env)->GetArrayLength(env, name); in nxt_java_Response_setIntHeader()
841 rc = nxt_java_response_set_header(req_info_ptr, name_str, name_len, in nxt_java_Response_setIntHeader()