Home
last modified time | relevance | path

Searched refs:nxt_malloc (Results 1 – 25 of 32) sorted by relevance

12

/unit/src/
H A Dnxt_process_title.c82 argv = nxt_malloc(argv_size); in nxt_process_arguments()
119 p = nxt_malloc(strings_size); in nxt_process_arguments()
150 env = nxt_malloc(environ_size); in nxt_process_arguments()
H A Dnxt_java.c106 path = nxt_malloc(jars_dir_len + rootfs_len + 1); in nxt_java_setup()
152 res = nxt_malloc(jar_count * sizeof(char*)); in nxt_java_module_jars()
166 jurl = nxt_malloc(jlen); in nxt_java_module_jars()
223 jvm_opt = nxt_malloc(jvm_args.nOptions * sizeof(JavaVMOption)); in nxt_java_start()
259 opt = nxt_malloc(str.length + 1); in nxt_java_start()
274 classpath_arr = nxt_malloc(classpath_count * sizeof(char *)); in nxt_java_start()
291 opt = nxt_malloc(opt_len); in nxt_java_start()
313 opt = nxt_malloc(opt_len); in nxt_java_start()
H A Dnxt_malloc.c31 nxt_malloc(size_t size) in nxt_malloc() function
54 p = nxt_malloc(size); in nxt_zalloc()
H A Dnxt_malloc.h11 NXT_EXPORT void *nxt_malloc(size_t size)
H A Dnxt_php_sapi.c532 tmp = nxt_malloc(str.length + 1); in nxt_php_set_target()
562 tmp = nxt_malloc(target->root.length + 1 + str.length + 1); in nxt_php_set_target()
610 tmp = nxt_malloc(str.length); in nxt_php_set_target()
636 p = nxt_malloc(ini_path->length + 1); in nxt_php_set_ini_path()
646 p = nxt_malloc(wdlen + ini_path->length + 2); in nxt_php_set_ini_path()
760 cstr = nxt_malloc(value->length + 1); in nxt_php_alter_option()
796 p = nxt_malloc(str->length + 1); in nxt_php_disable_functions()
818 p = nxt_malloc(value->length + 1); in nxt_php_disable()
882 dir->start = nxt_malloc(length + 1); in nxt_php_dirname()
993 p = nxt_malloc(ctx->script_filename.length + 1); in nxt_php_dynamic_request()
H A Dnxt_errno.c105 nxt_sys_errlist = nxt_malloc(n + size); in nxt_strerror_start()
H A Dnxt_clone.c151 mapinfo = nxt_malloc(len); in nxt_clone_credential_map_set()
178 mapinfo = nxt_malloc(len); in nxt_clone_credential_map_set()
H A Dnxt_pollset_engine.c99 changes = nxt_malloc(sizeof(nxt_pollset_change_t) * mchanges); in nxt_pollset_create()
110 changes = nxt_malloc(2 * sizeof(struct poll_ctl) * mchanges); in nxt_pollset_create()
117 engine->u.pollset.events = nxt_malloc(sizeof(struct pollfd) * mevents); in nxt_pollset_create()
H A Dnxt_devpoll_engine.c105 changes = nxt_malloc(sizeof(nxt_devpoll_change_t) * mchanges); in nxt_devpoll_create()
116 changes = nxt_malloc(2 * sizeof(struct pollfd) * mchanges); in nxt_devpoll_create()
123 engine->u.devpoll.events = nxt_malloc(sizeof(struct pollfd) * mevents); in nxt_devpoll_create()
H A Dnxt_external.c172 argv = nxt_malloc(argc * sizeof(argv[0]) + size); in nxt_external_start()
H A Dnxt_work_queue.c129 chunk = nxt_malloc(size); in nxt_work_queue_allocate()
H A Dnxt_eventport_engine.c98 changes = nxt_malloc(sizeof(nxt_eventport_change_t) * mchanges); in nxt_eventport_create()
105 engine->u.eventport.events = nxt_malloc(sizeof(port_event_t) * mevents); in nxt_eventport_create()
H A Dnxt_isolation.c862 mounts = nxt_malloc(nmounts * sizeof(uintptr_t)); in nxt_isolation_make_private_mount()
867 shared = nxt_malloc(nmounts); in nxt_isolation_make_private_mount()
921 parent_mnt = nxt_malloc(len + 1); in nxt_isolation_make_private_mount()
H A Dnxt_timer.c41 timers->changes = nxt_malloc(sizeof(nxt_timer_change_t) * mchanges); in nxt_timers_init()
H A Dnxt_poll_engine.c113 engine->u.poll.changes = nxt_malloc(sizeof(nxt_poll_change_t) * mchanges); in nxt_poll_create()
408 phe = nxt_malloc(sizeof(nxt_poll_hash_entry_t)); in nxt_poll_set_add()
H A Dnxt_sendbuf.c232 bm->pos = nxt_malloc(bsize); in nxt_sendbuf_copy_coalesce()
H A Dnxt_fiber.c81 fib = nxt_malloc(sizeof(nxt_fiber_t)); in nxt_fiber_create()
H A Dnxt_kqueue_engine.c183 engine->u.kqueue.changes = nxt_malloc(sizeof(struct kevent) * mchanges); in nxt_kqueue_create()
188 engine->u.kqueue.events = nxt_malloc(sizeof(struct kevent) * mevents); in nxt_kqueue_create()
/unit/src/test/
H A Dnxt_rbtree_test.c42 items = nxt_malloc(n * sizeof(nxt_rbtree_test_t)); in nxt_rbtree_test()
47 keys = nxt_malloc(n * sizeof(uint32_t)); in nxt_rbtree_test()
211 mb_nodes = nxt_malloc(NXT_RBT_NODES * n * sizeof(nxt_rbtree_test_t)); in nxt_rbtree_mb_start()
H A Dnxt_rbtree1_test.c70 nodes = nxt_malloc(n * sizeof(nxt_rbtree1_node_t)); in nxt_rbtree1_test()
75 keys = nxt_malloc(n * sizeof(uint32_t)); in nxt_rbtree1_test()
273 mb_nodes = nxt_malloc(NXT_RBT_NODES * n * sizeof(nxt_rbtree1_node_t)); in nxt_rbtree1_mb_start()
H A Dnxt_mem_zone_test.c38 blocks = nxt_malloc(nblocks * sizeof(void *)); in nxt_mem_zone_test()
H A Dnxt_mp_test.c31 blocks = nxt_malloc(nblocks * sizeof(void *)); in nxt_mp_test()
H A Dnxt_malloc_test.c35 p[i] = nxt_malloc(size); in nxt_malloc_run_test()
/unit/src/python/
H A Dnxt_python.c101 path = nxt_malloc(len + sizeof(pyvenv)); in nxt_python_start()
121 nxt_py_home = nxt_malloc(size); in nxt_python_start()
138 nxt_py_home = nxt_malloc(len + 1); in nxt_python_start()
/unit/auto/
H A Dsources11 src/nxt_malloc.c \

12