Home
last modified time | relevance | path

Searched refs:nxt_str_t (Results 1 – 25 of 73) sorted by relevance

123

/unit/src/
H A Dnxt_application.h52 nxt_str_t module;
54 nxt_str_t protocol;
75 nxt_str_t script;
77 nxt_str_t hooks;
92 nxt_str_t name;
93 nxt_str_t type;
94 nxt_str_t user;
95 nxt_str_t group;
126 nxt_str_t type;
137 nxt_app_lang_module_t *nxt_app_lang_module(nxt_runtime_t *rt, nxt_str_t *name);
[all …]
H A Dnxt_conf.h58 nxt_str_t name;
73 nxt_str_t error;
83 nxt_str_t *path);
85 nxt_str_t *name, uint32_t *index);
87 nxt_conf_value_t *value, nxt_str_t *name, uint32_t *next);
97 nxt_conf_value_t *root, nxt_str_t *path, nxt_conf_value_t *value,
120 nxt_mp_t *mp, const nxt_str_t *str);
127 void nxt_conf_set_member(nxt_conf_value_t *object, nxt_str_t *name,
130 nxt_str_t *value, uint32_t index);
132 nxt_str_t *name, nxt_str_t *value, uint32_t index);
[all …]
H A Dnxt_http_variables.c10 static nxt_int_t nxt_http_var_method(nxt_task_t *task, nxt_str_t *str,
12 static nxt_int_t nxt_http_var_request_uri(nxt_task_t *task, nxt_str_t *str,
14 static nxt_int_t nxt_http_var_uri(nxt_task_t *task, nxt_str_t *str, void *ctx);
15 static nxt_int_t nxt_http_var_host(nxt_task_t *task, nxt_str_t *str, void *ctx);
45 nxt_http_var_method(nxt_task_t *task, nxt_str_t *str, void *ctx) in nxt_http_var_method()
58 nxt_http_var_request_uri(nxt_task_t *task, nxt_str_t *str, void *ctx) in nxt_http_var_request_uri()
71 nxt_http_var_uri(nxt_task_t *task, nxt_str_t *str, void *ctx) in nxt_http_var_uri()
84 nxt_http_var_host(nxt_task_t *task, nxt_str_t *str, void *ctx) in nxt_http_var_host()
H A Dnxt_var.h15 nxt_str_t *str,
19 nxt_str_t name;
26 nxt_is_var(nxt_str_t *str) in nxt_is_var()
34 nxt_var_t *nxt_var_compile(nxt_str_t *str, nxt_mp_t *mp, nxt_bool_t strz);
35 nxt_int_t nxt_var_test(nxt_str_t *str, u_char *error);
37 void nxt_var_raw(nxt_var_t *var, nxt_str_t *str);
43 nxt_var_t *var, nxt_str_t *str);
H A Dnxt_cert.h17 nxt_int_t nxt_cert_info_save(nxt_str_t *name, nxt_cert_t *cert);
18 nxt_conf_value_t *nxt_cert_info_get(nxt_str_t *name);
20 nxt_int_t nxt_cert_info_delete(nxt_str_t *name);
25 void nxt_cert_store_get(nxt_task_t *task, nxt_str_t *name, nxt_mp_t *mp,
27 void nxt_cert_store_delete(nxt_task_t *task, nxt_str_t *name, nxt_mp_t *mp);
H A Dnxt_http.h143 nxt_str_t host;
145 nxt_str_t target;
146 nxt_str_t version;
147 nxt_str_t *method;
148 nxt_str_t *path;
149 nxt_str_t *args;
247 nxt_str_t *pass;
277 nxt_str_t *header;
350 nxt_str_t *segments, nxt_uint_t n);
379 const nxt_str_t *exten, nxt_str_t *type);
[all …]
H A Dnxt_php_sapi.c46 nxt_str_t root;
47 nxt_str_t index;
48 nxt_str_t script_name;
49 nxt_str_t script_dirname;
50 nxt_str_t script_filename;
90 static nxt_int_t nxt_php_alter_option(nxt_str_t *name, nxt_str_t *value,
98 static nxt_int_t nxt_php_dirname(const nxt_str_t *file, nxt_str_t *dir);
112 const nxt_str_t *str);
718 nxt_php_alter_option(nxt_str_t *name, nxt_str_t *value, int type) in nxt_php_alter_option()
750 nxt_php_alter_option(nxt_str_t *name, nxt_str_t *value, int type) in nxt_php_alter_option()
[all …]
H A Dnxt_http_return.c13 nxt_str_t encoded;
18 nxt_str_t location;
19 nxt_str_t encoded;
25 static nxt_int_t nxt_http_return_encode(nxt_mp_t *mp, nxt_str_t *encoded,
26 const nxt_str_t *location);
38 nxt_str_t str; in nxt_http_return_init()
82 nxt_str_t loc; in nxt_http_return()
144 nxt_http_return_encode(nxt_mp_t *mp, nxt_str_t *encoded, in nxt_http_return_encode()
145 const nxt_str_t *location) in nxt_http_return_encode()
H A Dnxt_var.c31 nxt_str_t *value;
41 nxt_str_t *spare;
65 nxt_str_t *value, nxt_mp_t *mp);
106 nxt_var_hash_find(nxt_str_t *name) in nxt_var_hash_find()
129 static nxt_str_t *
223 nxt_str_t part; in nxt_var_compile()
292 nxt_var_test(nxt_str_t *str, u_char *error) in nxt_var_test()
295 nxt_str_t part; in nxt_var_test()
453 nxt_str_t *str) in nxt_var_query()
457 nxt_str_t *value; in nxt_var_query()
[all …]
H A Dnxt_http_parse.h40 nxt_str_t method;
45 nxt_str_t path;
46 nxt_str_t args;
53 nxt_str_t field_name;
54 nxt_str_t field_value;
80 nxt_str_t name;
H A Dnxt_router.h115 nxt_str_t name;
134 nxt_str_t *targets;
141 nxt_str_t conf;
196 nxt_str_t body_temp_path;
227 nxt_str_t path;
235 nxt_int_t nxt_router_application_init(nxt_router_conf_t *rtcf, nxt_str_t *name,
236 nxt_str_t *target, nxt_http_action_t *action);
H A Dnxt_conf_validation.c78 nxt_str_t *value);
550 nxt_str_t key; in nxt_conf_vldt_ticket_key_element()
1341 nxt_str_t *value) in nxt_conf_vldt_var()
1530 nxt_str_t pass; in nxt_conf_vldt_pass()
1707 nxt_str_t str; in nxt_conf_vldt_share_element()
1801 nxt_str_t proto; in nxt_conf_vldt_python_protocol()
2166 nxt_str_t scheme; in nxt_conf_vldt_match_scheme_pattern()
2695 nxt_str_t str; in nxt_conf_vldt_environment()
2909 nxt_str_t str; in nxt_conf_vldt_argument()
2968 nxt_str_t str; in nxt_conf_vldt_java_classpath()
[all …]
H A Dnxt_sockaddr.h63 nxt_str_t addr;
93 NXT_EXPORT nxt_sockaddr_t *nxt_sockaddr_parse(nxt_mp_t *mp, nxt_str_t *addr);
95 nxt_str_t *addr);
102 NXT_EXPORT nxt_bool_t nxt_inet6_probe(nxt_str_t *addr);
H A Dnxt_http_static.c58 nxt_str_t *exten);
128 nxt_str_t chr, shr; in nxt_http_static_init()
237 nxt_str_t shr; in nxt_http_static_iterate()
238 nxt_str_t idx; in nxt_http_static_iterate()
244 nxt_str_t chr; in nxt_http_static_iterate()
752 nxt_http_static_extract_extension(nxt_str_t *path, nxt_str_t *exten) in nxt_http_static_extract_extension()
928 nxt_str_t type; in nxt_http_static_mtypes_init()
1020 nxt_str_t exten;
1021 nxt_str_t *type;
1027 const nxt_str_t *exten, nxt_str_t *type) in nxt_http_static_mtypes_hash_add()
[all …]
H A Dnxt_string.h105 } nxt_str_t; typedef
127 NXT_EXPORT nxt_str_t *nxt_str_alloc(nxt_mp_t *mp, size_t length);
128 NXT_EXPORT nxt_str_t *nxt_str_dup(nxt_mp_t *mp, nxt_str_t *dst,
129 const nxt_str_t *src);
130 NXT_EXPORT char *nxt_str_cstrz(nxt_mp_t *mp, const nxt_str_t *src);
H A Dnxt_errno.c31 static nxt_str_t *nxt_sys_errlist;
103 n = (nxt_sys_nerr + 1) * sizeof(nxt_str_t); in nxt_strerror_start()
142 nxt_str_t *msg; in nxt_runtime_strerror()
H A Dnxt_cert.c30 nxt_str_t name;
37 nxt_str_t name;
423 nxt_cert_info_get(nxt_str_t *name) in nxt_cert_info_get()
499 nxt_str_t str; in nxt_cert_details()
647 nxt_str_t name;
656 nxt_str_t str; in nxt_cert_name_details()
742 nxt_str_t str; in nxt_cert_alt_names_details()
791 nxt_cert_info_delete(nxt_str_t *name) in nxt_cert_info_delete()
819 nxt_str_t name; in nxt_cert_store_load()
1128 nxt_str_t name; in nxt_cert_store_get_handler()
[all …]
H A Dnxt_runtime.h27 nxt_str_t hostname;
76 nxt_str_t certs;
124 nxt_str_t *nxt_current_directory(nxt_mp_t *mp);
132 nxt_file_t *nxt_runtime_log_file_add(nxt_runtime_t *rt, nxt_str_t *name);
H A Dnxt_string.c10 nxt_str_t *
13 nxt_str_t *s; in nxt_str_alloc()
16 s = nxt_mp_get(mp, sizeof(nxt_str_t) + length); in nxt_str_alloc()
20 s->start = nxt_pointer_to(s, sizeof(nxt_str_t)); in nxt_str_alloc()
33 nxt_str_t *
34 nxt_str_dup(nxt_mp_t *mp, nxt_str_t *dst, const nxt_str_t *src) in nxt_str_dup()
40 dst = nxt_mp_get(mp, sizeof(nxt_str_t) + src->length); in nxt_str_dup()
46 p += sizeof(nxt_str_t); in nxt_str_dup()
71 nxt_str_cstrz(nxt_mp_t *mp, const nxt_str_t *src) in nxt_str_cstrz()
H A Dnxt_file_name.c26 nxt_str_t *v; in nxt_file_name_create()
54 v = va_arg(args, nxt_str_t *); in nxt_file_name_create()
143 v = va_arg(args, nxt_str_t *); in nxt_file_name_create()
H A Dnxt_fastcgi_source.h51 nxt_str_t name;
52 nxt_str_t value;
H A Dnxt_tls.h50 nxt_str_t name;
58 nxt_str_t name;
/unit/src/test/
H A Dnxt_http_parse_test.c12 nxt_str_t method;
13 nxt_str_t target;
14 nxt_str_t args;
40 nxt_str_t request;
44 nxt_str_t *request, nxt_log_t *log);
51 nxt_str_t *request);
56 nxt_str_t *request, nxt_log_t *log);
450 static nxt_str_t nxt_http_test_simple_request = nxt_string(
456 static nxt_str_t nxt_http_test_big_request = nxt_string(
653 nxt_http_parse_test_bench(nxt_thread_t *thr, nxt_str_t *request, in nxt_http_parse_test_bench()
[all …]
H A Dnxt_term_parse_test.c12 nxt_str_t string;
41 const nxt_str_t *s; in nxt_term_parse_test()
H A Dnxt_clone_test.c17 nxt_str_t map_data;
23 nxt_str_t errmsg;
38 nxt_str_t *map_str, nxt_clone_credential_map_t *map);
556 nxt_clone_test_parse_map(nxt_task_t *task, nxt_str_t *map_str, in nxt_clone_test_parse_map()
563 static nxt_str_t host_name = nxt_string("host"); in nxt_clone_test_parse_map()
564 static nxt_str_t cont_name = nxt_string("container"); in nxt_clone_test_parse_map()
565 static nxt_str_t size_name = nxt_string("size"); in nxt_clone_test_parse_map()

123