Home
last modified time | relevance | path

Searched refs:u (Results 1 – 25 of 62) sorted by last modified time

123

/unit/src/
H A Dnxt_sockaddr.h57 } u; member
100 (offsetof(nxt_sockaddr_t, u) + sa->socklen + sa->length)
H A Dnxt_runtime.c571 if (sa->u.sockaddr.sa_family == AF_UNIX) { in nxt_runtime_exit()
572 name = (nxt_file_name_t *) sa->u.sockaddr_un.sun_path; in nxt_runtime_exit()
1129 ls->sockaddr = nxt_sockaddr_create(mp, &sa->u.sockaddr, sa->socklen, in nxt_runtime_listen_socket_add()
H A Dnxt_sockaddr.c45 sa->u.sockaddr.sa_family = ls->sockaddr->u.sockaddr.sa_family; in nxt_sockaddr_cache_alloc()
242 switch (sa->u.sockaddr.sa_family) { in nxt_sockaddr_text()
255 port = sa->u.sockaddr_in.sin_port; in nxt_sockaddr_text()
274 port = sa->u.sockaddr_in6.sin6_port; in nxt_sockaddr_text()
330 switch (sa->u.sockaddr.sa_family) { in nxt_sockaddr_port_number()
335 port = sa->u.sockaddr_in6.sin6_port; in nxt_sockaddr_port_number()
348 port = sa->u.sockaddr_in.sin_port; in nxt_sockaddr_port_number()
367 if (sa1->u.sockaddr.sa_family != sa2->u.sockaddr.sa_family) { in nxt_sockaddr_cmp()
376 switch (sa1->u.sockaddr.sa_family) { in nxt_sockaddr_cmp()
381 if (sa1->u.sockaddr_in6.sin6_port != sa2->u.sockaddr_in6.sin6_port) { in nxt_sockaddr_cmp()
[all …]
H A Dnxt_router.c655 port = msg->u.new_port; in nxt_router_new_port_handler()
658 nxt_router_greet_controller(task, msg->u.new_port); in nxt_router_new_port_handler()
928 } u; in nxt_router_app_process_remove_pid() local
930 u.data = data; in nxt_router_app_process_remove_pid()
932 nxt_port_rpc_remove_peer(task, port, u.removed_pid); in nxt_router_app_process_remove_pid()
947 msg->u.data); in nxt_router_remove_pid_handler()
2399 action->u.conf = conf; in nxt_router_application_init()
2469 switch (sa->u.sockaddr.sa_family) { in nxt_router_socket_conf()
2857 port = msg->u.new_port; in nxt_router_app_prefork_ready()
4136 port = msg->u.new_port; in nxt_router_app_port_ready()
[all …]
H A Dnxt_http_static.c94 action->u.conf = conf; in nxt_http_static_init()
235 conf = ctx->action->u.conf; in nxt_http_static_iterate()
320 conf = action->u.conf; in nxt_http_static_send_ready()
679 conf = action->u.conf; in nxt_http_static_next()
H A Dnxt_http_request.c480 switch (sa->u.sockaddr.sa_family) { in nxt_http_request_client_ip_sockaddr()
482 if (sa->u.sockaddr_in.sin_addr.s_addr == INADDR_ANY) { in nxt_http_request_client_ip_sockaddr()
490 if (IN6_IS_ADDR_UNSPECIFIED(&sa->u.sockaddr_in6.sin6_addr)) { in nxt_http_request_client_ip_sockaddr()
H A Dnxt_conf_validation.c65 } u; member
602 .u.string = "method",
611 .u.string = "host",
624 .u.string = "uri"
629 .u.string = "query"
638 .u.string = "headers"
643 .u.string = "cookies"
698 .u.string = "chroot",
778 .u.string = "module",
828 .u.string = "root",
[all …]
H A Dnxt_http_route.c70 } u; member
104 } u; member
792 rule->u.name.hash = hash; in nxt_http_route_rule_name_create()
793 rule->u.name.start = name->start; in nxt_http_route_rule_name_create()
945 pattern->u.pattern_slices = NULL; in nxt_http_route_pattern_create()
979 pattern->u.regex = re; in nxt_http_route_pattern_create()
1300 var = action->u.var; in nxt_http_pass_var()
1470 action->u.route = *route; in nxt_http_route_find()
1543 route = start->u.route; in nxt_http_route_handler()
1729 sin = &sa->u.sockaddr_in; in nxt_http_route_addr_pattern_match()
[all …]
H A Dnxt_http_return.c50 action->u.conf = conf; in nxt_http_return_init()
82 conf = action->u.conf; in nxt_http_return()
H A Dnxt_http.h248 } u; member
H A Dnxt_controller.c382 if (msg->u.new_port->type != NXT_PROCESS_ROUTER in nxt_controller_process_new_port_handler()
H A Dnxt_mp.c40 } u; member
544 n = nxt_mp_chunk_get_free(page->u.map); in nxt_mp_alloc_small()
545 nxt_mp_chunk_set_busy(page->u.map, n); in nxt_mp_alloc_small()
571 page->u.map = 0xFFFFFFFE; in nxt_mp_alloc_small()
611 available = mp->page_size - page->u.taken; in nxt_mp_get_small()
631 page->u.taken = 0; in nxt_mp_get_small()
637 p += page->u.taken; in nxt_mp_get_small()
638 page->u.taken += size; in nxt_mp_get_small()
893 if (nxt_slow_path(nxt_mp_chunk_is_free(page->u.map, chunk))) { in nxt_mp_chunk_free()
897 nxt_mp_chunk_set_free(page->u.map, chunk); in nxt_mp_chunk_free()
[all …]
H A Dnxt_http_parse.c881 rp->path.start = u; in nxt_http_parse_complex_target()
897 *u++ = ch; in nxt_http_parse_complex_target()
904 *u++ = ch; in nxt_http_parse_complex_target()
916 *u++ = ch; in nxt_http_parse_complex_target()
926 *u++ = ch; in nxt_http_parse_complex_target()
935 *u++ = ch; in nxt_http_parse_complex_target()
965 u--; in nxt_http_parse_complex_target()
976 u--; in nxt_http_parse_complex_target()
980 u--; in nxt_http_parse_complex_target()
1003 u -= 5; in nxt_http_parse_complex_target()
[all …]
H A Dnxt_conf.c63 } nxt_packed u; member
232 return value->u.boolean; in nxt_conf_get_boolean()
750 array = value->u.array; in nxt_conf_get_array_element()
769 array = value->u.array; in nxt_conf_get_array_element_or_itself()
789 array = value->u.array; in nxt_conf_array_qsort()
969 dst->u.string.start = nxt_mp_nget(mp, src->u.string.length); in nxt_conf_copy_value()
974 nxt_memcpy(dst->u.string.start, src->u.string.start, in nxt_conf_copy_value()
977 dst->u.string.length = src->u.string.length; in nxt_conf_copy_value()
988 dst->u = src->u; in nxt_conf_copy_value()
2054 value->u.string.length = s - value->u.string.start; in nxt_conf_json_parse_string()
[all …]
H A Dnxt_h1proto.c493 r->tls = (c->u.tls != NULL); in nxt_h1p_conn_request_init()
584 if (c->u.tls == NULL && r->conf->socket_conf->tls != NULL) { in nxt_h1p_conn_request_header_parse()
2055 if (c->u.tls != NULL) { in nxt_h1p_closing()
H A Dnxt_port_rpc.c396 msg.u.removed_pid = peer; in nxt_port_rpc_remove_peer()
517 msg.u.data = NULL; in nxt_port_rpc_close()
H A Dnxt_port.h208 } u; member
H A Dnxt_openssl.c752 tls = c->u.tls;
1075 tls = c->u.tls;
1175 c->u.tls = tls;
1227 tls = c->u.tls;
1230 c->u.tls = NULL;
1257 tls = c->u.tls;
1340 tls = c->u.tls;
1439 tls = c->u.tls;
1550 tls = c->u.tls;
H A Dnxt_mem_zone.c44 } u; member
525 map = page->u.map; in nxt_mem_zone_alloc_small()
555 page->u.count = 0; in nxt_mem_zone_alloc_small()
566 map = page->u.map; in nxt_mem_zone_alloc_small()
698 page[0].u.count = pages; in nxt_mem_zone_alloc_pages()
796 count = page->u.count; in nxt_mem_zone_free()
849 map = page->u.map; in nxt_mem_zone_free_chunk()
872 if (map != page->u.map) { in nxt_mem_zone_free_chunk()
908 page->u.count = 0; in nxt_mem_zone_free_pages()
H A Dnxt_fastcgi_source.c182 fs->u.header.mem_pool = fs->upstream->buffers.mem_pool; in nxt_fastcgi_source_handler()
353 &fs->u.request.name, &fs->u.request.value); in nxt_fastcgi_next_param()
358 fs->u.request.name.len); in nxt_fastcgi_next_param()
370 param->buf = fs->u.request.name.data; in nxt_fastcgi_next_param()
371 param->len = fs->u.request.name.len; in nxt_fastcgi_next_param()
376 param->buf = fs->u.request.value.data; in nxt_fastcgi_next_param()
377 param->len = fs->u.request.value.len; in nxt_fastcgi_next_param()
506 fs->u.header.parse.header_end in nxt_fastcgi_source_header_filter()
507 - fs->u.header.parse.header_name_start, in nxt_fastcgi_source_header_filter()
508 fs->u.header.parse.header_name_start); in nxt_fastcgi_source_header_filter()
[all …]
H A Dnxt_event_engine.h441 } u; member
/unit/src/ruby/
H A Dnxt_ruby.c274 c = &conf->u.ruby; in nxt_ruby_start()
/unit/test/
H A Dtest_return.py132 check_location(u"\u0000\u0018\u001F\u0020\u0021", "%00%18%1F%20!")
133 check_location(u"\u007F\u0080н\u20BD", "%7F%C2%80%D0%BD%E2%82%BD")
/unit/src/python/
H A Dnxt_python.c94 c = &app_conf->u.python; in nxt_python_start()
/unit/src/perl/
H A Dnxt_perl_psgi.c1140 c = &common_conf->u.perl; in nxt_perl_psgi_start()

123