Home
last modified time | relevance | path

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

/dports/devel/racer/racer-2.1.48/cargo-crates/rustc-ap-rustc_span-722.0.0/src/
H A Danalyze_source_file.rs15 ) -> (Vec<BytePos>, Vec<MultiByteChar>, Vec<NonNarrowChar>) { in analyze_source_file() argument
49 non_narrow_chars: &mut Vec<NonNarrowChar>) {
78 non_narrow_chars: &mut Vec<NonNarrowChar>) {
193 non_narrow_chars: &mut Vec<NonNarrowChar>) {
213 non_narrow_chars: &mut Vec<NonNarrowChar>, in analyze_source_file_generic() argument
240 non_narrow_chars.push(NonNarrowChar::Tab(pos)); in analyze_source_file_generic()
243 non_narrow_chars.push(NonNarrowChar::ZeroWidth(pos)); in analyze_source_file_generic()
266 non_narrow_chars.push(NonNarrowChar::new(pos, char_width)); in analyze_source_file_generic()
H A Dlib.rs1027 pub enum NonNarrowChar { enum
1036 impl NonNarrowChar { impl
1049 NonNarrowChar::ZeroWidth(p) | NonNarrowChar::Wide(p) | NonNarrowChar::Tab(p) => p, in pos()
1063 impl Add<BytePos> for NonNarrowChar { implementation
1068 NonNarrowChar::ZeroWidth(pos) => NonNarrowChar::ZeroWidth(pos + rhs), in add()
1069 NonNarrowChar::Wide(pos) => NonNarrowChar::Wide(pos + rhs), in add()
1070 NonNarrowChar::Tab(pos) => NonNarrowChar::Tab(pos + rhs), in add()
1075 impl Sub<BytePos> for NonNarrowChar { implementation
1080 NonNarrowChar::ZeroWidth(pos) => NonNarrowChar::ZeroWidth(pos - rhs), in sub()
1081 NonNarrowChar::Wide(pos) => NonNarrowChar::Wide(pos - rhs), in sub()
[all …]
H A Dsource_map.rs315 mut file_local_non_narrow_chars: Vec<NonNarrowChar>, in new_imported_source_file() argument
/dports/devel/racer/racer-2.1.48/cargo-crates/rustc-ap-rustc_span-718.0.0/src/
H A Danalyze_source_file.rs15 ) -> (Vec<BytePos>, Vec<MultiByteChar>, Vec<NonNarrowChar>) { in analyze_source_file() argument
49 non_narrow_chars: &mut Vec<NonNarrowChar>) {
78 non_narrow_chars: &mut Vec<NonNarrowChar>) {
193 non_narrow_chars: &mut Vec<NonNarrowChar>) {
213 non_narrow_chars: &mut Vec<NonNarrowChar>, in analyze_source_file_generic() argument
240 non_narrow_chars.push(NonNarrowChar::Tab(pos)); in analyze_source_file_generic()
243 non_narrow_chars.push(NonNarrowChar::ZeroWidth(pos)); in analyze_source_file_generic()
266 non_narrow_chars.push(NonNarrowChar::new(pos, char_width)); in analyze_source_file_generic()
H A Dlib.rs944 pub enum NonNarrowChar { enum
953 impl NonNarrowChar { impl
966 NonNarrowChar::ZeroWidth(p) | NonNarrowChar::Wide(p) | NonNarrowChar::Tab(p) => p, in pos()
980 impl Add<BytePos> for NonNarrowChar { implementation
985 NonNarrowChar::ZeroWidth(pos) => NonNarrowChar::ZeroWidth(pos + rhs), in add()
986 NonNarrowChar::Wide(pos) => NonNarrowChar::Wide(pos + rhs), in add()
987 NonNarrowChar::Tab(pos) => NonNarrowChar::Tab(pos + rhs), in add()
992 impl Sub<BytePos> for NonNarrowChar { implementation
997 NonNarrowChar::ZeroWidth(pos) => NonNarrowChar::ZeroWidth(pos - rhs), in sub()
998 NonNarrowChar::Wide(pos) => NonNarrowChar::Wide(pos - rhs), in sub()
[all …]
H A Dsource_map.rs355 mut file_local_non_narrow_chars: Vec<NonNarrowChar>, in new_imported_source_file() argument
/dports/lang/rust/rustc-1.58.1-src/compiler/rustc_span/src/
H A Danalyze_source_file.rs15 ) -> (Vec<BytePos>, Vec<MultiByteChar>, Vec<NonNarrowChar>) { in analyze_source_file() argument
49 non_narrow_chars: &mut Vec<NonNarrowChar>) {
78 non_narrow_chars: &mut Vec<NonNarrowChar>) {
193 non_narrow_chars: &mut Vec<NonNarrowChar>) {
213 non_narrow_chars: &mut Vec<NonNarrowChar>, in analyze_source_file_generic() argument
240 non_narrow_chars.push(NonNarrowChar::Tab(pos)); in analyze_source_file_generic()
243 non_narrow_chars.push(NonNarrowChar::ZeroWidth(pos)); in analyze_source_file_generic()
266 non_narrow_chars.push(NonNarrowChar::new(pos, char_width)); in analyze_source_file_generic()
H A Dlib.rs1128 pub enum NonNarrowChar { enum
1137 impl NonNarrowChar { implementation
1150 NonNarrowChar::ZeroWidth(p) | NonNarrowChar::Wide(p) | NonNarrowChar::Tab(p) => p, in pos()
1164 impl Add<BytePos> for NonNarrowChar { implementation
1169 NonNarrowChar::ZeroWidth(pos) => NonNarrowChar::ZeroWidth(pos + rhs), in add()
1170 NonNarrowChar::Wide(pos) => NonNarrowChar::Wide(pos + rhs), in add()
1171 NonNarrowChar::Tab(pos) => NonNarrowChar::Tab(pos + rhs), in add()
1176 impl Sub<BytePos> for NonNarrowChar { implementation
1181 NonNarrowChar::ZeroWidth(pos) => NonNarrowChar::ZeroWidth(pos - rhs), in sub()
1182 NonNarrowChar::Wide(pos) => NonNarrowChar::Wide(pos - rhs), in sub()
[all …]
H A Dsource_map.rs336 mut file_local_non_narrow_chars: Vec<NonNarrowChar>, in new_imported_source_file() argument
/dports/lang/rust/rustc-1.58.1-src/vendor/rustc-ap-rustc_span/src/
H A Danalyze_source_file.rs15 ) -> (Vec<BytePos>, Vec<MultiByteChar>, Vec<NonNarrowChar>) { in analyze_source_file() argument
49 non_narrow_chars: &mut Vec<NonNarrowChar>) {
78 non_narrow_chars: &mut Vec<NonNarrowChar>) {
193 non_narrow_chars: &mut Vec<NonNarrowChar>) {
213 non_narrow_chars: &mut Vec<NonNarrowChar>, in analyze_source_file_generic() argument
240 non_narrow_chars.push(NonNarrowChar::Tab(pos)); in analyze_source_file_generic()
243 non_narrow_chars.push(NonNarrowChar::ZeroWidth(pos)); in analyze_source_file_generic()
266 non_narrow_chars.push(NonNarrowChar::new(pos, char_width)); in analyze_source_file_generic()
H A Dlib.rs1027 pub enum NonNarrowChar { enum
1036 impl NonNarrowChar { implementation
1049 NonNarrowChar::ZeroWidth(p) | NonNarrowChar::Wide(p) | NonNarrowChar::Tab(p) => p, in pos()
1063 impl Add<BytePos> for NonNarrowChar { implementation
1068 NonNarrowChar::ZeroWidth(pos) => NonNarrowChar::ZeroWidth(pos + rhs), in add()
1069 NonNarrowChar::Wide(pos) => NonNarrowChar::Wide(pos + rhs), in add()
1070 NonNarrowChar::Tab(pos) => NonNarrowChar::Tab(pos + rhs), in add()
1075 impl Sub<BytePos> for NonNarrowChar { implementation
1080 NonNarrowChar::ZeroWidth(pos) => NonNarrowChar::ZeroWidth(pos - rhs), in sub()
1081 NonNarrowChar::Wide(pos) => NonNarrowChar::Wide(pos - rhs), in sub()
[all …]
H A Dsource_map.rs315 mut file_local_non_narrow_chars: Vec<NonNarrowChar>, in new_imported_source_file() argument
/dports/devel/racer/racer-2.1.48/cargo-crates/rustc-ap-rustc_span-722.0.0/src/analyze_source_file/
H A Dtests.rs26 let expected_nncs: Vec<NonNarrowChar> = $non_narrow_chars
28 .map(|(pos, width)| NonNarrowChar::new(BytePos(pos), width))
/dports/devel/racer/racer-2.1.48/cargo-crates/rustc-ap-rustc_span-718.0.0/src/analyze_source_file/
H A Dtests.rs26 let expected_nncs: Vec<NonNarrowChar> = $non_narrow_chars
28 .map(|(pos, width)| NonNarrowChar::new(BytePos(pos), width))
/dports/lang/rust/rustc-1.58.1-src/compiler/rustc_span/src/analyze_source_file/
H A Dtests.rs26 let expected_nncs: Vec<NonNarrowChar> = $non_narrow_chars
28 .map(|(pos, width)| NonNarrowChar::new(BytePos(pos), width))
/dports/lang/rust/rustc-1.58.1-src/vendor/rustc-ap-rustc_span/src/analyze_source_file/
H A Dtests.rs26 let expected_nncs: Vec<NonNarrowChar> = $non_narrow_chars
28 .map(|(pos, width)| NonNarrowChar::new(BytePos(pos), width))
/dports/lang/rust/rustc-1.58.1-src/compiler/rustc_query_system/src/ich/
H A Dimpls_syntax.rs119 swc: rustc_span::NonNarrowChar, in stable_non_narrow_char() argument