Home
last modified time | relevance | path

Searched refs:spBytes (Results 1 – 2 of 2) sorted by relevance

/external/libcxx/test/std/containers/views/span.objectrep/
Das_writeable_bytes.pass.cpp33 auto spBytes = std::as_writeable_bytes(sp); in testRuntimeSpan() local
34 using SB = decltype(spBytes); in testRuntimeSpan()
38 assert(spBytes.extent == std::dynamic_extent); in testRuntimeSpan()
40 …assert(spBytes.extent == static_cast<std::ptrdiff_t>(sizeof(typename Span::element_type)) * sp.ext… in testRuntimeSpan()
42 assert(static_cast<void*>(spBytes.data()) == static_cast<void*>(sp.data())); in testRuntimeSpan()
43 assert(spBytes.size() == sp.size_bytes()); in testRuntimeSpan()
Das_bytes.pass.cpp33 auto spBytes = std::as_bytes(sp); in testRuntimeSpan() local
34 using SB = decltype(spBytes); in testRuntimeSpan()
38 assert(spBytes.extent == std::dynamic_extent); in testRuntimeSpan()
40 …assert(spBytes.extent == static_cast<std::ptrdiff_t>(sizeof(typename Span::element_type)) * sp.ext… in testRuntimeSpan()
42 assert((void *) spBytes.data() == (void *) sp.data()); in testRuntimeSpan()
43 assert(spBytes.size() == sp.size_bytes()); in testRuntimeSpan()