Home
last modified time | relevance | path

Searched refs:take (Results 1 – 7 of 7) sorted by relevance

/bootable/libbootloader/gbl/libstorage/src/
Dnon_blocking.rs317 fn take(mut self) -> &'a mut [u8] { in take() method
458 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()
Dtestlib.rs190 self.io.take(); in check_status()
473 .take(gpt_max_entries) in partitions_to_disk_data()
/bootable/libbootloader/gbl/libgbl/src/
Dlib.rs122 (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()
/bootable/libbootloader/gbl/libgbl/src/slots/
Dpartition.rs79 self.boot_token.take() in take_boot_token()
Dandroid.rs268 .take(control.control_bits.nb_slots().into()) in get_slot_by_number()
/bootable/libbootloader/gbl/
DREADME.md41 application, which will take over booting android.
/bootable/libbootloader/gbl/third_party/libzbi/src/
Dlib.rs51 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()