Home
last modified time | relevance | path

Searched refs:type (Results 51 – 75 of 129) sorted by last modified time

123456

/unit/src/
H A Dnxt_cgroup.c25 if (task->thread->runtime->type != NXT_PROCESS_MAIN in nxt_cgroup_proc_add()
H A Dnxt_sockaddr.c39 sa->type = ls->sockaddr->type; in nxt_sockaddr_cache_alloc()
363 if (sa1->type != sa2->type) { in nxt_sockaddr_cmp()
H A Dnxt_port.c50 nxt_process_type_t type) in nxt_port_new() argument
66 port->type = type; in nxt_port_new()
93 port->id, port->type); in nxt_port_close()
130 port->id, port->type); in nxt_port_release()
177 if (nxt_fast_path(msg->port_msg.type < NXT_PORT_MSG_MAX)) { in nxt_port_handler()
180 msg->port->socket.fd, msg->port_msg.type, in nxt_port_handler()
184 handlers[msg->port_msg.type](task, msg); in nxt_port_handler()
190 msg->port->socket.fd, msg->port_msg.type); in nxt_port_handler()
220 if (nxt_proc_send_matrix[port->type][new_port->type]) { in nxt_port_send_new_port()
251 msg->type = new_port->type; in nxt_port_send_port()
[all …]
H A Dnxt_fs_mount.h35 nxt_fs_type_t type; member
H A Dnxt_fs_mount.c24 switch (mnt->type) { in nxt_fs_mount()
99 switch (mnt->type) { in nxt_fs_mount()
H A Dnxt_sockaddr.h24 uint8_t type; member
H A Dnxt_port_socket.c160 nxt_port_socket_write2(nxt_task_t *task, nxt_port_t *port, nxt_uint_t type, in nxt_port_socket_write2() argument
180 msg.close_fd = (type & NXT_PORT_MSG_CLOSE_FD) != 0; in nxt_port_socket_write2()
186 msg.port_msg.type = type & NXT_PORT_MSG_MASK; in nxt_port_socket_write2()
187 msg.port_msg.last = (type & NXT_PORT_MSG_LAST) != 0; in nxt_port_socket_write2()
192 if (port->queue != NULL && type != _NXT_PORT_MSG_READ_QUEUE) { in nxt_port_socket_write2()
224 msg.port_msg.type = _NXT_PORT_MSG_READ_QUEUE; in nxt_port_socket_write2()
929 && msg.port_msg.type == _NXT_PORT_MSG_READ_QUEUE) in nxt_port_queue_read_handler()
H A Dnxt_mp.c91 nxt_mp_block_type_t type:8; member
338 if (block->type != NXT_MP_EMBEDDED_BLOCK) { in nxt_mp_destroy()
716 uint8_t type; in nxt_mp_alloc_large() local
738 type = NXT_MP_DISCRETE_BLOCK; in nxt_mp_alloc_large()
749 type = NXT_MP_EMBEDDED_BLOCK; in nxt_mp_alloc_large()
752 block->type = type; in nxt_mp_alloc_large()
797 if (block->type == NXT_MP_CLUSTER_BLOCK) { in nxt_mp_free()
809 if (block->type == NXT_MP_DISCRETE_BLOCK) { in nxt_mp_free()
H A Dnxt_port_rpc.c315 nxt_port_msg_type_t type; in nxt_port_rpc_handler() local
320 type = msg->port_msg.type; in nxt_port_rpc_handler()
339 (last ? "last " : ""), type); in nxt_port_rpc_handler()
343 if (type == _NXT_PORT_MSG_RPC_ERROR) { in nxt_port_rpc_handler()
398 msg.port_msg.type = _NXT_PORT_MSG_REMOVE_PID; in nxt_port_rpc_remove_peer()
510 msg.port_msg.type = _NXT_PORT_MSG_RPC_ERROR; in nxt_port_rpc_close()
H A Dnxt_port_memory.c865 if (port->type == NXT_PROCESS_APP) { in nxt_process_broadcast_shm_ack()
H A Dnxt_vector.h27 nxt_vector_type_t type:8; member
H A Dnxt_thread.h33 #define nxt_thread_extern_data(type, tsd) \ argument
34 NXT_EXPORT extern __thread type tsd
36 #define nxt_thread_declare_data(type, tsd) \ argument
37 __thread type tsd
66 #define nxt_thread_extern_data(type, tsd) \ argument
69 #define nxt_thread_declare_data(type, tsd) \ argument
70 nxt_thread_specific_data_t tsd = { { (nxt_atomic_int_t) -1, sizeof(type) } }
H A Dnxt_socket.h95 nxt_uint_t type, nxt_uint_t protocol, nxt_uint_t flags);
H A Dnxt_service.h12 const char *type; member
19 ((s)->type == NULL)
25 NXT_EXPORT const void *nxt_service_get(nxt_array_t *services, const char *type,
H A Dnxt_queue.h193 #define nxt_queue_link_data(lnk, type, link) \ argument
194 nxt_container_of(lnk, type, link)
203 #define nxt_queue_each(elt, queue, type, link) \ argument
212 elt = nxt_queue_link_data(_lnk, type, link); \
H A Dnxt_clang.h201 #define nxt_container_of(p, type, field) \ argument
202 (type *) ((u_char *) (p) - offsetof(type, field))
209 #define nxt_value_at(type, p, offset) \ argument
210 *(type *) ((u_char *) p + offset)
H A Dnxt_cert.c102 char *type, *header; in nxt_cert_bio() local
134 nxt_debug(task, "PEM type: \"%s\"", type); in nxt_cert_bio()
146 if (nxt_strcmp(type, PEM_STRING_PKCS8) == 0) { in nxt_cert_bio()
151 if (nxt_strcmp(type, PEM_STRING_PKCS8INF) == 0) { in nxt_cert_bio()
187 if (nxt_strcmp(type, PEM_STRING_X509) == 0 in nxt_cert_bio()
219 OPENSSL_free(type); in nxt_cert_bio()
754 if (name->type != GEN_DNS) { in nxt_cert_alt_names_details()
769 if (name->type != GEN_DNS) { in nxt_cert_alt_names_details()
1084 recv_port = rt->port_by_type[rt->type]; in nxt_cert_store_get()
1132 nxt_port_msg_type_t type; in nxt_cert_store_get_handler() local
[all …]
/unit/pkg/rpm/rpmbuild/SOURCES/
H A Dunit.example-python311-config4 "type": "python 3.11",
H A Dunit.example-python38-config4 "type": "python 3.8",
H A Dunit.example-python310-config4 "type": "python 3.10",
/unit/pkg/deb/debian.module/
H A Dunit.example-jsc19-config5 "type": "java 19",
H A Dunit.example-python3.10-config4 "type": "python 3.10",
H A Dunit.example-jsc18-config5 "type": "java 18",
/unit/src/python/
H A Dnxt_python_asgi_websocket.c205 PyObject *type; in nxt_py_asgi_websocket_send() local
216 type = PyDict_GetItem(dict, nxt_py_type_str); in nxt_py_asgi_websocket_send()
217 if (nxt_slow_path(type == NULL || !PyUnicode_Check(type))) { in nxt_py_asgi_websocket_send()
224 type_str = PyUnicode_AsUTF8AndSize(type, &type_len); in nxt_py_asgi_websocket_send()
249 return PyErr_Format(PyExc_AssertionError, "unexpected 'type': '%U'", type); in nxt_py_asgi_websocket_send()
737 PyObject *msg, *data, *type, *data_key; in nxt_py_asgi_websocket_pop_msg() local
775 type = nxt_py_websocket_receive_str; in nxt_py_asgi_websocket_pop_msg()
840 type = nxt_py_websocket_disconnect_str; in nxt_py_asgi_websocket_pop_msg()
900 msg = nxt_py_asgi_new_msg(ws->req, type); in nxt_py_asgi_websocket_pop_msg()
H A Dnxt_python_asgi.h47 PyObject *nxt_py_asgi_new_msg(nxt_unit_request_info_t *req, PyObject *type);
48 PyObject *nxt_py_asgi_new_scope(nxt_unit_request_info_t *req, PyObject *type,

123456