/libuv/src/unix/ |
H A D | hurd.c | 40 kern_return_t err; in uv_exepath() local 53 if (err) in uv_exepath() 66 kern_return_t err; in uv_resident_set_memory() local 74 if (err) in uv_resident_set_memory() 83 kern_return_t err; in uv_get_free_memory() local 88 if (err) in uv_get_free_memory() 96 kern_return_t err; in uv_get_total_memory() local 103 if (err) in uv_get_total_memory() 143 if (err) { in uv_cpu_info() 144 err = UV__ERR(err); in uv_cpu_info() [all …]
|
H A D | process.c | 82 int err; in uv__process_init() local 85 if (err) in uv__process_init() 228 int err; in uv__process_open_stream() local 460 int err; in uv__spawn_set_posix_spawn_attrs() local 537 int err; in uv__spawn_set_posix_spawn_file_actions() local 674 int err; in uv__spawn_resolve_and_spawn() local 678 err = -1; in uv__spawn_resolve_and_spawn() 771 int err; in uv__spawn_and_init_child_posix_spawn() local 855 int err; in uv__spawn_and_init_child() local 910 if (err) in uv__spawn_and_init_child() [all …]
|
H A D | tcp.c | 66 int err; in new_socket() local 73 if (err) { in new_socket() 87 int err; in maybe_new_socket() local 103 if (err) in maybe_new_socket() 115 int err; in uv_tcp_init_ex() local 155 int err; in uv__tcp_bind() local 163 if (err) in uv__tcp_bind() 283 int err; in uv__tcp_connect() local 297 if (err) in uv__tcp_connect() 353 int err; in uv_tcp_open() local [all …]
|
H A D | loop.c | 33 int err; in uv_loop_init() local 46 if (err) in uv_loop_init() 81 if (err) in uv_loop_init() 86 if (err) in uv_loop_init() 91 if (err) in uv_loop_init() 95 if (err) in uv_loop_init() 99 if (err) in uv_loop_init() 133 int err; in uv_loop_fork() local 138 if (err) in uv_loop_fork() 142 if (err) in uv_loop_fork() [all …]
|
H A D | thread.c | 133 int err; in uv_thread_create_ex() local 300 int err; in uv_mutex_init() 320 int err; in uv_mutex_init_recursive() local 350 int err; in uv_mutex_trylock() local 354 if (err != EBUSY && err != EAGAIN) in uv_mutex_trylock() 387 int err; in uv_rwlock_tryrdlock() local 391 if (err != EBUSY && err != EAGAIN) in uv_rwlock_tryrdlock() 413 int err; in uv_rwlock_trywrlock() local 417 if (err != EBUSY && err != EAGAIN) in uv_rwlock_trywrlock() 540 int err; in uv__custom_sem_init() local [all …]
|
H A D | pipe.c | 68 int err; in uv_pipe_bind2() local 197 int err; in uv_pipe_open() local 211 if (err) in uv_pipe_open() 216 if (err) in uv_pipe_open() 234 int err; in uv_pipe_connect() local 238 if (err) { in uv_pipe_connect() 261 int err; in uv_pipe_connect2() local 321 err = 0; in uv_pipe_connect2() 341 if (err) in uv_pipe_connect2() 361 int err; in uv__pipe_getsockpeername() local [all …]
|
H A D | fsevents.c | 407 int err; in uv__fsevents_reschedule() local 412 err = 0; in uv__fsevents_reschedule() 459 err = 0; in uv__fsevents_reschedule() 507 int err; in uv__fsevents_global_init() local 509 err = 0; in uv__fsevents_global_init() 561 err = 0; in uv__fsevents_global_init() 584 int err; in uv__fsevents_loop_init() local 590 if (err) in uv__fsevents_loop_init() 598 if (err) in uv__fsevents_loop_init() 602 if (err) in uv__fsevents_loop_init() [all …]
|
H A D | udp.c | 518 int err; in uv__udp_bind() local 628 int err; in uv__udp_connect() local 631 if (err) in uv__udp_connect() 639 if (err) in uv__udp_connect() 728 int err; in uv__udp_send() local 792 int err; in uv__udp_try_send() local 837 int err; in uv__udp_set_membership4() local 938 int err; in uv__udp_set_source_membership4() local 941 if (err) in uv__udp_set_source_membership4() 984 int err; in uv__udp_set_source_membership6() local [all …]
|
H A D | async.c | 75 int err; in uv_async_init() local 78 if (err) in uv_async_init() 79 return err; in uv_async_init() 260 int err; local 270 if (err < 0) 284 if (err < 0) 285 return err; 298 if (err < 0) 302 if (err < 0) 307 if (err < 0) [all …]
|
H A D | stream.c | 85 int err; in uv__stream_init() local 285 int err; in uv__stream_try_select() local 347 if (err) in uv__stream_try_select() 485 int err; in uv__emfile_trick() local 498 } while (err >= 0 || err == UV_EINTR); in uv__emfile_trick() 510 int err; in uv__server_io() local 521 if (err == UV_EMFILE || err == UV_ENFILE) in uv__server_io() 537 int err; in uv_accept() local 602 int err; in uv_listen() local 628 int err; in uv__drain() local [all …]
|
H A D | darwin-proctitle.c | 39 int err; in uv__pthread_setname_np() local 44 err = pthread_setname_np(namebuf); in uv__pthread_setname_np() 45 if (err) in uv__pthread_setname_np() 46 return UV__ERR(err); in uv__pthread_setname_np() 78 int err; in uv__set_process_title() 80 err = UV_ENOENT; in uv__set_process_title() 167 err = UV_EBUSY; in uv__set_process_title() 171 err = UV_EINVAL; in uv__set_process_title() 181 err = 0; in uv__set_process_title() 190 return err; in uv__set_process_title()
|
H A D | poll.c | 69 int err; in uv_poll_init() local 74 err = uv__io_check_fd(loop, fd); in uv_poll_init() 75 if (err) in uv_poll_init() 76 return err; in uv_poll_init() 81 err = uv__nonblock(fd, 1); in uv_poll_init() 83 if (err == UV_ENOTTY) in uv_poll_init() 84 err = uv__nonblock_fcntl(fd, 1); in uv_poll_init() 87 if (err) in uv_poll_init() 88 return err; in uv_poll_init()
|
H A D | cygwin.c | 54 goto err; in uv_resident_set_memory() 59 goto err; in uv_resident_set_memory() 65 goto err; in uv_resident_set_memory() 76 err: in uv_resident_set_memory()
|
H A D | signal.c | 262 int err; in uv__signal_loop_once_init() local 269 if (err) in uv__signal_loop_once_init() 270 return err; in uv__signal_loop_once_init() 337 int err; in uv_signal_init() local 339 err = uv__signal_loop_once_init(loop); in uv_signal_init() 340 if (err) in uv_signal_init() 341 return err; in uv_signal_init() 374 int err; in uv__signal_start() local 410 err = uv__signal_register_handler(signum, oneshot); in uv__signal_start() 411 if (err) { in uv__signal_start() [all …]
|
/libuv/src/win/ |
H A D | udp.c | 197 int err; in uv__udp_maybe_bind() local 316 int err; in uv__udp_recv_start() local 326 if (err) in uv__udp_recv_start() 527 int err; in uv__process_udp_send_req() local 554 int err; in uv__udp_set_membership4() local 566 if (err) in uv__udp_set_membership4() 609 int err; in uv__udp_set_membership6() local 621 if (err) in uv__udp_set_membership6() 666 int err; in uv__udp_set_source_membership4() local 676 if (err) in uv__udp_set_source_membership4() [all …]
|
H A D | stream.c | 31 int err; in uv_listen() local 35 err = ERROR_INVALID_PARAMETER; in uv_listen() 52 int err; in uv_accept() local 54 err = ERROR_INVALID_PARAMETER; in uv_accept() 73 int err; in uv__read_start() local 95 int err; in uv_read_stop() local 100 err = 0; in uv_read_stop() 120 int err; in uv_write() local 132 err = uv__pipe_write( in uv_write() 153 int err; in uv_write2() local [all …]
|
H A D | tcp.c | 86 int err; in uv__tcp_set_socket() local 129 if (err) in uv__tcp_set_socket() 136 if (err) in uv__tcp_set_socket() 207 int err; in uv__process_tcp_shutdown_req() local 217 err = 0; in uv__process_tcp_shutdown_req() 552 int err; in uv__tcp_listen() local 778 int err; in uv__tcp_try_connect() local 781 if (err) in uv__tcp_try_connect() 1113 int err; in uv__process_tcp_write_req() local 1161 int err; in uv__process_tcp_accept_req() local [all …]
|
H A D | pipe.c | 213 int err; in uv__pipe_server() local 260 int err; in uv__create_pipe_pair() local 291 if (err) in uv__create_pipe_pair() 351 int err; in uv_pipe() local 403 int err; in uv__create_stdio_pipe_pair() local 430 if (err) in uv__create_stdio_pipe_pair() 792 err = uv_translate_sys_error(err); in uv_pipe_bind2() 861 int err; in uv_pipe_connect() local 883 int err; in uv_pipe_connect2() local 1149 int err; in uv__pipe_accept() local [all …]
|
H A D | process.c | 596 return err; in make_program_args() 928 if (err) in uv_spawn() 935 if (err) in uv_spawn() 940 if (err) in uv_spawn() 947 if (err) in uv_spawn() 996 if (err) in uv_spawn() 1138 err = uv_translate_sys_error(err); in uv_spawn() 1154 return err; in uv_spawn() 1355 int err; in uv_process_kill() local 1362 if (err) { in uv_process_kill() [all …]
|
H A D | fs.c | 2678 int err; in fs__symlink() local 3022 int err; in uv_fs_open() local 3112 int err; in uv_fs_unlink() local 3127 int err; in uv_fs_mkdir() local 3145 int err; in uv_fs_mkdtemp() local 3162 int err; in uv_fs_mkstemp() local 3176 int err; in uv_fs_rmdir() local 3191 int err; in uv_fs_scandir() local 3208 int err; in uv_fs_opendir() local 3251 int err; in uv_fs_link() local [all …]
|
H A D | process-stdio.c | 174 int err; in uv__stdio_create() local 222 err = uv__create_nul_handle(&nul, access); in uv__stdio_create() 223 if (err) in uv__stdio_create() 244 err = uv__create_stdio_pipe_pair(loop, in uv__stdio_create() 248 if (err) in uv__stdio_create() 262 if (err) { in uv__stdio_create() 265 if (fdopt.data.fd <= 2 && err == ERROR_INVALID_HANDLE) { in uv__stdio_create() 290 err = GetLastError(); in uv__stdio_create() 329 err = ERROR_NOT_SUPPORTED; in uv__stdio_create() 335 if (err) in uv__stdio_create() [all …]
|
/libuv/test/ |
H A D | test-platform-output.c | 44 int err; in TEST_IMPL() local 47 ASSERT_OK(err); in TEST_IMPL() 52 ASSERT_OK(err); in TEST_IMPL() 59 ASSERT_OK(err); in TEST_IMPL() 67 ASSERT_OK(err); in TEST_IMPL() 73 ASSERT_OK(err); in TEST_IMPL() 136 ASSERT_OK(err); in TEST_IMPL() 155 ASSERT_OK(err); in TEST_IMPL() 191 ASSERT_OK(err); in TEST_IMPL() 201 ASSERT_OK(err); in TEST_IMPL() [all …]
|
H A D | test-cwd-and-chdir.c | 33 int err; in TEST_IMPL() local 36 err = uv_cwd(buffer_orig, &size1); in TEST_IMPL() 37 ASSERT_EQ(err, UV_ENOBUFS); in TEST_IMPL() 41 err = uv_cwd(buffer_orig, &size1); in TEST_IMPL() 42 ASSERT_OK(err); in TEST_IMPL() 46 err = uv_chdir(buffer_orig); in TEST_IMPL() 47 ASSERT_OK(err); in TEST_IMPL() 50 err = uv_cwd(buffer_new, &size2); in TEST_IMPL() 51 ASSERT_OK(err); in TEST_IMPL()
|
H A D | test-process-title.c | 29 int err; in set_title() local 31 err = uv_get_process_title(buffer, sizeof(buffer)); in set_title() 32 ASSERT_OK(err); in set_title() 34 err = uv_set_process_title(title); in set_title() 35 ASSERT_OK(err); in set_title() 37 err = uv_get_process_title(buffer, sizeof(buffer)); in set_title() 38 ASSERT_OK(err); in set_title()
|
/libuv/src/ |
H A D | uv-common.c | 212 switch (err) { in uv_err_name_r() 222 const char* uv_err_name(int err) { in uv_err_name() argument 223 switch (err) { in uv_err_name() 235 switch (err) { in uv_strerror_r() 245 const char* uv_strerror(int err) { in uv_strerror() argument 246 switch (err) { in uv_strerror() 808 int err; in uv_loop_configure() local 815 return err; in uv_loop_configure() 883 int err; in uv_loop_delete() local 887 err = uv_loop_close(loop); in uv_loop_delete() [all …]
|