Home
last modified time | relevance | path

Searched refs:read_volatile (Results 1 – 12 of 12) sorted by relevance

/external/rust/crates/libm/src/math/
Dfmaf.rs29 use core::ptr::read_volatile;
78 let vz: f32 = unsafe { read_volatile(&z) }; in fmaf()
96 let vxy: f64 = unsafe { read_volatile(&xy) }; in fmaf()
Dmod.rs4 ::core::ptr::read_volatile(&$e);
/external/crosvm/sys_util/src/
Dfile_traits.rs77 fn read_volatile(&mut self, slice: VolatileSlice) -> Result<usize>; in read_volatile() method
87 .map(|&b| self.read_volatile(b)) in read_vectored_volatile()
95 let bytes_read = self.read_volatile(slice)?; in read_exact_volatile()
139 fn read_volatile(&mut self, slice: VolatileSlice) -> Result<usize> { in read_volatile() method
140 (**self).read_volatile(slice) in read_volatile()
276 fn read_volatile(
/external/rust/crates/gdbstub/src/internal/
Ddead_code_marker.rs13 let ret = core::ptr::read_volatile(&dummy); in black_box()
/external/crosvm/data_model/src/
Dvolatile_memory.rs26 use std::ptr::{copy, read_volatile, write_bytes, write_volatile};
245 *v = read_volatile(addr as *const T); in copy_to()
384 unsafe { read_volatile(self.addr) } in load()
/external/rust/crates/bencher/
Dlib.rs592 let ret = ptr::read_volatile(&dummy); in black_box()
/external/rust/crates/crossbeam-utils/src/atomic/
Datomic_cell.rs872 let val = ptr::read_volatile(src); in atomic_load()
/external/rust/crates/criterion/src/
Dlib.rs176 let ret = std::ptr::read_volatile(&dummy); in black_box()
/external/crosvm/cros_async/src/sync/
Dcv.rs620 let _ = unsafe { ptr::read_volatile(&*count as *const usize) }; in notify_one_with_cancel()
/external/libchromeos-rs/src/sync/
Dcv.rs656 let _ = unsafe { ptr::read_volatile(&*count as *const usize) }; in notify_one_with_cancel()
/external/rust/crates/crossbeam-deque/src/
Ddeque.rs80 ptr::read_volatile(self.at(index)) in read()
/external/crosvm/disk/src/qcow/
Dmod.rs1618 fn read_volatile(&mut self, slice: VolatileSlice) -> io::Result<usize> { in read_volatile() method