HomeSort by relevance Sort by last modified time
    Searched refs:dynamic_extent (Results 1 - 8 of 8) sorted by null

  /external/libchrome/base/containers/
span.h 22 constexpr size_t dynamic_extent = static_cast<size_t>(-1); member in namespace:base
24 template <typename T, size_t Extent = dynamic_extent>
64 std::enable_if_t<(ToExtent == dynamic_extent || ToExtent == FromExtent) &&
70 std::enable_if_t<(Extent == dynamic_extent || Extent == N) &&
186 static_assert(Extent == dynamic_extent || Extent == 0, "Invalid Extent");
190 CHECK(Extent == dynamic_extent || Extent == size);
253 static_assert(Extent == dynamic_extent || Count <= Extent,
255 CHECK(Extent != dynamic_extent || Count <= size());
261 static_assert(Extent == dynamic_extent || Count <= Extent,
263 CHECK(Extent != dynamic_extent || Count <= size())
    [all...]
span_unittest.cc 1067 static_assert(decltype(made_span)::extent == dynamic_extent, "");
1080 static_assert(decltype(made_span)::extent == dynamic_extent, "");
1101 static_assert(decltype(make_span(vector))::extent == dynamic_extent, "");
1108 static_assert(decltype(make_span(vector))::extent == dynamic_extent, "");
    [all...]
  /external/libcxx/test/std/containers/views/span.sub/
subspan.pass.cpp 14 // template<ptrdiff_t Offset, ptrdiff_t Count = dynamic_extent>
17 // constexpr span<element_type, dynamic_extent> subspan(
18 // index_type offset, index_type count = dynamic_extent) const;
21 // && (Count == dynamic_extent || Count >= 0 && Offset + Count <= size())
41 static_assert(S1::extent == (Span::extent == std::dynamic_extent ? std::dynamic_extent : Count), "");
42 static_assert(S2::extent == std::dynamic_extent, "");
60 static_assert(S1::extent == (Span::extent == std::dynamic_extent ? std::dynamic_extent : Span::extent - Offset), "");
61 static_assert(S2::extent == std::dynamic_extent, "");
    [all...]
first.pass.cpp 17 // constexpr span<element_type, dynamic_extent> first(index_type count) const;
41 static_assert(S2::extent == std::dynamic_extent, "");
61 static_assert(S2::extent == std::dynamic_extent, "");
last.pass.cpp 17 // constexpr span<element_type, dynamic_extent> last(index_type count) const;
41 static_assert(S2::extent == std::dynamic_extent, "");
61 static_assert(S2::extent == std::dynamic_extent, "");
  /external/libcxx/test/std/containers/views/span.objectrep/
as_bytes.pass.cpp 16 // Extent == dynamic_extent
17 // ? dynamic_extent
37 if (sp.extent == std::dynamic_extent)
38 assert(spBytes.extent == std::dynamic_extent);
as_writeable_bytes.pass.cpp 16 // Extent == dynamic_extent
17 // ? dynamic_extent
37 if (sp.extent == std::dynamic_extent)
38 assert(spBytes.extent == std::dynamic_extent);
  /external/Microsoft-GSL/tests/
string_span_tests.cpp 28 #include <gsl/span> // for span, dynamic_extent
814 void use(basic_string_span<T, gsl::dynamic_extent>)

Completed in 374 milliseconds