Home
last modified time | relevance | path

Searched refs:elts (Results 1 – 18 of 18) sorted by last modified time

/unit/src/
H A Dnxt_runtime.c695 tp = rt->thread_pools->elts; in nxt_runtime_thread_pool_destroy()
729 thread_pools = rt->thread_pools->elts; in nxt_runtime_thread_pool_exit()
1274 curr = rt->listen_sockets->elts; in nxt_runtime_listen_sockets_create()
1278 prev = rt->inherited_sockets->elts; in nxt_runtime_listen_sockets_create()
1320 ls = rt->listen_sockets->elts; in nxt_runtime_listen_sockets_enable()
H A Dnxt_process.h72 nxt_port_mmap_t *elts; member
H A Dnxt_process.c1030 ls = rt->listen_sockets->elts; in nxt_process_quit()
H A Dnxt_application.c252 module = modules->elts; in nxt_discovery_modules()
274 mnt = mounts->elts; in nxt_discovery_modules()
301 mnt = mounts->elts; in nxt_discovery_modules()
384 module = modules->elts; in nxt_discovery_module()
1003 lang = rt->languages->elts; in nxt_app_lang_module()
H A Dnxt_isolation.c574 mnt = mounts->elts; in nxt_isolation_set_lang_mounts()
575 lang_mnt = lang_mounts->elts; in nxt_isolation_set_lang_mounts()
643 qsort(mounts->elts, mounts->nelts, sizeof(nxt_fs_mount_t), in nxt_isolation_set_lang_mounts()
684 mnt = mounts->elts; in nxt_isolation_unmount_all()
713 mnt = mounts->elts; in nxt_isolation_prepare_rootfs()
H A Dnxt_var.c188 field = fields->elts; in nxt_var_field_add()
217 field = fields->elts; in nxt_var_field_get()
625 part = parts.elts; in nxt_var_query()
H A Dnxt_router.c3199 recf = tmcf->engines->elts; in nxt_router_threads_create()
3269 recf = tmcf->engines->elts; in nxt_router_engines_post()
5438 mmap_handler = process->incoming.elts[i].mmap_handler; in nxt_router_oosm_handler()
5526 mmap_handler = mmaps->elts[get_mmap_msg->id].mmap_handler; in nxt_router_get_mmap_handler()
H A Dnxt_http_request.c415 f = (nxt_http_field_t **) fields->elts; in nxt_http_request_forward_client_ip()
H A Dnxt_http_route.c1933 nv = array->elts; in nxt_http_route_test_argument()
1966 pattern_slice = rule->pattern[0].u.pattern_slices->elts; in nxt_http_route_scheme()
2011 nv = array->elts; in nxt_http_route_test_cookie()
2099 pattern_slice = pattern_slices->elts; in nxt_http_route_pattern()
H A Dnxt_http_variables.c384 start = args->elts; in nxt_http_var_arg()
462 nv = cookies->elts; in nxt_http_var_cookie()
H A Dnxt_unit.c347 nxt_unit_mmap_t *elts; member
3494 mm_end = lib->outgoing.elts + outgoing_size; in nxt_unit_mmap_get()
3683 return mmaps->elts + i; in nxt_unit_mmap_at()
3709 mmaps->elts = e; in nxt_unit_mmap_at()
3712 e = mmaps->elts + n; in nxt_unit_mmap_at()
3725 return mmaps->elts + i; in nxt_unit_mmap_at()
4107 mmaps->elts = NULL; in nxt_unit_mmaps_init()
4139 if (mmaps->elts != NULL) { in nxt_unit_mmaps_destroy()
4140 end = mmaps->elts + mmaps->size; in nxt_unit_mmaps_destroy()
4142 for (mm = mmaps->elts; mm < end; mm++) { in nxt_unit_mmaps_destroy()
[all …]
H A Dnxt_port_memory.c69 port_mmaps->elts = nxt_realloc(port_mmaps->elts, in nxt_port_mmap_at()
71 if (nxt_slow_path(port_mmaps->elts == NULL)) { in nxt_port_mmap_at()
75 nxt_memzero(port_mmaps->elts + port_mmaps->cap, in nxt_port_mmap_at()
85 return port_mmaps->elts + i; in nxt_port_mmap_at()
99 port_mmap = port_mmaps->elts; in nxt_port_mmaps_destroy()
108 nxt_free(port_mmaps->elts); in nxt_port_mmaps_destroy()
457 end_port_mmap = mmaps->elts + mmaps->size; in nxt_port_mmap_get()
459 for (port_mmap = mmaps->elts; in nxt_port_mmap_get()
528 mmap_handler = process->incoming.elts[id].mmap_handler; in nxt_port_get_port_incoming_mmap()
H A Dnxt_array.h12 void *elts; member
24 array->elts = nxt_pointer_to(array, sizeof(nxt_array_t)); in nxt_array_init()
39 nxt_pointer_to((array)->elts, (array)->size * ((array)->nelts - 1))
54 return nxt_pointer_to(array->elts, array->size * array->nelts); in nxt_array_remove_last()
H A Dnxt_main_process.c837 new_file = new_files->elts; in nxt_main_process_sigusr1_handler()
865 new_file = new_files->elts; in nxt_main_process_sigusr1_handler()
1407 qsort(rt->languages->elts, rt->languages->nelts, in nxt_main_port_modules_handler()
H A Dnxt_cert.c351 for (items = certs->elts, i = 0; i < certs->nelts; i++) { in nxt_cert_info_init()
938 for (items = certs->elts, i = 0; in nxt_cert_store_release()
H A Dnxt_event_engine.c592 cache = mem_cache->elts; in nxt_event_engine_mem_alloc()
615 cache = mem_cache->elts; in nxt_event_engine_mem_alloc()
641 cache = mem_cache->elts; in nxt_event_engine_mem_free()
H A Dnxt_service.c98 s = services->elts; in nxt_service_add()
137 s = services->elts; in nxt_service_get()
H A Dnxt_array.c21 array->elts = nxt_pointer_to(array, sizeof(nxt_array_t)); in nxt_array_create()
34 if (array->elts != nxt_pointer_to(array, sizeof(nxt_array_t))) { in nxt_array_destroy()
35 nxt_mp_free(array->mem_pool, array->elts); in nxt_array_destroy()
67 nxt_memcpy(p, array->elts, array->size * nalloc); in nxt_array_add()
69 if (array->elts != nxt_pointer_to(array, sizeof(nxt_array_t))) { in nxt_array_add()
70 nxt_mp_free(array->mem_pool, array->elts); in nxt_array_add()
73 array->elts = p; in nxt_array_add()
77 p = nxt_pointer_to(array->elts, array->size * array->nelts); in nxt_array_add()
132 nxt_memcpy(dst->elts, src->elts, src->nelts * size); in nxt_array_copy()
135 nxt_memcpy(dst->elts, src->elts, dst->nelts * size); in nxt_array_copy()
[all …]