Searched refs:nxt_malloc (Results 1 – 25 of 34) sorted by relevance
12
82 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()
106 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()
31 nxt_malloc(size_t size) in nxt_malloc() function54 p = nxt_malloc(size); in nxt_zalloc()
11 NXT_EXPORT void *nxt_malloc(size_t size)
540 tmp = nxt_malloc(str.length + 1); in nxt_php_set_target()570 tmp = nxt_malloc(target->root.length + 1 + str.length + 1); in nxt_php_set_target()618 tmp = nxt_malloc(str.length); in nxt_php_set_target()644 p = nxt_malloc(ini_path->length + 1); in nxt_php_set_ini_path()654 p = nxt_malloc(wdlen + ini_path->length + 2); in nxt_php_set_ini_path()768 cstr = nxt_malloc(value->length + 1); in nxt_php_alter_option()804 p = nxt_malloc(str->length + 1); in nxt_php_disable_functions()826 p = nxt_malloc(value->length + 1); in nxt_php_disable()890 dir->start = nxt_malloc(length + 1); in nxt_php_dirname()941 url = nxt_malloc(sizeof("https://") - 1 in nxt_php_do_301()[all …]
105 nxt_sys_errlist = nxt_malloc(n + size); in nxt_strerror_start()
137 mapinfo = nxt_malloc(len); in nxt_clone_credential_map_set()164 mapinfo = nxt_malloc(len); in nxt_clone_credential_map_set()
99 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()
105 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()
583 file.name = nxt_malloc(rt->scripts.length + name.length + 1); in nxt_script_store_get_handler()660 path = nxt_malloc(rt->scripts.length + name.length + 1); in nxt_script_store_delete_handler()696 str->start = nxt_malloc(str->length); in nxt_script_file_read()
108 access_log = nxt_malloc(sizeof(nxt_router_access_log_t) in nxt_router_access_log_create()128 str.start = nxt_malloc(str.length); in nxt_router_access_log_create()
172 argv = nxt_malloc(argc * sizeof(argv[0]) + size); in nxt_external_start()
129 chunk = nxt_malloc(size); in nxt_work_queue_allocate()
98 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()
349 buf = nxt_malloc(bufsize); in nxt_file_chown()375 buf = nxt_malloc(bufsize); in nxt_file_chown()
916 mounts = nxt_malloc(nmounts * sizeof(uintptr_t)); in nxt_isolation_make_private_mount()921 shared = nxt_malloc(nmounts); in nxt_isolation_make_private_mount()975 parent_mnt = nxt_malloc(len + 1); in nxt_isolation_make_private_mount()
113 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()
41 timers->changes = nxt_malloc(sizeof(nxt_timer_change_t) * mchanges); in nxt_timers_init()
232 bm->pos = nxt_malloc(bsize); in nxt_sendbuf_copy_coalesce()
42 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()
70 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()
38 blocks = nxt_malloc(nblocks * sizeof(void *)); in nxt_mem_zone_test()
31 blocks = nxt_malloc(nblocks * sizeof(void *)); in nxt_mp_test()
35 p[i] = nxt_malloc(size); in nxt_malloc_run_test()
180 path = nxt_malloc(len + sizeof(pyvenv)); in nxt_python_start()200 nxt_py_home = nxt_malloc(size); in nxt_python_start()221 nxt_py_home = nxt_malloc(len + 1); in nxt_python_start()501 prefix = nxt_malloc(str.length); in nxt_python_set_prefix()