Home
last modified time | relevance | path

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

/external/libvncserver/libvncserver/
Drfbregion.c20 struct sraRegion *subspan; member
34 sraSpanCreate(int start, int end, const sraSpanList *subspan) { in sraSpanCreate() argument
39 item->subspan = sraSpanListDup(subspan); in sraSpanCreate()
47 span = sraSpanCreate(src->start, src->end, src->subspan); in sraSpanDup()
75 if (span->subspan) sraSpanListDestroy(span->subspan); in sraSpanDestroy()
113 if (s->subspan) in sraSpanPrint()
114 sraSpanListPrint(s->subspan); in sraSpanPrint()
192 (!sraSpanListEqual(sp1->subspan, sp2->subspan))) { in sraSpanListEqual()
216 if (curr->subspan) { in sraSpanListCount()
217 count += sraSpanListCount(curr->subspan); in sraSpanListCount()
[all …]
/external/Microsoft-GSL/tests/
Dmulti_span_tests.cpp791 TEST(subspan) in SUITE()
797 CHECK((av.subspan<2, 2>().bounds() == static_bounds<2>())); in SUITE()
798 CHECK((av.subspan<2, 2>().length() == 2)); in SUITE()
799 CHECK(av.subspan(2, 2).length() == 2); in SUITE()
800 CHECK(av.subspan(2, 3).length() == 3); in SUITE()
805 CHECK((av.subspan<0, 0>().bounds() == static_bounds<0>())); in SUITE()
806 CHECK((av.subspan<0, 0>().length() == 0)); in SUITE()
807 CHECK(av.subspan(0, 0).length() == 0); in SUITE()
812 CHECK((av.subspan<0, 5>().bounds() == static_bounds<5>())); in SUITE()
813 CHECK((av.subspan<0, 5>().length() == 5)); in SUITE()
[all …]
Dspan_tests.cpp703 TEST(subspan) in SUITE()
709 CHECK((av.subspan<2, 2>().length() == 2)); in SUITE()
710 CHECK(av.subspan(2, 2).length() == 2); in SUITE()
711 CHECK(av.subspan(2, 3).length() == 3); in SUITE()
716 CHECK((av.subspan<0, 0>().length() == 0)); in SUITE()
717 CHECK(av.subspan(0, 0).length() == 0); in SUITE()
722 CHECK((av.subspan<0, 5>().length() == 5)); in SUITE()
723 CHECK(av.subspan(0, 5).length() == 5); in SUITE()
724 CHECK_THROW(av.subspan(0, 6).length(), fail_fast); in SUITE()
725 CHECK_THROW(av.subspan(1, 5).length(), fail_fast); in SUITE()
[all …]
Dstring_span_tests.cpp861 auto ret = span.subspan(0, 4); in SUITE()
918 auto ret = span.subspan(0, 4); in SUITE()
/external/Microsoft-GSL/gsl/
Dstring_span398 constexpr basic_string_span<element_type, Count> subspan() const
400 return {span_.template subspan<Offset, Count>()};
404 subspan(index_type offset, index_type count = dynamic_extent) const
406 return {span_.subspan(offset, count)};
Dspan466 constexpr span<element_type, Count> subspan() const
485 constexpr span<element_type, dynamic_extent> subspan(index_type offset,
Dmulti_span1411 // subspan() - create a subview of Count elements starting at Offset
1413 constexpr multi_span<ValueType, Count> subspan() const noexcept
1427 // subspan() - create a subview of count elements starting at offset
1429 constexpr multi_span<ValueType, dynamic_range> subspan(size_type offset,