/third_party/skia/third_party/externals/abseil-cpp/absl/types/ |
D | span.h | 152 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 …]
|
/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 …]
|
/third_party/skia/third_party/externals/angle2/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 …]
|
/third_party/protobuf/csharp/src/Google.Protobuf/ |
D | CodedOutputStream.cs | 173 var span = new Span<byte>(buffer); in WriteDouble() 183 var span = new Span<byte>(buffer); in WriteFloat() 193 var span = new Span<byte>(buffer); in WriteUInt64() 203 var span = new Span<byte>(buffer); in WriteInt64() 213 var span = new Span<byte>(buffer); in WriteInt32() 223 var span = new Span<byte>(buffer); in WriteFixed64() 233 var span = new Span<byte>(buffer); in WriteFixed32() 243 var span = new Span<byte>(buffer); in WriteBool() 254 var span = new Span<byte>(buffer); in WriteString() 268 var span = new Span<byte>(buffer); in WriteMessage() [all …]
|
D | WritingPrimitives.cs | 56 … public static void WriteDouble(ref Span<byte> buffer, ref WriterInternalState state, double value) in WriteDouble() 64 …public static unsafe void WriteFloat(ref Span<byte> buffer, ref WriterInternalState state, float v… in WriteFloat() 86 …private static unsafe void WriteFloatSlowPath(ref Span<byte> buffer, ref WriterInternalState state… in WriteFloatSlowPath() 91 Span<byte> floatSpan = stackalloc byte[length]; in WriteFloatSlowPath() 107 … public static void WriteUInt64(ref Span<byte> buffer, ref WriterInternalState state, ulong value) in WriteUInt64() 115 … public static void WriteInt64(ref Span<byte> buffer, ref WriterInternalState state, long value) in WriteInt64() 123 … public static void WriteInt32(ref Span<byte> buffer, ref WriterInternalState state, int value) in WriteInt32() 139 … public static void WriteFixed64(ref Span<byte> buffer, ref WriterInternalState state, ulong value) in WriteFixed64() 147 … public static void WriteFixed32(ref Span<byte> buffer, ref WriterInternalState state, uint value) in WriteFixed32() 155 … public static void WriteBool(ref Span<byte> buffer, ref WriterInternalState state, bool value) in WriteBool() [all …]
|
/third_party/skia/third_party/externals/abseil-cpp/absl/container/internal/ |
D | layout_test.cc | 37 using ::absl::Span; 824 p, Type<Span<const int32_t>>(L::Partial(0).Slice<0>(p)).data())); in TEST() 827 p, Type<Span<const int32_t>>(L::Partial(3).Slice<0>(p)).data())); in TEST() 829 Distance(p, Type<Span<const int32_t>>(L(3).Slice<0>(p)).data())); in TEST() 835 p, Type<Span<const int32_t>>(L::Partial(3).Slice<0>(p)).data())); in TEST() 839 p, Type<Span<const int32_t>>(L::Partial(3, 5).Slice<0>(p)).data())); in TEST() 843 p, Type<Span<const int32_t>>(L::Partial(3, 5).Slice<1>(p)).data())); in TEST() 845 0, Distance(p, Type<Span<const int32_t>>(L(3, 5).Slice<0>(p)).data())); in TEST() 847 12, Distance(p, Type<Span<const int32_t>>(L(3, 5).Slice<1>(p)).data())); in TEST() 853 p, Type<Span<const int8_t>>(L::Partial(0).Slice<0>(p)).data())); in TEST() [all …]
|
/third_party/abseil-cpp/absl/container/internal/ |
D | layout_test.cc | 37 using ::absl::Span; 794 Distance(p, Type<Span<const int32_t>>(L::Partial(0).Slice<0>(p)).data())); in TEST() 797 Distance(p, Type<Span<const int32_t>>(L::Partial(3).Slice<0>(p)).data())); in TEST() 798 EXPECT_EQ(0, Distance(p, Type<Span<const int32_t>>(L(3).Slice<0>(p)).data())); in TEST() 804 Distance(p, Type<Span<const int32_t>>(L::Partial(3).Slice<0>(p)).data())); in TEST() 808 Type<Span<const int32_t>>(L::Partial(3, 5).Slice<0>(p)).data())); in TEST() 812 Type<Span<const int32_t>>(L::Partial(3, 5).Slice<1>(p)).data())); in TEST() 814 Distance(p, Type<Span<const int32_t>>(L(3, 5).Slice<0>(p)).data())); in TEST() 816 Distance(p, Type<Span<const int32_t>>(L(3, 5).Slice<1>(p)).data())); in TEST() 822 Distance(p, Type<Span<const int8_t>>(L::Partial(0).Slice<0>(p)).data())); in TEST() [all …]
|
/third_party/spirv-tools/utils/vscode/src/lsp/span/ |
D | span.go | 26 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 …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/utils/vscode/src/lsp/span/ |
D | span.go | 26 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 …]
|
/third_party/skia/third_party/externals/spirv-tools/utils/vscode/src/lsp/span/ |
D | span.go | 26 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 …]
|
/third_party/grpc/src/cpp/ext/filters/census/ |
D | context.h | 50 CensusContext() : span_(::opencensus::trace::Span::BlankSpan()), tags_({}) {} in CensusContext() 54 : span_(::opencensus::trace::Span::StartSpan(name)), tags_(tags) {} in CensusContext() 56 CensusContext(absl::string_view name, const ::opencensus::trace::Span* parent, in CensusContext() 58 : span_(::opencensus::trace::Span::StartSpan(name, parent)), in CensusContext() 63 : span_(::opencensus::trace::Span::StartSpanWithRemoteParent( in CensusContext() 67 const ::opencensus::trace::Span& Span() const { return span_; } in Span() function 70 ::opencensus::trace::SpanContext Context() const { return Span().context(); } in Context() 71 void EndSpan() { Span().End(); } in EndSpan() 74 ::opencensus::trace::Span span_; 120 ::opencensus::trace::Span SpanFromCensusContext(const census_context* ctxt);
|
/third_party/abseil-cpp/absl/random/internal/ |
D | seed_material_test.cc | 60 absl::Span<uint32_t>(seed_material_1, kSeedMaterialSize))); in TEST() 62 absl::Span<uint32_t>(seed_material_2, kSeedMaterialSize))); in TEST() 71 absl::Span<uint32_t>(seed_material, 0))); in TEST() 79 absl::Span<uint32_t>(nullptr, 32))); in TEST() 84 absl::Span<uint32_t>(nullptr, 32)), in TEST() 99 &urbg_1, absl::Span<uint32_t>(seed_material, kSeedMaterialSize))); in TEST() 110 &urbg, absl::Span<uint32_t>(seed_material, 0))); in TEST() 120 nullptr, absl::Span<uint32_t>(seed_material, kSeedMaterialSize))); in TEST() 125 nullptr, absl::Span<uint32_t>(seed_material, kSeedMaterialSize)), in TEST() 135 &urbg, absl::Span<uint32_t>(nullptr, 32))); in TEST() [all …]
|
/third_party/skia/third_party/externals/abseil-cpp/absl/random/internal/ |
D | seed_material_test.cc | 60 absl::Span<uint32_t>(seed_material_1, kSeedMaterialSize))); in TEST() 62 absl::Span<uint32_t>(seed_material_2, kSeedMaterialSize))); in TEST() 71 absl::Span<uint32_t>(seed_material, 0))); in TEST() 79 absl::Span<uint32_t>(nullptr, 32))); in TEST() 84 absl::Span<uint32_t>(nullptr, 32)), in TEST() 99 &urbg_1, absl::Span<uint32_t>(seed_material, kSeedMaterialSize))); in TEST() 110 &urbg, absl::Span<uint32_t>(seed_material, 0))); in TEST() 120 nullptr, absl::Span<uint32_t>(seed_material, kSeedMaterialSize))); in TEST() 125 nullptr, absl::Span<uint32_t>(seed_material, kSeedMaterialSize)), in TEST() 135 &urbg, absl::Span<uint32_t>(nullptr, 32))); in TEST() [all …]
|
/third_party/skia/third_party/externals/swiftshader/tests/regres/cov/ |
D | span.go | 53 type Span struct { struct 57 func (s Span) String() string { argument 62 func (s Span) Compare(o Span) int { argument 77 func (s Span) Before(o Span) bool { return s.Compare(o) == -1 } argument 80 func (s Span) Inside(o Span) bool { return s.Start.Compare(o.Start) >= 0 && s.End.Compare(o.End) <=… argument 83 type SpanList []Span 86 func (l *SpanList) Add(s Span) { argument 117 func (l *SpanList) Remove(s Span) { argument 135 merged = append(merged, Span{first.Start, s.Start}) 138 merged = append(merged, Span{s.End, last.End})
|
/third_party/flatbuffers/net/FlatBuffers/ |
D | ByteBuffer.cs | 59 public abstract Span<byte> Span { get; } property in FlatBuffers.ByteBufferAllocator 107 public override Span<byte> Span => _buffer; field in FlatBuffers.ByteArrayAllocator 229 public static int ArraySize<T>(Span<T> x) in ArraySize() 276 public Span<byte> ToSpan(int pos, int len) in ToSpan() 278 return _buffer.Span.Slice(pos, len); in ToSpan() 375 _buffer.Span[offset + i] = (byte)(data >> i * 8); in WriteLittleEndian() 382 _buffer.Span[offset + count - 1 - i] = (byte)(data >> i * 8); in WriteLittleEndian() 395 r |= (ulong)_buffer.Span[offset + i] << i * 8; in ReadLittleEndian() 402 r |= (ulong)_buffer.Span[offset + count - 1 - i] << i * 8; in ReadLittleEndian() 423 _buffer.Span[offset] = (byte)value; in PutSbyte() [all …]
|
/third_party/typescript/tests/baselines/reference/ |
D | parserindenter.types | 137 …Span.startPosition() + "," + token.Span.endPosition()+ "], " + "t2=[" + (nextTo… 143 …Span.startPosition() + "," + token.Span.endPosition()+ "], " + "t2=[" + (nextTo… 144 …Span.startPosition() + "," + token.Span.endPosition()+ "], " + "t2=[" + (nextTo… 145 …Span.startPosition() + "," + token.Span.endPosition()+ "], " + "t2=[" + (nextTo… 146 >"GetIndentationEdits(" + "t1=[" + token.Span.startPosition() + "," + token.Span… 147 >"GetIndentationEdits(" + "t1=[" + token.Span.startPosition() + "," + token.Span… 148 >"GetIndentationEdits(" + "t1=[" + token.Span.startPosition() + "," + token.Span… 149 >"GetIndentationEdits(" + "t1=[" + token.Span.startPosition() + "," : string 150 >"GetIndentationEdits(" + "t1=[" + token.Span.startPosition() : string 154 "t1=[" + token.Span.startPosition() + "," + token.Span.endPosition()+ "], " + [all …]
|
D | parserindenter.js | 51 "t1=[" + token.Span.startPosition() + "," + token.Span.endPosition()+ "], " + 52 …"t2=[" + (nextToken == null ? "null" : (nextToken.Span.startPosition() + "," + nextToken.Span.endP… 101 …while (!node.CanIndent() && node.Parent != null && token.Span.span.start() == node.Parent.AuthorNo… 104 … if (node.CanIndent() && token.Span.span.start() == node.AuthorNode.Details.StartOffset) { 134 … var edit = this.GetIndentEdit(indentationInfo, token.Span.startPosition(), sameLineIndent); 159 … var commentLastLineNumber = this.snapshot.GetLineNumberFromPosition(token.Span.endPosition()); 163 … var commentFirstLineIndentationDelta = this.GetIndentationDelta(token.Span.startPosition(), null); 279 var semiColonStartSpan = new Span(token.Span.startPosition(), 0); 293 var twoCharSpan = token.Span.Intersection(new Span(token.Span.startPosition(), 2)); 334 … if (token.Span.startPosition() < argumentNode.AuthorNode.Details.StartOffset) [all …]
|
/third_party/typescript/tests/cases/conformance/parser/ecmascript5/RealWorld/ |
D | parserindenter.ts | 50 "t1=[" + token.Span.startPosition() + "," + token.Span.endPosition()+ "], " + 51 …"t2=[" + (nextToken == null ? "null" : (nextToken.Span.startPosition() + "," + nextToken.Span.endP… 100 …while (!node.CanIndent() && node.Parent != null && token.Span.span.start() == node.Parent.AuthorNo… 103 … if (node.CanIndent() && token.Span.span.start() == node.AuthorNode.Details.StartOffset) { 133 … var edit = this.GetIndentEdit(indentationInfo, token.Span.startPosition(), sameLineIndent); 158 … var commentLastLineNumber = this.snapshot.GetLineNumberFromPosition(token.Span.endPosition()); 162 … var commentFirstLineIndentationDelta = this.GetIndentationDelta(token.Span.startPosition(), null); 278 var semiColonStartSpan = new Span(token.Span.startPosition(), 0); 292 var twoCharSpan = token.Span.Intersection(new Span(token.Span.startPosition(), 2)); 333 … if (token.Span.startPosition() < argumentNode.AuthorNode.Details.StartOffset) [all …]
|
/third_party/icu/tools/cldr/cldr-to-icu/src/main/java/org/unicode/icu/tool/cldrtoicu/localedistance/ |
D | Trie.java | 50 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 86 public void with(String prefix, Consumer<Span> withFn) { 87 withFn.accept(new Span(index, prefix)); 101 public Span root() { in root() 102 return new Span(); in root()
|
/third_party/abseil-cpp/absl/strings/internal/str_format/ |
D | bind.cc | 15 absl::Span<const FormatArgImpl> pack) { in BindFromPosition() 26 explicit ArgContext(absl::Span<const FormatArgImpl> pack) : pack_(pack) {} in ArgContext() 37 absl::Span<const FormatArgImpl> pack_; 92 ConverterConsumer(Converter converter, absl::Span<const FormatArgImpl> pack) in ConverterConsumer() 112 absl::Span<const FormatArgImpl> args, Converter converter) { in ConvertAll() 162 absl::Span<const FormatArgImpl> pack, in BindWithPack() 168 absl::Span<const FormatArgImpl> args) { in Summarize() 184 absl::Span<const FormatArgImpl> args) { in FormatUntyped() 196 absl::Span<const FormatArgImpl> args) { in AppendPack() 205 absl::Span<const FormatArgImpl> args) { in FormatPack() [all …]
|
/third_party/skia/third_party/externals/abseil-cpp/absl/strings/internal/str_format/ |
D | bind.cc | 29 absl::Span<const FormatArgImpl> pack) { in BindFromPosition() 40 explicit ArgContext(absl::Span<const FormatArgImpl> pack) : pack_(pack) {} in ArgContext() 51 absl::Span<const FormatArgImpl> pack_; 105 ConverterConsumer(Converter converter, absl::Span<const FormatArgImpl> pack) in ConverterConsumer() 125 absl::Span<const FormatArgImpl> args, Converter converter) { in ConvertAll() 175 absl::Span<const FormatArgImpl> pack, in BindWithPack() 181 absl::Span<const FormatArgImpl> args) { in Summarize() 197 absl::Span<const FormatArgImpl> args) { in FormatUntyped() 209 absl::Span<const FormatArgImpl> args) { in AppendPack() 218 absl::Span<const FormatArgImpl> args) { in FormatPack() [all …]
|
/third_party/spirv-tools/utils/vscode/src/lsp/protocol/ |
D | span.go | 37 func (m *ColumnMapper) Location(s span.Span) (Location, error) { 45 func (m *ColumnMapper) Range(s span.Span) (Range, error) { 75 func (m *ColumnMapper) Span(l Location) (span.Span, error) { func 79 func (m *ColumnMapper) RangeSpan(r Range) (span.Span, error) { 82 return span.Span{}, err 86 return span.Span{}, err 91 func (m *ColumnMapper) PointSpan(p Position) (span.Span, error) { 94 return span.Span{}, err
|
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/utils/vscode/src/lsp/protocol/ |
D | span.go | 37 func (m *ColumnMapper) Location(s span.Span) (Location, error) { 45 func (m *ColumnMapper) Range(s span.Span) (Range, error) { 75 func (m *ColumnMapper) Span(l Location) (span.Span, error) { func 79 func (m *ColumnMapper) RangeSpan(r Range) (span.Span, error) { 82 return span.Span{}, err 86 return span.Span{}, err 91 func (m *ColumnMapper) PointSpan(p Position) (span.Span, error) { 94 return span.Span{}, err
|