Home
last modified time | relevance | path

Searched defs:Span (Results 1 – 25 of 77) sorted by relevance

1234

/third_party/skia/third_party/externals/swiftshader/tests/regres/cov/
Dspan.go53 type Span struct { struct
54 Start, End Location
57 func (s Span) String() string {
62 func (s Span) Compare(o Span) int {
77 func (s Span) Before(o Span) bool { return s.Compare(o) == -1 }
80 … (s Span) Inside(o Span) bool { return s.Start.Compare(o.Start) >= 0 && s.End.Compare(o.End) <= 0 }
86 func (l *SpanList) Add(s Span) {
117 func (l *SpanList) Remove(s Span) {
Dcoverage_test.go301 func checkSpans(t *testing.T, got []cov.Span, expect ...cov.Span) {
333 func coverage(file string, spans ...cov.Span) *cov.Coverage {
/third_party/rust/crates/codespan/codespan/src/
Dspan.rs10 pub struct Span { struct
15 impl Span { implementation
17 pub fn new(start: impl Into<ByteIndex>, end: impl Into<ByteIndex>) -> Span { in new()
43 pub fn from_str(s: &str) -> Span { in from_str()
62 pub fn merge(self, other: Span) -> Span { in merge()
114 impl Default for Span { implementation
120 impl fmt::Display for Span { implementation
131 impl<I> From<Range<I>> for Span implementation
135 fn from(range: Range<I>) -> Span { in from()
/third_party/rust/crates/syn/src/
Dspan.rs9 impl IntoSpans<Span> for Span { implementation
10 fn into_spans(self) -> Span { in into_spans()
15 impl IntoSpans<[Span; 1]> for Span { implementation
21 impl IntoSpans<[Span; 2]> for Span { implementation
27 impl IntoSpans<[Span; 3]> for Span { implementation
33 impl IntoSpans<[Span; 1]> for [Span; 1] { implementation
39 impl IntoSpans<[Span; 2]> for [Span; 2] { implementation
45 impl IntoSpans<[Span; 3]> for [Span; 3] { implementation
51 impl IntoSpans<DelimSpan> for Span { implementation
Derror.rs158 pub fn new<T: Display>(span: Span, message: T) -> Self { in new()
161 fn new(span: Span, message: String) -> Error { in new()
210 pub fn span(&self) -> Span { in span()
327 pub(crate) fn new_at<T: Display>(scope: Span, cursor: Cursor, message: T) -> Error { in new_at()
337 pub(crate) fn new2<T: Display>(start: Span, end: Span, message: T) -> Error { in new2()
340 fn new2(start: Span, end: Span, message: String) -> Error { in new2()
Dspanned.rs101 fn span(&self) -> Span; in span()
105 fn span(&self) -> Span { in span()
Dlit.rs244 pub fn span(&self) -> Span { in span()
248 pub fn set_span(&mut self, span: Span) { in set_span()
279 pub fn span(&self) -> Span { in span()
283 pub fn set_span(&mut self, span: Span) { in set_span()
314 pub fn span(&self) -> Span { in span()
318 pub fn set_span(&mut self, span: Span) { in set_span()
349 pub fn span(&self) -> Span { in span()
353 pub fn set_span(&mut self, span: Span) { in set_span()
424 pub fn span(&self) -> Span { in span()
428 pub fn set_span(&mut self, span: Span) { in set_span()
[all …]
/third_party/skia/third_party/externals/spirv-tools/utils/vscode/src/lsp/span/
Dspan.go26 type Span struct { struct
27 v span
75 func Compare(a, b Span) int {
114 func (s Span) HasPosition() bool { return s.v.Start.hasPosition() }
115 func (s Span) HasOffset() bool { return s.v.Start.hasOffset() }
116 func (s Span) IsValid() bool { return s.v.Start.isValid() }
117 func (s Span) IsPoint() bool { return s.v.Start == s.v.End }
118 func (s Span) URI() URI { return s.v.URI }
119 func (s Span) Start() Point { return Point{s.v.Start} }
120 func (s Span) End() Point { return Point{s.v.End} }
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/utils/vscode/src/lsp/span/
Dspan.go26 type Span struct { struct
27 v span
75 func Compare(a, b Span) int {
114 func (s Span) HasPosition() bool { return s.v.Start.hasPosition() }
115 func (s Span) HasOffset() bool { return s.v.Start.hasOffset() }
116 func (s Span) IsValid() bool { return s.v.Start.isValid() }
117 func (s Span) IsPoint() bool { return s.v.Start == s.v.End }
118 func (s Span) URI() URI { return s.v.URI }
119 func (s Span) Start() Point { return Point{s.v.Start} }
120 func (s Span) End() Point { return Point{s.v.End} }
[all …]
/third_party/spirv-tools/utils/vscode/src/lsp/span/
Dspan.go26 type Span struct { struct
27 v span
75 func Compare(a, b Span) int {
114 func (s Span) HasPosition() bool { return s.v.Start.hasPosition() }
115 func (s Span) HasOffset() bool { return s.v.Start.hasOffset() }
116 func (s Span) IsValid() bool { return s.v.Start.isValid() }
117 func (s Span) IsPoint() bool { return s.v.Start == s.v.End }
118 func (s Span) URI() URI { return s.v.URI }
119 func (s Span) Start() Point { return Point{s.v.Start} }
120 func (s Span) End() Point { return Point{s.v.End} }
[all …]
/third_party/rust/crates/quote/src/
Dspanned.rs7 fn __span(&self) -> Span; in __span()
10 impl Spanned for Span { implementation
11 fn __span(&self) -> Span { in __span()
17 fn __span(&self) -> Span { in __span()
23 fn __span(&self) -> Span { in __span()
28 fn join_spans(tokens: TokenStream) -> Span { in join_spans()
47 impl Sealed for Span {} implementation
Dident_fragment.rs20 fn span(&self) -> Option<Span> { in span()
26 fn span(&self) -> Option<Span> { in span()
36 fn span(&self) -> Option<Span> { in span()
46 fn span(&self) -> Option<Span> { in span()
64 fn span(&self) -> Option<Span> { in span()
Druntime.rs16 pub type Span = proc_macro2::Span; typedef
203 pub fn __into_span(self) -> Span { in __into_span()
210 pub fn __into_span(&self) -> Span { in __into_span()
249 span: Span, in push_group_spanned()
265 pub fn parse_spanned(tokens: &mut TokenStream, span: Span, s: &str) { in parse_spanned()
294 pub fn push_ident_spanned(tokens: &mut TokenStream, span: Span, s: &str) { in push_ident_spanned()
330 pub fn push_lifetime_spanned(tokens: &mut TokenStream, span: Span, lifetime: &str) { in push_lifetime_spanned()
466 pub fn push_underscore_spanned(tokens: &mut TokenStream, span: Span) { in push_underscore_spanned()
497 pub fn span(&self) -> Option<Span> { in span()
/third_party/skia/modules/skplaintexteditor/include/
Dstringview.h11 struct Span { struct
16 using StringView = Span<const char>; argument
/third_party/rust/crates/proc-macro2/build/
Dprobe.rs12 pub fn join(this: &Span, other: Span) -> Option<Span> { in join()
16 pub fn subspan<R: RangeBounds<usize>>(this: &Literal, range: R) -> Option<Span> { in subspan()
/third_party/icu/tools/cldr/cldr-to-icu/src/main/java/org/unicode/icu/tool/cldrtoicu/localedistance/
DTrie.java50 final class Span { class in Trie
55 private Span() { in Span() method in Trie.Span
60 private Span(int index, String prefix) { in Span() method in Trie.Span
/third_party/rust/crates/proc-macro2/src/
Dwrapper.rs261 pub(crate) fn span(&self) -> Span { in span()
399 pub(crate) enum Span { enum
404 impl Span { impl
430 pub fn resolved_at(&self, other: Span) -> Span { in resolved_at()
439 pub fn located_at(&self, other: Span) -> Span { in located_at()
448 pub fn unwrap(self) -> proc_macro::Span { in unwrap()
479 pub fn join(&self, other: Span) -> Option<Span> { in join()
508 fn unwrap_nightly(self) -> proc_macro::Span { in unwrap_nightly()
516 impl From<proc_macro::Span> for crate::Span { implementation
522 impl From<fallback::Span> for Span { implementation
[all …]
Dlib.rs315 pub fn span(&self) -> Span { in span()
387 pub struct Span { struct
388 inner: imp::Span, argument
392 impl Span { argument
434 pub fn resolved_at(&self, other: Span) -> Span { in resolved_at()
440 pub fn located_at(&self, other: Span) -> Span { in located_at()
455 pub fn unwrap(self) -> proc_macro::Span { in unwrap()
462 pub fn unstable(self) -> proc_macro::Span { in unstable()
514 pub fn join(&self, other: Span) -> Option<Span> { in join()
540 impl Debug for Span { implementation
[all …]
Dextra.rs53 pub fn join(&self) -> Span { in join()
62 pub fn open(&self) -> Span { in open()
71 pub fn close(&self) -> Span { in close()
Dfallback.rs44 pub(crate) fn span(&self) -> Span { in span()
438 fn add_file(&mut self, src: &str) -> Span { in add_file()
491 pub(crate) struct Span { struct
498 impl Span { implementation
518 pub fn resolved_at(&self, _other: Span) -> Span { in resolved_at()
525 pub fn located_at(&self, other: Span) -> Span { in located_at()
571 pub fn join(&self, _other: Span) -> Option<Span> { in join()
576 pub fn join(&self, other: Span) -> Option<Span> { in join()
649 impl Debug for Span { implementation
659 pub(crate) fn debug_span_field_if_nontrivial(debug: &mut fmt::DebugStruct, span: Span) { in debug_span_field_if_nontrivial()
[all …]
/third_party/skia/third_party/externals/abseil-cpp/absl/types/
Dspan.h187 constexpr Span() noexcept : Span(nullptr, 0) {} in Span() function
188 constexpr Span(pointer array, size_type length) noexcept in Span() function
193 constexpr Span(T (&a)[N]) noexcept // NOLINT(runtime/explicit) in Span() function
200 explicit Span(V& v) noexcept // NOLINT(runtime/references) in Span() function
206 constexpr Span(const V& v) noexcept // NOLINT(runtime/explicit) in Span() function
246 Span(std::initializer_list<value_type> v in Span() function
/third_party/rust/crates/regex/regex-syntax/src/ast/
Dmod.rs47 pub fn span(&self) -> &Span { in span()
56 pub fn auxiliary_span(&self) -> Option<&Span> { in auxiliary_span()
323 pub struct Span { struct
330 impl fmt::Debug for Span { implementation
336 impl Ord for Span { implementation
342 impl PartialOrd for Span { implementation
385 impl Span { impl
387 pub fn new(start: Position, end: Position) -> Span { in new()
392 pub fn splat(pos: Position) -> Span { in splat()
398 pub fn with_start(self, pos: Position) -> Span { in with_start()
[all …]
/third_party/skia/third_party/externals/swiftshader/src/Renderer/
DPrimitive.hpp66 struct Span struct
68 unsigned short left;
69 unsigned short right;
/third_party/skia/third_party/externals/swiftshader/src/Device/
DPrimitive.hpp61 struct Span struct
63 unsigned short left;
64 unsigned short right;
/third_party/rust/crates/proc-macro-error/src/
Ddiagnostic.rs105 pub fn spanned(span: Span, level: Level, message: String) -> Self { in spanned()
118 pub fn span_error(self, span: Span, msg: String) -> Self { in span_error()
133 pub fn span_help(self, span: Span, msg: String) -> Self { in span_help()
154 pub fn span_note(self, span: Span, msg: String) -> Self { in span_note()
199 pub fn span_suggestion(self, span: Span, suggestion: &str, msg: String) -> Self { in span_suggestion()

1234