Searched refs:read_u16 (Results 1 – 5 of 5) sorted by relevance
199 bpb.bytes_per_sector = cursor.read_u16()?; in new()201 bpb.rsvd_sec_cnt = cursor.read_u16()?; in new()203 bpb.root_entries_cnt = cursor.read_u16()?; in new()204 bpb.total_sectors_16 = cursor.read_u16()?; in new()206 bpb.fat_size_16 = cursor.read_u16()?; in new()207 bpb.sector_per_track = cursor.read_u16()?; in new()208 bpb.num_heads = cursor.read_u16()?; in new()214 bpb32.ext_flags = cursor.read_u16()?; in new()215 bpb32.fs_version = cursor.read_u16()?; in new()217 bpb32.fs_info = cursor.read_u16()?; in new()[all …]
375 let mut entry = cursor.read_u16()?; in get_fat_entry()397 let entry = cursor.read_u16()?; in get_fat_entry()469 let mut entry = cursor.read_u16()?; in get_fat_entry_raw()478 let entry = (cursor.read_u16()?) as u64; in get_fat_entry_raw()933 let mut packed_val: u16 = cursor.read_u16()?; in get_free_cluster()952 0 => cursor.read_u16()?, in get_free_cluster()981 let val = cursor.read_u16()?; in get_free_cluster()1060 let old_val: u16 = cursor.read_u16()?; in set_entry()
2378 long_dentry.first_clus_low = cursor.read_u16()?; in get_raw_dir_entry()2391 short_dentry.crt_time = cursor.read_u16()?; in get_raw_dir_entry()2392 short_dentry.crt_date = cursor.read_u16()?; in get_raw_dir_entry()2393 short_dentry.lst_acc_date = cursor.read_u16()?; in get_raw_dir_entry()2394 short_dentry.fst_clus_hi = cursor.read_u16()?; in get_raw_dir_entry()2395 short_dentry.wrt_time = cursor.read_u16()?; in get_raw_dir_entry()2396 short_dentry.wrt_date = cursor.read_u16()?; in get_raw_dir_entry()2397 short_dentry.fst_clus_lo = cursor.read_u16()?; in get_raw_dir_entry()
57 pub fn read_u16(&mut self) -> Result<u16, i32> { in read_u16() method122 buf[i] = self.read_u16()?; in read_u16_into()
372 table.dpte[i].starting_sector_cylinder = cursor.read_u16()?; in read_mbr_table()375 table.dpte[i].ending_sector_cylingder = cursor.read_u16()?; in read_mbr_table()381 table.bs_trailsig = cursor.read_u16()?; in read_mbr_table()