Searched refs:take (Results 1 – 7 of 7) sorted by relevance
317 fn take(mut self) -> &'a mut [u8] { in take() method458 let buffer_raw = buffer.take().ok_or(StorageError::InvalidInput)?; in write()463 *buffer = Some(io_buffer.take()); in write()495 let buffer_raw = buffer.take().ok_or(StorageError::InvalidInput)?; in read()500 *buffer = Some(io_buffer.take()); in read()515 true => Ok(self.current_io.take().unwrap().take()), in take_io_buffer()
190 self.io.take(); in check_status()473 .take(gpt_max_entries) in partitions_to_disk_data()
122 (partition_map.address.take().map(BootImage), tail) in get_boot_image()137 (partition_map.address.take().map(VendorBootImage), tail) in get_vendor_boot_image()151 (partition_map.address.take().map(InitBootImage), tail) in get_init_boot_image()255 let boot_token = BOOT_TOKEN.lock().take().ok_or(Error::OperationProhibited)?; in load_slot_interface()
79 self.boot_token.take() in take_boot_token()
268 .take(control.control_bits.nb_slots().into()) in get_slot_by_number()
41 application, which will take over booting android.
51 mem::{size_of, take},665 match align_buffer(take(&mut self.buffer)) { in next()677 match ZbiItem::<B>::parse(take(&mut self.buffer)) { in next()