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.rs1994 let prefix_len = min(self.basename_len, 6) as usize; localVariable
1996 let num_suffix: Option<u32> = if name[prefix_len] as char == '~' {
1997 (name[prefix_len + 1] as char).to_digit(10)
2005 if name[..prefix_len] == self.name[..prefix_len] // 基础名前缀相同
2016 let prefix_len = min(self.basename_len, 2) as usize; localVariable
2017 let num_suffix: Option<u32> = if name[prefix_len + 4] as char == '~' {
2018 (name[prefix_len + 1] as char).to_digit(10)
2023 if name[..prefix_len] == self.name[..prefix_len] && num_suffix.is_some() && ext_matches {
2028 > = core::str::from_utf8(&name[prefix_len..prefix_len + 4])
2083 let prefix_len: usize = if with_checksum { localVariable
[all …]