Lines Matching refs:e
517 for e in self.to_iter(fs) { in find_entry()
518 if e.eq_name(name) { in find_entry()
519 if expect_dir.is_some() && Some(e.is_dir()) != expect_dir { in find_entry()
520 if e.is_dir() { in find_entry()
529 return Ok(e); in find_entry()
533 sng.add_name(&e.short_name_raw()) in find_entry()
584 .map(|e| e.to_file())?; in create_file()
657 .map(|e| e.to_dir())?; in create_dir()
685 let e: Result<FATDirEntry, SystemError> = in check_existence() localVariable
687 match e { in check_existence()
688 Ok(e) => { in check_existence()
690 return Ok(FATDirEntryOrShortName::DirEntry(e)); in check_existence()
692 Err(e) => { in check_existence()
694 if e == SystemError::ENOENT { in check_existence()
697 return Err(e); in check_existence()
772 for e in self.to_iter(fs) { in is_empty()
773 let s = e.short_name(); in is_empty()
797 let e: FATDirEntry = self.find_entry(name, None, None, fs.clone())?; in remove() localVariable
800 if e.is_dir() && !(e.to_dir().unwrap().is_empty(fs.clone())) { in remove()
804 if e.first_cluster().cluster_num >= 2 && remove_clusters { in remove()
806 fs.deallocate_cluster_chain(e.first_cluster())?; in remove()
809 if e.get_dir_range().is_some() { in remove()
810 self.remove_dir_entries(fs, e.get_dir_range().unwrap())?; in remove()