Home
last modified time | relevance | path

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

/DragonOS-0.1.8/kernel/src/filesystem/fat/
Dentry.rs1960 let prefix_len = min(self.basename_len, 6) as usize; localVariable
1962 let num_suffix: Option<u32> = if name[prefix_len] as char == '~' {
1963 (name[prefix_len + 1] as char).to_digit(10)
1971 if name[..prefix_len] == self.name[..prefix_len] // 基础名前缀相同
1981 let prefix_len = min(self.basename_len, 2) as usize; localVariable
1982 let num_suffix: Option<u32> = if name[prefix_len + 4] as char == '~' {
1983 (name[prefix_len + 1] as char).to_digit(10)
1988 if name[..prefix_len] == self.name[..prefix_len] && num_suffix.is_some() && ext_matches {
1993 > = core::str::from_utf8(&name[prefix_len..prefix_len + 4])
2047 let prefix_len: usize = if with_checksum { localVariable
[all …]