Lines Matching refs:FATDirEntry

41 pub enum FATDirEntry {  enum
514 ) -> Result<FATDirEntry, SystemError> { in find_entry() argument
685 let e: Result<FATDirEntry, SystemError> = in check_existence()
727 ) -> Result<FATDirEntry, SystemError> { argument
797 let e: FATDirEntry = self.find_entry(name, None, None, fs.clone())?; in remove()
847 ) -> Result<FATDirEntry, SystemError> { in get_dir_entry() argument
849 return Ok(FATDirEntry::Dir(self.clone())); in get_dir_entry()
863 ) -> Result<FATDirEntry, SystemError> { in rename() argument
865 let old_dentry: FATDirEntry = if let FATDirEntryOrShortName::DirEntry(dentry) = in rename()
889 let new_dentry: FATDirEntry = self.create_dir_entries( in rename()
1205 pub fn to_dir_entry(&self, loc: (Cluster, u64)) -> FATDirEntry { in to_dir_entry() argument
1221 return FATDirEntry::File(file); in to_dir_entry()
1223 return FATDirEntry::VolId(file); in to_dir_entry()
1234 return FATDirEntry::Dir(dir); in to_dir_entry()
1248 ) -> FATDirEntry { in to_dir_entry_with_long_name() argument
1262 return FATDirEntry::File(file); in to_dir_entry_with_long_name()
1264 return FATDirEntry::VolId(file); in to_dir_entry_with_long_name()
1275 return FATDirEntry::Dir(dir); in to_dir_entry_with_long_name()
1416 fn get_dir_entry(&mut self) -> Result<(Cluster, u64, Option<FATDirEntry>), SystemError> { in get_dir_entry() argument
1528 let dir_entry: Result<FATDirEntry, SystemError> = FATDirEntry::new( in get_dir_entry()
1564 type Item = FATDirEntry;
1580 impl FATDirEntry { impl
1633 FATDirEntry::File(f) | FATDirEntry::VolId(f) => { in short_name()
1636 FATDirEntry::Dir(d) => match d.short_dir_entry { in short_name()
1644 FATDirEntry::UnInit => unreachable!("FATFS: FATDirEntry uninitialized."), in short_name()
1651 FATDirEntry::File(f) => { in short_dir_entry()
1654 FATDirEntry::Dir(d) => { in short_dir_entry()
1657 FATDirEntry::VolId(s) => { in short_dir_entry()
1660 FATDirEntry::UnInit => unreachable!("FATFS: FATDirEntry uninitialized."), in short_dir_entry()
1667 FATDirEntry::File(f) => { in first_cluster()
1670 FATDirEntry::Dir(d) => { in first_cluster()
1673 FATDirEntry::VolId(s) => { in first_cluster()
1676 FATDirEntry::UnInit => unreachable!("FATFS: FATDirEntry uninitialized."), in first_cluster()
1685 FATDirEntry::File(f) => Some(f.loc), in get_dir_range()
1686 FATDirEntry::Dir(d) => d.loc, in get_dir_range()
1687 FATDirEntry::VolId(s) => Some(s.loc), in get_dir_range()
1688 FATDirEntry::UnInit => unreachable!("FATFS: FATDirEntry uninitialized."), in get_dir_range()
1695 FATDirEntry::File(f) => {
1698 FATDirEntry::Dir(d) => match d.short_dir_entry {
1710 FATDirEntry::VolId(s) => {
1714 FATDirEntry::UnInit => unreachable!("FATFS: FATDirEntry uninitialized."),
1721 FATDirEntry::File(f) => { in name()
1724 FATDirEntry::VolId(s) => { in name()
1727 FATDirEntry::Dir(d) => { in name()
1730 FATDirEntry::UnInit => unreachable!("FATFS: FATDirEntry uninitialized."), in name()
1737 &FATDirEntry::File(_) | &FATDirEntry::VolId(_) => true, in is_file()
1745 &FATDirEntry::Dir(_) => true, in is_dir()
1753 &FATDirEntry::VolId(_) => true, in is_vol_id()
1785 FATDirEntry::File(f) | FATDirEntry::VolId(f) => { in to_file()
1798 FATDirEntry::Dir(d) => { in to_dir()
2269 DirEntry(FATDirEntry),