Lines Matching refs:cursor

232         let mut cursor = VecCursor::new(v);  in new()  localVariable
236 cursor.read_exact(&mut bpb.jmp_boot)?; in new()
237 cursor.read_exact(&mut bpb.oem_name)?; in new()
238 bpb.bytes_per_sector = cursor.read_u16()?; in new()
239 bpb.sector_per_cluster = cursor.read_u8()?; in new()
240 bpb.rsvd_sec_cnt = cursor.read_u16()?; in new()
241 bpb.num_fats = cursor.read_u8()?; in new()
242 bpb.root_entries_cnt = cursor.read_u16()?; in new()
243 bpb.total_sectors_16 = cursor.read_u16()?; in new()
244 bpb.media = cursor.read_u8()?; in new()
245 bpb.fat_size_16 = cursor.read_u16()?; in new()
246 bpb.sector_per_track = cursor.read_u16()?; in new()
247 bpb.num_heads = cursor.read_u16()?; in new()
248 bpb.hidden_sectors = cursor.read_u32()?; in new()
249 bpb.total_sectors_32 = cursor.read_u32()?; in new()
252 bpb32.fat_size_32 = cursor.read_u32()?; in new()
253 bpb32.ext_flags = cursor.read_u16()?; in new()
254 bpb32.fs_version = cursor.read_u16()?; in new()
255 bpb32.root_cluster = cursor.read_u32()?; in new()
256 bpb32.fs_info = cursor.read_u16()?; in new()
257 bpb32.backup_boot_sec = cursor.read_u16()?; in new()
259 cursor.read_exact(&mut bpb32.reserved0)?; in new()
260 bpb32.drive_num = cursor.read_u8()?; in new()
261 bpb32.reserved1 = cursor.read_u8()?; in new()
262 bpb32.boot_sig = cursor.read_u8()?; in new()
263 bpb32.volume_id = cursor.read_u32()?; in new()
264 cursor.read_exact(&mut bpb32.volume_label)?; in new()
265 cursor.read_exact(&mut bpb32.filesystem_type)?; in new()
268 cursor.seek(SeekFrom::SeekCurrent(420))?; in new()
270 bpb.trail_sig = cursor.read_u16()?; in new()