Home
last modified time | relevance | path

Searched refs:NXT_OK (Results 1 – 25 of 113) sorted by relevance

12345

/unit/src/test/
H A Dnxt_tests.c50 if (nxt_rbtree_mb_start(thr) != NXT_OK) { in main()
73 if (nxt_random_test(thr) != NXT_OK) { in main()
77 if (nxt_term_parse_test(thr) != NXT_OK) { in main()
141 if (nxt_gmtime_test(thr) != NXT_OK) { in main()
145 if (nxt_sprintf_test(thr) != NXT_OK) { in main()
149 if (nxt_malloc_test(thr) != NXT_OK) { in main()
153 if (nxt_utf8_test(thr) != NXT_OK) { in main()
157 if (nxt_http_parse_test(thr) != NXT_OK) { in main()
161 if (nxt_strverscmp_test(thr) != NXT_OK) { in main()
165 if (nxt_base64_test(thr) != NXT_OK) { in main()
[all …]
H A Dnxt_http_parse_test.c337 { .fields = { NXT_OK, 1 } }
365 NXT_OK },
543 if (rc != NXT_OK) { in nxt_http_parse_test()
577 != NXT_OK) in nxt_http_parse_test()
609 if (rc != NXT_OK) { in nxt_http_parse_test()
615 != NXT_OK) in nxt_http_parse_test()
622 != NXT_OK) in nxt_http_parse_test()
627 return NXT_OK; in nxt_http_parse_test()
711 return NXT_OK; in nxt_http_parse_test_bench()
791 return NXT_OK; in nxt_http_parse_test_request_line()
[all …]
H A Dnxt_clone_test.c60 NXT_OK,
69 NXT_OK,
78 NXT_OK,
87 NXT_OK,
96 NXT_OK,
117 NXT_OK,
127 NXT_OK,
137 NXT_OK,
147 NXT_OK,
157 NXT_OK,
[all …]
H A Dnxt_lvlhsh_test.c15 return NXT_OK; in nxt_lvlhsh_test_key_test()
54 case NXT_OK: in nxt_lvlhsh_test_add()
55 return NXT_OK; in nxt_lvlhsh_test_add()
78 if (nxt_lvlhsh_find(lh, &lhq) == NXT_OK) { in nxt_lvlhsh_test_get()
81 return NXT_OK; in nxt_lvlhsh_test_get()
107 if (ret != NXT_OK) { in nxt_lvlhsh_test_delete()
160 if (nxt_lvlhsh_test_add(&lh, proto, mp, key) != NXT_OK) { in nxt_lvlhsh_test()
171 if (nxt_lvlhsh_test_get(&lh, proto, key) != NXT_OK) { in nxt_lvlhsh_test()
199 if (nxt_lvlhsh_test_delete(&lh, proto, mp, key) != NXT_OK) { in nxt_lvlhsh_test()
220 if (nxt_lvlhsh_test_add(&lh, proto, mp, key) != NXT_OK) { in nxt_lvlhsh_test()
[all …]
H A Dnxt_utf8_test.c77 return NXT_OK; in nxt_utf8_overlong()
150 if (nxt_utf8_overlong(thr, utf8, 1) != NXT_OK) { in nxt_utf8_test()
157 if (nxt_utf8_overlong(thr, utf8, 2) != NXT_OK) { in nxt_utf8_test()
164 if (nxt_utf8_overlong(thr, utf8, 3) != NXT_OK) { in nxt_utf8_test()
171 if (nxt_utf8_overlong(thr, utf8, 4) != NXT_OK) { in nxt_utf8_test()
190 return NXT_OK; in nxt_utf8_test()
H A Dnxt_utf8_file_name_test.c24 if (nxt_lib_start("utf8_file_name_test", argv, &environ) != NXT_OK) { in main()
32 if (nxt_utf8_file_name_test(thr) != NXT_OK) { in main()
114 if (ret != NXT_OK) { in nxt_utf8_file_name_test()
127 if (ret == NXT_OK) { in nxt_utf8_file_name_test()
147 return NXT_OK; in nxt_utf8_file_name_test()
/unit/src/
H A Dnxt_runtime.c141 return NXT_OK; in nxt_runtime_create()
211 return NXT_OK; in nxt_runtime_inherited_listen_sockets()
274 return NXT_OK; in nxt_runtime_systemd_listen_sockets()
311 return NXT_OK; in nxt_runtime_event_engines()
335 return NXT_OK; in nxt_runtime_thread_pools()
675 return NXT_OK; in nxt_runtime_thread_pool_create()
908 return NXT_OK; in nxt_runtime_conf_init()
1112 return NXT_OK; in nxt_runtime_conf_read_cmd()
1521 case NXT_OK: in nxt_runtime_process_get()
1565 case NXT_OK: in nxt_runtime_process_add()
[all …]
H A Dnxt_buf_pool.c18 return NXT_OK; in nxt_buf_pool_mem_alloc()
27 return NXT_OK; in nxt_buf_pool_mem_alloc()
43 return NXT_OK; in nxt_buf_pool_mem_alloc()
58 return NXT_OK; in nxt_buf_pool_file_alloc()
67 return NXT_OK; in nxt_buf_pool_file_alloc()
83 return NXT_OK; in nxt_buf_pool_file_alloc()
98 return NXT_OK; in nxt_buf_pool_mmap_alloc()
107 return NXT_OK; in nxt_buf_pool_mmap_alloc()
124 return NXT_OK; in nxt_buf_pool_mmap_alloc()
H A Dnxt_capability.c43 return NXT_OK; in nxt_capability_set()
100 return NXT_OK; in nxt_capability_specific_set()
104 return NXT_OK; in nxt_capability_specific_set()
108 return NXT_OK; in nxt_capability_specific_set()
116 return NXT_OK; in nxt_capability_specific_set()
H A Dnxt_isolation.c150 return NXT_OK; in nxt_isolation_main_prefork()
196 return NXT_OK; in nxt_isolation_set()
219 return NXT_OK; in nxt_isolation_set_namespaces()
260 return NXT_OK; in nxt_isolation_set_creds()
315 return NXT_OK; in nxt_isolation_credential_map()
430 return NXT_OK; in nxt_isolation_clone_flags()
474 return NXT_OK; in nxt_isolation_set_rootfs()
514 return NXT_OK; in nxt_isolation_set_automount()
550 return NXT_OK; in nxt_isolation_set_mounts()
648 return NXT_OK; in nxt_isolation_set_lang_mounts()
[all …]
H A Dnxt_signal.c41 if (nxt_signal_action(SIGSYS, SIG_IGN) != NXT_OK) { in nxt_event_engine_signals()
45 if (nxt_signal_action(SIGPIPE, SIG_IGN) != NXT_OK) { in nxt_event_engine_signals()
81 return NXT_OK; in nxt_signal_action()
117 return NXT_OK; in nxt_signal_thread_start()
131 if (nxt_signal_action(sigev->signo, nxt_signal_handler) != NXT_OK) { in nxt_signal_thread_start()
142 if (nxt_thread_create(&engine->signals->thread, link) == NXT_OK) { in nxt_signal_thread_start()
144 return NXT_OK; in nxt_signal_thread_start()
H A Dnxt_upstream_source.c38 if (nxt_lvlhsh_insert(lh, &lhq) != NXT_OK) { in nxt_upstream_header_hash_add()
46 return NXT_OK; in nxt_upstream_header_hash_add()
60 return NXT_OK; in nxt_upstream_header_hash_test()
70 return NXT_OK; in nxt_upstream_name_value_ignore()
H A Dnxt_semaphore.c39 return NXT_OK; in nxt_sem_init()
65 return NXT_OK; in nxt_sem_post()
174 if (nxt_thread_mutex_create(&sem->mutex) == NXT_OK) { in nxt_sem_init()
176 if (nxt_thread_cond_create(&sem->cond) == NXT_OK) { in nxt_sem_init()
178 return NXT_OK; in nxt_sem_init()
201 if (nxt_slow_path(nxt_thread_mutex_lock(&sem->mutex) != NXT_OK)) { in nxt_sem_post()
222 if (nxt_slow_path(nxt_thread_mutex_lock(&sem->mutex) != NXT_OK)) { in nxt_sem_wait()
H A Dnxt_upstream.c33 return NXT_OK; in nxt_upstreams_create()
39 return NXT_OK; in nxt_upstreams_create()
63 if (nxt_slow_path(ret != NXT_OK)) { in nxt_upstreams_create()
70 return NXT_OK; in nxt_upstreams_create()
93 return NXT_OK; in nxt_upstream_find()
115 return NXT_OK; in nxt_upstreams_joint_create()
136 return NXT_OK; in nxt_upstreams_joint_create()
H A Dnxt_fd_event.c28 return NXT_OK; in nxt_fd_event_hash_test()
45 if (nxt_fast_path(ret == NXT_OK)) { in nxt_fd_event_hash_add()
46 return NXT_OK; in nxt_fd_event_hash_add()
66 if (nxt_fast_path(ret == NXT_OK)) { in nxt_fd_event_hash_get()
88 if (nxt_slow_path(ret != NXT_OK)) { in nxt_fd_event_hash_delete()
H A Dnxt_job_file.c83 case NXT_OK: in nxt_job_file_open_and_read()
121 if (nxt_slow_path(n != NXT_OK)) { in nxt_job_file_open_and_read()
159 if (n != NXT_OK) { in nxt_job_file_open()
167 if (jbf->read_required(jbf) != NXT_OK) { in nxt_job_file_open()
174 if (n == NXT_OK) { in nxt_job_file_open()
177 if (nxt_fast_path(n == NXT_OK)) { in nxt_job_file_open()
216 if (n != NXT_OK) { in nxt_job_file_info()
231 return NXT_OK; in nxt_job_file_info()
268 return NXT_OK; in nxt_job_file_mmap()
291 return NXT_OK; in nxt_job_file_read_data()
[all …]
H A Dnxt_clone.c68 return NXT_OK; in nxt_clone_credential_setgroups()
79 return NXT_OK; in nxt_clone_credential_setgroups()
129 return NXT_OK; in nxt_clone_credential_map_write()
252 return NXT_OK; in nxt_clone_credential_map()
266 return NXT_OK; in nxt_clone_vldt_credential_uidmap()
290 return NXT_OK; in nxt_clone_vldt_credential_uidmap()
299 return NXT_OK; in nxt_clone_vldt_credential_uidmap()
334 return NXT_OK; in nxt_clone_vldt_credential_gidmap()
371 return NXT_OK; in nxt_clone_vldt_credential_gidmap()
386 return NXT_OK; in nxt_clone_vldt_credential_gidmap()
[all …]
H A Dnxt_http_variables.c53 return NXT_OK; in nxt_http_var_method()
66 return NXT_OK; in nxt_http_var_request_uri()
79 return NXT_OK; in nxt_http_var_uri()
92 return NXT_OK; in nxt_http_var_host()
H A Dnxt_external.c36 return NXT_OK; in nxt_external_fd_no_cloexec()
55 return NXT_OK; in nxt_external_fd_no_cloexec()
90 if (nxt_slow_path(rc != NXT_OK)) { in nxt_external_start()
95 if (nxt_slow_path(rc != NXT_OK)) { in nxt_external_start()
100 if (nxt_slow_path(rc != NXT_OK)) { in nxt_external_start()
105 if (nxt_slow_path(rc != NXT_OK)) { in nxt_external_start()
110 if (nxt_slow_path(rc != NXT_OK)) { in nxt_external_start()
115 if (nxt_slow_path(rc != NXT_OK)) { in nxt_external_start()
H A Dnxt_process.c182 if (nxt_slow_path(ret != NXT_OK)) { in nxt_process_start()
224 ret = NXT_OK; in nxt_process_start()
299 return NXT_OK; in nxt_process_child_fixup()
400 if (nxt_slow_path(ret != NXT_OK)) { in nxt_process_setup()
443 if (nxt_slow_path(ret != NXT_OK)) { in nxt_process_do_start()
527 return NXT_OK; in nxt_process_whoami()
622 return NXT_OK; in nxt_process_send_created()
694 return NXT_OK; in nxt_process_core_setup()
777 return NXT_OK; in nxt_process_apply_creds()
797 return NXT_OK; in nxt_process_send_ready()
[all …]
H A Dnxt_credential.c63 if (nxt_credential_groups_get(task, mp, uc) != NXT_OK) { in nxt_credential_get()
85 return NXT_OK; in nxt_credential_get()
133 return NXT_OK; in nxt_credential_groups_get()
145 return NXT_OK; in nxt_credential_groups_get()
201 return NXT_OK; in nxt_credential_groups_get()
227 ret = NXT_OK; in nxt_credential_groups_get()
262 ret = NXT_OK; in nxt_credential_groups_get()
301 return NXT_OK; in nxt_credential_setuid()
330 return NXT_OK; in nxt_credential_setgids()
349 return NXT_OK; in nxt_credential_setgids()
H A Dnxt_file.c33 return NXT_OK; in nxt_file_open()
75 return NXT_OK; in nxt_file_openat2()
306 return NXT_OK; in nxt_file_delete()
319 return NXT_OK; in nxt_file_set_access()
337 return NXT_OK; in nxt_file_rename()
369 return NXT_OK; in nxt_fd_nonblocking()
387 return NXT_OK; in nxt_fd_blocking()
417 return NXT_OK; in nxt_fd_nonblocking()
441 return NXT_OK; in nxt_fd_blocking()
525 return NXT_OK; in nxt_file_redirect()
[all …]
H A Dnxt_conf_validation.c502 return NXT_OK; in nxt_conf_vldt_tls_cache_size()
519 return NXT_OK; in nxt_conf_vldt_tls_timeout()
571 return NXT_OK; in nxt_conf_vldt_ticket_key_element()
1350 return NXT_OK; in nxt_conf_vldt_var()
1658 return NXT_OK; in nxt_conf_vldt_return()
1722 return NXT_OK; in nxt_conf_vldt_share_element()
1780 return NXT_OK; in nxt_conf_vldt_python_path()
1793 return NXT_OK; in nxt_conf_vldt_python_path_element()
1835 return NXT_OK; in nxt_conf_vldt_threads()
1860 return NXT_OK; in nxt_conf_vldt_thread_stack_size()
[all …]
H A Dnxt_main.c19 if (nxt_lib_start("unit", argv, &environ) != NXT_OK) { in main()
29 if (ret != NXT_OK) { in main()
H A Dnxt_http_response.c60 return NXT_OK; in nxt_http_response_status()
73 return NXT_OK; in nxt_http_response_skip()
86 return NXT_OK; in nxt_http_response_field()

12345