Lines Matching refs:name

45                                             nxt_str_t *name,
54 nxt_str_t name; member
70 #define NXT_CONF_VLDT_END { .name = nxt_null_string }
74 nxt_str_t *name, nxt_conf_value_t *value, nxt_conf_vldt_type_t type);
77 static nxt_int_t nxt_conf_vldt_var(nxt_conf_validation_t *vldt, nxt_str_t *name,
86 nxt_str_t *name, nxt_conf_value_t *value);
90 nxt_str_t *name, nxt_conf_value_t *value);
138 nxt_str_t *name, nxt_conf_value_t *value);
146 nxt_conf_validation_t *vldt, nxt_str_t *name, nxt_conf_value_t *value);
160 nxt_conf_validation_t *vldt, nxt_str_t *name, nxt_conf_value_t *value);
172 nxt_str_t *name, nxt_conf_value_t *value);
182 nxt_str_t *name, nxt_conf_value_t *value);
188 nxt_str_t *name, nxt_conf_value_t *value);
194 nxt_str_t *name, nxt_conf_value_t *value);
200 nxt_str_t *name, nxt_conf_value_t *value);
202 nxt_str_t *name, nxt_conf_value_t *value);
248 .name = nxt_string("settings"),
253 .name = nxt_string("listeners"),
258 .name = nxt_string("routes"),
262 .name = nxt_string("applications"),
267 .name = nxt_string("upstreams"),
272 .name = nxt_string("access_log"),
282 .name = nxt_string("http"),
294 .name = nxt_string("header_read_timeout"),
297 .name = nxt_string("body_read_timeout"),
300 .name = nxt_string("send_timeout"),
303 .name = nxt_string("idle_timeout"),
306 .name = nxt_string("body_buffer_size"),
309 .name = nxt_string("max_body_size"),
312 .name = nxt_string("body_temp_path"),
315 .name = nxt_string("discard_unsafe_fields"),
318 .name = nxt_string("websocket"),
323 .name = nxt_string("static"),
335 .name = nxt_string("read_timeout"),
339 .name = nxt_string("keepalive_interval"),
342 .name = nxt_string("max_frame_size"),
352 .name = nxt_string("mime_types"),
363 .name = nxt_string("pass"),
368 .name = nxt_string("application"),
372 .name = nxt_string("forwarded"),
376 .name = nxt_string("client_ip"),
384 .name = nxt_string("tls"),
397 .name = nxt_string("client_ip"),
400 .name = nxt_string("protocol"),
403 .name = nxt_string("source"),
408 .name = nxt_string("recursive"),
418 .name = nxt_string("source"),
423 .name = nxt_string("header"),
427 .name = nxt_string("recursive"),
439 .name = nxt_string("certificate"),
444 .name = nxt_string("conf_commands"),
453 .name = nxt_string("session"),
465 .name = nxt_string("cache_size"),
469 .name = nxt_string("timeout"),
473 .name = nxt_string("tickets"),
579 .name = nxt_string("match"),
584 .name = nxt_string("action"),
595 .name = nxt_string("method"),
600 .name = nxt_string("scheme"),
604 .name = nxt_string("host"),
609 .name = nxt_string("source"),
613 .name = nxt_string("destination"),
617 .name = nxt_string("uri"),
622 .name = nxt_string("query"),
627 .name = nxt_string("arguments"),
631 .name = nxt_string("headers"),
636 .name = nxt_string("cookies"),
648 .name = nxt_string("pass"),
660 .name = nxt_string("return"),
664 .name = nxt_string("location"),
675 .name = nxt_string("share"),
679 .name = nxt_string("index"),
682 .name = nxt_string("types"),
686 .name = nxt_string("fallback"),
690 .name = nxt_string("chroot"),
698 .name = nxt_string("follow_symlinks"),
705 .name = nxt_string("traverse_mounts"),
719 .name = nxt_string("proxy"),
730 .name = nxt_string("executable"),
734 .name = nxt_string("arguments"),
746 .name = nxt_string("home"),
749 .name = nxt_string("path"),
753 .name = nxt_string("protocol"),
757 .name = nxt_string("threads"),
761 .name = nxt_string("thread_stack_size"),
771 .name = nxt_string("module"),
776 .name = nxt_string("callable"),
781 .name = nxt_string("targets"),
793 .name = nxt_string("module"),
797 .name = nxt_string("callable"),
807 .name = nxt_string("module"),
811 .name = nxt_string("callable"),
821 .name = nxt_string("root"),
826 .name = nxt_string("script"),
831 .name = nxt_string("index"),
836 .name = nxt_string("targets"),
848 .name = nxt_string("options"),
860 .name = nxt_string("file"),
863 .name = nxt_string("admin"),
868 .name = nxt_string("user"),
880 .name = nxt_string("root"),
884 .name = nxt_string("script"),
887 .name = nxt_string("index"),
897 .name = nxt_string("root"),
901 .name = nxt_string("script"),
904 .name = nxt_string("index"),
914 .name = nxt_string("script"),
918 .name = nxt_string("threads"),
922 .name = nxt_string("thread_stack_size"),
933 .name = nxt_string("script"),
937 .name = nxt_string("threads"),
941 .name = nxt_string("hooks"),
951 .name = nxt_string("classpath"),
956 .name = nxt_string("webapp"),
960 .name = nxt_string("options"),
965 .name = nxt_string("unit_jars"),
968 .name = nxt_string("threads"),
972 .name = nxt_string("thread_stack_size"),
983 .name = nxt_string("type"),
986 .name = nxt_string("limits"),
991 .name = nxt_string("processes"),
996 .name = nxt_string("user"),
999 .name = nxt_string("group"),
1002 .name = nxt_string("working_directory"),
1005 .name = nxt_string("environment"),
1010 .name = nxt_string("isolation"),
1022 .name = nxt_string("timeout"),
1025 .name = nxt_string("requests"),
1028 .name = nxt_string("shm"),
1038 .name = nxt_string("spare"),
1041 .name = nxt_string("max"),
1044 .name = nxt_string("idle_timeout"),
1054 .name = nxt_string("namespaces"),
1062 .name = nxt_string("uidmap"),
1067 .name = nxt_string("gidmap"),
1076 .name = nxt_string("rootfs"),
1079 .name = nxt_string("automount"),
1088 .name = nxt_string("new_privs"),
1101 .name = nxt_string("credential"),
1108 .name = nxt_string("pid"),
1115 .name = nxt_string("network"),
1122 .name = nxt_string("mount"),
1129 .name = nxt_string("uname"),
1136 .name = nxt_string("cgroup"),
1149 .name = nxt_string("language_deps"),
1152 .name = nxt_string("tmpfs"),
1155 .name = nxt_string("procfs"),
1169 .name = nxt_string("container"),
1172 .name = nxt_string("host"),
1175 .name = nxt_string("size"),
1187 .name = nxt_string("servers"),
1199 .name = nxt_string("weight"),
1228 nxt_conf_vldt_type(nxt_conf_validation_t *vldt, nxt_str_t *name, in nxt_conf_vldt_type() argument
1290 if (name == NULL) { in nxt_conf_vldt_type()
1298 name, &expected, &type_name[value_type]); in nxt_conf_vldt_type()
1340 nxt_conf_vldt_var(nxt_conf_validation_t *vldt, nxt_str_t *name, in nxt_conf_vldt_var() argument
1347 error, name); in nxt_conf_vldt_var()
1389 nxt_conf_vldt_mtypes_type(nxt_conf_validation_t *vldt, nxt_str_t *name, in nxt_conf_vldt_mtypes_type() argument
1395 ret = nxt_conf_vldt_type(vldt, name, value, in nxt_conf_vldt_mtypes_type()
1408 *ctx->type = *name; in nxt_conf_vldt_mtypes_type()
1457 nxt_conf_vldt_listener(nxt_conf_validation_t *vldt, nxt_str_t *name, in nxt_conf_vldt_listener() argument
1463 sa = nxt_sockaddr_parse(vldt->pool, name); in nxt_conf_vldt_listener()
1467 name); in nxt_conf_vldt_listener()
1470 ret = nxt_conf_vldt_type(vldt, name, value, NXT_CONF_VLDT_OBJECT); in nxt_conf_vldt_listener()
1488 nxt_str_t name; in nxt_conf_vldt_action() member
1501 action = nxt_conf_get_object_member(value, &actions[i].name, NULL); in nxt_conf_vldt_action()
1667 nxt_str_t name, temp; in nxt_conf_vldt_share() local
1684 nxt_conf_get_string(value, &name); in nxt_conf_vldt_share()
1686 temp.length = name.length + uri.length; in nxt_conf_vldt_share()
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
1733 nxt_conf_get_string(value, &name); in nxt_conf_vldt_proxy()
1735 if (nxt_str_start(&name, "http://", 7)) { in nxt_conf_vldt_proxy()
1736 name.length -= 7; in nxt_conf_vldt_proxy()
1737 name.start += 7; in nxt_conf_vldt_proxy()
1739 sa = nxt_sockaddr_parse(vldt->pool, &name); in nxt_conf_vldt_proxy()
1746 &name); in nxt_conf_vldt_proxy()
1881 nxt_conf_vldt_routes_member(nxt_conf_validation_t *vldt, nxt_str_t *name, in nxt_conf_vldt_routes_member() argument
1886 ret = nxt_conf_vldt_type(vldt, name, value, NXT_CONF_VLDT_ARRAY); in nxt_conf_vldt_routes_member()
2022 nxt_str_t *name, nxt_conf_value_t *value) in nxt_conf_vldt_match_encoded_patterns_set_member() argument
2026 if (nxt_slow_path(name->length == 0)) { in nxt_conf_vldt_match_encoded_patterns_set_member()
2031 p = nxt_mp_nget(vldt->pool, name->length); in nxt_conf_vldt_match_encoded_patterns_set_member()
2036 end = nxt_decode_uri(p, name->start, name->length); in nxt_conf_vldt_match_encoded_patterns_set_member()
2223 nxt_str_t *name, nxt_conf_value_t *value) in nxt_conf_vldt_match_patterns_set_member() argument
2225 if (name->length == 0) { in nxt_conf_vldt_match_patterns_set_member()
2260 nxt_str_t name; in nxt_conf_vldt_certificate_element() local
2268 nxt_conf_get_string(value, &name); in nxt_conf_vldt_certificate_element()
2270 cert = nxt_cert_info_get(&name); in nxt_conf_vldt_certificate_element()
2274 &name); in nxt_conf_vldt_certificate_element()
2289 nxt_str_t name; in nxt_conf_vldt_object_conf_commands() local
2295 member = nxt_conf_next_object_member(value, &name, &index); in nxt_conf_vldt_object_conf_commands()
2301 ret = nxt_conf_vldt_type(vldt, &name, member, NXT_CONF_VLDT_STRING); in nxt_conf_vldt_object_conf_commands()
2319 nxt_str_t name; in nxt_conf_vldt_app_name() local
2324 nxt_conf_get_string(value, &name); in nxt_conf_vldt_app_name()
2332 app = nxt_conf_get_object_member(apps, &name, NULL); in nxt_conf_vldt_app_name()
2344 &name); in nxt_conf_vldt_app_name()
2371 nxt_conf_vldt_app(nxt_conf_validation_t *vldt, nxt_str_t *name, in nxt_conf_vldt_app() argument
2395 ret = nxt_conf_vldt_type(vldt, name, value, NXT_CONF_VLDT_OBJECT); in nxt_conf_vldt_app()
2436 nxt_str_t name, var; in nxt_conf_vldt_object() local
2443 if (vals->name.length == 0) { in nxt_conf_vldt_object()
2454 member = nxt_conf_get_object_member(value, &vals->name, NULL); in nxt_conf_vldt_object()
2458 "is missing.", &vals->name); in nxt_conf_vldt_object()
2468 member = nxt_conf_next_object_member(value, &name, &index); in nxt_conf_vldt_object()
2477 if (vals->name.length == 0) { in nxt_conf_vldt_object()
2485 &name); in nxt_conf_vldt_object()
2488 if (!nxt_strstr_eq(&vals->name, &name)) { in nxt_conf_vldt_object()
2499 ret = nxt_conf_vldt_var(vldt, &name, &var); in nxt_conf_vldt_object()
2508 ret = nxt_conf_vldt_type(vldt, &name, member, vals->type); in nxt_conf_vldt_object()
2641 nxt_str_t name; in nxt_conf_vldt_object_iterator() local
2649 member = nxt_conf_next_object_member(value, &name, &index); in nxt_conf_vldt_object_iterator()
2655 ret = validator(vldt, &name, member); in nxt_conf_vldt_object_iterator()
2692 nxt_conf_vldt_environment(nxt_conf_validation_t *vldt, nxt_str_t *name, in nxt_conf_vldt_environment() argument
2697 if (name->length == 0) { in nxt_conf_vldt_environment()
2702 if (nxt_memchr(name->start, '\0', name->length) != NULL) { in nxt_conf_vldt_environment()
2707 if (nxt_memchr(name->start, '=', name->length) != NULL) { in nxt_conf_vldt_environment()
2714 "a string.", name); in nxt_conf_vldt_environment()
2721 "not contain null character.", name); in nxt_conf_vldt_environment()
2762 nxt_conf_vldt_target(nxt_conf_validation_t *vldt, nxt_str_t *name, in nxt_conf_vldt_target() argument
2765 if (name->length == 0) { in nxt_conf_vldt_target()
2772 "an object.", name); in nxt_conf_vldt_target()
2947 nxt_conf_vldt_php_option(nxt_conf_validation_t *vldt, nxt_str_t *name, in nxt_conf_vldt_php_option() argument
2950 if (name->length == 0) { in nxt_conf_vldt_php_option()
2957 "a string.", name); in nxt_conf_vldt_php_option()
3008 nxt_conf_vldt_upstream(nxt_conf_validation_t *vldt, nxt_str_t *name, in nxt_conf_vldt_upstream() argument
3016 ret = nxt_conf_vldt_type(vldt, name, value, NXT_CONF_VLDT_OBJECT); in nxt_conf_vldt_upstream()
3031 "\"servers\" object value.", name); in nxt_conf_vldt_upstream()
3039 nxt_conf_vldt_server(nxt_conf_validation_t *vldt, nxt_str_t *name, in nxt_conf_vldt_server() argument
3045 ret = nxt_conf_vldt_type(vldt, name, value, NXT_CONF_VLDT_OBJECT); in nxt_conf_vldt_server()
3051 sa = nxt_sockaddr_parse(vldt->pool, name); in nxt_conf_vldt_server()
3055 "server address.", name); in nxt_conf_vldt_server()