/unit/src/java/ |
H A D | nxt_jni.c | 117 field_name = nxt_unit_sptr_get(&f->name); in nxt_java_findHeader()
|
H A D | nxt_jni_HeaderNamesEnumeration.c | 139 name = nxt_unit_sptr_get(&f->name); in nxt_java_HeaderNamesEnumeration_nextElement()
|
H A D | nxt_jni_HeadersEnumeration.c | 109 if (!nxt_java_strcaseeq(nxt_unit_sptr_get(&f->name), in nxt_java_HeadersEnumeration_nextElementPos() 110 nxt_unit_sptr_get(&init_field->name), in nxt_java_HeadersEnumeration_nextElementPos() 146 return nxt_java_newString(env, nxt_unit_sptr_get(&f->value), in nxt_java_HeadersEnumeration_nextElement()
|
H A D | nxt_jni_Request.c | 368 value = nxt_unit_sptr_get(&f->value); in nxt_java_Request_getIntHeader() 401 query = nxt_unit_sptr_get(&r->query); in nxt_java_Request_getQueryString() 417 target = nxt_unit_sptr_get(&r->target); in nxt_java_Request_getRequestURI() 420 query = nxt_unit_sptr_get(&r->query); in nxt_java_Request_getRequestURI() 477 local = nxt_unit_sptr_get(&r->local_addr); in nxt_java_Request_getLocalName() 497 local = nxt_unit_sptr_get(&r->local_addr); in nxt_java_Request_getLocalPort() 534 return nxt_java_newString(env, nxt_unit_sptr_get(&r->remote), in nxt_java_Request_getRemoteAddr() 547 remote = nxt_unit_sptr_get(&r->remote); in nxt_java_Request_getRemoteHost() 567 remote = nxt_unit_sptr_get(&r->remote); in nxt_java_Request_getRemotePort() 609 host = nxt_unit_sptr_get(&f->value); in nxt_java_Request_getServerName() [all …]
|
H A D | nxt_jni_Response.c | 499 return nxt_java_newString(env, nxt_unit_sptr_get(&f->value), in nxt_java_Response_getHeader() 694 dst = nxt_unit_sptr_get(&f->value); in nxt_java_response_set_header() 893 return nxt_java_newString(env, nxt_unit_sptr_get(&f->value), in nxt_java_Response_getContentType()
|
/unit/src/nodejs/unit-http/ |
H A D | nxt_napi.h | 146 p = (const char *) nxt_unit_sptr_get(&str); in create_string_latin1()
|
H A D | unit.cpp | 608 p = (char *) nxt_unit_sptr_get(&r->version); in create_headers() 634 name = (char *) nxt_unit_sptr_get(&f->name); in append_header()
|
/unit/src/ |
H A D | nxt_php_sapi.c | 953 p = nxt_cpymem(p, nxt_unit_sptr_get(&r->server_name), in nxt_php_do_301() 956 port = nxt_unit_sptr_get(&r->local_port); in nxt_php_do_301() 965 p = nxt_cpymem(p, nxt_unit_sptr_get(&r->path), r->path_length); in nxt_php_do_301() 1047 path.start = nxt_unit_sptr_get(&r->path); in nxt_php_dynamic_request() 1180 SG(request_info).request_uri = nxt_unit_sptr_get(&r->target); 1181 SG(request_info).request_method = nxt_unit_sptr_get(&r->method); 1192 SG(request_info).content_type = nxt_unit_sptr_get(&f->value); 1198 ctx->cookie = nxt_unit_sptr_get(&f->value); 1205 php_handle_auth_data(nxt_unit_sptr_get(&f->value)); 1511 name = nxt_unit_sptr_get(&f->name); [all …]
|
H A D | nxt_router.c | 4147 field->name = nxt_unit_sptr_get(&f->name); in nxt_router_response_ready_handler() 4148 field->value = nxt_unit_sptr_get(&f->value); in nxt_router_response_ready_handler() 4168 b->mem.pos = nxt_unit_sptr_get(&resp->piggyback_content); in nxt_router_response_ready_handler()
|
H A D | nxt_unit.c | 1333 req->content_buf->free = nxt_unit_sptr_get(&r->preread_content); in nxt_unit_process_req_headers() 1358 (char *) nxt_unit_sptr_get(&r->method), in nxt_unit_process_req_headers() 1360 (char *) nxt_unit_sptr_get(&r->target), in nxt_unit_process_req_headers() 1961 name = nxt_unit_sptr_get(&fields[i].name); in nxt_unit_request_group_dup_fields() 1999 nxt_unit_sptr_get(&fields[j].name), in nxt_unit_request_group_dup_fields() 2173 p = nxt_cpymem(p, nxt_unit_sptr_get(&src->name), src->name_length); in nxt_unit_response_realloc() 2177 p = nxt_cpymem(p, nxt_unit_sptr_get(&src->value), src->value_length); in nxt_unit_response_realloc() 2204 p = nxt_cpymem(p, nxt_unit_sptr_get(&req->response->piggyback_content), in nxt_unit_response_realloc()
|
H A D | nxt_unit_sptr.h | 32 nxt_unit_sptr_get(nxt_unit_sptr_t *sptr) in nxt_unit_sptr_get() function
|
/unit/src/perl/ |
H A D | nxt_perl_psgi.c | 685 nxt_unit_sptr_get(&f->name), f->name_length, in nxt_perl_psgi_env_create() 721 nxt_unit_sptr_get(sptr), len); in nxt_perl_psgi_add_sptr()
|
/unit/src/python/ |
H A D | nxt_python_asgi.c | 682 p = nxt_unit_sptr_get(&r->path); in nxt_py_asgi_create_http_scope() 691 p = nxt_unit_sptr_get(&r->version); in nxt_py_asgi_create_http_scope() 696 v = PyString_FromStringAndSize(nxt_unit_sptr_get(&r->method), in nxt_py_asgi_create_http_scope() 706 v = PyUnicode_DecodeUTF8(nxt_unit_sptr_get(&r->path), r->path_length, in nxt_py_asgi_create_http_scope() 716 target = nxt_unit_sptr_get(&r->target); in nxt_py_asgi_create_http_scope() 717 query = nxt_unit_sptr_get(&r->query); in nxt_py_asgi_create_http_scope() 823 addr.start = nxt_unit_sptr_get(sptr); in nxt_py_asgi_create_address() 865 p = nxt_unit_sptr_get(sptr); in nxt_py_asgi_create_ip_address() 901 name = nxt_unit_sptr_get(&f->name); in nxt_py_asgi_create_header() 919 v = PyBytes_FromStringAndSize(nxt_unit_sptr_get(&f->value), in nxt_py_asgi_create_header() [all …]
|
H A D | nxt_python_wsgi.c | 622 path = nxt_unit_sptr_get(&r->path); in nxt_python_get_environ() 667 || nxt_unit_sptr_get(&f2->name) != nxt_unit_sptr_get(&f->name)) in nxt_python_get_environ() 722 return nxt_python_add_char(pctx, name, nxt_unit_sptr_get(sptr), size); in nxt_python_add_sptr() 773 src = nxt_unit_sptr_get(&field->name); in nxt_python_add_field() 791 (char *) nxt_unit_sptr_get(&field->value)); in nxt_python_add_field() 866 src = nxt_unit_sptr_get(&f->value); in nxt_python_field_value() 883 src = nxt_unit_sptr_get(&f[i].value); in nxt_python_field_value() 910 src = nxt_unit_sptr_get(&f[i].value); in nxt_python_field_value()
|
/unit/src/ruby/ |
H A D | nxt_ruby.c | 768 name = rb_str_new(nxt_unit_sptr_get(&f->name), f->name_length); in nxt_ruby_read_request() 797 str = nxt_unit_sptr_get(sptr); in nxt_ruby_add_sptr()
|
/unit/src/test/ |
H A D | nxt_unit_app_test.c | 216 p = copy(p, nxt_unit_sptr_get(&r->method), r->method_length); in greeting_app_request_handler() 220 p = copy(p, nxt_unit_sptr_get(&r->version), r->version_length); in greeting_app_request_handler() 224 p = copy(p, nxt_unit_sptr_get(&r->remote), r->remote_length); in greeting_app_request_handler() 228 p = copy(p, nxt_unit_sptr_get(&r->local_addr), r->local_addr_length); in greeting_app_request_handler() 232 p = copy(p, nxt_unit_sptr_get(&r->target), r->target_length); in greeting_app_request_handler() 236 p = copy(p, nxt_unit_sptr_get(&r->path), r->path_length); in greeting_app_request_handler() 241 p = copy(p, nxt_unit_sptr_get(&r->query), r->query_length); in greeting_app_request_handler() 251 p = copy(p, nxt_unit_sptr_get(&f->name), f->name_length); in greeting_app_request_handler() 253 p = copy(p, nxt_unit_sptr_get(&f->value), f->value_length); in greeting_app_request_handler()
|
H A D | nxt_unit_websocket_chat.c | 57 const char* target = nxt_unit_sptr_get(&r->target); in ws_chat_request_handler()
|
H A D | nxt_unit_websocket_echo.c | 23 target = nxt_unit_sptr_get(&req->request->target); in ws_echo_request_handler()
|
/unit/src/wasm-wasi-component/src/ |
H A D | lib.rs | 35 pub unsafe fn nxt_unit_sptr_get(sptr: &nxt_unit_sptr_t) -> *const u8 { in nxt_unit_sptr_get() function 575 let ptr = bindings::nxt_unit_sptr_get(ptr); in get_str()
|
/unit/src/wasm/ |
H A D | nxt_wasm.c | 106 const char *str = nxt_unit_sptr_get(&r->smember); \ in nxt_wasm_request_handler() 130 const char *name = nxt_unit_sptr_get(&sf->name); in nxt_wasm_request_handler() 131 const char *value = nxt_unit_sptr_get(&sf->value); in nxt_wasm_request_handler()
|