Home
last modified time | relevance | path

Searched refs:fields_count (Results 1 – 21 of 21) sorted by relevance

/unit/src/java/
H A Dnxt_jni_HeaderNamesEnumeration.h17 uint32_t fields_count);
H A Dnxt_jni_HeadersEnumeration.h17 uint32_t fields_count, uint32_t pos);
H A Dnxt_jni_Response.c334 - req->response->fields_count in nxt_java_get_response_info()
396 f = resp->fields + resp->fields_count; in nxt_java_add_int_header()
411 resp->fields_count++; in nxt_java_add_int_header()
450 resp->fields + resp->fields_count, in nxt_java_Response_containsHeader()
489 req->response->fields + req->response->fields_count, in nxt_java_Response_getHeader()
521 req->response->fields_count); in nxt_java_Response_getHeaderNames()
557 f = nxt_java_findHeader(resp->fields, resp->fields + resp->fields_count, in nxt_java_Response_getHeaders()
563 f = resp->fields + resp->fields_count; in nxt_java_Response_getHeaders()
682 e = f + resp->fields_count; in nxt_java_response_set_header()
804 e = f + resp->fields_count; in nxt_java_response_remove_header()
[all …]
H A Dnxt_jni_HeaderNamesEnumeration.c78 uint32_t fields_count) in nxt_java_newHeaderNamesEnumeration() argument
83 (jlong) fields_count); in nxt_java_newHeaderNamesEnumeration()
H A Dnxt_jni_HeadersEnumeration.c78 uint32_t fields_count, uint32_t pos) in nxt_java_newHeadersEnumeration() argument
83 (jlong) fields_count, (jlong) pos); in nxt_java_newHeadersEnumeration()
H A Dnxt_jni_Request.c287 f = nxt_java_findHeader(r->fields, r->fields + r->fields_count, in nxt_java_Request_getHeader()
307 return nxt_java_newHeaderNamesEnumeration(env, r->fields, r->fields_count); in nxt_java_Request_getHeaderNames()
326 f = nxt_java_findHeader(r->fields, r->fields + r->fields_count, in nxt_java_Request_getHeaders()
332 f = r->fields + r->fields_count; in nxt_java_Request_getHeaders()
335 return nxt_java_newHeadersEnumeration(env, r->fields, r->fields_count, in nxt_java_Request_getHeaders()
359 f = nxt_java_findHeader(r->fields, r->fields + r->fields_count, in nxt_java_Request_getIntHeader()
606 f = nxt_java_findHeader(r->fields, r->fields + r->fields_count, in nxt_java_Request_getServerName()
634 f = nxt_java_findHeader(r->fields, r->fields + r->fields_count, in nxt_java_Request_getServerPort()
/unit/src/
H A Dnxt_unit_response.h17 uint32_t fields_count; member
H A Dnxt_unit_request.h29 uint32_t fields_count; member
H A Dnxt_php_sapi.c1183 int rc, fields_count; local
1207 fields_count = zend_llist_count(&sapi_headers->headers);
1218 rc = nxt_unit_response_init(req, status, fields_count, resp_size);
1379 f_end = r->fields + r->fields_count;
H A Dnxt_router.c3913 if (nxt_slow_path(count < resp->fields_count)) { in nxt_router_response_ready_handler()
3915 resp->fields_count); in nxt_router_response_ready_handler()
3921 for (f = resp->fields; f < resp->fields + resp->fields_count; f++) { in nxt_router_response_ready_handler()
5182 size_t fields_count, req_size, size, free_size; in nxt_router_prepare_msg() local
5201 fields_count = 0; in nxt_router_prepare_msg()
5204 fields_count++; in nxt_router_prepare_msg()
5210 req_size += fields_count * sizeof(nxt_unit_field_t); in nxt_router_prepare_msg()
5232 p = (u_char *) (req->fields + fields_count); in nxt_router_prepare_msg()
5234 nxt_debug(task, "fields_count=%d", (int) fields_count); in nxt_router_prepare_msg()
5390 req->fields_count = (uint32_t) (dst_field - req->fields); in nxt_router_prepare_msg()
H A Dnxt_unit.c1942 for (i = 0; i < r->fields_count; i++) { in nxt_unit_request_group_dup_fields()
1977 for (j = i + 1; j < r->fields_count; j++) { in nxt_unit_request_group_dup_fields()
2104 if (nxt_slow_path(max_fields_count < req->response->fields_count)) { in nxt_unit_response_realloc()
2136 for (i = 0; i < req->response->fields_count; i++) { in nxt_unit_response_realloc()
2166 resp->fields_count++; in nxt_unit_response_realloc()
2239 if (nxt_slow_path(resp->fields_count >= req->response_max_fields)) { in nxt_unit_response_add_field()
2241 (int) resp->fields_count); in nxt_unit_response_add_field()
2257 resp->fields_count, in nxt_unit_response_add_field()
2261 f = resp->fields + resp->fields_count; in nxt_unit_response_add_field()
2276 resp->fields_count++; in nxt_unit_response_add_field()
[all …]
/unit/go/
H A Drequest.go99 Len: int(req.fields_count),
100 Cap: int(req.fields_count),
/unit/src/python/
H A Dnxt_python_asgi.h17 uint32_t fields_count; member
H A Dnxt_python_wsgi.c632 for (i = 0; i < r->fields_count;) { in nxt_python_get_environ()
636 for (j = i + 1; j < r->fields_count; j++) { in nxt_python_get_environ()
873 Py_ssize_t i, n, fields_size, fields_count; in nxt_py_start_resp() local
902 fields_count = PyList_GET_SIZE(headers); in nxt_py_start_resp()
904 for (i = 0; i < fields_count; i++) { in nxt_py_start_resp()
968 rc = nxt_unit_response_init(pctx->req, status, fields_count, fields_size); in nxt_py_start_resp()
974 for (i = 0; i < fields_count; i++) { in nxt_py_start_resp()
H A Dnxt_python_asgi_http.c314 calc_size_ctx.fields_count = 0; in nxt_py_asgi_http_response_start()
328 calc_size_ctx.fields_count, in nxt_py_asgi_http_response_start()
H A Dnxt_python_asgi_websocket.c291 calc_size_ctx.fields_count = 0; in nxt_py_asgi_websocket_accept()
308 calc_size_ctx.fields_count++; in nxt_py_asgi_websocket_accept()
316 calc_size_ctx.fields_count, in nxt_py_asgi_websocket_accept()
H A Dnxt_python_asgi.c688 headers = PyTuple_New(r->fields_count); in nxt_py_asgi_create_http_scope()
694 for (i = 0; i < r->fields_count; i++) { in nxt_py_asgi_create_http_scope()
1231 ctx->fields_count++; in nxt_py_asgi_calc_size()
/unit/src/test/
H A Dnxt_unit_app_test.c201 + r->fields_count * ( in greeting_app_request_handler()
247 for (i = 0; i < r->fields_count; i++) { in greeting_app_request_handler()
/unit/src/nodejs/unit-http/
H A Dunit.cpp593 status = napi_create_array_with_length(env(), r->fields_count * 2, in create_headers()
599 for (i = 0; i < r->fields_count; i++) { in create_headers()
867 f = req->response->fields + req->response->fields_count; in response_send_headers()
881 req->response->fields_count++; in response_send_headers()
893 f = req->response->fields + req->response->fields_count; in response_send_headers()
907 req->response->fields_count++; in response_send_headers()
/unit/src/perl/
H A Dnxt_perl_psgi.c680 for (i = 0; i < r->fields_count; i++) { in nxt_perl_psgi_env_create()
/unit/src/ruby/
H A Dnxt_ruby.c765 for (i = 0; i < r->fields_count; i++) { in nxt_ruby_read_request()