Home
last modified time | relevance | path

Searched refs:init (Results 1 – 25 of 42) sorted by last modified time

12

/unit/src/python/
H A Dnxt_python_wsgi.c181 nxt_python_wsgi_init(nxt_unit_init_t *init, nxt_python_proto_t *proto) in nxt_python_wsgi_init() argument
194 obj = nxt_python_create_environ(init->data); in nxt_python_wsgi_init()
202 init->callbacks.request_handler = nxt_python_request_handler; in nxt_python_wsgi_init()
H A Dnxt_python_asgi.c140 nxt_python_asgi_init(nxt_unit_init_t *init, nxt_python_proto_t *proto) in nxt_python_asgi_init() argument
188 init->callbacks.request_handler = nxt_py_asgi_request_handler; in nxt_python_asgi_init()
189 init->callbacks.data_handler = nxt_py_asgi_http_data_handler; in nxt_python_asgi_init()
190 init->callbacks.websocket_handler = nxt_py_asgi_websocket_handler; in nxt_python_asgi_init()
191 init->callbacks.close_handler = nxt_py_asgi_close_handler; in nxt_python_asgi_init()
192 init->callbacks.quit = nxt_py_asgi_quit; in nxt_python_asgi_init()
193 init->callbacks.shm_ack_handler = nxt_py_asgi_shm_ack_handler; in nxt_python_asgi_init()
194 init->callbacks.add_port = nxt_py_asgi_add_port; in nxt_python_asgi_init()
195 init->callbacks.remove_port = nxt_py_asgi_remove_port; in nxt_python_asgi_init()
1495 nxt_python_asgi_init(nxt_unit_init_t *init, nxt_python_proto_t *proto) in nxt_python_asgi_init() argument
H A Dnxt_python.h76 int nxt_python_wsgi_init(nxt_unit_init_t *init, nxt_python_proto_t *proto);
79 int nxt_python_asgi_init(nxt_unit_init_t *init, nxt_python_proto_t *proto);
/unit/src/
H A Dnxt_main_process.c365 nxt_process_init_t *init; in nxt_main_start_process_handler() local
396 init = nxt_process_init(process); in nxt_main_start_process_handler()
398 *init = nxt_proto_process; in nxt_main_start_process_handler()
421 init->name = (const char *) start; in nxt_main_start_process_handler()
432 p = nxt_cpymem(p, init->name, app_conf->name.length); in nxt_main_start_process_handler()
880 nxt_process_init_t init; in nxt_main_process_sigchld_handler() local
981 init = *(nxt_process_init_t *) nxt_process_init(process); in nxt_main_process_sigchld_handler()
985 if (init.restart) { in nxt_main_process_sigchld_handler()
986 ret = nxt_process_init_start(task, init); in nxt_main_process_sigchld_handler()
988 nxt_alert(task, "failed to restart %s", init.name); in nxt_main_process_sigchld_handler()
H A Dnxt_application.h143 nxt_unit_init_t *init, nxt_common_app_conf_t *conf);
H A Dnxt_controller.c303 nxt_controller_init_t *init; in nxt_controller_start() local
315 init = &data->controller; in nxt_controller_start()
318 if (init->certs != NULL) { in nxt_controller_start()
319 nxt_cert_info_init(task, init->certs); in nxt_controller_start()
320 nxt_cert_store_release(init->certs); in nxt_controller_start()
324 json = &init->conf; in nxt_controller_start()
H A Dnxt_application.c602 nxt_process_init_t *init; in nxt_proto_start_process_handler() local
619 init = nxt_process_init(process); in nxt_proto_start_process_handler()
620 *init = nxt_app_process; in nxt_proto_start_process_handler()
631 init->start = nxt_app->start; in nxt_proto_start_process_handler()
961 nxt_process_init_t *init; in nxt_app_setup() local
965 init = nxt_process_init(process); in nxt_app_setup()
1083 init->ready_port.in_fd = -1; in nxt_unit_default_init()
1090 init->router_port.in_fd = -1; in nxt_unit_default_init()
1094 init->read_port.id.id = my_port->id; in nxt_unit_default_init()
1101 init->log_fd = 2; in nxt_unit_default_init()
[all …]
H A Dnxt_unit.c427 nxt_unit_init(nxt_unit_init_t *init) in nxt_unit_init() argument
438 lib = nxt_unit_create(init); in nxt_unit_init()
448 if (init->ready_port.id.pid != 0 in nxt_unit_init()
449 && init->ready_stream != 0 in nxt_unit_init()
450 && init->read_port.id.pid != 0) in nxt_unit_init()
452 ready_port = init->ready_port; in nxt_unit_init()
455 read_port = init->read_port; in nxt_unit_init()
456 lib->log_fd = init->log_fd; in nxt_unit_init()
586 nxt_unit_create(nxt_unit_init_t *init) in nxt_unit_create() argument
612 lib->unit.data = init->data; in nxt_unit_create()
[all …]
H A Dnxt_runtime.c499 nxt_process_init_t *init; in nxt_runtime_stop_app_processes() local
503 init = nxt_process_init(process); in nxt_runtime_stop_app_processes()
505 if (init->type == NXT_PROCESS_APP in nxt_runtime_stop_app_processes()
506 || init->type == NXT_PROCESS_PROTOTYPE) in nxt_runtime_stop_app_processes()
H A Dnxt_process.h188 nxt_int_t nxt_process_init_start(nxt_task_t *task, nxt_process_init_t init);
H A Dnxt_process.c148 process->name = init.name; in nxt_process_init_start()
152 *pinit = init; in nxt_process_init_start()
170 nxt_process_init_t *init; in nxt_process_start() local
193 if (init->prefork) { in nxt_process_start()
251 nxt_process_init_t *init; in nxt_process_child_fixup() local
266 ptype = init->type; in nxt_process_child_fixup()
299 if (init->siblings != NULL) { in nxt_process_child_fixup()
406 rt->type = init->type; in nxt_process_setup()
457 nxt_process_init_t *init; in nxt_process_do_start() local
655 nxt_process_init_t *init; in nxt_process_created_ok() local
[all …]
/unit/src/test/
H A Dnxt_unit_websocket_chat.c207 nxt_unit_init_t init; in main() local
216 memset(&init, 0, sizeof(nxt_unit_init_t)); in main()
218 init.callbacks.request_handler = ws_chat_request_handler; in main()
219 init.callbacks.websocket_handler = ws_chat_websocket_handler; in main()
220 init.callbacks.close_handler = ws_chat_close_handler; in main()
222 init.request_data_size = sizeof(ws_chat_request_data_t); in main()
224 ctx = nxt_unit_init(&init); in main()
H A Dnxt_unit_websocket_echo.c89 nxt_unit_init_t init; in main() local
91 memset(&init, 0, sizeof(nxt_unit_init_t)); in main()
93 init.callbacks.request_handler = ws_echo_request_handler; in main()
94 init.callbacks.websocket_handler = ws_echo_websocket_handler; in main()
96 ctx = nxt_unit_init(&init); in main()
H A Dnxt_unit_app_test.c49 nxt_unit_init_t init; in main() local
55 memset(&init, 0, sizeof(nxt_unit_init_t)); in main()
57 init.callbacks.request_handler = greeting_app_request_handler; in main()
58 init.callbacks.ready_handler = ready_handler; in main()
60 ctx = nxt_unit_init(&init); in main()
/unit/test/
H A Dtest_status.py54 Status.init()
106 Status.init()
154 Status.init()
196 Status.init()
226 Status.init()
H A Dtest_status_tls.py25 Status.init()
/unit/src/nodejs/unit-http/
H A Dunit.cpp168 Unit::init(napi_env env, napi_value exports) in init() function in Unit
H A Dunit.h14 static napi_value init(napi_env env, napi_value exports);
/unit/test/unit/
H A Dstatus.py20 def init(status=None): member in Status
/unit/src/java/nginx/unit/websocket/
H A DWsRemoteEndpointImplBase.java653 instance.init(endpointConfig); in setEncoders()
/unit/src/java/nginx/unit/
H A DContext.java1954 private void init() throws ServletException
1998 servlet_.init((ServletConfig) this);
2009 init();
2086 init();
2387 public void init() throws ServletException
2403 filter_.init((FilterConfig) this);
2561 fr.init();
/unit/go/
H A Dnxt_cgo_lib.c23 nxt_unit_init_t init; in nxt_cgo_run() local
25 memset(&init, 0, sizeof(init)); in nxt_cgo_run()
27 init.callbacks.request_handler = nxt_go_request_handler; in nxt_cgo_run()
28 init.callbacks.add_port = nxt_go_add_port; in nxt_cgo_run()
29 init.callbacks.remove_port = nxt_go_remove_port; in nxt_cgo_run()
30 init.callbacks.port_send = nxt_cgo_port_send; in nxt_cgo_run()
31 init.callbacks.port_recv = nxt_cgo_port_recv; in nxt_cgo_run()
32 init.callbacks.shm_ack_handler = nxt_go_shm_ack_handler; in nxt_cgo_run()
33 init.callbacks.ready_handler = nxt_go_ready; in nxt_cgo_run()
35 init.data = (void *) handler; in nxt_cgo_run()
[all …]
/unit/pkg/deb/debian/
H A Dunit.init20 . /lib/lsb/init-functions
/unit/test/java/url_pattern/
H A Dapp.java16 public void init(ServletConfig sc) in init() method in app
/unit/test/java/filter/
H A Dapp.java23 public void init(FilterConfig filterConfig) in init() method in app.filter

12