Home
last modified time | relevance | path

Searched refs:Span (Results 1 – 25 of 703) sorted by relevance

12345678910>>...29

/external/rust/crates/syn/0.15.42/src/
Dspan.rs1 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 …]
Dgen_helper.rs4 use proc_macro2::Span;
45 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
76 use proc_macro2::Span;
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
[all …]
/external/rust/crates/syn/1.0.7/src/
Dspan.rs1 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 …]
Dgen_helper.rs5 use proc_macro2::Span;
45 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
77 use proc_macro2::Span;
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
[all …]
/external/angle/src/compiler/translator/
Dspan_unittest.cpp18 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/rust/crates/proc-macro2/src/
Dwrapper.rs67 let works = panic::catch_unwind(|| proc_macro::Span::call_site()).is_ok(); in nightly_works()
325 o.set_span(crate::Span::_new(Span::Compiler(tt.span()))); in next()
393 pub enum Span { enum
394 Compiler(proc_macro::Span),
395 Fallback(fallback::Span),
398 impl Span { implementation
399 pub fn call_site() -> Span { in call_site()
401 Span::Compiler(proc_macro::Span::call_site()) in call_site()
403 Span::Fallback(fallback::Span::call_site()) in call_site()
408 pub fn def_site() -> Span { in def_site()
[all …]
Dlib.rs316 pub struct Span { struct
317 inner: imp::Span, argument
321 impl Span { impl
322 fn _new(inner: imp::Span) -> Span { in _new() argument
323 Span { in _new()
329 fn _new_stable(inner: fallback::Span) -> Span { in _new_stable() argument
330 Span { in _new_stable()
341 pub fn call_site() -> Span { in call_site()
342 Span::_new(imp::Span::call_site()) in call_site()
349 pub fn def_site() -> Span { in def_site()
[all …]
/external/tensorflow/tensorflow/compiler/xla/client/
Dxla_builder.h378 XlaOp Broadcast(XlaOp operand, absl::Span<const int64> broadcast_sizes);
381 const absl::Span<const int64> out_dim_size,
382 const absl::Span<const int64> broadcast_dimensions);
387 XlaOp Reshape(XlaOp operand, absl::Span<const int64> dimensions,
388 absl::Span<const int64> new_sizes,
391 XlaOp Reshape(XlaOp operand, absl::Span<const int64> new_sizes,
394 XlaOp Collapse(XlaOp operand, absl::Span<const int64> dimensions);
396 XlaOp Slice(XlaOp operand, absl::Span<const int64> start_indices,
397 absl::Span<const int64> limit_indices,
398 absl::Span<const int64> strides);
[all …]
/external/opencensus-java/checker-framework/stubs/
Dorg-springframework-cloud-sleuth.astub5 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/opencensus-java/contrib/spring_sleuth_v1x/src/test/java/io/opencensus/contrib/spring/sleuth/v1x/
DOpenCensusSleuthTracerTest.java29 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/compiler/xla/service/
Dshape_inference.h58 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);
117 absl::Span<const int64> fft_length);
129 absl::Span<const Shape* const> operand_shapes);
140 absl::Span<const Shape* const> operand_shapes);
152 absl::Span<const Shape* const> arg_shapes,
153 absl::Span<const int64> dimensions_to_reduce,
[all …]
Dhlo_creation_utils.h51 absl::Span<const int64> start_indices,
52 absl::Span<const int64> limit_indices,
53 absl::Span<const int64> strides);
65 absl::Span<const int64> dimensions);
73 absl::Span<const int64> result_shape_dim_bounds, HloInstruction* operand);
79 HloInstruction* operand, absl::Span<HloInstruction* const> start_indices,
80 absl::Span<const int64> slice_sizes);
83 absl::Span<const int64> slice_sizes);
95 absl::Span<const int64> broadcast_dimensions,
96 absl::Span<const int64> result_shape_bounds);
[all …]
/external/opencensus-java/contrib/spring_sleuth_v1x/src/main/java/io/opencensus/contrib/spring/sleuth/v1x/
DOpenCensusSleuthTracer.java25 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 …]
/external/boringssl/src/include/openssl/
Dspan.h31 class Span; variable
41 friend bool operator==(Span<T> lhs, Span<T> rhs) {
58 friend bool operator!=(Span<T> lhs, Span<T> rhs) { return !(lhs == rhs); }
94 class Span : private internal::SpanBase<const T> {
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
158 Span subspan(size_t pos = 0, size_t len = npos) const {
[all …]
/external/tensorflow/tensorflow/compiler/xla/client/lib/
Dpooling.h28 absl::Span<const int64> spatial_dimensions) in TensorFormat()
52 XlaOp MaxPool(XlaOp operand, absl::Span<const int64> kernel_size,
53 absl::Span<const int64> stride, Padding padding,
57 XlaOp AvgPool(XlaOp operand, absl::Span<const int64> kernel_size,
58 absl::Span<const int64> stride,
59 absl::Span<const std::pair<int64, int64>> padding,
66 absl::Span<const int64> input_size, absl::Span<const int64> kernel_size,
67 absl::Span<const int64> stride, Padding padding,
71 XlaOp AvgPoolGrad(XlaOp out_backprop, absl::Span<const int64> gradients_size,
72 absl::Span<const int64> kernel_size,
[all …]
/external/cldr/tools/java/org/unicode/cldr/util/
DDayPeriodInfo.java38 public static class Span implements Comparable<Span> { class in DayPeriodInfo
44 public Span(int start, int end, DayPeriod dayPeriod) { in Span() method in DayPeriodInfo.Span
52 public int compareTo(Span o) { in compareTo()
79 Span other = (Span) obj; in equals()
105 public final Span span;
108 span = new Span(start, end, this); in DayPeriod()
126 final private Span[] spans;
128 …final Relation<DayPeriod, Span> dayPeriodsToSpans = Relation.of(new EnumMap<DayPeriod, Set<Span>>(…
131 TreeSet<Span> info = new TreeSet<>();
141 Span span = new Span(start, end, dayPeriod); in add()
[all …]
/external/tensorflow/tensorflow/lite/delegates/gpu/common/
Dconvert.h32 Status ConvertToPHWC4(absl::Span<const float> in, const BHWC& shape,
33 absl::Span<float> out);
34 Status ConvertToPHWC4Half(absl::Span<const float> in, const BHWC& shape,
35 absl::Span<HalfBits> out);
41 Status ConvertFromPHWC4(absl::Span<const float> in, const BHWC& shape,
42 absl::Span<float> out);
43 Status ConvertFromPHWC4Half(absl::Span<const HalfBits> in, const BHWC& shape,
44 absl::Span<float> out);
56 Status ConvertToPIOHW4(absl::Span<const float> in, const OHWI& shape,
57 absl::Span<float> out);
[all …]
/external/opencensus-java/api/src/test/java/io/opencensus/trace/samplers/
DSamplersTest.java23 import io.opencensus.trace.Span;
50 private final Span sampledSpan =
51 new NoopSpan(sampledSpanContext, EnumSet.of(Span.Options.RECORD_EVENTS));
64 Collections.<Span>emptyList())) in alwaysSampleSampler_AlwaysReturnTrue()
75 Collections.<Span>emptyList())) in alwaysSampleSampler_AlwaysReturnTrue()
95 Collections.<Span>emptyList())) in neverSampleSampler_AlwaysReturnFalse()
106 Collections.<Span>emptyList())) in neverSampleSampler_AlwaysReturnFalse()
127 Sampler sampler, SpanContext parent, List<Span> parentLinks, double probability) { in assertSamplerSamplesWithProbability()
151 neverSample, notSampledSpanContext, Collections.<Span>emptyList(), 0.0); in probabilitySampler_DifferentProbabilities_NotSampledParent()
154 alwaysSample, notSampledSpanContext, Collections.<Span>emptyList(), 1.0); in probabilitySampler_DifferentProbabilities_NotSampledParent()
[all …]
/external/tensorflow/tensorflow/compiler/xla/
Dliteral.h77 absl::Span<const NativeT> data(const ShapeIndex& shape_index = {}) const;
107 NativeT Get(absl::Span<const int64> multi_index,
112 NativeT Get(absl::Span<const int64> multi_index) const;
121 string GetAsString(absl::Span<const int64> multi_index,
133 IsEqualAt(absl::Span<const int64> multi_index, T value) const { in IsEqualAt()
141 bool IsEqualAt(absl::Span<const int64> multi_index, complex128 value) const { in IsEqualAt()
152 absl::Span<const int64> multi_index) const;
156 absl::optional<double> GetAsDouble(absl::Span<const int64> multi_index) const;
163 absl::Span<const int64> multi_index) const;
175 const std::function<void(absl::Span<const int64> indices,
[all …]
/external/libcxx/test/std/containers/views/span.sub/
Dsubspan.pass.cpp30 template <typename Span, ptrdiff_t Offset, ptrdiff_t Count>
31 constexpr bool testConstexprSpan(Span sp) in testConstexprSpan()
39 ASSERT_SAME_TYPE(typename Span::value_type, typename S1::value_type); in testConstexprSpan()
40 ASSERT_SAME_TYPE(typename Span::value_type, typename S2::value_type); in testConstexprSpan()
41 …static_assert(S1::extent == (Span::extent == std::dynamic_extent ? std::dynamic_extent : Count), "… in testConstexprSpan()
49 template <typename Span, ptrdiff_t Offset>
50 constexpr bool testConstexprSpan(Span sp) in testConstexprSpan()
58 ASSERT_SAME_TYPE(typename Span::value_type, typename S1::value_type); in testConstexprSpan()
59 ASSERT_SAME_TYPE(typename Span::value_type, typename S2::value_type); in testConstexprSpan()
60 …static_assert(S1::extent == (Span::extent == std::dynamic_extent ? std::dynamic_extent : Span::ext… in testConstexprSpan()
[all …]
/external/tensorflow/tensorflow/compiler/xla/tests/
Dclient_library_test_base.h52 absl::Span<const bool> use_bfloat16_params, in ExpandUseBfloat16()
53 absl::Span<const TestCase> specs) { in ExpandUseBfloat16()
96 XlaBuilder* builder, absl::Span<GlobalData* const> arguments);
99 XlaBuilder* builder, absl::Span<GlobalData* const> arguments,
104 absl::Span<GlobalData* const> arguments,
112 absl::Span<GlobalData* const> arguments,
118 absl::Span<GlobalData* const> arguments);
128 absl::Span<GlobalData* const> arguments);
131 absl::Span<GlobalData* const> arguments,
136 absl::Span<const NativeT> expected,
[all …]
/external/opencensus-java/benchmarks/src/jmh/java/io/opencensus/benchmarks/trace/
DStartEndSpanBenchmark.java22 import io.opencensus.trace.Span;
44 private Span rootSpan = BlankSpan.INSTANCE;
74 public Span startEndNonSampledRootSpan(Data data) { in startEndNonSampledRootSpan()
75 Span span = in startEndNonSampledRootSpan()
91 public Span startEndRecordEventsRootSpan(Data data) { in startEndRecordEventsRootSpan()
92 Span span = in startEndRecordEventsRootSpan()
108 public Span startEndSampledRootSpan(Data data) { in startEndSampledRootSpan()
109 Span span = data.tracer.spanBuilder(SPAN_NAME).setSampler(Samplers.alwaysSample()).startSpan(); in startEndSampledRootSpan()
121 public Span startEndNonSampledChildSpan(Data data) { in startEndNonSampledChildSpan()
122 Span span = in startEndNonSampledChildSpan()
[all …]
/external/deqp-deps/SPIRV-Tools/utils/vscode/src/lsp/span/
Dspan.go26 type Span struct { struct
50 var Invalid = Span{v: span{Start: invalidPoint.v, End: invalidPoint.v}}
63 func New(uri URI, start Point, end Point) Span {
64 s := Span{v: span{URI: uri, Start: start.v, End: end.v}}
75 func Compare(a, b Span) int { argument
114 func (s Span) HasPosition() bool { return s.v.Start.hasPosition() } argument
115 func (s Span) HasOffset() bool { return s.v.Start.hasOffset() } argument
116 func (s Span) IsValid() bool { return s.v.Start.isValid() } argument
117 func (s Span) IsPoint() bool { return s.v.Start == s.v.End } argument
118 func (s Span) URI() URI { return s.v.URI } argument
[all …]
/external/angle/third_party/spirv-tools/src/utils/vscode/src/lsp/span/
Dspan.go26 type Span struct { struct
50 var Invalid = Span{v: span{Start: invalidPoint.v, End: invalidPoint.v}}
63 func New(uri URI, start Point, end Point) Span {
64 s := Span{v: span{URI: uri, Start: start.v, End: end.v}}
75 func Compare(a, b Span) int { argument
114 func (s Span) HasPosition() bool { return s.v.Start.hasPosition() } argument
115 func (s Span) HasOffset() bool { return s.v.Start.hasOffset() } argument
116 func (s Span) IsValid() bool { return s.v.Start.isValid() } argument
117 func (s Span) IsPoint() bool { return s.v.Start == s.v.End } argument
118 func (s Span) URI() URI { return s.v.URI } argument
[all …]
/external/swiftshader/third_party/SPIRV-Tools/utils/vscode/src/lsp/span/
Dspan.go26 type Span struct { struct
50 var Invalid = Span{v: span{Start: invalidPoint.v, End: invalidPoint.v}}
63 func New(uri URI, start Point, end Point) Span {
64 s := Span{v: span{URI: uri, Start: start.v, End: end.v}}
75 func Compare(a, b Span) int { argument
114 func (s Span) HasPosition() bool { return s.v.Start.hasPosition() } argument
115 func (s Span) HasOffset() bool { return s.v.Start.hasOffset() } argument
116 func (s Span) IsValid() bool { return s.v.Start.isValid() } argument
117 func (s Span) IsPoint() bool { return s.v.Start == s.v.End } argument
118 func (s Span) URI() URI { return s.v.URI } argument
[all …]

12345678910>>...29