Searched defs:Result (Results 1 – 6 of 6) sorted by relevance
/mcuboot-3.4.0/sim/simflash/src/ |
D | lib.rs | 30 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/ |
D | lib.rs | 80 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/ |
D | build.rs | 398 fn walk_dir<P: AsRef<Path>>(path: P) -> io::Result<()> { in walk_dir()
|
/mcuboot-3.4.0/ext/tinycrypt/tests/ |
D | test_ecc_dh.c | 399 char *Result[] = { in cavp_pkv() local
|
D | test_ecc_dsa.c | 556 char *Result[] = { in cavp_verify() local
|
/mcuboot-3.4.0/ptest/src/ |
D | main.rs | 35 type Result<T> = result::Result<T, failure::Error>; typedef
|