Home
last modified time | relevance | path

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

12345

/external/llvm-project/parallel-libs/acxxel/tests/
Dspan_test.cpp21 TEST(Span, NullConstruction) { in TEST() argument
31 TEST(Span, PtrSizeConstruction) { in TEST() argument
47 TEST(Span, PtrSizeConstruction_NegativeCount) { in TEST() argument
52 TEST(Span, PtrSizeConstruction_NullptrNonzeroSize) { in TEST() argument
56 TEST(Span, FirstLastConstruction) { in TEST() argument
63 acxxel::Span<int> Span(Values, Values + 2); in TEST() local
68 TEST(Span, FirstLastConstruction_LastBeforeFirst) { in TEST() argument
73 TEST(Span, ArrayConstruction) { in TEST() argument
75 acxxel::Span<int> Span(Array); in TEST() local
80 TEST(Span, StdArrayConstruction) { in TEST() argument
[all …]
/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/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/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/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/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/llvm-project/parallel-libs/acxxel/
Dspan.h48 Span() : Data(nullptr), Size(0) {} in Span() function
52 Span(std::nullptr_t) : Data(nullptr), Size(0) {} in Span() function
55 Span(pointer Ptr, index_type Count) : Data(Ptr), Size(Count) { in Span() function
62 Span(pointer FirstElem, pointer LastElem) in Span() function
70 template <typename T, size_t N> Span(T (&Arr)[N]) : Data(Arr), Size(N) {} in Span() function
75 Span(const std::array<typename std::remove_const<element_type>::type, N> &Arr) in Span() function
119 Span(const Span<OtherElementType> &Other) in Span() function
126 Span(Span<OtherElementType> &&Other) : Data(Other.Data), Size(Other.Size) {} in Span() function
/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.h31 class Span; variable
111 constexpr Span() : Span(nullptr, 0) {} in Span() function
112 constexpr Span(T *ptr, size_t len) : data_(ptr), size_(len) {} in Span() function
115 constexpr Span(T (&array)[N]) : Span(array, N) {} in Span() function
120 Span(const C &container) : data_(container.data()), size_(container.size()) {} in Span() function
125 explicit Span(C &container) in Span() function
/external/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/skia/modules/skplaintexteditor/include/
Dstringview.h11 struct Span { struct
16 using StringView = Span<const char>; argument
/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/rust/crates/proc-macro2/src/
Dwrapper.rs251 pub(crate) fn span(&self) -> Span { in span()
401 pub(crate) enum Span { enum
406 impl Span { impl
433 pub fn resolved_at(&self, other: Span) -> Span { in resolved_at()
447 pub fn located_at(&self, other: Span) -> Span { in located_at()
461 pub fn unwrap(self) -> proc_macro::Span { in unwrap()
510 pub fn join(&self, other: Span) -> Option<Span> { in join()
529 fn unwrap_nightly(self) -> proc_macro::Span { in unwrap_nightly()
537 impl From<proc_macro::Span> for crate::Span { implementation
538 fn from(proc_span: proc_macro::Span) -> crate::Span { in from()
[all …]
Dlib.rs254 pub fn span(&self) -> Span { in span()
357 pub struct Span { struct
358 inner: imp::Span, argument
362 impl Span { implementation
363 fn _new(inner: imp::Span) -> Span { in _new()
370 fn _new_stable(inner: fallback::Span) -> Span { in _new_stable()
407 pub fn resolved_at(&self, other: Span) -> Span { in resolved_at()
413 pub fn located_at(&self, other: Span) -> Span { in located_at()
428 pub fn unwrap(self) -> proc_macro::Span { in unwrap()
435 pub fn unstable(self) -> proc_macro::Span { in unstable()
[all …]
Dfallback.rs43 pub(crate) fn span(&self) -> Span { in span()
372 fn add_file(&mut self, name: &str, src: &str) -> Span { in add_file()
405 pub(crate) struct Span { struct
412 impl Span { implementation
433 pub fn resolved_at(&self, _other: Span) -> Span { in resolved_at()
440 pub fn located_at(&self, other: Span) -> Span { in located_at()
474 pub fn join(&self, _other: Span) -> Option<Span> { in join()
479 pub fn join(&self, other: Span) -> Option<Span> { in join()
520 impl Debug for Span { implementation
530 pub(crate) fn debug_span_field_if_nontrivial(debug: &mut fmt::DebugStruct, span: Span) { in debug_span_field_if_nontrivial()
[all …]
/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/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/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/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/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.h188 constexpr Span() noexcept : Span(nullptr, 0) {} in Span() function
189 constexpr Span(pointer array, size_type length) noexcept in Span() function
194 constexpr Span(T (&a)[N]) noexcept // NOLINT(runtime/explicit) in Span() function
201 explicit Span(V& v) noexcept // NOLINT(runtime/references) in Span() function
207 constexpr Span(const V& v) noexcept // NOLINT(runtime/explicit) in Span() function
247 Span( in Span() function
/external/webrtc/third_party/abseil-cpp/absl/types/
Dspan.h188 constexpr Span() noexcept : Span(nullptr, 0) {} in Span() function
189 constexpr Span(pointer array, size_type length) noexcept in Span() function
194 constexpr Span(T (&a)[N]) noexcept // NOLINT(runtime/explicit) in Span() function
201 explicit Span(V& v) noexcept // NOLINT(runtime/references) in Span() function
207 constexpr Span(const V& v) noexcept // NOLINT(runtime/explicit) in Span() function
247 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