Lines Matching refs:part
284 fn flash(&mut self, part: &str, utils: &mut FastbootUtils) -> Result<(), CommandError>; in flash()
329 part: &str, in fetch()
835 let part = in flash() localVariable
837 fb_impl.flash(part, &mut self.utils(Some(&mut FastbootInfoSender::new(transport)))) in flash()
881 let part = &cmd[..cmd.len() - (off.len() + sz.len() + 2)]; in fetch() localVariable
884 fb_impl.fetch(part, hex_to_u64(off)?, hex_to_u64(sz)?, upload_builder, &mut utils) in fetch()
1061 fn flash(&mut self, part: &str, utils: &mut FastbootUtils) -> Result<(), CommandError> { in flash()
1062 (self.flash_cb.as_mut().unwrap())(part, utils) in flash()
1075 part: &str, in fetch()
1081 (self.fetch_cb.as_mut().unwrap())(part, offset, size, upload_builder, utils) in fetch()
1393 let mut flash_cb = |part: &str, utils: &mut FastbootUtils| { in test_flash()
1394 assert_eq!(part, "boot_a:0::"); in test_flash()
1499 let mut fetch_cb = |part: &str, in test_fetch()
1504 assert_eq!(part, "boot_a:0::"); in test_fetch()