Home
last modified time | relevance | path

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

/dports/devel/rust-analyzer/rust-analyzer-2021-12-20/crates/ide_db/src/
H A Dline_index.rs59 let mut utf16_chars = Vec::new(); in new() localVariable
72 if !utf16_chars.is_empty() { in new()
73 utf16_lines.insert(line, utf16_chars); in new()
74 utf16_chars = Vec::new(); in new()
84 utf16_chars.push(Utf16Char { start: curr_col, end: curr_col + c_len }); in new()
91 if !utf16_chars.is_empty() { in new()
92 utf16_lines.insert(line, utf16_chars); in new()
134 if let Some(utf16_chars) = self.utf16_lines.get(&line) { in utf8_to_utf16_col()
135 for c in utf16_chars { in utf8_to_utf16_col()
149 if let Some(utf16_chars) = self.utf16_lines.get(&line) { in utf16_to_utf8_col()
[all …]
/dports/lang/rust/rustc-1.58.1-src/src/tools/rust-analyzer/crates/ide_db/src/
H A Dline_index.rs59 let mut utf16_chars = Vec::new(); in new() localVariable
72 if !utf16_chars.is_empty() { in new()
73 utf16_lines.insert(line, utf16_chars); in new()
74 utf16_chars = Vec::new(); in new()
84 utf16_chars.push(Utf16Char { start: curr_col, end: curr_col + c_len }); in new()
91 if !utf16_chars.is_empty() { in new()
92 utf16_lines.insert(line, utf16_chars); in new()
134 if let Some(utf16_chars) = self.utf16_lines.get(&line) { in utf8_to_utf16_col()
135 for c in utf16_chars { in utf8_to_utf16_col()
149 if let Some(utf16_chars) = self.utf16_lines.get(&line) { in utf16_to_utf8_col()
[all …]
/dports/devel/texlab/texlab-3.3.0/src/
H A Dline_index.rs61 let mut utf16_chars = Vec::new(); in new() localVariable
74 if !utf16_chars.is_empty() { in new()
75 utf16_lines.insert(line, utf16_chars); in new()
76 utf16_chars = Vec::new(); in new()
86 utf16_chars.push(Utf16Char { in new()
96 if !utf16_chars.is_empty() { in new()
97 utf16_lines.insert(line, utf16_chars); in new()
151 if let Some(utf16_chars) = self.utf16_lines.get(&line) { in utf8_to_utf16_col()
152 for c in utf16_chars { in utf8_to_utf16_col()
166 if let Some(utf16_chars) = self.utf16_lines.get(&line) { in utf16_to_utf8_col()
[all …]