/external/rust/crates/vsock/src/ |
D | lib.rs | 69 return Err(Error::last_os_error()); in bind() 80 return Err(Error::last_os_error()); in bind() 86 return Err(Error::last_os_error()); in bind() 115 Err(Error::last_os_error()) in local_addr() 144 Err(Error::last_os_error()) in accept() 172 Err(Error::last_os_error()) in take_error() 186 Err(Error::last_os_error()) in set_nonblocking() 239 return Err(Error::last_os_error()); in connect() 249 Err(Error::last_os_error()) in connect() 278 Err(Error::last_os_error()) in peer_addr() [all …]
|
/external/rust/crates/mio/src/sys/windows/ |
D | tcp.rs | 92 SOCKET_ERROR => Err(io::Error::last_os_error()), in set_reuseaddr() 108 SOCKET_ERROR => Err(io::Error::last_os_error()), in get_reuseaddr() 122 SOCKET_ERROR => Err(io::Error::last_os_error()), in get_localaddr() 158 SOCKET_ERROR => Err(io::Error::last_os_error()), in set_linger() 174 SOCKET_ERROR => Err(io::Error::last_os_error()), in get_linger() 195 SOCKET_ERROR => Err(io::Error::last_os_error()), in set_recv_buffer_size() 210 SOCKET_ERROR => Err(io::Error::last_os_error()), in get_recv_buffer_size() 224 SOCKET_ERROR => Err(io::Error::last_os_error()), in set_send_buffer_size() 239 SOCKET_ERROR => Err(io::Error::last_os_error()), in get_send_buffer_size() 253 SOCKET_ERROR => Err(io::Error::last_os_error()), in set_keepalive() [all …]
|
/external/crosvm/sys_util/src/ |
D | net.rs | 98 Err(io::Error::last_os_error()) in new() 136 let bind_err = io::Error::last_os_error(); in bind() 176 let connect_err = io::Error::last_os_error(); in connect() 189 let listen_err = io::Error::last_os_error(); in listen() 220 let getsockname_err = io::Error::last_os_error(); in local_port() 249 let getsockname_err = io::Error::last_os_error(); in local_port() 356 -1 => return Err(io::Error::last_os_error()), in connect() 367 return Err(io::Error::last_os_error()); in connect() 392 Err(io::Error::last_os_error()) in pair() 402 Err(io::Error::last_os_error()) in try_clone() [all …]
|
D | vsock.rs | 180 return Err(io::Error::last_os_error()); in set_nonblocking() 191 return Err(io::Error::last_os_error()); in set_nonblocking() 211 Err(io::Error::last_os_error()) in new() 241 let bind_err = io::Error::last_os_error(); in bind() 269 let connect_err = io::Error::last_os_error(); in connect() 280 let listen_err = io::Error::last_os_error(); in listen() 301 let getsockname_err = io::Error::last_os_error(); in local_port() 315 Err(io::Error::last_os_error()) in try_clone() 386 return Err(io::Error::last_os_error()); in read() 404 return Err(io::Error::last_os_error()); in write() [all …]
|
D | file_traits.rs | 292 Err(std::io::Error::last_os_error()) 318 Err(std::io::Error::last_os_error()) 338 Err(std::io::Error::last_os_error()) 364 Err(std::io::Error::last_os_error()) 394 Err(std::io::Error::last_os_error()) 422 Err(std::io::Error::last_os_error()) 445 Err(std::io::Error::last_os_error()) 473 Err(std::io::Error::last_os_error())
|
/external/libchromeos-rs/src/ |
D | vsock.rs | 180 return Err(io::Error::last_os_error()); in set_nonblocking() 191 return Err(io::Error::last_os_error()); in set_nonblocking() 211 Err(io::Error::last_os_error()) in new() 239 let bind_err = io::Error::last_os_error(); in bind() 265 let connect_err = io::Error::last_os_error(); in connect() 276 let listen_err = io::Error::last_os_error(); in listen() 297 let getsockname_err = io::Error::last_os_error(); in local_port() 311 Err(io::Error::last_os_error()) in try_clone() 382 return Err(io::Error::last_os_error()); in read() 400 return Err(io::Error::last_os_error()); in write() [all …]
|
D | net.rs | 85 Err(io::Error::last_os_error()) in new() 123 let bind_err = io::Error::last_os_error(); in bind() 163 let connect_err = io::Error::last_os_error(); in connect() 176 let listen_err = io::Error::last_os_error(); in listen() 207 let getsockname_err = io::Error::last_os_error(); in local_port() 236 let getsockname_err = io::Error::last_os_error(); in local_port()
|
D | lib.rs | 20 Err(::std::io::Error::last_os_error())
|
/external/rust/crates/tokio/src/net/unix/ |
D | ucred.rs | 94 Err(io::Error::last_os_error()) in get_peer_cred() 130 Err(io::Error::last_os_error()) in get_peer_cred() 163 return Err(io::Error::last_os_error()); in get_peer_cred() 177 Err(io::Error::last_os_error()) in get_peer_cred() 210 Err(io::Error::last_os_error()) in get_peer_cred()
|
/external/crosvm/devices/src/virtio/fs/ |
D | passthrough.rs | 199 Err(io::Error::last_os_error()) 211 io::Error::last_os_error(), 337 Err(io::Error::last_os_error()) in stat() 358 Err(io::Error::last_os_error()) in statat() 522 return Err(io::Error::last_os_error()); in new() 603 return Err(io::Error::last_os_error()); in open_fd() 709 return Err(io::Error::last_os_error()); in do_lookup() 775 Err(io::Error::last_os_error()) in do_unlink() 792 Err(io::Error::last_os_error()) in do_fsync() 814 io::Error::last_os_error() in with_proc_chdir() [all …]
|
D | caps.rs | 119 Err(io::Error::last_os_error()) in for_current_thread() 143 Err(io::Error::last_os_error()) in update() 152 Err(io::Error::last_os_error()) in apply()
|
D | read_dir.rs | 35 return Err(io::Error::last_os_error()); in new() 49 return Err(io::Error::last_os_error()); in new()
|
/external/rust/crates/mio/src/sys/unix/ |
D | pipe.rs | 161 return Err(io::Error::last_os_error()); in new() 170 return Err(io::Error::last_os_error()); in new() 177 let err = io::Error::last_os_error(); in new() 406 Err(io::Error::last_os_error()) in set_nonblocking() 416 return Err(io::Error::last_os_error()); in set_nonblocking() 427 return Err(io::Error::last_os_error()); in set_nonblocking()
|
D | mod.rs | 9 Err(std::io::Error::last_os_error())
|
/external/rust/crates/getrandom/src/ |
D | openbsd.rs | 10 use crate::{util_libc::last_os_error, Error}; 16 return Err(last_os_error()); in getrandom_inner()
|
D | util_libc.rs | 38 pub fn last_os_error() -> Error { in last_os_error() function 57 let err = last_os_error(); in sys_fill_exact() 112 return Err(last_os_error()); in open_readonly()
|
D | macos.rs | 12 util_libc::{last_os_error, Weak}, 26 return Err(last_os_error()); in getrandom_inner()
|
D | vxworks.rs | 10 use crate::{util_libc::last_os_error, Error}; 30 return Err(last_os_error()); in getrandom_inner()
|
D | linux_android.rs | 12 util_libc::{last_os_error, sys_fill_exact}, 30 match last_os_error().raw_os_error() { in is_getrandom_available()
|
/external/rust/crates/shared_child/src/sys/ |
D | windows.rs | 25 Err(io::Error::last_os_error()) in wait_without_reaping() 40 Err(io::Error::last_os_error()) in try_wait_without_reaping()
|
D | unix.rs | 27 let error = io::Error::last_os_error(); in wait_without_reaping() 64 Err(io::Error::last_os_error()) in try_wait_without_reaping()
|
/external/crosvm/io_uring/src/ |
D | syscalls.rs | 23 return Err(Error::last_os_error().raw_os_error().unwrap()); in io_uring_setup() 38 return Err(Error::last_os_error().raw_os_error().unwrap()); in io_uring_enter()
|
/external/rust/crates/tokio/src/process/ |
D | windows.rs | 134 let err = io::Error::last_os_error(); in poll() 152 panic!("failed to unregister: {}", io::Error::last_os_error()); in drop() 200 return Err(io::Error::last_os_error()); in convert_to_stdio()
|
/external/crosvm/tempfile/src/ |
D | lib.rs | 79 return Err(Error::last_os_error()); in tempdir() 103 return Err(Error::last_os_error()); in tempfile()
|
/external/rust/crates/shared_child/src/ |
D | unix.rs | 23 -1 => Err(io::Error::last_os_error()), in send_signal()
|