Home
last modified time | relevance | path

Searched refs:nxt_int_t (Results 1 – 25 of 185) sorted by relevance

12345678

/unit/src/test/
H A Dnxt_tests.h36 nxt_int_t nxt_term_parse_test(nxt_thread_t *thr);
44 nxt_int_t nxt_rbtree_mb_start(nxt_thread_t *thr);
48 nxt_int_t nxt_rbtree1_mb_start(nxt_thread_t *thr);
61 nxt_int_t nxt_gmtime_test(nxt_thread_t *thr);
62 nxt_int_t nxt_sprintf_test(nxt_thread_t *thr);
63 nxt_int_t nxt_malloc_test(nxt_thread_t *thr);
64 nxt_int_t nxt_utf8_test(nxt_thread_t *thr);
65 nxt_int_t nxt_http_parse_test(nxt_thread_t *thr);
66 nxt_int_t nxt_strverscmp_test(nxt_thread_t *thr);
67 nxt_int_t nxt_base64_test(nxt_thread_t *thr);
[all …]
H A Dnxt_clone_test.c16 nxt_int_t map_type;
18 nxt_int_t setid;
22 nxt_int_t result;
35 nxt_int_t nxt_clone_test_map_assert(nxt_task_t *task,
426 nxt_int_t
430 nxt_int_t ret; in nxt_clone_creds_test()
483 nxt_int_t
487 nxt_int_t ret; in nxt_clone_test_mappings()
531 nxt_int_t
535 nxt_int_t ret; in nxt_clone_test_map_assert()
[all …]
/unit/src/
H A Dnxt_clone.h13 nxt_int_t container;
14 nxt_int_t host;
15 nxt_int_t size;
26 nxt_int_t flags;
36 pid_t nxt_clone(nxt_int_t flags);
45 NXT_EXPORT nxt_int_t nxt_clone_credential_map(nxt_task_t *task, pid_t pid,
47 NXT_EXPORT nxt_int_t nxt_clone_vldt_credential_uidmap(nxt_task_t *task,
49 NXT_EXPORT nxt_int_t nxt_clone_vldt_credential_gidmap(nxt_task_t *task,
H A Dnxt_conf_validation.c493 static nxt_int_t
510 static nxt_int_t
530 static nxt_int_t
549 static nxt_int_t
1225 nxt_int_t
1249 static nxt_int_t
1324 static nxt_int_t
1361 static nxt_int_t
1383 static nxt_int_t
1410 static nxt_int_t
[all …]
H A Dnxt_http_response.c11 static nxt_int_t nxt_http_response_status(void *ctx, nxt_http_field_t *field,
13 static nxt_int_t nxt_http_response_skip(void *ctx, nxt_http_field_t *field,
15 static nxt_int_t nxt_http_response_field(void *ctx, nxt_http_field_t *field,
36 nxt_int_t
44 nxt_int_t
48 nxt_int_t status; in nxt_http_response_status()
68 nxt_int_t
77 nxt_int_t
H A Dnxt_http_variables.c97 nxt_int_t
104 static nxt_int_t
113 static nxt_int_t
126 static nxt_int_t
140 static nxt_int_t
153 static nxt_int_t
166 static nxt_int_t
181 static nxt_int_t
239 static nxt_int_t
282 static nxt_int_t
[all …]
H A Dnxt_buf_filter.h71 nxt_int_t (*filter_ready)(nxt_buf_filter_t *f);
72 nxt_int_t (*filter_process)(nxt_buf_filter_t *f);
73 nxt_int_t (*filter_flush)(nxt_buf_filter_t *f);
75 nxt_int_t (*filter_sync_nobuf)(nxt_buf_filter_t *f);
76 nxt_int_t (*filter_sync_flush)(nxt_buf_filter_t *f);
77 nxt_int_t (*filter_sync_last)(nxt_buf_filter_t *f);
H A Dnxt_file.h102 NXT_EXPORT nxt_int_t nxt_file_open(nxt_task_t *task, nxt_file_t *file,
106 NXT_EXPORT nxt_int_t nxt_file_openat2(nxt_task_t *task, nxt_file_t *file,
177 NXT_EXPORT nxt_int_t nxt_file_delete(nxt_file_name_t *name);
178 NXT_EXPORT nxt_int_t nxt_file_set_access(nxt_file_name_t *name,
180 NXT_EXPORT nxt_int_t nxt_file_rename(nxt_file_name_t *old_name,
183 NXT_EXPORT nxt_int_t nxt_fd_nonblocking(nxt_task_t *task, nxt_fd_t fd);
184 NXT_EXPORT nxt_int_t nxt_fd_blocking(nxt_task_t *task, nxt_fd_t fd);
189 NXT_EXPORT nxt_int_t nxt_file_redirect(nxt_file_t *file, nxt_fd_t fd);
190 NXT_EXPORT nxt_int_t nxt_file_stderr(nxt_file_t *file);
191 NXT_EXPORT nxt_int_t nxt_stderr_start(void);
[all …]
H A Dnxt_clone.c14 nxt_clone(nxt_int_t flags) in nxt_clone()
31 pid_t pid, nxt_int_t default_container, nxt_int_t default_host,
37 nxt_int_t
83 nxt_int_t
133 nxt_int_t
135 nxt_int_t default_container, nxt_int_t default_host, in nxt_clone_credential_map_set()
139 nxt_int_t ret, len; in nxt_clone_credential_map_set()
203 nxt_int_t
207 nxt_int_t ret; in nxt_clone_credential_map()
256 nxt_int_t
[all …]
H A Dnxt_process.h105 nxt_int_t use_count;
128 typedef nxt_int_t (*nxt_process_prefork_t)(nxt_task_t *task,
130 typedef nxt_int_t (*nxt_process_postfork_t)(nxt_task_t *task,
132 typedef nxt_int_t (*nxt_process_setup_t)(nxt_task_t *task,
134 typedef nxt_int_t (*nxt_process_start_t)(nxt_task_t *task,
162 NXT_EXPORT nxt_int_t nxt_process_daemon(nxt_task_t *task);
188 nxt_int_t nxt_process_init_start(nxt_task_t *task, nxt_process_init_t init);
189 nxt_int_t nxt_process_start(nxt_task_t *task, nxt_process_t *process);
199 nxt_int_t nxt_process_core_setup(nxt_task_t *task, nxt_process_t *process);
200 nxt_int_t nxt_process_creds_set(nxt_task_t *task, nxt_process_t *process,
[all …]
H A Dnxt_isolation.c64 nxt_int_t
154 static nxt_int_t
202 static nxt_int_t
227 static nxt_int_t
264 static nxt_int_t
319 static nxt_int_t
364 static nxt_int_t
438 static nxt_int_t
698 nxt_int_t
757 nxt_int_t
[all …]
H A Dnxt_http_parse.h37 nxt_int_t (*handler)(nxt_http_request_parse_t *rp,
74 typedef nxt_int_t (*nxt_http_field_handler_t)(void *ctx,
115 nxt_int_t nxt_http_parse_request_init(nxt_http_request_parse_t *rp,
117 nxt_int_t nxt_http_parse_request(nxt_http_request_parse_t *rp,
119 nxt_int_t nxt_http_parse_fields(nxt_http_request_parse_t *rp,
122 nxt_int_t nxt_http_fields_hash(nxt_lvlhsh_t *hash,
126 nxt_int_t nxt_http_fields_process(nxt_list_t *fields, nxt_lvlhsh_t *hash,
135 nxt_inline nxt_int_t
H A Dnxt_lvlhsh.c180 nxt_int_t
200 static nxt_int_t
227 static nxt_int_t
267 nxt_int_t
287 static nxt_int_t
310 static nxt_int_t
345 static nxt_int_t
451 static nxt_int_t
511 static nxt_int_t
549 static nxt_int_t
[all …]
H A Dnxt_http.h309 nxt_int_t nxt_http_init(nxt_task_t *task);
310 nxt_int_t nxt_h1p_init(nxt_task_t *task);
311 nxt_int_t nxt_http_response_hash_init(nxt_task_t *task);
350 nxt_int_t nxt_http_routes_resolve(nxt_task_t *task,
352 nxt_int_t nxt_http_pass_segments(nxt_mp_t *mp, nxt_str_t *pass,
358 nxt_int_t nxt_http_route_addr_rule(nxt_http_request_t *r,
362 nxt_int_t nxt_http_route_test_rule(nxt_http_request_t *r,
372 nxt_int_t nxt_upstreams_joint_create(nxt_router_temp_conf_t *tmcf,
375 nxt_int_t nxt_http_return_init(nxt_router_conf_t *rtcf,
395 nxt_int_t nxt_http_proxy_date(void *ctx, nxt_http_field_t *field,
[all …]
H A Dnxt_fd_event.c10 static nxt_int_t nxt_fd_event_hash_test(nxt_lvlhsh_query_t *lhq, void *data);
25 static nxt_int_t
32 nxt_int_t
35 nxt_int_t ret; in nxt_fd_event_hash_add()
58 nxt_int_t ret; in nxt_fd_event_hash_get()
80 nxt_int_t ret; in nxt_fd_event_hash_delete()
H A Dnxt_isolation.h9 nxt_int_t nxt_isolation_main_prefork(nxt_task_t *task, nxt_process_t *process,
13 nxt_int_t nxt_isolation_prepare_rootfs(nxt_task_t *task,
15 nxt_int_t nxt_isolation_change_root(nxt_task_t *task, nxt_process_t *process);
H A Dnxt_job_file.c12 static nxt_int_t nxt_job_file_open(nxt_job_file_t *jbf);
13 static nxt_int_t nxt_job_file_info(nxt_job_file_t *jbf);
16 static nxt_int_t nxt_job_file_read_required(nxt_job_file_t *jbf);
63 nxt_int_t n; in nxt_job_file_open_and_read()
151 static nxt_int_t
154 nxt_int_t n; in nxt_job_file_open()
205 static nxt_int_t
208 nxt_int_t n; in nxt_job_file_info()
235 static nxt_int_t
275 static nxt_int_t
[all …]
H A Dnxt_var.h14 typedef nxt_int_t (*nxt_var_handler_t)(nxt_task_t *task,
48 nxt_int_t nxt_var_register(nxt_var_decl_t *decl, size_t n);
49 nxt_int_t nxt_var_index_init(void);
55 nxt_int_t nxt_var_test(nxt_str_t *str, nxt_array_t *fields, u_char *error);
60 nxt_int_t nxt_var_query_init(nxt_var_query_t **query_p, void *ctx,
H A Dnxt_thread.h89 NXT_EXPORT nxt_int_t nxt_thread_create(nxt_thread_handle_t *handle,
103 NXT_EXPORT nxt_int_t nxt_thread_mutex_create(nxt_thread_mutex_t *mtx);
105 NXT_EXPORT nxt_int_t nxt_thread_mutex_lock(nxt_thread_mutex_t *mtx);
107 NXT_EXPORT nxt_int_t nxt_thread_mutex_unlock(nxt_thread_mutex_t *mtx);
112 NXT_EXPORT nxt_int_t nxt_thread_cond_create(nxt_thread_cond_t *cond);
114 NXT_EXPORT nxt_int_t nxt_thread_cond_signal(nxt_thread_cond_t *cond);
H A Dnxt_credential.h22 NXT_EXPORT nxt_int_t nxt_credential_get(nxt_task_t *task, nxt_mp_t *mp,
24 NXT_EXPORT nxt_int_t nxt_credential_setuid(nxt_task_t *task,
26 NXT_EXPORT nxt_int_t nxt_credential_setgids(nxt_task_t *task,
H A Dnxt_upstream_source.c10 static nxt_int_t nxt_upstream_header_hash_test(nxt_lvlhsh_query_t *lhq,
23 nxt_int_t
50 static nxt_int_t
67 nxt_int_t
H A Dnxt_process.c131 nxt_int_t
163 nxt_int_t
246 static nxt_int_t
385 static nxt_int_t
452 static nxt_int_t
502 static nxt_int_t
609 static nxt_int_t
706 nxt_int_t
722 nxt_int_t
762 nxt_int_t
[all …]
H A Dnxt_http_route.c639 nxt_int_t
924 static nxt_int_t
1123 static nxt_int_t
1162 static nxt_int_t
1210 nxt_int_t
1237 static nxt_int_t
1260 static nxt_int_t
1372 static nxt_int_t
1403 nxt_int_t
1837 nxt_int_t
[all …]
H A Dnxt_runtime.h86 typedef nxt_int_t (*nxt_module_init_t)(nxt_thread_t *thr, nxt_runtime_t *rt);
89 nxt_int_t nxt_runtime_create(nxt_task_t *task);
94 nxt_int_t nxt_runtime_thread_pool_create(nxt_thread_t *thr, nxt_runtime_t *rt,
122 nxt_int_t nxt_runtime_controller_socket(nxt_task_t *task, nxt_runtime_t *rt);
128 nxt_int_t nxt_runtime_listen_sockets_create(nxt_task_t *task,
130 nxt_int_t nxt_runtime_listen_sockets_enable(nxt_task_t *task,
140 nxt_int_t nxt_http_register_variables(void);
H A Dnxt_socket.h98 NXT_EXPORT nxt_int_t nxt_socket_getsockopt(nxt_task_t *task, nxt_socket_t s,
100 NXT_EXPORT nxt_int_t nxt_socket_setsockopt(nxt_task_t *task, nxt_socket_t s,
102 NXT_EXPORT nxt_int_t nxt_socket_bind(nxt_task_t *task, nxt_socket_t s,
104 NXT_EXPORT nxt_int_t nxt_socket_connect(nxt_task_t *task, nxt_socket_t s,
112 NXT_EXPORT nxt_int_t nxt_socketpair_create(nxt_task_t *task,

12345678