/third_party/skia/third_party/externals/abseil-cpp/absl/types/ |
D | span_test.cc | 288 EXPECT_EQ(absl::MakeSpan(empty).subspan(), empty); in TEST() 289 EXPECT_THAT(absl::MakeSpan(empty).subspan(0, 0), SpanIs(empty)); in TEST() 290 EXPECT_THAT(absl::MakeSpan(empty).subspan(0, absl::Span<const int>::npos), in TEST() 294 EXPECT_THAT(absl::MakeSpan(ramp).subspan(), SpanIs(ramp)); in TEST() 295 EXPECT_THAT(absl::MakeSpan(ramp).subspan(0, 10), SpanIs(ramp)); in TEST() 296 EXPECT_THAT(absl::MakeSpan(ramp).subspan(0, absl::Span<const int>::npos), in TEST() 298 EXPECT_THAT(absl::MakeSpan(ramp).subspan(0, 3), SpanIs(ramp.data(), 3)); in TEST() 299 EXPECT_THAT(absl::MakeSpan(ramp).subspan(5, absl::Span<const int>::npos), in TEST() 301 EXPECT_THAT(absl::MakeSpan(ramp).subspan(3, 3), SpanIs(ramp.data() + 3, 3)); in TEST() 302 EXPECT_THAT(absl::MakeSpan(ramp).subspan(10, 5), SpanIs(ramp.data() + 10, 0)); in TEST() [all …]
|
D | span.h | 399 constexpr Span subspan(size_type pos = 0, size_type len = npos) const {
|
/third_party/skia/third_party/externals/angle2/src/compiler/translator/ |
D | span_unittest.cpp | 177 constexpr Span subspan = sp.subspan(kSplitOffset, kSplitSize); in TEST() local 179 ASSERT_EQ(subspan, Span(kSpanData + kSplitOffset, kSplitSize)); in TEST() 180 ASSERT_EQ(subspan.data(), kSpanData + kSplitOffset); in TEST() 181 ASSERT_EQ(subspan.size(), kSplitSize); in TEST()
|
D | Common.h | 200 constexpr TSpan subspan(size_type offset, size_type count) const in subspan() function
|
/third_party/skia/tests/ |
D | SkScalerCacheTest.cpp | 49 auto data = SkMakeZip(glyphs, pos).subspan(SkTo<int>(' '), glyphCount); in DEF_TEST() 64 auto local = data.subspan(threadIndex * 2, data.size() - kThreadCount * 2); in DEF_TEST()
|
D | UtilsTest.cpp | 205 auto s1 = s.subspan(1,3); in DEF_TEST() 283 auto e = SkMakeEnumerate(SkMakeSpan(vec)).subspan(1, 2); in DEF_TEST() 429 for (auto t : z.subspan(1, 2)) { in DEF_TEST()
|
/third_party/node/tools/inspector_protocol/encoding/ |
D | encoding.cc | 206 *value = ReadBytesMostSignificantByteFirst<uint8_t>(bytes.subspan(1)); in ReadTokenStart() 213 *value = ReadBytesMostSignificantByteFirst<uint16_t>(bytes.subspan(1)); in ReadTokenStart() 220 *value = ReadBytesMostSignificantByteFirst<uint32_t>(bytes.subspan(1)); in ReadTokenStart() 227 *value = ReadBytesMostSignificantByteFirst<uint64_t>(bytes.subspan(1)); in ReadTokenStart() 684 bytes_.subspan(status_.pos + 1)); in GetDouble() 691 return bytes_.subspan(status_.pos + (token_byte_length_ - length), length); in GetString8() 697 return bytes_.subspan(status_.pos + (token_byte_length_ - length), length); in GetString16WireRep() 703 return bytes_.subspan(status_.pos + (token_byte_length_ - length), length); in GetBinary() 709 return bytes_.subspan(status_.pos + kEncodedEnvelopeHeaderSize, length); in GetEnvelopeContents() 773 bytes_.subspan(status_.pos + 1), &token_start_type_, in ReadNextToken() [all …]
|
D | encoding.h | 38 span<T> subspan(index_type offset, index_type count) const { in subspan() function 42 span<T> subspan(index_type offset) const { in subspan() function
|
D | encoding_test.cc | 97 span<TypeParam> three_items = five_items.subspan(2); in TYPED_TEST() 102 span<TypeParam> two_items = five_items.subspan(2, 2); in TYPED_TEST()
|
/third_party/skia/src/gpu/text/ |
D | GrTextBlob.cpp | 399 auto glyphs = fGlyphs.subspan(begin, end - begin); in regenerateAtlas() 793 fGlyphs.glyphs().subspan(offset, count), in fillVertexData() 794 fLeftTopDevicePos.subspan(offset, count)); in fillVertexData() 1024 fGlyphs.glyphs().subspan(offset, count), in fillVertexData() 1025 fVertexData.subspan(offset, count)); in fillVertexData() 1349 fGlyphs.glyphs().subspan(offset, count), in fillVertexData() 1350 fVertexData.subspan(offset, count)), in fillVertexData() 1615 auto sameFormat = drawables.subspan(startIndex, i - startIndex); in addMultiMaskFormat() 1879 fGlyphs.glyphs().subspan(offset, count), in fillVertexData() 1880 fLeftTopDevicePos.subspan(offset, count)); in fillVertexData() [all …]
|
/third_party/skia/include/core/ |
D | SkSpan.h | 63 constexpr SkSpan<T> subspan(size_t offset, size_t count) const { in subspan() function
|
/third_party/node/tools/inspector_protocol/lib/ |
D | encoding_cpp.template | 214 *value = ReadBytesMostSignificantByteFirst<uint8_t>(bytes.subspan(1)); 221 *value = ReadBytesMostSignificantByteFirst<uint16_t>(bytes.subspan(1)); 228 *value = ReadBytesMostSignificantByteFirst<uint32_t>(bytes.subspan(1)); 235 *value = ReadBytesMostSignificantByteFirst<uint64_t>(bytes.subspan(1)); 692 bytes_.subspan(status_.pos + 1)); 699 return bytes_.subspan(status_.pos + (token_byte_length_ - length), length); 705 return bytes_.subspan(status_.pos + (token_byte_length_ - length), length); 711 return bytes_.subspan(status_.pos + (token_byte_length_ - length), length); 717 return bytes_.subspan(status_.pos + kEncodedEnvelopeHeaderSize, length); 781 bytes_.subspan(status_.pos + 1), &token_start_type_, [all …]
|
D | encoding_h.template | 47 span<T> subspan(index_type offset, index_type count) const { 51 span<T> subspan(index_type offset) const {
|
/third_party/gn/src/base/containers/ |
D | span.h | 274 subspan() const noexcept { 298 constexpr span<T, dynamic_extent> subspan(size_t offset,
|
/third_party/skia/src/core/ |
D | SkEnumerate.h | 83 constexpr SkEnumerate subspan(size_t offset, size_t count) {
|
D | SkZip.h | 95 constexpr SkZip subspan(size_t offset, size_t count) const { in subspan() function
|
/third_party/rust/crates/proc-macro2/src/ |
D | wrapper.rs | 923 pub fn subspan<R: RangeBounds<usize>>(&self, range: R) -> Option<Span> { in subspan() method 926 Literal::Compiler(lit) => lit.subspan(range).map(Span::Compiler), in subspan() 929 Literal::Fallback(lit) => lit.subspan(range).map(Span::Fallback), in subspan()
|
D | lib.rs | 1250 pub fn subspan<R: RangeBounds<usize>>(&self, range: R) -> Option<Span> { in subspan() method 1251 self.inner.subspan(range).map(Span::_new) in subspan()
|
D | fallback.rs | 984 pub fn subspan<R: RangeBounds<usize>>(&self, _range: R) -> Option<Span> { in subspan() function
|
/third_party/mesa3d/docs/isl/ |
D | ccs.rst | 62 format, each 2x2 subspan coming out of a shader will land entirely within one
|
/third_party/skia/third_party/externals/abseil-cpp/absl/strings/ |
D | cord_ring_test.cc | 1028 auto flats = MakeSpan(kFoxFlats).subspan(1); in TEST_P() 1149 auto flats = MakeSpan(fox).subspan(0, fox.size() - 1); in TEST_P()
|
/third_party/gn/src/base/ |
D | values.cc | 398 bool removed = found->second->RemovePath(path.subspan(1)); in RemovePath()
|