Home
last modified time | relevance | path

Searched refs:loop_with_timeout (Results 1 – 2 of 2) sorted by relevance

/aosp_15_r20/bootable/libbootloader/gbl/efi/src/
H A Dutils.rs98 pub fn loop_with_timeout<F, R>(efi_entry: &EfiEntry, timeout_ms: u64, mut f: F) -> Result<Option<R>> in loop_with_timeout() function
125 loop_with_timeout(efi_entry, timeout_ms, || -> core::result::Result<Result<bool>, bool> { in wait_key_stroke()
H A Dnet.rs17 utils::{get_device_path, loop_with_timeout},
207 match loop_with_timeout(self.efi_entry, 5000, || self.try_get_buffer().ok_or(false)) { in consume()