/netbsd-src/external/mit/libuv/dist/test/ |
H A D | test-error.c | 67 ASSERT(uv_translate_sys_error(ERROR_NOACCESS) == UV_EACCES); in TEST_IMPL() 68 ASSERT(uv_translate_sys_error(ERROR_ELEVATION_REQUIRED) == UV_EACCES); in TEST_IMPL() 69 ASSERT(uv_translate_sys_error(WSAEADDRINUSE) == UV_EADDRINUSE); in TEST_IMPL() 70 ASSERT(uv_translate_sys_error(ERROR_BAD_PIPE) == UV_EPIPE); in TEST_IMPL() 72 ASSERT(uv_translate_sys_error(EPERM) == UV_EPERM); in TEST_IMPL() 73 ASSERT(uv_translate_sys_error(EPIPE) == UV_EPIPE); in TEST_IMPL() 74 ASSERT(uv_translate_sys_error(EINVAL) == UV_EINVAL); in TEST_IMPL() 76 ASSERT(uv_translate_sys_error(UV_EINVAL) == UV_EINVAL); in TEST_IMPL() 77 ASSERT(uv_translate_sys_error(UV_ERANGE) == UV_ERANGE); in TEST_IMPL() 78 ASSERT(uv_translate_sys_error(UV_EACCES) == UV_EACCES); in TEST_IMPL() [all …]
|
/netbsd-src/external/mit/libuv/dist/src/win/ |
H A D | util.c | 150 return uv_translate_sys_error(err); in uv_exepath() 165 return uv_translate_sys_error(GetLastError()); in uv_cwd() 175 return uv_translate_sys_error(GetLastError()); in uv_cwd() 200 return uv_translate_sys_error(GetLastError()); in uv_cwd() 219 return uv_translate_sys_error(GetLastError()); in uv_cwd() 243 return uv_translate_sys_error(GetLastError()); in uv_chdir() 257 return uv_translate_sys_error(GetLastError()); in uv_chdir() 262 return uv_translate_sys_error(GetLastError()); in uv_chdir() 439 return uv_translate_sys_error(err); in uv_set_process_title() 472 return uv_translate_sys_error(GetLastError()); in uv_get_process_title() [all …]
|
H A D | udp.c | 155 return uv_translate_sys_error(err); in uv__udp_init_ex() 162 return uv_translate_sys_error(err); in uv__udp_init_ex() 375 return uv_translate_sys_error(err); in uv__udp_recv_start() 482 handle->recv_cb(handle, uv_translate_sys_error(err), &buf, NULL, 0); in uv__process_udp_recv_req() 548 handle->recv_cb(handle, uv_translate_sys_error(err), &buf, NULL, 0); in uv__process_udp_recv_req() 582 req->cb(req, uv_translate_sys_error(err)); in uv__process_udp_send_req() 606 return uv_translate_sys_error(err); in uv__udp_set_membership4() 636 return uv_translate_sys_error(WSAGetLastError()); in uv__udp_set_membership4() 661 return uv_translate_sys_error(err); in uv__udp_set_membership6() 691 return uv_translate_sys_error(WSAGetLastError()); in uv__udp_set_membership6() [all …]
|
H A D | stream.c | 47 return uv_translate_sys_error(err); in uv_listen() 66 return uv_translate_sys_error(err); in uv_accept() 90 return uv_translate_sys_error(err); in uv__read_start() 110 return uv_translate_sys_error(err); in uv_read_stop() 142 return uv_translate_sys_error(err); in uv_write() 167 return uv_translate_sys_error(err); in uv_write2()
|
H A D | getaddrinfo.c | 46 default: return uv_translate_sys_error(sys_err); in uv__getaddrinfo_translate_error() 143 req->retcode = uv_translate_sys_error(GetLastError()); in uv__getaddrinfo_done() 396 return uv_translate_sys_error(err); in uv_getaddrinfo() 411 return uv_translate_sys_error(r); in uv_if_indextoname() 416 return uv_translate_sys_error(r); in uv_if_indextoname() 422 return uv_translate_sys_error(GetLastError()); in uv_if_indextoname() 439 return uv_translate_sys_error(GetLastError()); in uv_if_indextoname() 454 return uv_translate_sys_error(r); in uv_if_indextoiid()
|
H A D | tcp.c | 187 return uv_translate_sys_error(err); in uv_tcp_init_ex() 194 return uv_translate_sys_error(err); in uv_tcp_init_ex() 225 err = uv_translate_sys_error(WSAGetLastError()); in uv__process_tcp_shutdown_req() 557 return uv_translate_sys_error(WSAGetLastError()); in uv_tcp_close_reset() 994 return uv_translate_sys_error(WSAGetLastError()); in uv__tcp_try_write() 1029 uv_translate_sys_error(err), in uv__process_tcp_read_req() 1110 uv_translate_sys_error(err), in uv__process_tcp_read_req() 1152 err = uv_translate_sys_error(GET_REQ_SOCK_ERROR(req)); in uv__process_tcp_write_req() 1193 uv_translate_sys_error(err)); in uv__process_tcp_accept_req() 1258 req->cb(req, uv_translate_sys_error(err)); in uv__process_tcp_connect_req() [all …]
|
H A D | poll.c | 162 handle->poll_cb(handle, uv_translate_sys_error(error), 0); in uv__fast_poll_process_poll_req() 389 handle->poll_cb(handle, uv_translate_sys_error(err), 0); in uv__slow_poll_process_poll_req() 425 return uv_translate_sys_error(WSAGetLastError()); in uv_poll_init_socket() 459 return uv_translate_sys_error(WSAGetLastError()); in uv_poll_init_socket() 572 return uv_translate_sys_error(error); in uv__poll_close()
|
H A D | getnameinfo.c | 69 req->retcode = uv_translate_sys_error(GetLastError()); in uv__getnameinfo_work() 82 req->retcode = uv_translate_sys_error(GetLastError()); in uv__getnameinfo_work()
|
H A D | tty.c | 217 return uv_translate_sys_error(GetLastError()); in uv_tty_init() 225 return uv_translate_sys_error(GetLastError()); in uv_tty_init() 230 return uv_translate_sys_error(GetLastError()); in uv_tty_init() 385 return uv_translate_sys_error(err); in uv_tty_set_mode() 395 err = uv_translate_sys_error(GetLastError()); in uv_tty_set_mode() 409 return uv_translate_sys_error(err); in uv_tty_set_mode() 421 return uv_translate_sys_error(GetLastError()); in uv_tty_get_winsize() 720 uv_translate_sys_error(GET_REQ_ERROR(req)), in uv_process_tty_read_raw_req() 731 uv_translate_sys_error(GetLastError()), in uv_process_tty_read_raw_req() 752 uv_translate_sys_error(GetLastError()), in uv_process_tty_read_raw_req() [all …]
|
H A D | pipe.c | 480 return uv_translate_sys_error(GetLastError()); in uv__set_pipe_handle() 490 return uv_translate_sys_error(err); in uv__set_pipe_handle() 501 return uv_translate_sys_error(err); in uv__set_pipe_handle() 775 return uv_translate_sys_error(err); in uv_pipe_bind() 1788 handle->read_cb((uv_stream_t*)handle, uv_translate_sys_error(error), &buf); in uv__pipe_read_error() 2061 req->cb(req, uv_translate_sys_error(err)); in uv__process_pipe_write_req() 2133 err = uv_translate_sys_error(GET_REQ_ERROR(req)); in uv__process_pipe_connect_req() 2160 err = uv_translate_sys_error(GET_REQ_ERROR(req)); in uv__process_pipe_shutdown_req() 2303 return uv_translate_sys_error(GetLastError()); in uv_pipe_open() 2383 err = uv_translate_sys_error(GetLastError()); in uv__pipe_getname() [all …]
|
H A D | core.c | 238 return uv_translate_sys_error(GetLastError()); in uv_loop_init() 722 return uv_translate_sys_error(WSAGetLastError()); in uv__socket_sockopt() 745 return uv_translate_sys_error(delayed_error); in uv__getsockpeername() 749 return uv_translate_sys_error(WSAGetLastError()); in uv__getsockpeername()
|
H A D | process.c | 895 exit_code = uv_translate_sys_error(GetLastError()); in uv__process_proc_exit() 1187 return uv_translate_sys_error(err); in uv_spawn() 1217 return uv_translate_sys_error(err); in uv__kill() 1225 return uv_translate_sys_error(GetLastError()); in uv__kill() 1275 return uv_translate_sys_error(err); in uv_kill()
|
H A D | fs-event.c | 194 return uv_translate_sys_error(GetLastError()); in uv_fs_event_start() 368 return uv_translate_sys_error(last_error); in uv_fs_event_start() 574 handle->cb(handle, NULL, 0, uv_translate_sys_error(err)); in uv__process_fs_event_req()
|
H A D | thread.c | 204 return uv_translate_sys_error(GetLastError()); in uv_thread_join() 312 return uv_translate_sys_error(GetLastError()); in uv_sem_init()
|
H A D | error.c | 66 int uv_translate_sys_error(int sys_errno) { in uv_translate_sys_error() function
|
H A D | fs.c | 79 req->result = uv_translate_sys_error(req->sys_errno_); \
|
/netbsd-src/external/mpl/dhcp/bind/dist/lib/isc/netmgr/ |
H A D | uv-compat.c | 41 return (uv_translate_sys_error(err)); in isc_uv_udp_connect() 44 return (uv_translate_sys_error(errno)); in isc_uv_udp_connect() 62 return (uv_translate_sys_error(errno)); in uv_tcp_close_reset()
|
/netbsd-src/external/mpl/bind/dist/lib/isc/netmgr/ |
H A D | uv-compat.c |
|
/netbsd-src/external/mit/libuv/dist/docs/src/ |
H A D | errors.rst | 377 .. c:function:: int uv_translate_sys_error(int sys_errno)
|
/netbsd-src/external/mit/libuv/dist/src/unix/ |
H A D | core.c | 1262 int uv_translate_sys_error(int sys_errno) { in uv_translate_sys_error() function
|
/netbsd-src/external/mit/libuv/dist/include/ |
H A D | uv.h | 392 UV_EXTERN int uv_translate_sys_error(int sys_errno);
|
/netbsd-src/external/mit/libuv/dist/ |
H A D | ChangeLog | 2936 * unix,win: add uv_translate_sys_error() public API (Philippe Laferriere)
|