/unit/src/nodejs/unit-http/ |
H A D | websocket_connection.js | 345 type: 'binary', 363 type: 'utf8', 410 type: 'binary', 416 type: 'utf8',
|
/unit/src/java/nginx/unit/websocket/ |
H A D | Util.java | 185 private static <T> TypeResult getGenericType(Class<T> type, in getGenericType() argument 308 if (type.equals(String.class)) { in coerceToType() 310 } else if (type.equals(boolean.class) || type.equals(Boolean.class)) { in coerceToType() 312 } else if (type.equals(byte.class) || type.equals(Byte.class)) { in coerceToType() 314 } else if (type.equals(char.class) || type.equals(Character.class)) { in coerceToType() 316 } else if (type.equals(double.class) || type.equals(Double.class)) { in coerceToType() 318 } else if (type.equals(float.class) || type.equals(Float.class)) { in coerceToType() 320 } else if (type.equals(int.class) || type.equals(Integer.class)) { in coerceToType() 322 } else if (type.equals(long.class) || type.equals(Long.class)) { in coerceToType() 324 } else if (type.equals(short.class) || type.equals(Short.class)) { in coerceToType() [all …]
|
/unit/test/ |
H A D | conftest.py | 58 type=str, 63 type=int,
|
/unit/ |
H A D | README.md | 91 "type": "php", 154 "type": "php",
|
H A D | CONTRIBUTING.md | 70 type="feature">` for new functionality, `<change type="change">` for changed 71 behavior, and `<change type="bugfix">` for bug fixes.
|
/unit/src/ |
H A D | nxt_php_sapi.c | 90 int type); 92 int type); 96 static void nxt_php_disable(nxt_task_t *task, const char *type, 695 if (nxt_php_alter_option(&name, &value, type) != NXT_OK) { in nxt_php_set_options() 726 nxt_php_alter_option(nxt_str_t *name, nxt_str_t *value, int type) in nxt_php_alter_option() argument 750 ini_entry->modifiable = type; in nxt_php_alter_option() 758 nxt_php_alter_option(nxt_str_t *name, nxt_str_t *value, int type) in nxt_php_alter_option() argument 789 ini_entry->modifiable = type; in nxt_php_alter_option() 821 nxt_php_disable(nxt_task_t *task, const char *type, nxt_str_t *value, in nxt_php_disable() argument 859 start, type); in nxt_php_disable() [all …]
|
H A D | nxt_controller.c | 164 .type = NXT_PROCESS_CONTROLLER, 414 if (msg->u.new_port->type != NXT_PROCESS_ROUTER in nxt_controller_process_new_port_handler() 544 if (msg->port_msg.type != NXT_PORT_MSG_RPC_READY) { in nxt_controller_conf_init_handler() 1635 if (msg->port_msg.type == NXT_PORT_MSG_RPC_READY) { in nxt_controller_status_handler() 1883 if (msg == NULL || msg->port_msg.type == _NXT_PORT_MSG_RPC_ERROR) { in nxt_controller_process_cert_save() 2149 if (msg == NULL || msg->port_msg.type == _NXT_PORT_MSG_RPC_ERROR) { in nxt_controller_process_script_save() 2252 if (msg->port_msg.type == NXT_PORT_MSG_RPC_READY) { in nxt_controller_conf_handler() 2409 if (msg->port_msg.type == NXT_PORT_MSG_RPC_READY) { in nxt_controller_app_restart_handler()
|
H A D | nxt_unit.c | 1054 switch (port_msg->type) { in nxt_unit_process_msg() 2657 m.msg.type = _NXT_PORT_MSG_DATA; in nxt_unit_mmap_buf_send() 3629 msg.type = _NXT_PORT_MSG_OOSM; in nxt_unit_send_oosm() 3913 msg.type = _NXT_PORT_MSG_MMAP; in nxt_unit_send_mmap() 4108 msg.type = _NXT_PORT_MSG_RPC_READY; in nxt_unit_awake_ctx() 4328 m.msg.type = _NXT_PORT_MSG_GET_MMAP; in nxt_unit_get_mmap() 4397 msg.type = _NXT_PORT_MSG_SHM_ACK; in nxt_unit_send_shm_ack() 5362 m.msg.type = _NXT_PORT_MSG_NEW_PORT; in nxt_unit_send_port() 5370 m.new_port.type = NXT_PROCESS_APP; in nxt_unit_send_port() 5843 m.msg.type = _NXT_PORT_MSG_QUIT; in nxt_unit_quit() [all …]
|
H A D | nxt_http_route.c | 60 nxt_http_route_pattern_type_t type:8; member 186 nxt_http_route_pattern_type_t type, 962 nxt_http_route_pattern_type_t type; in nxt_http_route_pattern_create() local 965 type = NXT_HTTP_ROUTE_PATTERN_EXACT; in nxt_http_route_pattern_create() 1026 slice->type = NXT_HTTP_ROUTE_PATTERN_EXACT; in nxt_http_route_pattern_create() 1035 type = NXT_HTTP_ROUTE_PATTERN_END; in nxt_http_route_pattern_create() 1040 if (type == NXT_HTTP_ROUTE_PATTERN_EXACT) { in nxt_http_route_pattern_create() 1048 type = NXT_HTTP_ROUTE_PATTERN_EXACT; in nxt_http_route_pattern_create() 1056 type = NXT_HTTP_ROUTE_PATTERN_BEGIN; in nxt_http_route_pattern_create() 1226 slice->type = type; in nxt_http_route_pattern_slice() [all …]
|
H A D | nxt_http.h | 401 const nxt_str_t *exten, nxt_str_t *type);
|
H A D | nxt_tstr.c | 29 nxt_tstr_type_t type; member 119 tstr->type = NXT_TSTR_JS; in nxt_tstr_compile() 134 tstr->type = NXT_TSTR_VAR; in nxt_tstr_compile() 142 tstr->type = NXT_TSTR_CONST; in nxt_tstr_compile() 208 return (tstr->type == NXT_TSTR_CONST); in nxt_tstr_is_const() 264 if (tstr->type == NXT_TSTR_VAR) { in nxt_tstr_query()
|
H A D | nxt_script.c | 501 recv_port = rt->port_by_type[rt->type]; in nxt_script_store_get() 549 nxt_port_msg_type_t type; in nxt_script_store_get_handler() local 560 if (nxt_slow_path(port->type != NXT_PROCESS_CONTROLLER in nxt_script_store_get_handler() 561 && port->type != NXT_PROCESS_ROUTER)) in nxt_script_store_get_handler() 571 type = NXT_PORT_MSG_RPC_ERROR; in nxt_script_store_get_handler() 597 type = NXT_PORT_MSG_RPC_READY_LAST | NXT_PORT_MSG_CLOSE_FD; in nxt_script_store_get_handler() 602 (void) nxt_port_socket_write(task, port, type, file.fd, in nxt_script_store_get_handler()
|
H A D | nxt_port.h | 178 uint8_t type; member 279 nxt_process_type_t type; member 294 nxt_process_type_t type:8; member 323 nxt_process_type_t type); 337 nxt_uint_t type, nxt_fd_t fd, nxt_fd_t fd2, uint32_t stream, 342 nxt_uint_t type, nxt_fd_t fd, uint32_t stream, nxt_port_id_t reply_port, in nxt_port_socket_write() argument 345 return nxt_port_socket_write2(task, port, type, fd, -1, stream, reply_port, in nxt_port_socket_write()
|
H A D | nxt_process.h | 144 nxt_process_type_t type; member
|
H A D | nxt_process.c | 162 process->parent_port = rt->port_by_type[rt->type]; in nxt_process_init_start() 190 port = nxt_port_new(task, 0, 0, init->type); in nxt_process_start() 282 ptype = init->type; in nxt_process_child_fixup() 662 rt->type = init->type; in nxt_process_setup() 1234 (nxt_process_port_first(process))->type; in nxt_process_type()
|
/unit/test/node/websockets/mirror/ |
H A D | app.js | 19 if (message.type === 'utf8') { 21 } else if (message.type === 'binary') {
|
/unit/test/node/loader/es_modules_websocket/ |
H A D | app.mjs | 21 if (message.type === 'utf8') { 23 } else if (message.type === 'binary') {
|
/unit/test/node/loader/es_modules_websocket_indirect/ |
H A D | module.mjs | 21 if (message.type === 'utf8') { 23 } else if (message.type === 'binary') {
|
/unit/src/java/ |
H A D | nxt_jni_Response.c | 101 jlong req_info_ptr, jarray type); 1027 jarray type) in nxt_java_Response_setContentType() argument 1036 type_len = (*env)->GetArrayLength(env, type); in nxt_java_Response_setContentType() 1038 type_str = (*env)->GetPrimitiveArrayCritical(env, type, NULL); in nxt_java_Response_setContentType() 1050 (*env)->ReleasePrimitiveArrayCritical(env, type, type_str, 0); in nxt_java_Response_setContentType()
|
/unit/src/wasm/ |
H A D | nxt_wasm.c | 309 .type = nxt_string("wasm"),
|
/unit/src/python/ |
H A D | nxt_python_asgi_lifespan.c | 64 .type = T_OBJECT_EX, 449 PyObject *type, *msg; in nxt_py_asgi_lifespan_send() local 465 type = PyDict_GetItem(dict, nxt_py_type_str); in nxt_py_asgi_lifespan_send() 466 if (nxt_slow_path(type == NULL || !PyUnicode_Check(type))) { in nxt_py_asgi_lifespan_send() 473 type_str = PyUnicode_AsUTF8AndSize(type, &type_len); in nxt_py_asgi_lifespan_send()
|
H A D | nxt_python_asgi.c | 644 PyObject *scope, *v, *type, *scheme; in nxt_py_asgi_create_http_scope() local 667 type = nxt_py_websocket_str; in nxt_py_asgi_create_http_scope() 671 type = nxt_py_http_str; in nxt_py_asgi_create_http_scope() 675 scope = nxt_py_asgi_new_scope(req, type, nxt_py_2_1_str); in nxt_py_asgi_create_http_scope() 1401 nxt_py_asgi_new_msg(nxt_unit_request_info_t *req, PyObject *type) in nxt_py_asgi_new_msg() argument 1414 if (nxt_slow_path(PyDict_SetItem(msg, nxt_py_type_str, type) == -1)) { in nxt_py_asgi_new_msg() 1428 nxt_py_asgi_new_scope(nxt_unit_request_info_t *req, PyObject *type, in nxt_py_asgi_new_scope() argument 1442 if (nxt_slow_path(PyDict_SetItem(scope, nxt_py_type_str, type) == -1)) { in nxt_py_asgi_new_scope()
|
/unit/pkg/deb/debian.module/ |
H A D | unit.example-jsc20-config | 5 "type": "java 20",
|
H A D | unit.example-python3.11-config | 4 "type": "python 3.11",
|
/unit/pkg/rpm/rpmbuild/SOURCES/ |
H A D | unit.example-jsc17-config | 5 "type": "java 17",
|