Home
last modified time | relevance | path

Searched refs:last_os_error (Results 1 – 25 of 47) sorted by relevance

12

/external/rust/crates/vsock/src/
Dlib.rs69 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/
Dtcp.rs92 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/
Dnet.rs98 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 …]
Dvsock.rs180 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 …]
Dfile_traits.rs292 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/
Dvsock.rs180 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 …]
Dnet.rs85 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()
Dlib.rs20 Err(::std::io::Error::last_os_error())
/external/rust/crates/tokio/src/net/unix/
Ducred.rs94 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/
Dpassthrough.rs199 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 …]
Dcaps.rs119 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()
Dread_dir.rs35 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/
Dpipe.rs161 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()
Dmod.rs9 Err(std::io::Error::last_os_error())
/external/rust/crates/getrandom/src/
Dopenbsd.rs10 use crate::{util_libc::last_os_error, Error};
16 return Err(last_os_error()); in getrandom_inner()
Dutil_libc.rs38 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()
Dmacos.rs12 util_libc::{last_os_error, Weak},
26 return Err(last_os_error()); in getrandom_inner()
Dvxworks.rs10 use crate::{util_libc::last_os_error, Error};
30 return Err(last_os_error()); in getrandom_inner()
Dlinux_android.rs12 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/
Dwindows.rs25 Err(io::Error::last_os_error()) in wait_without_reaping()
40 Err(io::Error::last_os_error()) in try_wait_without_reaping()
Dunix.rs27 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/
Dsyscalls.rs23 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/
Dwindows.rs134 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/
Dlib.rs79 return Err(Error::last_os_error()); in tempdir()
103 return Err(Error::last_os_error()); in tempfile()
/external/rust/crates/shared_child/src/
Dunix.rs23 -1 => Err(io::Error::last_os_error()), in send_signal()

12