Home
last modified time | relevance | path

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

12345

/external/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) {
/external/angle/third_party/vulkan-deps/spirv-tools/src/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 …]
/external/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 …]
/external/deqp-deps/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 …]
/external/rust/crates/syn/src/
Dspan.rs7 impl IntoSpans<[Span; 1]> for Span { implementation
13 impl IntoSpans<[Span; 2]> for Span { implementation
19 impl IntoSpans<[Span; 3]> for Span { implementation
25 impl IntoSpans<[Span; 1]> for [Span; 1] { implementation
31 impl IntoSpans<[Span; 2]> for [Span; 2] { implementation
37 impl IntoSpans<[Span; 3]> for [Span; 3] { implementation
49 impl FromSpans for [Span; 1] { implementation
56 impl FromSpans for [Span; 2] { implementation
63 impl FromSpans for [Span; 3] { implementation
Dgen_helper.rs45 impl Spans for Span { implementation
51 impl Spans for [Span; 1] { implementation
57 impl Spans for [Span; 2] { implementation
63 impl Spans for [Span; 3] { implementation
87 impl Spans for Span { implementation
93 impl Spans for [Span; 1] { implementation
99 impl Spans for [Span; 2] { implementation
106 impl Spans for [Span; 3] { implementation
128 impl Spans for Span { implementation
134 impl Spans for [Span; 1] { implementation
[all …]
/external/rust/crates/pest/src/
Dspan.rs22 pub struct Span<'i> { struct
34 impl<'i> Span<'i> { argument
40 pub(crate) unsafe fn new_unchecked(input: &str, start: usize, end: usize) -> Span { in new_unchecked()
57 pub fn new(input: &str, start: usize, end: usize) -> Option<Span> { in new()
210 impl<'i> fmt::Debug for Span<'i> { implementation
220 impl<'i> PartialEq for Span<'i> { implementation
226 impl<'i> Eq for Span<'i> {} implementation
228 impl<'i> Hash for Span<'i> { implementation
/external/rust/crates/quote/src/
Dspanned.rs5 fn __span(&self) -> Span; in __span()
8 impl Spanned for Span { implementation
9 fn __span(&self) -> Span { in __span()
15 fn __span(&self) -> Span { in __span()
20 fn join_spans(tokens: TokenStream) -> Span { in join_spans()
Dident_fragment.rs18 fn span(&self) -> Option<Span> { in span()
24 fn span(&self) -> Option<Span> { in span()
34 fn span(&self) -> Option<Span> { in span()
44 fn span(&self) -> Option<Span> { in span()
62 fn span(&self) -> Option<Span> { in span()
/external/rust/crates/quiche/deps/boringssl/src/include/openssl/
Dspan.h32 class Span; variable
112 constexpr Span() : Span(nullptr, 0) {} in Span() function
113 constexpr Span(T *ptr, size_t len) : data_(ptr), size_(len) {} in Span() function
116 constexpr Span(T (&array)[N]) : Span(array, N) {} in Span() function
121 Span(const C &container) : data_(container.data()), size_(container.size()) {} in Span() function
126 explicit Span(C &container) in Span() function
/external/boringssl/src/include/openssl/
Dspan.h32 class Span; variable
109 constexpr Span() : Span(nullptr, 0) {} in Span() function
110 constexpr Span(T *ptr, size_t len) : data_(ptr), size_(len) {} in Span() function
113 constexpr Span(T (&array)[N]) : Span(array, N) {} in Span() function
117 Span(const C &container) : data_(container.data()), size_(container.size()) {} in Span() function
121 explicit Span(C &container) in Span() function
/external/starlark-go/syntax/
Dsyntax.go11 Span() (start, end Position) methodSpec
76 func (x *File) Span() (start, end Position) { func
113 func (x *AssignStmt) Span() (start, end Position) { func
130 func (x *DefStmt) Span() (start, end Position) { func
141 func (x *ExprStmt) Span() (start, end Position) { func
156 func (x *IfStmt) Span() (start, end Position) { func
182 func (x *LoadStmt) Span() (start, end Position) { func
196 func (x *BranchStmt) Span() (start, end Position) { func
207 func (x *ReturnStmt) Span() (start, end Position) { func
247 func (x *Ident) Span() (start, end Position) { func
[all …]
/external/skia/modules/skplaintexteditor/include/
Dstringview.h11 struct Span { struct
16 using StringView = Span<const char>; argument
/external/rust/crates/proc-macro2/src/
Dwrapper.rs255 pub(crate) fn span(&self) -> Span { in span()
405 pub(crate) enum Span { enum
410 impl Span { impl
437 pub fn resolved_at(&self, other: Span) -> Span { in resolved_at()
451 pub fn located_at(&self, other: Span) -> Span { in located_at()
465 pub fn unwrap(self) -> proc_macro::Span { in unwrap()
514 pub fn join(&self, other: Span) -> Option<Span> { in join()
533 fn unwrap_nightly(self) -> proc_macro::Span { in unwrap_nightly()
541 impl From<proc_macro::Span> for crate::Span { implementation
542 fn from(proc_span: proc_macro::Span) -> crate::Span { in from()
[all …]
Dfallback.rs43 pub(crate) fn span(&self) -> Span { in span()
384 fn add_file(&mut self, name: &str, src: &str) -> Span { in add_file()
417 pub(crate) struct Span { struct
424 impl Span { argument
445 pub fn resolved_at(&self, _other: Span) -> Span { in resolved_at()
452 pub fn located_at(&self, other: Span) -> Span { in located_at()
486 pub fn join(&self, _other: Span) -> Option<Span> { in join()
491 pub fn join(&self, other: Span) -> Option<Span> { in join()
532 impl Debug for Span { implementation
542 pub(crate) fn debug_span_field_if_nontrivial(debug: &mut fmt::DebugStruct, span: Span) { in debug_span_field_if_nontrivial()
[all …]
Dlib.rs285 pub fn span(&self) -> Span { in span()
388 pub struct Span { struct
389 inner: imp::Span, argument
393 impl Span { impl
438 pub fn resolved_at(&self, other: Span) -> Span { in resolved_at()
444 pub fn located_at(&self, other: Span) -> Span { in located_at()
459 pub fn unwrap(self) -> proc_macro::Span { in unwrap()
466 pub fn unstable(self) -> proc_macro::Span { in unstable()
520 pub fn join(&self, other: Span) -> Option<Span> { in join()
535 impl Debug for Span { implementation
[all …]
/external/rust/crates/combine/src/stream/
Dspan.rs10 pub struct Span<P> { struct
15 impl<P> From<P> for Span<P> argument
28 impl<P> Span<P> { impl
/external/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
/external/angle/third_party/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
/external/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
/external/libtextclassifier/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( in Span() function
/external/openscreen/third_party/abseil/src/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( in Span() function
/external/webrtc/third_party/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
/external/rust/crates/grpcio-sys/grpc/third_party/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( in Span() function
/external/rust/crates/paste/src/
Derror.rs13 pub fn new(span: Span, msg: &str) -> Self { in new()
17 pub fn new2(begin: Span, end: Span, msg: &str) -> Self { in new2()

12345