Lines Matching refs:v

374         let mut v = Vec::<u8>::new();  in get_fat_entry()  localVariable
375 v.resize(self.bpb.bytes_per_sector as usize, 0); in get_fat_entry()
378 .read_at(fat_ent_lba as usize, 1 * self.lba_per_sector(), &mut v)?; in get_fat_entry()
380 let mut cursor = VecCursor::new(v); in get_fat_entry()
468 let mut v = Vec::<u8>::new(); in get_fat_entry_raw() localVariable
469 v.resize(self.bpb.bytes_per_sector as usize, 0); in get_fat_entry_raw()
472 .read_at(fat_ent_lba, 1 * self.lba_per_sector(), &mut v)?; in get_fat_entry_raw()
474 let mut cursor = VecCursor::new(v); in get_fat_entry_raw()
936 let mut v: Vec<u8> = Vec::new(); in get_free_cluster() localVariable
937 v.resize(num_lba * LBA_SIZE, 0); in get_free_cluster()
938 self.partition.disk().read_at(lba, num_lba, &mut v)?; in get_free_cluster()
940 let mut cursor: VecCursor = VecCursor::new(v); in get_free_cluster()
982 let mut v: Vec<u8> = Vec::new(); in get_free_cluster() localVariable
983 v.resize(self.lba_per_sector() * LBA_SIZE, 0); in get_free_cluster()
986 .read_at(lba, self.lba_per_sector(), &mut v)?; in get_free_cluster()
988 let mut cursor: VecCursor = VecCursor::new(v); in get_free_cluster()
1014 let mut v: Vec<u8> = Vec::new(); in get_free_cluster() localVariable
1015 v.resize(self.lba_per_sector() * LBA_SIZE, 0); in get_free_cluster()
1018 .read_at(lba, self.lba_per_sector(), &mut v)?; in get_free_cluster()
1020 let mut cursor: VecCursor = VecCursor::new(v); in get_free_cluster()
1063 let mut v: Vec<u8> = Vec::new(); in set_entry() localVariable
1064 v.resize(LBA_SIZE, 0); in set_entry()
1065 self.partition.disk().read_at(lba, 1, &mut v)?; in set_entry()
1067 let mut cursor: VecCursor = VecCursor::new(v); in set_entry()
1096 let mut v: Vec<u8> = Vec::new(); in set_entry() localVariable
1097 v.resize(LBA_SIZE, 0); in set_entry()
1098 self.partition.disk().read_at(lba, 1, &mut v)?; in set_entry()
1100 let mut cursor: VecCursor = VecCursor::new(v); in set_entry()
1123 let mut v: Vec<u8> = Vec::new(); in set_entry() localVariable
1124 v.resize(LBA_SIZE, 0); in set_entry()
1125 self.partition.disk().read_at(lba, 1, &mut v)?; in set_entry()
1127 let mut cursor: VecCursor = VecCursor::new(v); in set_entry()
1211 let mut v = Vec::<u8>::new(); in new() localVariable
1212 v.resize(bytes_per_sec, 0); in new()
1217 .read_at(in_disk_fs_info_offset as usize / LBA_SIZE, 1, &mut v)?; in new()
1218 let mut cursor = VecCursor::new(v); in new()
1307 let mut v: Vec<u8> = Vec::new(); in flush() localVariable
1308 v.resize(LBA_SIZE, 0); in flush()
1309 partition.disk().read_at(lba, 1, &mut v)?; in flush()
1311 let mut cursor: VecCursor = VecCursor::new(v); in flush()
1336 let mut v: Vec<u8> = Vec::new(); in update() localVariable
1337 v.resize(LBA_SIZE, 0); in update()
1338 partition.disk().read_at(lba, 1, &mut v)?; in update()
1339 let mut cursor: VecCursor = VecCursor::new(v); in update()