Home
last modified time | relevance | path

Searched refs:init (Results 1 – 25 of 42) sorted by relevance

12

/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/src/test/
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_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_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/src/
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 …]
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_thread_pool.h31 nxt_thread_pool_init_t init; member
37 nxt_nsec_t timeout, nxt_thread_pool_init_t init,
H A Dnxt_thread_pool.c19 nxt_thread_pool_init_t init, nxt_event_engine_t *engine, in nxt_thread_pool_create() argument
34 tp->init = init; in nxt_thread_pool_create()
142 if (tp->init != NULL) { in nxt_thread_pool_loop()
143 tp->init(); in nxt_thread_pool_loop()
/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/python/
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);
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()
1497 nxt_python_asgi_init(nxt_unit_init_t *init, nxt_python_proto_t *proto) in nxt_python_asgi_init() argument
/unit/test/java/welcome_files/
H A Dapp.java23 public void init(FilterConfig filterConfig) { } in init() method in app.jsp_filter
42 public void init(FilterConfig filterConfig) { } in init() method in app.txt_filter
/unit/src/nodejs/unit-http/
H A Daddon.cpp12 return Unit::init(env, exports); in Init()
/unit/src/java/nginx/unit/websocket/pojo/
H A DPojoMessageHandlerWholeBinary.java70 decoder.init(config); in PojoMessageHandlerWholeBinary()
76 decoder.init(config); in PojoMessageHandlerWholeBinary()
H A DPojoMessageHandlerWholeText.java79 decoder.init(config); in PojoMessageHandlerWholeText()
85 decoder.init(config); in PojoMessageHandlerWholeText()
/unit/src/java/nginx/unit/websocket/server/
H A DWsContextListener.java39 WsSci.init(sce.getServletContext(), false); in contextInitialized()
H A DWsSci.java47 WsServerContainer sc = init(ctx, true); in onStartup()
128 static WsServerContainer init(ServletContext servletContext, in init() method in WsSci
H A DWsFilter.java40 public void init() throws ServletException { in init() method in WsFilter
/unit/src/java/javax/websocket/
H A DEncoder.java26 abstract void init(EndpointConfig endpointConfig); in init() method
H A DDecoder.java26 abstract void init(EndpointConfig endpointConfig); in init() method
/unit/test/unit/
H A Dstatus.py20 def init(status=None): member in Status
/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
/unit/pkg/deb/debian/
H A Dunit.init20 . /lib/lsb/init-functions

12