/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/crosvm/sys_util/src/ |
D | errno.rs | 29 Error(io::Error::last_os_error().raw_os_error().unwrap()) in last() 40 Error::new(e.raw_os_error().unwrap_or_default()) in from()
|
D | seek_hole.rs | 33 if let Some(errno) = Error::raw_os_error(&err) { in lseek()
|
/external/rust/crates/getrandom/src/ |
D | error.rs | 74 pub fn raw_os_error(self) -> Option<i32> { in raw_os_error() method 119 if let Some(errno) = self.raw_os_error() { in fmt() 137 if let Some(errno) = self.raw_os_error() { in fmt()
|
D | error_impls.rs | 17 match err.raw_os_error() { in from()
|
D | linux_android.rs | 30 match last_os_error().raw_os_error() { in is_getrandom_available()
|
D | util_libc.rs | 59 if err.raw_os_error() != Some(libc::EINTR) { in sys_fill_exact()
|
D | use_file.rs | 110 match err.raw_os_error() { in wait_until_rng_ready()
|
/external/rust/crates/rand_core/src/ |
D | error.rs | 87 pub fn raw_os_error(&self) -> Option<i32> { in raw_os_error() method 91 return e.raw_os_error(); in raw_os_error() 197 if let Some(code) = error.raw_os_error() { in from()
|
/external/rust/crates/nix/test/ |
D | test_mount.rs | 51 if Errno::from_i32(e.raw_os_error().unwrap()) == Errno::EOVERFLOW { in test_mount_tmpfs_without_flags_allows_rwx() 100 File::create(tempdir.path().join("test")).unwrap_err().raw_os_error().unwrap()); in test_mount_rdonly_disallows_write() 138 Command::new(&test_path).status().unwrap_err().raw_os_error().unwrap()); in test_mount_noexec_disallows_exec()
|
/external/rust/crates/gdbstub/src/gdbstub_impl/ |
D | target_result_ext.rs | 22 Err(TargetError::Io(e)) => e.raw_os_error().unwrap_or(121) as u8, in handle_error()
|
/external/rust/crates/mio/src/sys/windows/ |
D | selector.rs | 132 self.error = e.raw_os_error(); in update() 157 let code = e.raw_os_error().unwrap(); in update() 169 self.error = e.raw_os_error(); in update() 475 Err(ref e) if e.raw_os_error() == Some(WAIT_TIMEOUT as i32) => Ok(0), in select2()
|
D | named_pipe.rs | 310 if e.raw_os_error() == Some(ERROR_BROKEN_PIPE as i32) { in read() 499 Err(ref e) if e.raw_os_error() == Some(ERROR_PIPE_LISTENING as i32) => false, in schedule_read()
|
/external/rust/crates/rand_core/ |
D | CHANGELOG.md | 36 - `Error::raw_os_error` method (#864)
|
/external/crosvm/vhost/src/ |
D | lib.rs | 357 Err(Error::IoctlError(ioe)) if ioe.raw_os_error().unwrap() == 25 => {} in assert_ok_or_known_failure()
|
/external/crosvm/src/plugin/ |
D | mod.rs | 251 ProtobufError::IoError(e) => SysError::new(e.raw_os_error().unwrap_or(EINVAL)), in proto_to_sys_err() 257 SysError::new(e.raw_os_error().unwrap_or(EINVAL)) in io_to_sys_err()
|
/external/rust/crates/vmm_vhost/src/vhost_user/ |
D | master_req_handler.rs | 360 Error::ReqHandlerError(ioerr) => match ioerr.raw_os_error() { in send_ack_message()
|
D | mod.rs | 451 assert_eq!(e1.raw_os_error().unwrap(), libc::EAGAIN); in test_error_from_sys_util_error()
|
/external/rust/crates/mio/src/sys/unix/ |
D | tcp.rs | 44 Err(err) if err.raw_os_error() != Some(libc::EINPROGRESS) => { in connect()
|
/external/vm_tools/p9/src/server/ |
D | mod.rs | 187 let errno = if let Some(errno) = err.raw_os_error() { in error_to_rmessage() 289 if let Some(libc::ENOENT) = e.raw_os_error() { in do_walk()
|
/external/rust/crates/getrandom/ |
D | CHANGELOG.md | 163 - `Error::raw_os_error` method, `Error::INTERNAL_START` and
|
/external/crosvm/crosvm_plugin/src/ |
D | lib.rs | 136 protobuf::ProtobufError::IoError(e) => e.raw_os_error().unwrap_or(EINVAL), in proto_error_to_int() 1050 .map_err(|e| -e.raw_os_error().unwrap_or(EINVAL))?; in vcpu_send() 1059 .map_err(|e| -e.raw_os_error().unwrap_or(EINVAL))?; in vcpu_recv()
|
/external/rust/crates/mio/src/sys/unix/selector/ |
D | kqueue.rs | 282 if err.raw_os_error() == Some(libc::EINTR) { in kevent_register()
|
/external/crosvm/fuse/src/ |
D | server.rs | 1642 result: -e.raw_os_error().unwrap_or(libc::EIO), in finish_ioctl() 1707 error: -e.raw_os_error().unwrap_or(libc::EIO), in reply_error()
|