Home
last modified time | relevance | path

Searched defs:bool (Results 1 – 24 of 24) sorted by relevance

/bootable/libbootloader/gbl/libabr/src/
Dutils.rs34 pub extern "C" fn AbrIsOneShotRecoveryBootSet(flags: u8) -> bool { in AbrIsOneShotRecoveryBootSet()
45 pub unsafe extern "C" fn AbrIsOneShotRecoveryBoot(abr_data: *const AbrData) -> bool { in AbrIsOneShotRecoveryBoot()
52 pub extern "C" fn AbrIsOneShotBootloaderBootSet(flags: u8) -> bool { in AbrIsOneShotBootloaderBootSet()
63 pub unsafe extern "C" fn AbrIsOneShotBootloaderBoot(abr_data: *const AbrData) -> bool { in AbrIsOneShotBootloaderBoot()
74 pub unsafe extern "C" fn AbrSetOneShotRecoveryBoot(abr_data: *mut AbrData, enable: bool) { in AbrSetOneShotRecoveryBoot()
85 pub unsafe extern "C" fn AbrSetOneShotBootloaderBoot(abr_data: *mut AbrData, enable: bool) { in AbrSetOneShotBootloaderBoot()
Dlib.rs163 fn is_slot_bootable(&self) -> bool { in is_slot_bootable()
311 fn is_slot_active(&self, slot_index: SlotIndex) -> bool { in is_slot_active()
316 fn is_one_shot_recovery(&self) -> bool { in is_one_shot_recovery()
321 pub fn set_one_shot_recovery(&mut self, enable: bool) { in set_one_shot_recovery()
329 pub fn set_one_shot_bootloader(&mut self, enable: bool) { in set_one_shot_bootloader()
418 pub fn get_boot_slot(abr_ops: &mut dyn Ops, update_metadata: bool) -> (SlotIndex, bool) { in get_boot_slot() argument
Dc_staticlib.rs182 update_metadata: bool, in AbrGetBootSlot()
183 is_slot_marked_successful: *mut bool, in AbrGetBootSlot()
/bootable/recovery/recovery_ui/
Dstub_ui.cpp25 size_t /* initial_selection */, bool /* menu_only */, in ShowMenu() argument
26 const std::function<int(int, bool)>& /*key_handler*/) { in ShowMenu() argument
/bootable/libbootloader/gbl/libgbl/src/
Doverlap.rs33 pub fn is_overlap(buffers: &[&[u8]]) -> bool { in is_overlap()
63 fn check_overlap(ranges_set: &[(usize, usize)]) -> bool { in check_overlap() argument
72 fn check_not_overlap(ranges_set: &[(usize, usize)]) -> bool { in check_not_overlap() argument
Dops.rs86 fn should_stop_in_fastboot(&mut self) -> Result<bool, GblOpsError>; in should_stop_in_fastboot()
210 fn should_stop_in_fastboot(&mut self) -> Result<bool, GblOpsError> { in should_stop_in_fastboot()
Dlib.rs432 fn is_unrecoverable_error(error: &IntegrationError) -> bool { in is_unrecoverable_error()
604 fn validate_vbmeta_public_key(&mut self, _: &[u8], _: Option<&[u8]>) -> AvbIoResult<bool> { in validate_vbmeta_public_key()
616 fn read_is_device_unlocked(&mut self) -> AvbIoResult<bool> { in read_is_device_unlocked()
Dslots.rs202 pub fn is_bootable(&self) -> bool { in is_bootable()
/bootable/recovery/recovery_ui/include/recovery_ui/
Dstub_ui.h35 void SetSystemUpdateText(bool /* security_update */) override {} in SetSystemUpdateText() argument
45 void ShowText(bool /* visible */) override {} in ShowText() argument
71 const std::function<int(int, bool)>& /* key_handle */) override { in ShowPromptWipeDataMenu() argument
78 const std::function<int(int, bool)>& /* key_handle */) override { in ShowPromptWipeDataConfirmationMenu() argument
/bootable/libbootloader/gbl/libefi/src/protocol/
Ddevice_path.rs47 display_only: bool, in convert_device_path_to_text()
48 allow_shortcuts: bool, in convert_device_path_to_text()
/bootable/libbootloader/gbl/efi/src/
Davb.rs86 ) -> IoResult<bool> { in validate_vbmeta_public_key()
105 fn read_is_device_unlocked(&mut self) -> IoResult<bool> { in read_is_device_unlocked()
Dutils.rs229 F: FnMut() -> core::result::Result<R, bool>, in loop_with_timeout() argument
251 pub fn wait_key_stroke(efi_entry: &EfiEntry, expected: char, timeout_ms: u64) -> Result<bool> { in wait_key_stroke()
Dnet.rs336 pub fn check_active(&mut self) -> bool { in check_active()
349 fn is_closed(&mut self) -> bool { in is_closed()
/bootable/libbootloader/gbl/libsafemath/src/
Dlib.rs187 pub const fn has_error(&self) -> bool { in has_error()
192 pub const fn is_valid(&self) -> bool { in is_valid()
/bootable/libbootloader/gbl/libgbl/src/slots/
Dandroid.rs100 fn successful(&self) -> bool { in successful()
103 fn set_successful(&mut self, successful: bool) { in set_successful()
107 fn verity_corrupted(&self) -> bool { in verity_corrupted()
110 fn set_verity_corrupted(&mut self, verity_corrupted: bool) { in set_verity_corrupted()
/bootable/libbootloader/gbl/libstorage/src/
Dnon_blocking.rs261 fn is_pending(&self) -> bool { in is_pending()
269 fn is_aborted(&self) -> bool { in is_aborted()
380 pub fn is_pending(&self) -> bool { in is_pending()
412 pub fn is_aborted(&self) -> bool { in is_aborted()
Dgpt.rs78 fn is_null(&self) -> bool { in is_null()
256 ) -> Result<bool> { in validate_gpt()
Dmulti_blocks.rs30 f: &mut dyn FnMut(&mut dyn AsBlockDevice, u64) -> bool, in for_each_until()
Dlib.rs537 pub fn is_aligned(value: SafeNum, alignment: SafeNum) -> Result<bool> { in is_aligned()
543 pub fn is_buffer_aligned(buffer: &[u8], alignment: u64) -> Result<bool> { in is_buffer_aligned()
Dtestlib.rs93 fn check_alignment(&mut self, buffer: &[u8]) -> bool { in check_alignment()
/bootable/libbootloader/gbl/libgbl/tests/
Dintegration_tests.rs66 fn should_stop_in_fastboot(&mut self) -> Result<bool, GblOpsError> { in should_stop_in_fastboot()
/bootable/libbootloader/gbl/third_party/libzbi/src/
Dlib.rs102 fn eq(&self, other: &ZbiItem<C>) -> bool { in eq()
925 pub fn is_kernel(&self) -> bool { in is_kernel()
934 pub fn is_driver_metadata(&self) -> bool { in is_driver_metadata()
2267 fn byteslice_cmp(byteslice: impl ByteSlice, slice: &[u8]) -> bool { in byteslice_cmp()
/bootable/libbootloader/gbl/libefi/src/
Dlib.rs96 pub fn is_efi_err(&self, code: EfiStatus) -> bool { in is_efi_err()
458 pub fn check_event(&self, event: &Event) -> EfiResult<bool> { in check_event()
/bootable/libbootloader/gbl/libfastboot/src/
Dlib.rs437 pub fn info_send(&mut self, msg: &str) -> Result<bool, CommandError> { in info_send()