Home
last modified time | relevance | path

Searched refs:subspan (Results 1 – 22 of 22) sorted by relevance

/third_party/skia/third_party/externals/abseil-cpp/absl/types/
Dspan_test.cc288 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 …]
Dspan.h399 constexpr Span subspan(size_type pos = 0, size_type len = npos) const {
/third_party/skia/third_party/externals/angle2/src/compiler/translator/
Dspan_unittest.cpp177 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()
DCommon.h200 constexpr TSpan subspan(size_type offset, size_type count) const in subspan() function
/third_party/skia/tests/
DSkScalerCacheTest.cpp49 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()
DUtilsTest.cpp205 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/
Dencoding.cc206 *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 …]
Dencoding.h38 span<T> subspan(index_type offset, index_type count) const { in subspan() function
42 span<T> subspan(index_type offset) const { in subspan() function
Dencoding_test.cc97 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/
DGrTextBlob.cpp399 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/
DSkSpan.h63 constexpr SkSpan<T> subspan(size_t offset, size_t count) const { in subspan() function
/third_party/node/tools/inspector_protocol/lib/
Dencoding_cpp.template214 *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 …]
Dencoding_h.template47 span<T> subspan(index_type offset, index_type count) const {
51 span<T> subspan(index_type offset) const {
/third_party/gn/src/base/containers/
Dspan.h274 subspan() const noexcept {
298 constexpr span<T, dynamic_extent> subspan(size_t offset,
/third_party/skia/src/core/
DSkEnumerate.h83 constexpr SkEnumerate subspan(size_t offset, size_t count) {
DSkZip.h95 constexpr SkZip subspan(size_t offset, size_t count) const { in subspan() function
/third_party/rust/crates/proc-macro2/src/
Dwrapper.rs923 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()
Dlib.rs1250 pub fn subspan<R: RangeBounds<usize>>(&self, range: R) -> Option<Span> { in subspan() method
1251 self.inner.subspan(range).map(Span::_new) in subspan()
Dfallback.rs984 pub fn subspan<R: RangeBounds<usize>>(&self, _range: R) -> Option<Span> { in subspan() function
/third_party/mesa3d/docs/isl/
Dccs.rst62 format, each 2x2 subspan coming out of a shader will land entirely within one
/third_party/skia/third_party/externals/abseil-cpp/absl/strings/
Dcord_ring_test.cc1028 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/
Dvalues.cc398 bool removed = found->second->RemovePath(path.subspan(1)); in RemovePath()