Home
last modified time | relevance | path

Searched refs:name (Results 1 – 25 of 157) sorted by last modified time

1234567

/unit/src/
H A Dnxt_unit.c1916 end = name + name_length; in nxt_unit_field_hash()
1918 for (p = name; p < end; p++) { in nxt_unit_field_hash()
1932 char *name; in nxt_unit_request_group_dup_fields() local
1947 name = nxt_unit_sptr_get(&fields[i].name); in nxt_unit_request_group_dup_fields()
2004 nxt_unit_sptr_set(&fields[j].name, name); in nxt_unit_request_group_dup_fields()
2157 nxt_unit_sptr_set(&f->name, p); in nxt_unit_response_realloc()
2224 const char *name, uint8_t name_length, in nxt_unit_response_add_field() argument
2267 nxt_unit_sptr_set(&f->name, buf->free); in nxt_unit_response_add_field()
3817 char name[64]; in nxt_unit_shm_open() local
3821 snprintf(name, sizeof(name), NXT_SHM_PREFIX "unit.%d.%p", in nxt_unit_shm_open()
[all …]
H A Dnxt_sockaddr.c1107 jbs->resolve.name.length = length; in nxt_job_sockaddr_inet_parse()
1108 jbs->resolve.name.start = host; in nxt_job_sockaddr_inet_parse()
1138 jbs->resolve.name.length = length; in nxt_job_sockaddr_inet_parse()
1139 jbs->resolve.name.start = host; in nxt_job_sockaddr_inet_parse()
H A Dnxt_http_static.c366 file.name = fname; in nxt_http_static_send_ready()
384 : nxt_http_static_chroot_match(chr->start, file.name); in nxt_http_static_send_ready()
387 file.name = chr->start; in nxt_http_static_send_ready()
397 file.name = (u_char *) "/"; in nxt_http_static_send_ready()
401 file.name = (u_char *) "."; in nxt_http_static_send_ready()
411 file.name = fname; in nxt_http_static_send_ready()
592 f->name); in nxt_http_static_send_ready()
870 "while sending response to a client", fb->file->name); in nxt_http_static_buf_completion()
H A Dnxt_http_request.c865 name = NULL; in nxt_http_arguments_parse()
902 name = NULL; in nxt_http_arguments_parse()
966 if (name == NULL) { in nxt_http_argument()
968 name = start; in nxt_http_argument()
974 nv->name = name; in nxt_http_argument()
1027 name = NULL; in nxt_http_cookie_parse()
1052 name = NULL; in nxt_http_cookie_parse()
1057 if (name != NULL) { in nxt_http_cookie_parse()
1082 nv->name = name; in nxt_http_cookie()
1086 for (p = name; p < name + name_length; p++) { in nxt_http_cookie()
[all …]
H A Dnxt_http_parse.c810 field->name = rp->field_name.start; in nxt_http_parse_field_end()
1164 if (nxt_strcasestr_eq(&lhq->key, &field->name)) { in nxt_http_field_hash_test()
1185 nxt_str_t *name; in nxt_http_fields_hash() local
1195 name = &items[i].name; in nxt_http_fields_hash()
1197 for (j = 0; j < name->length; j++) { in nxt_http_fields_hash()
1198 ch = nxt_lowcase(name->start[j]); in nxt_http_fields_hash()
1203 lhq.key = *name; in nxt_http_fields_hash()
1223 nxt_str_t *name; in nxt_http_fields_hash_collisions() local
1240 name = &items[i].name; in nxt_http_fields_hash_collisions()
1242 for (j = 0; j < name->length; j++) { in nxt_http_fields_hash_collisions()
[all …]
H A Dnxt_http_parse.h80 nxt_str_t name; member
92 u_char *name; member
145 lhq.key.start = field->name; in nxt_http_field_process()
H A Dnxt_http.h94 (_field)->name = (u_char *) _name; \
102 (_field)->name = (u_char *) _name; \
205 u_char *name; member
340 int64_t nxt_http_field_hash(nxt_mp_t *mp, nxt_str_t *name,
352 nxt_router_conf_t *rtcf, nxt_str_t *name);
385 nxt_int_t nxt_upstream_find(nxt_upstreams_t *upstreams, nxt_str_t *name,
H A Dnxt_conf.h58 nxt_str_t name; member
85 nxt_str_t *name, uint32_t *index);
87 nxt_conf_value_t *value, nxt_str_t *name, uint32_t *next);
127 void nxt_conf_set_member(nxt_conf_value_t *object, nxt_str_t *name,
129 void nxt_conf_set_member_string(nxt_conf_value_t *object, nxt_str_t *name,
132 nxt_str_t *name, nxt_str_t *value, uint32_t index);
133 void nxt_conf_set_member_integer(nxt_conf_value_t *object, nxt_str_t *name,
135 void nxt_conf_set_member_null(nxt_conf_value_t *object, nxt_str_t *name,
H A Dnxt_conf.c76 nxt_conf_value_t name; member
275 nxt_conf_set_string(&member->name, name); in nxt_conf_set_member()
289 nxt_conf_set_string(&member->name, name); in nxt_conf_set_member_string()
303 nxt_conf_set_string(&member->name, name); in nxt_conf_set_member_string_dup()
318 nxt_conf_set_string(&member->name, name); in nxt_conf_set_member_integer()
338 nxt_conf_set_string(&member->name, name); in nxt_conf_set_member_null()
547 if (nxt_strstr_eq(&str, name)) { in nxt_conf_get_object_member()
735 nxt_conf_get_string(&member->name, name); in nxt_conf_next_object_member()
1472 u_char *p, *name; in nxt_conf_json_parse_object() local
1518 name = p; in nxt_conf_json_parse_object()
[all …]
H A Dnxt_router.c121 nxt_str_t *name);
1711 app->name.length = name.length; in nxt_router_conf_create()
1712 nxt_memcpy(app->name.start, name.start, name.length); in nxt_router_conf_create()
2248 if (nxt_strstr_eq(name, &app->name)) { in nxt_router_app_find()
2358 lhq.key_hash = nxt_djb_hash(app->name.start, app->name.length); in nxt_router_apps_hash_add()
2360 lhq.key = app->name; in nxt_router_apps_hash_add()
2385 lhq.key_hash = nxt_djb_hash(name->start, name->length); in nxt_router_apps_hash_get()
2386 lhq.key = *name; in nxt_router_apps_hash_get()
2464 nxt_str_t *name) in nxt_router_socket_conf() argument
2780 if (nxt_slow_path(nxt_str_dup(mp, &bundle->name, &tls->name) == NULL)) { in nxt_router_tls_rpc_handler()
[all …]
H A Dnxt_router.h115 nxt_str_t name; member
235 nxt_int_t nxt_router_application_init(nxt_router_conf_t *rtcf, nxt_str_t *name,
H A Dnxt_http_route.c103 } name; member
272 string = nxt_str_dup(mp, &route->name, &name); in nxt_http_routes_create()
751 nxt_str_null(&name); in nxt_http_route_ruleset_create()
790 rule->u.name.hash = hash; in nxt_http_route_rule_name_create()
791 rule->u.name.start = name->start; in nxt_http_route_rule_name_create()
792 rule->u.name.length = name->length; in nxt_http_route_rule_name_create()
1467 if (nxt_strstr_eq(&(*route)->name, name)) { in nxt_http_route_find()
1516 nxt_str_t *name) in nxt_http_pass_application() argument
1878 || nxt_strncasecmp(rule->u.name.start, f->name, f->name_length) in nxt_http_route_header()
1929 && nxt_memcmp(rule->u.name.start, nv->name, nv->name_length) == 0) in nxt_http_route_test_argument()
[all …]
H A Dnxt_h1proto.c1331 p = nxt_cpymem(p, field->name, field->name_length); in nxt_h1p_request_header_send()
2295 p = nxt_cpymem(p, field->name, field->name_length); in nxt_h1p_peer_header_send()
H A Dnxt_conf_validation.c1290 if (name == NULL) { in nxt_conf_vldt_type()
1408 *ctx->type = *name; in nxt_conf_vldt_mtypes_type()
1667 nxt_str_t name, temp; in nxt_conf_vldt_share() local
1693 p = nxt_cpymem(temp.start, name.start, name.length); in nxt_conf_vldt_share()
1730 nxt_str_t name; in nxt_conf_vldt_proxy() local
1736 name.length -= 7; in nxt_conf_vldt_proxy()
1737 name.start += 7; in nxt_conf_vldt_proxy()
2036 end = nxt_decode_uri(p, name->start, name->length); in nxt_conf_vldt_match_encoded_patterns_set_member()
2488 if (!nxt_strstr_eq(&vals->name, &name)) { in nxt_conf_vldt_object()
2702 if (nxt_memchr(name->start, '\0', name->length) != NULL) { in nxt_conf_vldt_environment()
[all …]
H A Dnxt_var.c60 static nxt_var_decl_t *nxt_var_hash_find(nxt_str_t *name);
101 return nxt_strstr_eq(&lhq->key, &decl->name) ? NXT_OK : NXT_DECLINED; in nxt_var_hash_test()
106 nxt_var_hash_find(nxt_str_t *name) in nxt_var_hash_find() argument
110 lhq.key_hash = nxt_djb_hash(name->start, name->length); in nxt_var_hash_find()
111 lhq.key = *name; in nxt_var_hash_find()
175 lhq.key = decl[i].name; in nxt_var_register()
H A Dnxt_var.h19 nxt_str_t name; member
H A Dnxt_port_memory.c374 u_char *p, name[64]; in nxt_shm_open() local
376 p = nxt_sprintf(name, name + sizeof(name), NXT_SHM_PREFIX "unit.%PI.%uxD", in nxt_shm_open()
384 fd = syscall(SYS_memfd_create, name, MFD_CLOEXEC); in nxt_shm_open()
387 nxt_alert(task, "memfd_create(%s) failed %E", name, nxt_errno); in nxt_shm_open()
392 nxt_debug(task, "memfd_create(%s): %FD", name, fd); in nxt_shm_open()
409 shm_unlink((char *) name); in nxt_shm_open()
411 fd = shm_open((char *) name, O_CREAT | O_EXCL | O_RDWR, S_IRUSR | S_IWUSR); in nxt_shm_open()
414 nxt_alert(task, "shm_open(%s) failed %E", name, nxt_errno); in nxt_shm_open()
419 nxt_debug(task, "shm_open(%s): %FD", name, fd); in nxt_shm_open()
421 if (nxt_slow_path(shm_unlink((char *) name) == -1)) { in nxt_shm_open()
[all …]
H A Dnxt_port.h63 #define nxt_port_handler_idx(name) \ argument
64 ( offsetof(nxt_port_handlers_t, name) / sizeof(nxt_port_handler_t) )
/unit/pkg/rpm/
H A DMakefile205 find rpmbuild/ -name "*.rpm" -print -exec rpmlint {} \;
257 for so in `find rpmbuild/BUILD/*/build-nodebug/ -type f \( -name "*.so" -o -name "*.jar" \)`; do \
268 for so in `find rpmbuild/BUILD/*/build-debug/ -type f \( -name "*.so" -o -name "*.jar" \)`; do \
H A Dunit.spec.in2 %define bdir %{_builddir}/%{name}-%{version}
46 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
214 %config(noreplace) %{_sysconfdir}/logrotate.d/%{name}
H A DMakefile.python3948 cd /usr/share/doc/%{name}/examples
H A DMakefile.go70 cd /usr/share/doc/%{name}/examples
/unit/pkg/deb/
H A DMakefile268 …for so in `find debuild-*/unit-$(VERSION)/debian/build-unit/ -type f \( -name "*.so" -o -name "*.j…
279 …nd debuild-*/unit-$(VERSION)/debian/build-unit-debug/ -type f \( -name "*.so" -o -name "*.jar" \)`…
/unit/
H A DCHANGES4 *) Feature: ability to specify a custom index file name when serving
183 certificate containing a SAN and no standard name attributes in
261 characters in the field name.
443 *) Change: the Go package import name changed to "unit.nginx.org/go".
857 *) Change: the Go package name changed to "nginx/unit".
/unit/pkg/deb/debian/
H A Drules.in103 dh_installsystemd -punit --name=unit unit.service
104 dh_installsystemd -punit --name=unit-debug --no-start --no-enable unit-debug.service

1234567