Home
last modified time | relevance | path

Searched refs:nxt_unit_sptr_get (Results 1 – 18 of 18) sorted by relevance

/unit/src/test/
H A Dnxt_unit_app_test.c216 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), r->local_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 Dnxt_unit_websocket_echo.c23 target = nxt_unit_sptr_get(&req->request->target); in ws_echo_request_handler()
H A Dnxt_unit_websocket_chat.c57 const char* target = nxt_unit_sptr_get(&r->target); in ws_chat_request_handler()
/unit/src/java/
H A Dnxt_jni_Request.c368 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()
464 return nxt_java_newString(env, nxt_unit_sptr_get(&r->local), in nxt_java_Request_getLocalAddr()
477 local = nxt_unit_sptr_get(&r->local); in nxt_java_Request_getLocalName()
497 local = nxt_unit_sptr_get(&r->local); in nxt_java_Request_getLocalPort()
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 Dnxt_jni_HeadersEnumeration.c109 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 Dnxt_jni_HeaderNamesEnumeration.c139 name = nxt_unit_sptr_get(&f->name); in nxt_java_HeaderNamesEnumeration_nextElement()
H A Dnxt_jni.c117 field_name = nxt_unit_sptr_get(&f->name); in nxt_java_findHeader()
H A Dnxt_jni_Response.c498 return nxt_java_newString(env, nxt_unit_sptr_get(&f->value), in nxt_java_Response_getHeader()
693 dst = nxt_unit_sptr_get(&f->value); in nxt_java_response_set_header()
892 return nxt_java_newString(env, nxt_unit_sptr_get(&f->value), in nxt_java_Response_getContentType()
/unit/src/
H A Dnxt_unit_sptr.h32 nxt_unit_sptr_get(nxt_unit_sptr_t *sptr) in nxt_unit_sptr_get() function
H A Dnxt_php_sapi.c964 path.start = nxt_unit_sptr_get(&r->path); in nxt_php_dynamic_request()
1047 SG(request_info).request_uri = nxt_unit_sptr_get(&r->target);
1048 SG(request_info).request_method = nxt_unit_sptr_get(&r->method);
1053 ? nxt_unit_sptr_get(&r->query) : NULL;
1059 SG(request_info).content_type = nxt_unit_sptr_get(&f->value);
1065 ctx->cookie = nxt_unit_sptr_get(&f->value);
1072 php_handle_auth_data(nxt_unit_sptr_get(&f->value));
1074 php_handle_auth_data(nxt_unit_sptr_get(&f->value) TSRMLS_CC);
1381 name = nxt_unit_sptr_get(&f->name);
1409 str = nxt_unit_sptr_get(v);
H A Dnxt_unit.c1319 req->content_buf->free = nxt_unit_sptr_get(&r->preread_content); in nxt_unit_process_req_headers()
1344 (char *) nxt_unit_sptr_get(&r->method), in nxt_unit_process_req_headers()
1346 (char *) nxt_unit_sptr_get(&r->target), in nxt_unit_process_req_headers()
1947 name = nxt_unit_sptr_get(&fields[i].name); in nxt_unit_request_group_dup_fields()
1985 nxt_unit_sptr_get(&fields[j].name), in nxt_unit_request_group_dup_fields()
2158 p = nxt_cpymem(p, nxt_unit_sptr_get(&src->name), src->name_length); in nxt_unit_response_realloc()
2162 p = nxt_cpymem(p, nxt_unit_sptr_get(&src->value), src->value_length); in nxt_unit_response_realloc()
2189 p = nxt_cpymem(p, nxt_unit_sptr_get(&req->response->piggyback_content), in nxt_unit_response_realloc()
H A Dnxt_router.c3856 field->name = nxt_unit_sptr_get(&f->name); in nxt_router_response_ready_handler()
3857 field->value = nxt_unit_sptr_get(&f->value); in nxt_router_response_ready_handler()
3877 b->mem.pos = nxt_unit_sptr_get(&resp->piggyback_content); in nxt_router_response_ready_handler()
/unit/src/python/
H A Dnxt_python_asgi.c615 p = nxt_unit_sptr_get(&r->version); in nxt_py_asgi_create_http_scope()
620 v = PyString_FromStringAndSize(nxt_unit_sptr_get(&r->method), in nxt_py_asgi_create_http_scope()
630 v = PyUnicode_DecodeUTF8(nxt_unit_sptr_get(&r->path), r->path_length, in nxt_py_asgi_create_http_scope()
640 target = nxt_unit_sptr_get(&r->target); in nxt_py_asgi_create_http_scope()
641 query = nxt_unit_sptr_get(&r->query); in nxt_py_asgi_create_http_scope()
746 addr.start = nxt_unit_sptr_get(sptr); in nxt_py_asgi_create_address()
791 p = nxt_unit_sptr_get(sptr); in nxt_py_asgi_create_ip_address()
835 name = nxt_unit_sptr_get(&f->name); in nxt_py_asgi_create_header()
853 v = PyBytes_FromStringAndSize(nxt_unit_sptr_get(&f->value), in nxt_py_asgi_create_header()
874 v = nxt_unit_sptr_get(&f->value); in nxt_py_asgi_create_subprotocols()
H A Dnxt_python_wsgi.c640 || nxt_unit_sptr_get(&f2->name) != nxt_unit_sptr_get(&f->name)) in nxt_python_get_environ()
698 src = nxt_unit_sptr_get(sptr); in nxt_python_add_sptr()
732 src = nxt_unit_sptr_get(&field->name); in nxt_python_add_field()
750 (char *) nxt_unit_sptr_get(&field->value)); in nxt_python_add_field()
837 src = nxt_unit_sptr_get(&f->value); in nxt_python_field_value()
843 src = nxt_unit_sptr_get(&f[i].value); in nxt_python_field_value()
/unit/src/perl/
H A Dnxt_perl_psgi.c684 nxt_unit_sptr_get(&f->name), f->name_length, in nxt_perl_psgi_env_create()
720 nxt_unit_sptr_get(sptr), len); in nxt_perl_psgi_add_sptr()
/unit/src/ruby/
H A Dnxt_ruby.c761 name = rb_str_new(nxt_unit_sptr_get(&f->name), f->name_length); in nxt_ruby_read_request()
790 str = nxt_unit_sptr_get(sptr); in nxt_ruby_add_sptr()
/unit/src/nodejs/unit-http/
H A Dnxt_napi.h146 p = (const char *) nxt_unit_sptr_get(&str); in create_string_latin1()
H A Dunit.cpp628 name = (char *) nxt_unit_sptr_get(&f->name); in append_header()