Searched refs:set_data (Results 1 – 4 of 4) sorted by relevance
/bootable/libbootloader/gbl/libstorage/src/ |
D | gpt.rs | 452 .set_data(include_bytes!("../test/gpt_test_1.bin")) in test_gpt_too_many_entries() 504 let mut dev = TestBlockDeviceBuilder::new().set_data(disk).build(); in test_load_gpt_incorrect_magic() 524 .set_data(include_bytes!("../test/gpt_test_1.bin")) in test_load_gpt_exceeds_max_entries() 535 let mut dev = TestBlockDeviceBuilder::new().set_data(disk).build(); in test_load_gpt_non_max_entries() 565 .set_data(include_bytes!("../test/gpt_test_1.bin")) in test_uninitialized_gpt() 577 .set_data(include_bytes!("../test/gpt_test_1.bin")) in test_gpt_read() 605 .set_data(include_bytes!("../test/gpt_test_1.bin")) in test_gpt_write() 641 .set_data(include_bytes!("../../libstorage/test/gpt_test_1.bin")) in test_gpt_rw_overflow()
|
D | non_blocking.rs | 638 .set_data(&[1, 2, 3, 4]) in test_read() 663 .set_data(&[1, 2, 3, 4]) in test_write() 688 .set_data(&[1, 2, 3, 4]) in test_read_write_blocking() 705 .set_data(&[1, 2, 3, 4]) in test_abort() 736 .set_data(&[1, 2, 3, 4]) in read_write_error_on_busy()
|
D | testlib.rs | 225 TestBlockDeviceBuilder::new().set_data(data).build() in from() 349 pub fn set_data(mut self, data: &'a [u8]) -> Self { in set_data() method
|
D | lib.rs | 963 .set_data(&data) in read_test_helper() 991 .set_data(&data) in write_test_helper()
|