Home
last modified time | relevance | path

Searched refs:scratch_size (Results 1 – 3 of 3) sorted by relevance

/bootable/libbootloader/gbl/libstorage/src/
Dtestlib.rs284 scratch_size: Option<usize>, field
304 scratch_size: None, in new()
384 pub fn set_scratch_size(mut self, scratch_size: usize) -> Self { in set_scratch_size()
385 self.scratch_size = Some(scratch_size); in set_scratch_size()
401 let scratch_size = match self.scratch_size { in build() localVariable
407 scratch: vec![0u8; scratch_size], in build()
Dlib.rs1303 let scratch_size = in test_scratch_too_small() localVariable
1307 .set_scratch_size(scratch_size) in test_scratch_too_small()
/bootable/libbootloader/gbl/libgbl/src/
Dops.rs175 let scratch_size: usize = required_scratch_size(io, max_gpt_entries).unwrap(); in for_each() localVariable
177 &mut self.scratch[scratch_offset.try_into().unwrap()..][..scratch_size]; in for_each()
178 scratch_offset += scratch_size; in for_each()