Lines Matching defs:self
94 fn reboot(&mut self); in reboot()
129 &self, in disks()
137 &mut self, in read_from_partition()
147 &mut self, in read_from_partition_sync()
157 &mut self, in write_to_partition()
167 &mut self, in write_to_partition_sync()
176 fn partition_size(&mut self, part: &str) -> Result<Option<u64>, Error> { in partition_size()
195 &mut self, in zircon_add_device_zbi_items()
227 &'b mut self, in load_slot_interface()
244 fn avb_read_rollback_index(&mut self, rollback_index_location: usize) -> AvbIoResult<u64>; in avb_read_rollback_index()
250 &mut self, in avb_write_rollback_index()
258 fn avb_read_persistent_value(&mut self, name: &CStr, value: &mut [u8]) -> AvbIoResult<usize>; in avb_read_persistent_value()
263 fn avb_write_persistent_value(&mut self, name: &CStr, value: &[u8]) -> AvbIoResult<()>; in avb_write_persistent_value()
268 fn avb_erase_persistent_value(&mut self, name: &CStr) -> AvbIoResult<()>; in avb_erase_persistent_value()
274 &self, in avb_validate_vbmeta_public_key()
283 &mut self, in avb_cert_read_permanent_attributes()
296 &mut self, in avb_handle_verification_result()
309 &mut self, in get_image_buffer()
327 &mut self, in fixup_os_commandline()
338 &mut self, in fixup_bootconfig()
350 &mut self, in select_device_trees()
360 fn fixup_device_tree(&mut self, device_tree: &mut [u8]) -> Result<(), Error>; in fixup_device_tree()
374 &mut self, in fastboot_variable()
387 &mut self, in fastboot_visit_all_variables()
411 fn get_next_slot(&mut self, _mark_boot_attempt: bool) -> Result<Slot, Error>; in get_next_slot()
418 fn set_active_slot(&mut self, _slot: u8) -> Result<(), Error>; in set_active_slot()
421 fn set_reboot_reason(&mut self, _reason: RebootReason) -> Result<(), Error>; in set_reboot_reason()
468 fn reboot(&mut self) { in reboot()
473 &self, in disks()
486 &mut self, in zircon_add_device_zbi_items()
497 &'c mut self, in load_slot_interface()
508 fn avb_read_rollback_index(&mut self, _rollback_index_location: usize) -> AvbIoResult<u64> { in avb_read_rollback_index()
512 fn avb_write_rollback_index(&mut self, _: usize, _: u64) -> AvbIoResult<()> { in avb_write_rollback_index()
517 fn avb_read_persistent_value(&mut self, name: &CStr, value: &mut [u8]) -> AvbIoResult<usize> { in avb_read_persistent_value()
521 fn avb_write_persistent_value(&mut self, _: &CStr, _: &[u8]) -> AvbIoResult<()> { in avb_write_persistent_value()
526 fn avb_erase_persistent_value(&mut self, _: &CStr) -> AvbIoResult<()> { in avb_erase_persistent_value()
532 &mut self, in avb_cert_read_permanent_attributes()
543 &mut self, in get_image_buffer()
555 &mut self, in fixup_os_commandline()
563 &mut self, in fixup_bootconfig()
570 fn fixup_device_tree(&mut self, device_tree: &mut [u8]) -> Result<(), Error> { in fixup_device_tree()
575 &mut self, in select_device_trees()
582 &mut self, in read_from_partition_sync()
600 &mut self, in avb_handle_verification_result()
623 &self, in avb_validate_vbmeta_public_key()
640 fn get_next_slot(&mut self, _: bool) -> Result<Slot, Error> { in get_next_slot()
645 fn set_active_slot(&mut self, _: u8) -> Result<(), Error> { in set_active_slot()
650 fn set_reboot_reason(&mut self, _: RebootReason) -> Result<(), Error> { in set_reboot_reason()
662 &mut self, in fastboot_variable()
672 &mut self, in fastboot_visit_all_variables()
724 pub(crate) fn add_gpt_device(&mut self, data: impl AsRef<[u8]>) { in add_gpt_device()
734 pub(crate) fn add_raw_device(&mut self, name: &CStr, data: impl AsRef<[u8]>) { in add_raw_device()
820 fn write_str(&mut self, s: &str) -> Result<(), std::fmt::Error> { in write_str()
859 pub fn copy_partition(&mut self, name: &str) -> Vec<u8> { in copy_partition()
876 fn reboot(&mut self) { in reboot()
881 &self, in disks()
894 &mut self, in zircon_add_device_zbi_items()
913 &'b mut self, in load_slot_interface()
924 fn avb_read_rollback_index(&mut self, rollback_index_location: usize) -> AvbIoResult<u64> { in avb_read_rollback_index()
929 &mut self, in avb_write_rollback_index()
937 &self, in avb_validate_vbmeta_public_key()
945 &mut self, in avb_cert_read_permanent_attributes()
952 &mut self, in avb_cert_read_permanent_attributes_hash()
958 &mut self, in avb_read_persistent_value()
965 fn avb_write_persistent_value(&mut self, name: &CStr, value: &[u8]) -> AvbIoResult<()> { in avb_write_persistent_value()
969 fn avb_erase_persistent_value(&mut self, name: &CStr) -> AvbIoResult<()> { in avb_erase_persistent_value()
974 &mut self, in avb_handle_verification_result()
1000 &mut self, in get_image_buffer()
1021 &mut self, in fixup_os_commandline()
1029 &mut self, in fixup_bootconfig()
1038 fn fixup_device_tree(&mut self, fdt: &mut [u8]) -> Result<(), Error> { in fixup_device_tree()
1044 &mut self, in select_device_trees()
1056 &mut self, in fastboot_variable()
1070 &mut self, in fastboot_visit_all_variables()
1092 fn get_next_slot(&mut self, mark_boot_attempt: bool) -> Result<Slot, Error> { in get_next_slot()
1097 fn set_active_slot(&mut self, slot: u8) -> Result<(), Error> { in set_active_slot()
1102 fn set_reboot_reason(&mut self, _: RebootReason) -> Result<(), Error> { in set_reboot_reason()