Lines Matching refs:cursor
96 let mut cursor = VecCursor::new(buf); in from_disk() localVariable
97 cursor.seek(SeekFrom::SeekCurrent(446))?; in from_disk()
100 table.dpte[i].flags = cursor.read_u8()?; in from_disk()
101 table.dpte[i].starting_head = cursor.read_u8()?; in from_disk()
102 table.dpte[i].starting_sector_cylinder = cursor.read_u16()?; in from_disk()
103 table.dpte[i].part_type = cursor.read_u8()?; in from_disk()
104 table.dpte[i].ending_head = cursor.read_u8()?; in from_disk()
105 table.dpte[i].ending_sector_cylinder = cursor.read_u16()?; in from_disk()
106 table.dpte[i].starting_lba = cursor.read_u32()?; in from_disk()
107 table.dpte[i].total_sectors = cursor.read_u32()?; in from_disk()
111 table.bs_trailsig = cursor.read_u16()?; in from_disk()