Home
last modified time | relevance | path

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

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/pkg/deb/debian/
H A Dunit.init20 . /lib/lsb/init-functions
/unit/src/java/javax/websocket/
H A DDecoder.java26 abstract void init(EndpointConfig endpointConfig); in init() method
H A DEncoder.java26 abstract void init(EndpointConfig endpointConfig); in init() method
/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/src/java/nginx/unit/websocket/
H A DWsRemoteEndpointImplBase.java653 instance.init(endpointConfig); in setEncoders()
H A DWsWebSocketContainer.java919 tmf.init(ks); in createSSLEngine()
921 sslContext.init(null, tmf.getTrustManagers(), null); in createSSLEngine()
923 sslContext.init(null, null, null); in createSSLEngine()
/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 DLocalStrings.properties40 … to configure the WebSocket HttpUpgradeHandler before the container calls init(). Usually, this me…
H A DUpgradeUtil.java185 wsHandler.init(null); in doUpgrade()
H A DWsContextListener.java39 WsSci.init(sce.getServletContext(), false); in contextInitialized()
H A DWsFilter.java40 public void init() throws ServletException { in init() method in WsFilter
H A DWsHttpUpgradeHandler.java89 public void init(WebConnection connection) { in init() method in WsHttpUpgradeHandler
H A DWsSci.java47 WsServerContainer sc = init(ctx, true); in onStartup()
128 static WsServerContainer init(ServletContext servletContext, in init() method in WsSci
/unit/src/nodejs/unit-http/
H A Daddon.cpp12 return Unit::init(env, exports); in Init()
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/src/
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_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_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_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_process.h188 nxt_int_t nxt_process_init_start(nxt_task_t *task, nxt_process_init_t init);
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()

12