/external/llvm-project/parallel-libs/acxxel/tests/ |
D | span_test.cpp | 21 TEST(Span, NullConstruction) { in TEST() argument 22 acxxel::Span<int> Span0; in TEST() 26 acxxel::Span<int> Span1(nullptr); in TEST() 31 TEST(Span, PtrSizeConstruction) { in TEST() argument 33 acxxel::Span<int> Span0(nullptr, ZeroSize); in TEST() 38 acxxel::Span<int> Span1(Values, arraySize(Values)); in TEST() 42 acxxel::Span<int> Span2(Values, ZeroSize); in TEST() 47 TEST(Span, PtrSizeConstruction_NegativeCount) { in TEST() argument 49 EXPECT_DEATH(acxxel::Span<int> Span0(Values, -1), "terminate"); in TEST() 52 TEST(Span, PtrSizeConstruction_NullptrNonzeroSize) { in TEST() argument [all …]
|
/external/openscreen/third_party/abseil/src/absl/types/ |
D | span.h | 153 class Span { 187 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 194 : Span(a, N) {} in Span() 200 explicit Span(V& v) noexcept // NOLINT(runtime/references) in Span() function 201 : Span(span_internal::GetData(v), v.size()) {} in Span() 206 constexpr Span(const V& v) noexcept // NOLINT(runtime/explicit) in Span() function 207 : Span(span_internal::GetData(v), v.size()) {} in Span() 246 Span( in Span() function [all …]
|
D | span_test.cc | 62 absl::Span<int> s; in TEST() 68 absl::Span<int> s(&a[0], 2); in TEST() 74 absl::Span<int> s(a); in TEST() 77 EXPECT_TRUE((std::is_constructible<absl::Span<const int>, int[3]>::value)); in TEST() 79 (std::is_constructible<absl::Span<const int>, const int[3]>::value)); in TEST() 80 EXPECT_FALSE((std::is_constructible<absl::Span<int>, const int[3]>::value)); in TEST() 81 EXPECT_TRUE((std::is_convertible<int[3], absl::Span<const int>>::value)); in TEST() 83 (std::is_convertible<const int[3], absl::Span<const int>>::value)); in TEST() 87 void TakesGenericSpan(absl::Span<T>) {} in TakesGenericSpan() 91 absl::Span<int> s_empty(empty); in TEST() [all …]
|
/external/rust/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/types/ |
D | span.h | 153 class Span { 187 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 194 : Span(a, N) {} in Span() 200 explicit Span(V& v) noexcept // NOLINT(runtime/references) in Span() function 201 : Span(span_internal::GetData(v), v.size()) {} in Span() 206 constexpr Span(const V& v) noexcept // NOLINT(runtime/explicit) in Span() function 207 : Span(span_internal::GetData(v), v.size()) {} in Span() 246 Span( in Span() function [all …]
|
D | span_test.cc | 62 absl::Span<int> s; in TEST() 68 absl::Span<int> s(&a[0], 2); in TEST() 74 absl::Span<int> s(a); in TEST() 77 EXPECT_TRUE((std::is_constructible<absl::Span<const int>, int[3]>::value)); in TEST() 79 (std::is_constructible<absl::Span<const int>, const int[3]>::value)); in TEST() 80 EXPECT_FALSE((std::is_constructible<absl::Span<int>, const int[3]>::value)); in TEST() 81 EXPECT_TRUE((std::is_convertible<int[3], absl::Span<const int>>::value)); in TEST() 83 (std::is_convertible<const int[3], absl::Span<const int>>::value)); in TEST() 87 void TakesGenericSpan(absl::Span<T>) {} in TakesGenericSpan() 91 absl::Span<int> s_empty(empty); in TEST() [all …]
|
/external/libtextclassifier/abseil-cpp/absl/types/ |
D | span.h | 153 class Span { 187 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 194 : Span(a, N) {} in Span() 200 explicit Span(V& v) noexcept // NOLINT(runtime/references) in Span() function 201 : Span(span_internal::GetData(v), v.size()) {} in Span() 206 constexpr Span(const V& v) noexcept // NOLINT(runtime/explicit) in Span() function 207 : Span(span_internal::GetData(v), v.size()) {} in Span() 246 Span( in Span() function [all …]
|
D | span_test.cc | 62 absl::Span<int> s; in TEST() 68 absl::Span<int> s(&a[0], 2); in TEST() 74 absl::Span<int> s(a); in TEST() 77 EXPECT_TRUE((std::is_constructible<absl::Span<const int>, int[3]>::value)); in TEST() 79 (std::is_constructible<absl::Span<const int>, const int[3]>::value)); in TEST() 80 EXPECT_FALSE((std::is_constructible<absl::Span<int>, const int[3]>::value)); in TEST() 81 EXPECT_TRUE((std::is_convertible<int[3], absl::Span<const int>>::value)); in TEST() 83 (std::is_convertible<const int[3], absl::Span<const int>>::value)); in TEST() 87 void TakesGenericSpan(absl::Span<T>) {} in TakesGenericSpan() 91 absl::Span<int> s_empty(empty); in TEST() [all …]
|
/external/angle/third_party/abseil-cpp/absl/types/ |
D | span.h | 153 class Span { 187 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 194 : Span(a, N) {} in Span() 200 explicit Span(V& v) noexcept // NOLINT(runtime/references) in Span() function 201 : Span(span_internal::GetData(v), v.size()) {} in Span() 206 constexpr Span(const V& v) noexcept // NOLINT(runtime/explicit) in Span() function 207 : Span(span_internal::GetData(v), v.size()) {} in Span() 246 Span(std::initializer_list<value_type> v in Span() function [all …]
|
D | span_test.cc | 62 absl::Span<int> s; in TEST() 68 absl::Span<int> s(&a[0], 2); in TEST() 74 absl::Span<int> s(a); in TEST() 77 EXPECT_TRUE((std::is_constructible<absl::Span<const int>, int[3]>::value)); in TEST() 79 (std::is_constructible<absl::Span<const int>, const int[3]>::value)); in TEST() 80 EXPECT_FALSE((std::is_constructible<absl::Span<int>, const int[3]>::value)); in TEST() 81 EXPECT_TRUE((std::is_convertible<int[3], absl::Span<const int>>::value)); in TEST() 83 (std::is_convertible<const int[3], absl::Span<const int>>::value)); in TEST() 87 void TakesGenericSpan(absl::Span<T>) {} in TakesGenericSpan() 91 absl::Span<int> s_empty(empty); in TEST() [all …]
|
/external/abseil-cpp/absl/types/ |
D | span.h | 154 class Span { 188 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 195 : Span(a, N) {} in Span() 201 explicit Span(V& v) noexcept // NOLINT(runtime/references) in Span() function 202 : Span(span_internal::GetData(v), v.size()) {} in Span() 207 constexpr Span(const V& v) noexcept // NOLINT(runtime/explicit) in Span() function 208 : Span(span_internal::GetData(v), v.size()) {} in Span() 247 Span( in Span() function [all …]
|
D | span_test.cc | 61 absl::Span<int> s; in TEST() 67 absl::Span<int> s(&a[0], 2); in TEST() 73 absl::Span<int> s(a); in TEST() 76 EXPECT_TRUE((std::is_constructible<absl::Span<const int>, int[3]>::value)); in TEST() 78 (std::is_constructible<absl::Span<const int>, const int[3]>::value)); in TEST() 79 EXPECT_FALSE((std::is_constructible<absl::Span<int>, const int[3]>::value)); in TEST() 80 EXPECT_TRUE((std::is_convertible<int[3], absl::Span<const int>>::value)); in TEST() 82 (std::is_convertible<const int[3], absl::Span<const int>>::value)); in TEST() 86 void TakesGenericSpan(absl::Span<T>) {} in TakesGenericSpan() 90 absl::Span<int> s_empty(empty); in TEST() [all …]
|
/external/webrtc/third_party/abseil-cpp/absl/types/ |
D | span.h | 154 class Span { 188 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 195 : Span(a, N) {} in Span() 201 explicit Span(V& v) noexcept // NOLINT(runtime/references) in Span() function 202 : Span(span_internal::GetData(v), v.size()) {} in Span() 207 constexpr Span(const V& v) noexcept // NOLINT(runtime/explicit) in Span() function 208 : Span(span_internal::GetData(v), v.size()) {} in Span() 247 Span( in Span() function [all …]
|
D | span_test.cc | 61 absl::Span<int> s; in TEST() 67 absl::Span<int> s(&a[0], 2); in TEST() 73 absl::Span<int> s(a); in TEST() 76 EXPECT_TRUE((std::is_constructible<absl::Span<const int>, int[3]>::value)); in TEST() 78 (std::is_constructible<absl::Span<const int>, const int[3]>::value)); in TEST() 79 EXPECT_FALSE((std::is_constructible<absl::Span<int>, const int[3]>::value)); in TEST() 80 EXPECT_TRUE((std::is_convertible<int[3], absl::Span<const int>>::value)); in TEST() 82 (std::is_convertible<const int[3], absl::Span<const int>>::value)); in TEST() 86 void TakesGenericSpan(absl::Span<T>) {} in TakesGenericSpan() 90 absl::Span<int> s_empty(empty); in TEST() [all …]
|
/external/rust/crates/syn/src/ |
D | span.rs | 1 use proc_macro2::Span; 7 impl IntoSpans<[Span; 1]> for Span { implementation 8 fn into_spans(self) -> [Span; 1] { in into_spans() 13 impl IntoSpans<[Span; 2]> for Span { implementation 14 fn into_spans(self) -> [Span; 2] { in into_spans() 19 impl IntoSpans<[Span; 3]> for Span { implementation 20 fn into_spans(self) -> [Span; 3] { in into_spans() 25 impl IntoSpans<[Span; 1]> for [Span; 1] { implementation 26 fn into_spans(self) -> [Span; 1] { in into_spans() 31 impl IntoSpans<[Span; 2]> for [Span; 2] { implementation [all …]
|
/external/tensorflow/tensorflow/c/experimental/ops/ |
D | math_ops.h | 23 Status Mul(AbstractContext* ctx, absl::Span<AbstractTensorHandle* const> inputs, 24 absl::Span<AbstractTensorHandle*> outputs, const char* name); 27 absl::Span<AbstractTensorHandle* const> inputs, 28 absl::Span<AbstractTensorHandle*> outputs, const char* name); 30 Status Add(AbstractContext* ctx, absl::Span<AbstractTensorHandle* const> inputs, 31 absl::Span<AbstractTensorHandle*> outputs, const char* name); 34 absl::Span<AbstractTensorHandle* const> inputs, 35 absl::Span<AbstractTensorHandle*> outputs, const char* name, 38 Status Neg(AbstractContext* ctx, absl::Span<AbstractTensorHandle* const> inputs, 39 absl::Span<AbstractTensorHandle*> outputs, const char* name); [all …]
|
/external/angle/src/compiler/translator/ |
D | span_unittest.cpp | 18 using Span = sh::TSpan<const unsigned int>; typedef 31 ASSERT_TRUE(Span() == Span(kSpanData, 0)); in TEST() 32 ASSERT_TRUE(Span(kSpanData + 3, 4) != Span(kSpanDataDup + 5, 4)); in TEST() 35 ASSERT_EQ(Span(kSpanData, kSpanDataSize), Span(kSpanDataDup, kSpanDataSize)); in TEST() 36 ASSERT_NE(Span(kSpanData, kSpanDataSize - 1), Span(kSpanDataDup + 1, kSpanDataSize - 1)); in TEST() 37 ASSERT_NE(Span(kSpanData, kSpanDataSize), Span(kSpanDataDup, kSpanDataSize - 1)); in TEST() 38 ASSERT_NE(Span(kSpanData, kSpanDataSize - 1), Span(kSpanDataDup, kSpanDataSize)); in TEST() 39 ASSERT_NE(Span(kSpanData, 0), Span(kSpanDataDup, 1)); in TEST() 40 ASSERT_NE(Span(kSpanData, 1), Span(kSpanDataDup, 0)); in TEST() 46 constexpr Span sp(kSpanData, kSpanDataSize); in TEST() [all …]
|
/external/starlark-go/syntax/ |
D | syntax.go | 11 Span() (start, end Position) methodSpec 57 start, _ := n.Span() 63 _, end := n.Span() 76 func (x *File) Span() (start, end Position) { func 80 start, _ = x.Stmts[0].Span() 81 _, end = x.Stmts[len(x.Stmts)-1].Span() 113 func (x *AssignStmt) Span() (start, end Position) { func 114 start, _ = x.LHS.Span() 115 _, end = x.RHS.Span() 130 func (x *DefStmt) Span() (start, end Position) { func [all …]
|
/external/llvm-project/parallel-libs/acxxel/ |
D | span.h | 29 template <typename ElementType> class Span : public SpanBase { 48 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 85 Span(Container &Cont, 102 Span(Container &&Cont, 112 Span(const Span &) noexcept = default; [all …]
|
/external/rust/crates/proc-macro2/src/ |
D | wrapper.rs | 113 span: fallback::Span::call_site(), in proc_macro_parse() 251 pub(crate) fn span(&self) -> Span { in span() argument 253 LexError::Compiler(_) => Span::call_site(), in span() 254 LexError::Fallback(e) => Span::Fallback(e.span()), in span() 288 span: fallback::Span::call_site(), in fmt() 333 o.set_span(crate::Span::_new(Span::Compiler(tt.span()))); in next() 401 pub(crate) enum Span { enum 402 Compiler(proc_macro::Span), 403 Fallback(fallback::Span), 406 impl Span { implementation [all …]
|
/external/tensorflow/tensorflow/compiler/xla/client/ |
D | xla_builder.h | 56 absl::Span<const XlaOp> operands, 433 absl::Span<const XlaOp> operands) const; 453 XlaOp Broadcast(XlaOp operand, absl::Span<const int64> broadcast_sizes); 456 const absl::Span<const int64> out_dim_size, 457 const absl::Span<const int64> broadcast_dimensions); 468 XlaOp Reshape(XlaOp operand, absl::Span<const int64> dimensions, 469 absl::Span<const int64> new_sizes, 472 XlaOp Reshape(XlaOp operand, absl::Span<const int64> new_sizes, 478 XlaOp DynamicReshape(XlaOp operand, absl::Span<const XlaOp> dim_sizes, 479 absl::Span<const int64> new_size_bounds, [all …]
|
/external/opencensus-java/checker-framework/stubs/ |
D | org-springframework-cloud-sleuth.astub | 5 import org.springframework.cloud.sleuth.Span; 8 @Nullable Span close(@Nullable Span span); 9 @Nullable Span continueSpan(@Nullable Span span); 10 @Nullable Span createSpan(String name); 11 @Nullable Span createSpan(String name, @Nullable Sampler sampler); 12 @Nullable Span createSpan(String name, @Nullable Span parent); 13 @Nullable Span detach(@Nullable Span span); 14 @Nullable Span getCurrentSpan(); 17 class Span { 18 Span (Span span, @Nullable Span parent);
|
/external/tensorflow/tensorflow/compiler/xla/service/ |
D | shape_inference.h | 58 absl::Span<const int64> broadcast_dimensions); 76 HloOpcode opcode, absl::Span<const Shape* const> operand_shapes); 78 HloOpcode opcode, absl::Span<const HloInstruction* const> operands); 83 absl::Span<const Shape* const> arg_shapes, const ProgramShape& to_apply, 84 absl::Span<const int64> dimensions); 119 absl::Span<const int64> fft_length); 137 absl::Span<const Shape* const> operand_shapes); 148 absl::Span<const Shape* const> operand_shapes); 160 absl::Span<const Shape* const> arg_shapes, 161 absl::Span<const int64> dimensions_to_reduce, [all …]
|
/external/opencensus-java/contrib/spring_sleuth_v1x/src/test/java/io/opencensus/contrib/spring/sleuth/v1x/ |
D | OpenCensusSleuthTracerTest.java | 29 import org.springframework.cloud.sleuth.Span; 55 Span root = tracer.createSpan("root"); in testRootSpanAndClose() 58 Span parent = tracer.close(root); in testRootSpanAndClose() 64 Span[] spans = createSpansAndAssertCurrent(3); in testSpanStackAndClose() 68 Span parent = tracer.close(spans[i]); in testSpanStackAndClose() 75 Span[] spans = createSpansAndAssertCurrent(3); in testSpanStackAndCloseOutOfOrder() 87 Span parent = tracer.detach(null); in testDetachNull() 93 Span root = tracer.createSpan("root"); in testRootSpanAndDetach() 96 Span parent = tracer.detach(root); in testRootSpanAndDetach() 102 Span[] spans = createSpansAndAssertCurrent(3); in testSpanStackAndDetach() [all …]
|
/external/tensorflow/tensorflow/c/eager/ |
D | mnist_gradients_testutil.h | 40 absl::Span<AbstractTensorHandle* const> inputs, 41 absl::Span<AbstractTensorHandle*> outputs, 48 absl::Span<AbstractTensorHandle* const> inputs, 49 absl::Span<AbstractTensorHandle*> outputs, 54 absl::Span<AbstractTensorHandle* const> inputs, 55 absl::Span<AbstractTensorHandle*> outputs, 60 absl::Span<AbstractTensorHandle* const> inputs, 61 absl::Span<AbstractTensorHandle*> outputs, 66 absl::Span<AbstractTensorHandle* const> inputs, 67 absl::Span<AbstractTensorHandle*> outputs, [all …]
|
/external/opencensus-java/contrib/spring_sleuth_v1x/src/main/java/io/opencensus/contrib/spring/sleuth/v1x/ |
D | OpenCensusSleuthTracer.java | 25 import org.springframework.cloud.sleuth.Span; 95 public Span createSpan(String name, /*@Nullable*/ Span parent) { in createSpan() 104 public Span createSpan(String name) { in createSpan() 110 public Span createSpan(String name, /*@Nullable*/ Sampler sampler) { in createSpan() 112 Span span; in createSpan() 118 Span.builder() in createSpan() 135 public Span detach(/*@Nullable*/ Span span) { in detach() 139 Span current = OpenCensusSleuthSpanContextHolder.getCurrentSpan(); in detach() 163 public Span close(/*@Nullable*/ Span span) { in close() 167 final Span savedSpan = span.getSavedSpan(); in close() [all …]
|