Lines Matching refs:short_dentry

715         short_dentry: Option<ShortDirEntry>,
719 let mut short_dentry: ShortDirEntry = short_dentry.unwrap_or(ShortDirEntry::default()); localVariable
720 short_dentry.name = short_name.clone();
721 short_dentry.attributes = attrs;
726 LongNameEntryGenerator::new(long_name, short_dentry.checksum());
753 short_dentry.flush(&fs, offset)?;
755 return Ok(short_dentry.to_dir_entry_with_long_name(long_name.to_string(), (start, end)));
1590 let short_dentry: ShortDirEntry = match long_name_entries.pop().unwrap() { in new() localVariable
1608 if extractor.validate_checksum(&short_dentry) { in new()
1610 return Ok(short_dentry.to_dir_entry_with_long_name(extractor.to_string(), loc)); in new()
2169 fn validate_checksum(&self, short_dentry: &ShortDirEntry) -> bool { in validate_checksum()
2170 return self.checksum == short_dentry.checksum(); in validate_checksum()
2399 let mut short_dentry = ShortDirEntry::default(); in get_raw_dir_entry() localVariable
2400 cursor.read_exact(&mut short_dentry.name)?; in get_raw_dir_entry()
2402 short_dentry.attributes = FileAttributes::new(cursor.read_u8()?); in get_raw_dir_entry()
2404 short_dentry.nt_res = cursor.read_u8()?; in get_raw_dir_entry()
2405 short_dentry.crt_time_tenth = cursor.read_u8()?; in get_raw_dir_entry()
2406 short_dentry.crt_time = cursor.read_u16()?; in get_raw_dir_entry()
2407 short_dentry.crt_date = cursor.read_u16()?; in get_raw_dir_entry()
2408 short_dentry.lst_acc_date = cursor.read_u16()?; in get_raw_dir_entry()
2409 short_dentry.fst_clus_hi = cursor.read_u16()?; in get_raw_dir_entry()
2410 short_dentry.wrt_time = cursor.read_u16()?; in get_raw_dir_entry()
2411 short_dentry.wrt_date = cursor.read_u16()?; in get_raw_dir_entry()
2412 short_dentry.fst_clus_lo = cursor.read_u16()?; in get_raw_dir_entry()
2413 short_dentry.file_size = cursor.read_u32()?; in get_raw_dir_entry()
2415 return Ok(FATRawDirEntry::Short(short_dentry)); in get_raw_dir_entry()