Home
last modified time | relevance | path

Searched refs:nxt_array_create (Results 1 – 11 of 11) sorted by relevance

/unit/src/
H A Dnxt_array.c11 nxt_array_create(nxt_mp_t *mp, nxt_uint_t n, size_t size) in nxt_array_create() function
123 dst = nxt_array_create(mp, src->nelts, size); in nxt_array_copy()
H A Dnxt_array.h29 NXT_EXPORT nxt_array_t *nxt_array_create(nxt_mp_t *mp, nxt_uint_t n,
H A Dnxt_service.c68 services = nxt_array_create(mp, 32, sizeof(nxt_service_t)); in nxt_services_init()
H A Dnxt_runtime.c75 rt->languages = nxt_array_create(mp, 1, sizeof(nxt_app_lang_module_t)); in nxt_runtime_create()
87 lang->mounts = nxt_array_create(mp, 1, sizeof(nxt_fs_mount_t)); in nxt_runtime_create()
92 listen_sockets = nxt_array_create(mp, 1, sizeof(nxt_listen_socket_t)); in nxt_runtime_create()
168 inherited_sockets = nxt_array_create(rt->mem_pool, in nxt_runtime_inherited_listen_sockets()
250 inherited_sockets = nxt_array_create(rt->mem_pool, in nxt_runtime_systemd_listen_sockets()
321 thread_pools = nxt_array_create(rt->mem_pool, 1, in nxt_runtime_thread_pools()
H A Dnxt_http_request.c353 client_ip_fields = nxt_array_create(r->mem_pool, 1, in nxt_http_request_forward()
859 args = nxt_array_create(r->mem_pool, 2, sizeof(nxt_http_name_value_t)); in nxt_http_arguments_parse()
992 cookies = nxt_array_create(r->mem_pool, 2, sizeof(nxt_http_name_value_t)); in nxt_http_cookies_parse()
H A Dnxt_application.c230 modules = nxt_array_create(mp, n, sizeof(nxt_module_t)); in nxt_discovery_modules()
417 module->mounts = nxt_array_create(mp, app->nmounts, in nxt_discovery_module()
H A Dnxt_event_engine.c583 mem_cache = nxt_array_create(engine->mem_pool, items, in nxt_event_engine_mem_alloc()
H A Dnxt_main_process.c813 new_files = nxt_array_create(mp, n, sizeof(nxt_file_t)); in nxt_main_process_sigusr1_handler()
1373 lang->mounts = nxt_array_create(rt->mem_pool, nmounts, in nxt_main_port_modules_handler()
H A Dnxt_cert.c834 certs = nxt_array_create(mp, 16, sizeof(nxt_cert_item_t)); in nxt_cert_store_load()
H A Dnxt_http_route.c987 slices = nxt_array_create(mp, 1, sizeof(nxt_http_route_pattern_slice_t)); in nxt_http_route_pattern_create()
H A Dnxt_router.c1022 tmcf->engines = nxt_array_create(tmcf->mem_pool, 4, in nxt_router_temp_conf()
2989 tmcf->engines = nxt_array_create(tmcf->mem_pool, threads, in nxt_router_engines_create()