Home
last modified time | relevance | path

Searched refs:fields_size (Results 1 – 6 of 6) sorted by relevance

/unit/go/
H A Dresponse.go68 fields_size := 0
73 fields_size += len(k) + len(v)
78 C.uint32_t(fields_size))
/unit/src/python/
H A Dnxt_python_asgi.h18 uint32_t fields_size; member
H A Dnxt_python_wsgi.c873 Py_ssize_t i, n, fields_size, fields_count; in nxt_py_start_resp() local
901 fields_size = 0; in nxt_py_start_resp()
919 fields_size += PyBytes_GET_SIZE(string); in nxt_py_start_resp()
922 fields_size += PyUnicode_GET_LENGTH(string); in nxt_py_start_resp()
931 fields_size += PyBytes_GET_SIZE(string); in nxt_py_start_resp()
934 fields_size += PyUnicode_GET_LENGTH(string); in nxt_py_start_resp()
968 rc = nxt_unit_response_init(pctx->req, status, fields_count, fields_size); in nxt_py_start_resp()
H A Dnxt_python_asgi_http.c313 calc_size_ctx.fields_size = 0; in nxt_py_asgi_http_response_start()
329 calc_size_ctx.fields_size); in nxt_py_asgi_http_response_start()
H A Dnxt_python_asgi_websocket.c290 calc_size_ctx.fields_size = 0; in nxt_py_asgi_websocket_accept()
307 calc_size_ctx.fields_size += ws_protocol.length + subprotocol_len; in nxt_py_asgi_websocket_accept()
317 calc_size_ctx.fields_size); in nxt_py_asgi_websocket_accept()
H A Dnxt_python_asgi.c1188 ctx->fields_size += PyBytes_GET_SIZE(name) + PyBytes_GET_SIZE(val); in nxt_py_asgi_calc_size()