/third_party/libuv/test/ |
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 …]
|
/third_party/libuv/src/win/ |
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 …]
|
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 …]
|
D | stream.c | 45 return uv_translate_sys_error(err); in uv_listen() 64 return uv_translate_sys_error(err); in uv_accept() 88 return uv_translate_sys_error(err); in uv__read_start() 108 return uv_translate_sys_error(err); in uv_read_stop() 140 return uv_translate_sys_error(err); in uv_write() 165 return uv_translate_sys_error(err); in uv_write2()
|
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()
|
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() 228 uv_translate_sys_error(err)); in uv__tcp_endgame() 554 return uv_translate_sys_error(WSAGetLastError()); in uv_tcp_close_reset() 991 return uv_translate_sys_error(WSAGetLastError()); in uv__tcp_try_write() 1026 uv_translate_sys_error(err), in uv__process_tcp_read_req() 1107 uv_translate_sys_error(err), in uv__process_tcp_read_req() 1149 err = uv_translate_sys_error(GET_REQ_SOCK_ERROR(req)); in uv__process_tcp_write_req() 1189 uv_translate_sys_error(err)); in uv__process_tcp_accept_req() 1254 req->cb(req, uv_translate_sys_error(err)); in uv__process_tcp_connect_req() [all …]
|
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()
|
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()
|
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 …]
|
D | core.c | 238 return uv_translate_sys_error(GetLastError()); in uv_loop_init() 715 return uv_translate_sys_error(WSAGetLastError()); in uv__socket_sockopt() 738 return uv_translate_sys_error(delayed_error); in uv__getsockpeername() 742 return uv_translate_sys_error(WSAGetLastError()); in uv__getsockpeername()
|
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()
|
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()
|
D | pipe.c | 624 req->cb(req, uv_translate_sys_error(err)); in uv__pipe_endgame() 651 req->cb(req, uv_translate_sys_error(err)); in uv__pipe_endgame() 799 return uv_translate_sys_error(err); in uv_pipe_bind() 1813 handle->read_cb((uv_stream_t*)handle, uv_translate_sys_error(error), &buf); in uv__pipe_read_error() 2086 req->cb(req, uv_translate_sys_error(err)); in uv__process_pipe_write_req() 2156 req->cb(req, uv_translate_sys_error(err)); in uv__process_pipe_connect_req() 2302 return uv_translate_sys_error(GetLastError()); in uv_pipe_open() 2402 err = uv_translate_sys_error(pRtlNtStatusToDosError(nt_status)); in uv__pipe_getname() 2434 err = uv_translate_sys_error(GetLastError()); in uv__pipe_getname() 2454 err = uv_translate_sys_error(GetLastError()); in uv__pipe_getname() [all …]
|
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()
|
D | error.c | 66 int uv_translate_sys_error(int sys_errno) { in uv_translate_sys_error() function
|
D | fs.c | 79 req->result = uv_translate_sys_error(req->sys_errno_); \
|
/third_party/node/deps/uvwasi/src/ |
D | clocks.c | 24 uv_translate_sys_error(GetLastError()) \ 30 uv_translate_sys_error(GetLastError()) \ 36 uv_translate_sys_error(GetLastError()) \ 54 return uvwasi__translate_uv_error(uv_translate_sys_error(errno)); \ 64 return uvwasi__translate_uv_error(uv_translate_sys_error(errno)); \
|
D | uvwasi.c | 174 return uvwasi__translate_uv_error(uv_translate_sys_error(errno)); in uvwasi__lseek() 180 return uvwasi__translate_uv_error(uv_translate_sys_error(errno)); in uvwasi__lseek() 625 err = uvwasi__translate_uv_error(uv_translate_sys_error(r)); in uvwasi_fd_advise() 667 err = uvwasi__translate_uv_error(uv_translate_sys_error(r)); in uvwasi_fd_allocate() 788 err = uvwasi__translate_uv_error(uv_translate_sys_error(errno)); in uvwasi_fd_fdstat_get() 860 err = uvwasi__translate_uv_error(uv_translate_sys_error(errno)); in uvwasi_fd_fdstat_set_flags() 1345 err = uvwasi__translate_uv_error(uv_translate_sys_error(errno)); in uvwasi_fd_readdir() 2506 return uvwasi__translate_uv_error(uv_translate_sys_error(errno)); in uvwasi_sched_yield()
|
D | path_resolver.c | 261 err = uvwasi__translate_uv_error(uv_translate_sys_error(errno)); in uvwasi__normalize_relative_path()
|
/third_party/libuv/docs/src/ |
D | errors.rst | 377 .. c:function:: int uv_translate_sys_error(int sys_errno)
|
/third_party/libuv/src/unix/ |
D | core.c | 1261 int uv_translate_sys_error(int sys_errno) { in uv_translate_sys_error() function
|
/third_party/libuv/include/ |
D | uv.h | 392 UV_EXTERN int uv_translate_sys_error(int sys_errno);
|
/third_party/libuv/include/uv_ndk/ |
D | uv.h | 390 UV_EXTERN int uv_translate_sys_error(int sys_errno);
|
/third_party/libuv/ |
D | ChangeLog | 2808 * unix,win: add uv_translate_sys_error() public API (Philippe Laferriere)
|