Searched refs:TestMultiBlockDevices (Results 1 – 3 of 3) sorted by relevance
/bootable/libbootloader/gbl/libstorage/src/ |
D | multi_blocks.rs | 149 AsBlockDevice, AsMultiBlockDevices, TestBlockDeviceBuilder, TestMultiBlockDevices, 154 let mut devs: TestMultiBlockDevices = TestMultiBlockDevices(vec![ in test_get() 170 TestMultiBlockDevices(vec![blk_0.as_slice().into(), blk_1.as_slice().into()]); in test_multi_block_read() 186 let mut devs = TestMultiBlockDevices(vec![ in test_multi_block_write() 200 let mut devs = TestMultiBlockDevices(vec![ in test_multi_block_gpt_partition_size() 235 devs: &mut TestMultiBlockDevices, in check_read_partition() argument 250 let mut devs = TestMultiBlockDevices(vec![ in test_multi_block_gpt_read() 272 devs: &mut TestMultiBlockDevices, in check_write_partition() argument 294 let mut devs = TestMultiBlockDevices(vec![ in test_multi_block_gpt_write() 319 let mut devs = TestMultiBlockDevices(vec![ in test_none_block_id_fail_with_non_unique_partition()
|
D | testlib.rs | 538 pub struct TestMultiBlockDevices(pub Vec<TestBlockDevice>); struct 540 impl AsMultiBlockDevices for TestMultiBlockDevices { implementation
|
/bootable/libbootloader/gbl/libgbl/src/fastboot/ |
D | mod.rs | 269 use gbl_storage_testlib::{TestBlockDeviceBuilder, TestMultiBlockDevices}; 286 let mut devs = TestMultiBlockDevices(vec![ in test_get_var_partition_info() 318 let mut devs = TestMultiBlockDevices(vec![ in test_get_var_all() 381 let mut devs = TestMultiBlockDevices(vec![ in test_fetch_invalid_partition_arg() 424 TestMultiBlockDevices(vec![disk_0.as_slice().into(), disk_1.as_slice().into()]); in test_fetch_raw_block() 458 let mut devs = TestMultiBlockDevices(vec![ in test_fetch_gpt_partition() 506 TestMultiBlockDevices(vec![disk_0.as_slice().into(), disk_1.as_slice().into()]); in test_flash_partition() 532 TestMultiBlockDevices(vec![TestBlockDeviceBuilder::new().set_size(raw.len()).build()]); in test_flash_partition_sparse()
|