Home
last modified time | relevance | path

Searched defs:Result (Results 1 – 6 of 6) sorted by relevance

/mcuboot-3.4.0/sim/simflash/src/
Dlib.rs30 pub type Result<T> = std::result::Result<T, FlashError>; typedef
55 fn erase(&mut self, offset: usize, len: usize) -> Result<()>; in erase()
56 fn write(&mut self, offset: usize, payload: &[u8]) -> Result<()>; in write()
57 fn read(&self, offset: usize, data: &mut [u8]) -> Result<()>; in read()
59 fn add_bad_region(&mut self, offset: usize, len: usize, rate: f32) -> Result<()>; in add_bad_region()
125 pub fn write_file<P: AsRef<Path>>(&self, path: P) -> Result<()> { in write_file()
152 fn erase(&mut self, offset: usize, len: usize) -> Result<()> { in erase()
182 fn write(&mut self, offset: usize, payload: &[u8]) -> Result<()> { in write()
220 fn read(&self, offset: usize, data: &mut [u8]) -> Result<()> { in read()
232 fn add_bad_region(&mut self, offset: usize, len: usize, rate: f32) -> Result<()> { in add_bad_region()
[all …]
/mcuboot-3.4.0/sim/src/
Dlib.rs80 fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { in fmt()
102 fn expecting(&self, formatter: &mut fmt::Formatter<'_>) -> fmt::Result { in expecting()
/mcuboot-3.4.0/sim/mcuboot-sys/
Dbuild.rs398 fn walk_dir<P: AsRef<Path>>(path: P) -> io::Result<()> { in walk_dir()
/mcuboot-3.4.0/ext/tinycrypt/tests/
Dtest_ecc_dh.c399 char *Result[] = { in cavp_pkv() local
Dtest_ecc_dsa.c556 char *Result[] = { in cavp_verify() local
/mcuboot-3.4.0/ptest/src/
Dmain.rs35 type Result<T> = result::Result<T, failure::Error>; typedef