Home
last modified time | relevance | path

Searched refs:prefix_len (Results 1 – 1 of 1) sorted by relevance

/DragonOS/kernel/src/filesystem/fat/
H A Dentry.rs1996 let prefix_len = min(self.basename_len, 6) as usize; localVariable
1998 let num_suffix: Option<u32> = if name[prefix_len] as char == '~' {
1999 (name[prefix_len + 1] as char).to_digit(10)
2007 if name[..prefix_len] == self.name[..prefix_len] // 基础名前缀相同
2018 let prefix_len = min(self.basename_len, 2) as usize; localVariable
2019 let num_suffix: Option<u32> = if name[prefix_len + 4] as char == '~' {
2020 (name[prefix_len + 1] as char).to_digit(10)
2025 if name[..prefix_len] == self.name[..prefix_len] && num_suffix.is_some() && ext_matches {
2030 > = core::str::from_utf8(&name[prefix_len..prefix_len + 4])
2085 let prefix_len: usize = if with_checksum { localVariable
[all …]