Lines Matching refs:_LIBCPP_ASSERT
218 …{ (void)__count; _LIBCPP_ASSERT(_Extent == __count, "size mismatch in span's constructor (ptr, len…
220 …{ (void)__l; _LIBCPP_ASSERT(_Extent == distance(__f, __l), "size mismatch in span's constructo…
231 …{ _LIBCPP_ASSERT(_Extent == _VSTD::size(__c), "size mismatch in span's constructor (container)"); }
238 …{ _LIBCPP_ASSERT(_Extent == _VSTD::size(__c), "size mismatch in span's constructor (const containe…
254 …: __data{__other.data()} { _LIBCPP_ASSERT(_Extent == __other.size(), "size mismatch in span's cons…
280 … _LIBCPP_ASSERT(__count >= 0 && __count <= size(), "Count out of range in span::first(count)");
287 … _LIBCPP_ASSERT(__count >= 0 && __count <= size(), "Count out of range in span::last(count)");
296 _LIBCPP_ASSERT(_Offset >= 0 && _Offset <= size(), "Offset out of range in span::subspan()");
305 …_LIBCPP_ASSERT( __offset >= 0 && __offset <= size(), "Offset out of range in span::subspan(offset,…
306 …_LIBCPP_ASSERT((__count >= 0 && __count <= size()) || __count == dynamic_extent, "Count out of r…
309 …_LIBCPP_ASSERT(__offset + __count <= size(), "count + offset out of range in span::subspan(offset,…
319 _LIBCPP_ASSERT(__idx >= 0 && __idx < size(), "span<T,N>[] index out of bounds");
325 _LIBCPP_ASSERT(__idx >= 0 && __idx < size(), "span<T,N>() index out of bounds");
430 _LIBCPP_ASSERT(_Count <= size(), "Count out of range in span::first()");
439 _LIBCPP_ASSERT(_Count <= size(), "Count out of range in span::last()");
446 … _LIBCPP_ASSERT(__count >= 0 && __count <= size(), "Count out of range in span::first(count)");
453 … _LIBCPP_ASSERT(__count >= 0 && __count <= size(), "Count out of range in span::last(count)");
461 _LIBCPP_ASSERT(_Offset >= 0 && _Offset <= size(), "Offset out of range in span::subspan()");
462 …_LIBCPP_ASSERT(_Count == dynamic_extent || _Offset + _Count <= size(), "Count out of range in span…
470 …_LIBCPP_ASSERT( __offset >= 0 && __offset <= size(), "Offset out of range in span::subspan(offset,…
471 …_LIBCPP_ASSERT((__count >= 0 && __count <= size()) || __count == dynamic_extent, "count out of r…
474 …_LIBCPP_ASSERT(__offset + __count <= size(), "Offset + count out of range in span::subspan(offset,…
484 _LIBCPP_ASSERT(__idx >= 0 && __idx < size(), "span<T>[] index out of bounds");
490 _LIBCPP_ASSERT(__idx >= 0 && __idx < size(), "span<T>() index out of bounds");