Lines Matching refs:short_dentry
724 short_dentry: Option<ShortDirEntry>,
728 let mut short_dentry: ShortDirEntry = short_dentry.unwrap_or(ShortDirEntry::default()); localVariable
729 short_dentry.name = short_name.clone();
730 short_dentry.attributes = attrs;
735 LongNameEntryGenerator::new(long_name, short_dentry.checksum());
762 short_dentry.flush(&fs, offset)?;
764 return Ok(short_dentry.to_dir_entry_with_long_name(long_name.to_string(), (start, end)));
1603 let short_dentry: ShortDirEntry = match long_name_entries.pop().unwrap() { in new() localVariable
1621 if extractor.validate_checksum(&short_dentry) { in new()
1623 return Ok(short_dentry.to_dir_entry_with_long_name(extractor.to_string(), loc)); in new()
2182 fn validate_checksum(&self, short_dentry: &ShortDirEntry) -> bool { in validate_checksum()
2183 return self.checksum == short_dentry.checksum(); in validate_checksum()
2412 let mut short_dentry = ShortDirEntry::default(); in get_raw_dir_entry() localVariable
2413 cursor.read_exact(&mut short_dentry.name)?; in get_raw_dir_entry()
2415 short_dentry.attributes = FileAttributes::new(cursor.read_u8()?); in get_raw_dir_entry()
2417 short_dentry.nt_res = cursor.read_u8()?; in get_raw_dir_entry()
2418 short_dentry.crt_time_tenth = cursor.read_u8()?; in get_raw_dir_entry()
2419 short_dentry.crt_time = cursor.read_u16()?; in get_raw_dir_entry()
2420 short_dentry.crt_date = cursor.read_u16()?; in get_raw_dir_entry()
2421 short_dentry.lst_acc_date = cursor.read_u16()?; in get_raw_dir_entry()
2422 short_dentry.fst_clus_hi = cursor.read_u16()?; in get_raw_dir_entry()
2423 short_dentry.wrt_time = cursor.read_u16()?; in get_raw_dir_entry()
2424 short_dentry.wrt_date = cursor.read_u16()?; in get_raw_dir_entry()
2425 short_dentry.fst_clus_lo = cursor.read_u16()?; in get_raw_dir_entry()
2426 short_dentry.file_size = cursor.read_u32()?; in get_raw_dir_entry()
2428 return Ok(FATRawDirEntry::Short(short_dentry)); in get_raw_dir_entry()