Searched refs:read_volatile (Results 1 – 12 of 12) sorted by relevance
29 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()
4 ::core::ptr::read_volatile(&$e);
77 fn read_volatile(&mut self, slice: VolatileSlice) -> Result<usize>; in read_volatile() method87 .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() method140 (**self).read_volatile(slice) in read_volatile()276 fn read_volatile(
13 let ret = core::ptr::read_volatile(&dummy); in black_box()
26 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()
592 let ret = ptr::read_volatile(&dummy); in black_box()
872 let val = ptr::read_volatile(src); in atomic_load()
176 let ret = std::ptr::read_volatile(&dummy); in black_box()
620 let _ = unsafe { ptr::read_volatile(&*count as *const usize) }; in notify_one_with_cancel()
656 let _ = unsafe { ptr::read_volatile(&*count as *const usize) }; in notify_one_with_cancel()
80 ptr::read_volatile(self.at(index)) in read()
1618 fn read_volatile(&mut self, slice: VolatileSlice) -> io::Result<usize> { in read_volatile() method