Home
last modified time | relevance | path

Searched refs:uv__malloc (Results 1 – 25 of 41) sorted by relevance

12

/libuv/src/win/
H A Dfs-event.c76 *relpath = uv__malloc((relpathlen + 1) * sizeof(WCHAR)); in uv__relative_path()
105 *dir = (WCHAR*)uv__malloc(dir_len * sizeof(WCHAR)); in uv__split_path()
120 *dir = (WCHAR*)uv__malloc((i + 2) * sizeof(WCHAR)); in uv__split_path()
128 *file = (WCHAR*)uv__malloc((len - i) * sizeof(WCHAR)); in uv__split_path()
200 long_path = (WCHAR*)uv__malloc(size * sizeof(WCHAR)); in uv_fs_event_start()
232 short_path_buffer = uv__malloc(short_path_buffer_len * sizeof(WCHAR)); in uv_fs_event_start()
289 handle->buffer = (char*)uv__malloc(uv_directory_watcher_buffer_size); in uv_fs_event_start()
475 filenamew = (WCHAR*)uv__malloc(size * sizeof(WCHAR)); in uv__process_fs_event_req()
490 long_filenamew = (WCHAR*)uv__malloc(size * sizeof(WCHAR)); in uv__process_fs_event_req()
H A Dutil.c113 utf16_buffer = (WCHAR*) uv__malloc(sizeof(WCHAR) * utf16_buffer_len); in uv_exepath()
155 p = uv__malloc(t * sizeof(*p)); in uv__cwd()
556 sppi = uv__malloc(sppi_size); in uv_cpu_info()
700 win_address_buf = uv__malloc(win_address_buf_size); in uv_interface_addresses()
708 uv_address_buf = uv__malloc(1); in uv_interface_addresses()
774 uv_address_buf = uv__malloc(uv_address_buf_size); in uv_interface_addresses()
994 path = uv__malloc(len * sizeof(wchar_t)); in uv_os_tmpdir()
1051 *utf16 = uv__malloc(sizeof(WCHAR) * bufsize); in uv__convert_utf8_to_utf16()
1111 path = uv__malloc(bufsize * sizeof(wchar_t)); in uv__getpwuid_r()
1284 var = uv__malloc(varlen * sizeof(*var)); in uv_os_getenv()
H A Dprocess.c189 result = result_pos = (WCHAR*)uv__malloc(sizeof(WCHAR) * in search_path_join_test()
552 dst = uv__malloc(dst_len * sizeof(WCHAR)); in make_program_args()
559 temp_buffer = uv__malloc(temp_buffer_len * sizeof(WCHAR)); in make_program_args()
674 p = uv__malloc(len + env_len * sizeof(WCHAR)); in make_program_env()
727 dst = uv__malloc((1+env_len) * sizeof(WCHAR)); in make_program_env()
960 cwd = (WCHAR*) uv__malloc(cwd_len * sizeof(WCHAR)); in uv_spawn()
980 alloc_path = (WCHAR*) uv__malloc(path_len * sizeof(WCHAR)); in uv_spawn()
H A Dgetaddrinfo.c144 alloc_ptr = uv__malloc(addrinfo_len); in uv__getaddrinfo_done()
296 req->alloc = uv__malloc(off); in uv_getaddrinfo()
H A Dfs-fd-hash-inl.h149 uv__malloc(sizeof(*new_group_ptr)); in uv__fd_hash_add()
H A Dfs.c348 buf = uv__malloc(buf_sz); in fs__capture_path()
1471 dirent = uv__malloc(sizeof *dirent + wtf8_len); in fs__scandir()
1573 dir = uv__malloc(sizeof(*dir)); in fs__opendir()
1588 find_path = uv__malloc(sizeof(WCHAR) * (len + 4)); in fs__opendir()
2233 char* buf = (char*) uv__malloc(buf_size); in fs__sendfile()
2539 buffer = (REPARSE_DATA_BUFFER*)uv__malloc(needed_buf_size); in fs__create_junction()
2759 w_realpath_buf = uv__malloc((w_realpath_len + 1) * sizeof(WCHAR)); in fs__realpath_handle()
2872 pathw = uv__malloc(len * sizeof(*pathw)); in fs__statfs()
2904 stat_fs = uv__malloc(sizeof(*stat_fs)); in fs__statfs()
3063 req->fs.info.bufs = uv__malloc(nbufs * sizeof(*bufs)); in uv_fs_read()
[all …]
H A Dpipe.c742 name_copy = uv__malloc(namelen + 1); in uv_pipe_bind2()
756 uv__malloc(sizeof(uv_pipe_accept_t) * handle->pipe.serv.pending_instances); in uv_pipe_bind2()
913 name_copy = uv__malloc(namelen + 1); in uv_pipe_connect2()
945 req->u.connect.name = uv__malloc(nameSize); in uv_pipe_connect2()
1550 heap_buffer = uv__malloc(heap_buffer_length); in uv__build_coalesced_write_req()
1906 item = (uv__ipc_xfer_queue_item_t*) uv__malloc(sizeof(*item)); in uv__pipe_queue_ipc_xfer_info()
2342 pipe->pipe.conn.eof_timer = (uv_timer_t*) uv__malloc(sizeof *pipe->pipe.conn.eof_timer); in eof_timer_init()
2544 name_info = uv__malloc(name_size); in uv__pipe_getname()
/libuv/src/unix/
H A Dfreebsd.c228 *cpu_infos = uv__malloc(numcpus * sizeof(**cpu_infos)); in uv_cpu_info()
245 cp_times = uv__malloc(size); in uv_cpu_info()
H A Dnetbsd.c214 cp_times = uv__malloc(size); in uv_cpu_info()
221 *cpu_infos = uv__malloc(numcpus * sizeof(**cpu_infos)); in uv_cpu_info()
H A Dos390-syscalls.c58 copy = uv__malloc(sizeof(*copy)); in scandir()
216 lst = uv__malloc(sizeof(*lst)); in epoll_create1()
454 tmpbuf = uv__malloc(len + 1); in os390_readlink()
H A Dos390-proctitle.c56 new_argv = uv__malloc(size); in uv_setup_args()
H A Daix.c468 p = uv__malloc(siz); in uv__is_ahafs_mounted()
480 p = uv__malloc(siz); in uv__is_ahafs_mounted()
922 new_argv = uv__malloc(size); in uv_setup_args()
1077 ps_cpus = (perfstat_cpu_t*) uv__malloc(ncpus * sizeof(perfstat_cpu_t)); in uv_cpu_info()
1090 *cpu_infos = (uv_cpu_info_t*) uv__malloc(ncpus * sizeof(uv_cpu_info_t)); in uv_cpu_info()
1145 ifc.ifc_req = (struct ifreq*)uv__malloc(size); in uv_interface_addresses()
H A Dfsevents.c303 event = uv__malloc(sizeof(*event) + len); in uv__fsevents_event_cb()
437 paths = uv__malloc(sizeof(*paths) * path_count); in uv__fsevents_reschedule()
769 item = uv__malloc(sizeof(*item)); in uv__cf_loop_signal()
818 handle->cf_cb = uv__malloc(sizeof(*handle->cf_cb)); in uv__fsevents_init()
H A Dqnx.c131 *cpu_infos = uv__malloc(num_cpus * sizeof(**cpu_infos)); in uv_cpu_info()
H A Dproctitle.c68 new_argv = uv__malloc(size); in uv_setup_args()
H A Dhaiku.c134 topology_infos = uv__malloc(topology_count * sizeof(*topology_infos)); in uv_cpu_info()
H A Dos390.c252 *cpu_infos = uv__malloc(*count * sizeof(uv_cpu_info_t)); in uv_cpu_info()
260 cpu_info->model = uv__malloc(ZOSCPU_MODEL_LENGTH + 1); in uv_cpu_info()
369 address->name = uv__malloc(i + 1); in uv__interface_addresses_v6()
542 address->name = uv__malloc(i + 1); in uv_interface_addresses()
H A Dpipe.c112 pipe_fname = uv__malloc(namelen + 1); in uv_pipe_bind2()
465 name_buffer = uv__malloc(name_len); in uv_pipe_chmod()
H A Ddarwin.c214 *cpu_infos = uv__malloc(numcpus * sizeof(**cpu_infos)); in uv_cpu_info()
H A Dgetaddrinfo.c175 buf = uv__malloc(hostname_len + service_len + hints_len); in uv_getaddrinfo()
H A Dfs.c129 req->path = uv__malloc(path_len + new_path_len); \
608 dir = uv__malloc(sizeof(*dir)); in uv__fs_opendir()
703 stat_fs = uv__malloc(sizeof(*stat_fs)); in uv__fs_statfs()
767 buf = uv__malloc(maxlen); in uv__fs_readlink()
819 buf = uv__malloc(len + 1); in uv__fs_realpath()
2053 req->bufs = uv__malloc(nbufs * sizeof(*bufs)); in uv_fs_read()
2238 req->bufs = uv__malloc(nbufs * sizeof(*bufs)); in uv_fs_write()
H A Dopenbsd.c205 *cpu_infos = uv__malloc(numcpus * sizeof(**cpu_infos)); in uv_cpu_info()
/libuv/src/
H A Duv-common.c57 char* m = uv__malloc(len); in uv__strdup()
68 m = uv__malloc(len + 1); in uv__strndup()
75 void* uv__malloc(size_t size) { in uv__malloc() function
838 loop = uv__malloc(sizeof(*loop)); in uv_loop_new()
H A Dthread-common.c52 b = uv__malloc(sizeof(*b)); in uv_barrier_init()
/libuv/test/
H A Dtest-idna.c23 #define uv__malloc malloc macro

Completed in 75 milliseconds

12