Home
last modified time | relevance | path

Searched refs:type (Results 1 – 25 of 118) sorted by last modified time

12345

/unit/src/
H A Dnxt_unit.c1040 switch (port_msg->type) { in nxt_unit_process_msg()
2642 m.msg.type = _NXT_PORT_MSG_DATA; in nxt_unit_mmap_buf_send()
3614 msg.type = _NXT_PORT_MSG_OOSM; in nxt_unit_send_oosm()
3898 msg.type = _NXT_PORT_MSG_MMAP; in nxt_unit_send_mmap()
4093 msg.type = _NXT_PORT_MSG_RPC_READY; in nxt_unit_awake_ctx()
4313 m.msg.type = _NXT_PORT_MSG_GET_MMAP; in nxt_unit_get_mmap()
4382 msg.type = _NXT_PORT_MSG_SHM_ACK; in nxt_unit_send_shm_ack()
5347 m.msg.type = _NXT_PORT_MSG_NEW_PORT; in nxt_unit_send_port()
5355 m.new_port.type = NXT_PROCESS_APP; in nxt_unit_send_port()
5828 m.msg.type = _NXT_PORT_MSG_QUIT; in nxt_unit_quit()
[all …]
H A Dnxt_sockaddr.c43 sa->type = ls->sockaddr->type; in nxt_sockaddr_cache_alloc()
367 if (sa1->type != sa2->type) { in nxt_sockaddr_cmp()
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_http_static.c923 nxt_str_t *type, exten; in nxt_http_static_mtypes_init() local
928 nxt_str_t type; in nxt_http_static_mtypes_init() member
994 type = (nxt_str_t *) &default_types[i].type; in nxt_http_static_mtypes_init()
999 ret = nxt_http_static_mtypes_hash_add(mp, hash, &exten, type); in nxt_http_static_mtypes_init()
1021 nxt_str_t *type; member
1027 const nxt_str_t *exten, nxt_str_t *type) in nxt_http_static_mtypes_hash_add() argument
1038 mtype->type = type; in nxt_http_static_mtypes_hash_add()
1065 return mtype->type; in nxt_http_static_mtype_get()
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_http.h379 const nxt_str_t *exten, nxt_str_t *type);
H A Dnxt_conf.h59 nxt_conf_map_type_t type; member
H A Dnxt_conf.c405 switch (value->type) { in nxt_conf_type()
462 switch (value->type) { in nxt_conf_get_path()
594 switch (map[i].type) { in nxt_conf_map_object()
617 switch (map[i].type) { in nxt_conf_map_object()
826 switch (root->type) { in nxt_conf_op_compile()
965 switch (src->type) { in nxt_conf_copy_value()
991 dst->type = src->type; in nxt_conf_copy_value()
1091 dst->type = src->type; in nxt_conf_copy_array()
1221 dst->type = src->type; in nxt_conf_copy_object()
2212 switch (value->type) { in nxt_conf_json_length()
[all …]
H A Dnxt_router.c24 nxt_str_t type; member
308 .type = NXT_PROCESS_ROUTER,
1284 nxt_port_msg_type_t type) in nxt_router_conf_send() argument
1307 offsetof(nxt_router_app_conf_t, type),
1714 app->type = lang->type; in nxt_router_conf_create()
2064 nxt_str_t *type, exten, str; in nxt_router_conf_process_static() local
2095 if (nxt_slow_path(type == NULL)) { in nxt_router_conf_process_static()
2479 sa->type = SOCK_STREAM; in nxt_router_socket_conf()
2920 nxt_assert(port->type == NXT_PROCESS_APP); in nxt_router_app_prefork_ready()
4617 nxt_assert(port->type == NXT_PROCESS_APP); in nxt_router_app_port_ready()
[all …]
H A Dnxt_router.h136 nxt_app_type_t type:8; member
H A Dnxt_http_route.c60 nxt_http_route_pattern_type_t type:8; member
186 nxt_http_route_pattern_type_t type,
936 nxt_http_route_pattern_type_t type; in nxt_http_route_pattern_create() local
939 type = NXT_HTTP_ROUTE_PATTERN_EXACT; in nxt_http_route_pattern_create()
1000 slice->type = NXT_HTTP_ROUTE_PATTERN_EXACT; in nxt_http_route_pattern_create()
1009 type = NXT_HTTP_ROUTE_PATTERN_END; in nxt_http_route_pattern_create()
1014 if (type == NXT_HTTP_ROUTE_PATTERN_EXACT) { in nxt_http_route_pattern_create()
1022 type = NXT_HTTP_ROUTE_PATTERN_EXACT; in nxt_http_route_pattern_create()
1030 type = NXT_HTTP_ROUTE_PATTERN_BEGIN; in nxt_http_route_pattern_create()
1200 slice->type = type; in nxt_http_route_pattern_slice()
[all …]
H A Dnxt_conf_validation.c55 nxt_conf_vldt_type_t type:32; member
249 .type = NXT_CONF_VLDT_OBJECT,
474 .type = NXT_CONF_VLDT_STRING
1249 if ((1 << value_type) & type) { in nxt_conf_vldt_type()
1255 n = nxt_popcount(type); in nxt_conf_vldt_type()
1264 t = __builtin_ffs(type) - 1; in nxt_conf_vldt_type()
1284 type = type & ~(1 << t); in nxt_conf_vldt_type()
1356 nxt_str_t *type; member
1408 *ctx->type = *name; in nxt_conf_vldt_mtypes_type()
2375 nxt_str_t type; in nxt_conf_vldt_app() local
[all …]
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_port.h164 uint8_t type; member
265 nxt_process_type_t type; member
280 nxt_process_type_t type:8; member
309 nxt_process_type_t type);
323 nxt_uint_t type, nxt_fd_t fd, nxt_fd_t fd2, uint32_t stream,
328 nxt_uint_t type, nxt_fd_t fd, uint32_t stream, nxt_port_id_t reply_port, in nxt_port_socket_write() argument
331 return nxt_port_socket_write2(task, port, type, fd, -1, stream, reply_port, in nxt_port_socket_write()
H A Dnxt_openssl.c60 static void nxt_openssl_lock(int mode, int type, const char *file, int line);
245 nxt_openssl_lock(int mode, int type, const char *file, int line) in nxt_openssl_lock() argument
249 lock = &nxt_openssl_locks[type]; in nxt_openssl_lock()
871 if (name->type != GEN_DNS) {
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_file.h89 uint8_t type; /* nxt_file_type_t */ member
/unit/
H A DCHANGES127 *) Change: PHP added to the default MIME type list.
283 *) Change: AVIF and APNG image formats added to the default MIME type
664 *) Change: the "type" of application object for Go was changed to
770 modules with the same type and version; the bug had appeared in 1.0.
812 *) Bugfix: the main process died when the "type" application option
H A DREADME.md86 "type": "php",
149 "type": "php",
H A DCONTRIBUTING.md70 type="feature">` for new functionality, `<change type="change">` for changed
71 behavior, and `<change type="bugfix">` for bug fixes.

12345