Lines Matching refs:__count
266 …_LIBCPP_HIDE_FROM_ABI constexpr explicit span(_It __first, size_type __count) : __data_{std::to_ad…
267 (void)__count;
268 …_LIBCPP_ASSERT_VALID_ELEMENT_ACCESS(_Extent == __count, "size mismatch in span's constructor (iter…
318 …_LIBCPP_HIDE_FROM_ABI constexpr span<element_type, dynamic_extent> first(size_type __count) const …
319 …_LIBCPP_ASSERT_VALID_ELEMENT_ACCESS(__count <= size(), "span<T, N>::first(count): count out of ran…
320 return {data(), __count};
323 …_LIBCPP_HIDE_FROM_ABI constexpr span<element_type, dynamic_extent> last(size_type __count) const n…
324 …_LIBCPP_ASSERT_VALID_ELEMENT_ACCESS(__count <= size(), "span<T, N>::last(count): count out of rang…
325 return {data() + size() - __count, __count};
340 subspan(size_type __offset, size_type __count = dynamic_extent) const noexcept {
342 if (__count == dynamic_extent)
345 … __count <= size() - __offset, "span<T, N>::subspan(offset, count): offset + count out of range");
346 return {data() + __offset, __count};
442 _LIBCPP_HIDE_FROM_ABI constexpr span(_It __first, size_type __count)
443 : __data_{std::to_address(__first)}, __size_{__count} {}
483 …_LIBCPP_HIDE_FROM_ABI constexpr span<element_type, dynamic_extent> first(size_type __count) const …
484 …_LIBCPP_ASSERT_VALID_ELEMENT_ACCESS(__count <= size(), "span<T>::first(count): count out of range"…
485 return {data(), __count};
488 …_LIBCPP_HIDE_FROM_ABI constexpr span<element_type, dynamic_extent> last(size_type __count) const n…
489 …_LIBCPP_ASSERT_VALID_ELEMENT_ACCESS(__count <= size(), "span<T>::last(count): count out of range");
490 return {data() + size() - __count, __count};
502 subspan(size_type __offset, size_type __count = dynamic_extent) const noexcept {
504 if (__count == dynamic_extent)
507 … __count <= size() - __offset, "span<T>::subspan(offset, count): offset + count out of range");
508 return {data() + __offset, __count};