Searched defs:dev (Results 1 – 5 of 5) sorted by relevance
433 let mut dev: TestBlockDevice = include_bytes!("../test/gpt_test_1.bin").as_slice().into(); in test_new_from_buffer() localVariable444 let mut dev: TestBlockDevice = include_bytes!("../test/gpt_test_1.bin").as_slice().into(); in test_gpt_buffer_too_small() localVariable451 let mut dev = TestBlockDeviceBuilder::new() in test_gpt_too_many_entries() localVariable461 let mut dev: TestBlockDevice = disk.as_slice().into(); in test_load_gpt_primary() localVariable479 let mut dev: TestBlockDevice = disk.as_slice().into(); in test_load_gpt_secondary() localVariable495 let mut dev: TestBlockDevice = include_bytes!("../test/gpt_test_1.bin").as_slice().into(); in test_good_gpt_no_repair_write() localVariable504 let mut dev = TestBlockDeviceBuilder::new().set_data(disk).build(); in test_load_gpt_incorrect_magic() localVariable523 let mut dev = TestBlockDeviceBuilder::new() in test_load_gpt_exceeds_max_entries() localVariable535 let mut dev = TestBlockDeviceBuilder::new().set_data(disk).build(); in test_load_gpt_non_max_entries() localVariable564 let mut dev = TestBlockDeviceBuilder::new() in test_uninitialized_gpt() localVariable[all …]
335 dev: BlockDeviceEx<'a, 'a>, field538 let mut dev = self.scoped_instance()?; in write_scoped() localVariable551 let mut dev = self.scoped_instance()?; in read_scoped() localVariable
286 dev: &'a mut dyn AsBlockDevice, field
78 android::base::unique_fd dev(open(partition.name.c_str(), O_RDONLY)); in ReadPartitionToBuffer() local
69 let mut dev = (&mut self.devs).get(self.part.blk_id)?; in read() localVariable79 let mut dev = (&mut self.devs).get(self.part.blk_id)?; in write() localVariable