Lines Matching refs:_LIBCPP_ASSERT
233 …_LIBCPP_ASSERT(__len == 0 || __s != nullptr, "string_view::string_view(_CharT *, size_t): received…
282 return _LIBCPP_ASSERT(__pos < size(), "string_view[] index out of bounds"), __data[__pos];
296 return _LIBCPP_ASSERT(!empty(), "string_view::front(): string is empty"), __data[0];
302 return _LIBCPP_ASSERT(!empty(), "string_view::back(): string is empty"), __data[__size-1];
312 _LIBCPP_ASSERT(__n <= size(), "remove_prefix() can't remove more than size()");
320 _LIBCPP_ASSERT(__n <= size(), "remove_suffix() can't remove more than size()");
398 … _LIBCPP_ASSERT(__s.size() == 0 || __s.data() != nullptr, "string_view::find(): received nullptr");
413 _LIBCPP_ASSERT(__n == 0 || __s != nullptr, "string_view::find(): received nullptr");
421 _LIBCPP_ASSERT(__s != nullptr, "string_view::find(): received nullptr");
430 … _LIBCPP_ASSERT(__s.size() == 0 || __s.data() != nullptr, "string_view::find(): received nullptr");
445 _LIBCPP_ASSERT(__n == 0 || __s != nullptr, "string_view::rfind(): received nullptr");
453 _LIBCPP_ASSERT(__s != nullptr, "string_view::rfind(): received nullptr");
462 …_LIBCPP_ASSERT(__s.size() == 0 || __s.data() != nullptr, "string_view::find_first_of(): received n…
474 … _LIBCPP_ASSERT(__n == 0 || __s != nullptr, "string_view::find_first_of(): received nullptr");
482 _LIBCPP_ASSERT(__s != nullptr, "string_view::find_first_of(): received nullptr");
491 …_LIBCPP_ASSERT(__s.size() == 0 || __s.data() != nullptr, "string_view::find_last_of(): received nu…
503 _LIBCPP_ASSERT(__n == 0 || __s != nullptr, "string_view::find_last_of(): received nullptr");
511 _LIBCPP_ASSERT(__s != nullptr, "string_view::find_last_of(): received nullptr");
520 …_LIBCPP_ASSERT(__s.size() == 0 || __s.data() != nullptr, "string_view::find_first_not_of(): receiv…
535 … _LIBCPP_ASSERT(__n == 0 || __s != nullptr, "string_view::find_first_not_of(): received nullptr");
543 _LIBCPP_ASSERT(__s != nullptr, "string_view::find_first_not_of(): received nullptr");
552 …_LIBCPP_ASSERT(__s.size() == 0 || __s.data() != nullptr, "string_view::find_last_not_of(): receive…
567 … _LIBCPP_ASSERT(__n == 0 || __s != nullptr, "string_view::find_last_not_of(): received nullptr");
575 _LIBCPP_ASSERT(__s != nullptr, "string_view::find_last_not_of(): received nullptr");