Lines Matching refs:s
757 let s = e.short_name(); in is_empty() localVariable
758 if s == "." || s == ".." { in is_empty()
854 let short_name = if let FATDirEntryOrShortName::ShortName(s) = in rename()
857 s in rename()
1426 FATRawDirEntry::Short(s) => { in get_dir_entry()
1432 Some(s.to_dir_entry(( in get_dir_entry()
1576 FATRawDirEntry::Short(s) => s, in new()
1609 Some(s) => { in short_name()
1610 return s.name_to_string(); in short_name()
1629 FATDirEntry::VolId(s) => { in short_dir_entry()
1630 return Some(s.short_dir_entry); in short_dir_entry()
1645 FATDirEntry::VolId(s) => { in first_cluster()
1646 return s.first_cluster; in first_cluster()
1659 FATDirEntry::VolId(s) => Some(s.loc), in get_dir_range()
1672 Some(s) => {
1673 return s.name;
1677 let mut s = [0x20u8; 11]; localVariable
1678 s[0] = '/' as u8;
1679 return s;
1682 FATDirEntry::VolId(s) => {
1683 return s.short_dir_entry.name;
1696 FATDirEntry::VolId(s) => { in name()
1697 return s.file_name.clone(); in name()
1966 .map(|s| u16::from_str_radix(s, 16));
2142 let mut s = String::from_utf16_lossy(self.name.as_slice()); in to_string() localVariable
2144 if let Some(len) = s.find('\u{0}') { in to_string()
2145 s.truncate(len); in to_string()
2147 return s; in to_string()