• Home
  • Raw
  • Download

Lines Matching refs:_LIBCPP_ASSERT

233 //         _LIBCPP_ASSERT(__len == 0 || __s != nullptr, "string_view::string_view(_CharT *, size_t)…
294 return _LIBCPP_ASSERT(!empty(), "string_view::front(): string is empty"), __data[0];
300 return _LIBCPP_ASSERT(!empty(), "string_view::back(): string is empty"), __data[__size-1];
310 _LIBCPP_ASSERT(__n <= size(), "remove_prefix() can't remove more than size()");
318 _LIBCPP_ASSERT(__n <= size(), "remove_suffix() can't remove more than size()");
396_LIBCPP_ASSERT(__s.size() == 0 || __s.data() != nullptr, "string_view::find(): received nullptr");
411 _LIBCPP_ASSERT(__n == 0 || __s != nullptr, "string_view::find(): received nullptr");
419 _LIBCPP_ASSERT(__s != nullptr, "string_view::find(): received nullptr");
428_LIBCPP_ASSERT(__s.size() == 0 || __s.data() != nullptr, "string_view::find(): received nullptr");
443 _LIBCPP_ASSERT(__n == 0 || __s != nullptr, "string_view::rfind(): received nullptr");
451 _LIBCPP_ASSERT(__s != nullptr, "string_view::rfind(): received nullptr");
460_LIBCPP_ASSERT(__s.size() == 0 || __s.data() != nullptr, "string_view::find_first_of(): received n…
472_LIBCPP_ASSERT(__n == 0 || __s != nullptr, "string_view::find_first_of(): received nullptr");
480 _LIBCPP_ASSERT(__s != nullptr, "string_view::find_first_of(): received nullptr");
489_LIBCPP_ASSERT(__s.size() == 0 || __s.data() != nullptr, "string_view::find_last_of(): received nu…
501 _LIBCPP_ASSERT(__n == 0 || __s != nullptr, "string_view::find_last_of(): received nullptr");
509 _LIBCPP_ASSERT(__s != nullptr, "string_view::find_last_of(): received nullptr");
518_LIBCPP_ASSERT(__s.size() == 0 || __s.data() != nullptr, "string_view::find_first_not_of(): receiv…
533_LIBCPP_ASSERT(__n == 0 || __s != nullptr, "string_view::find_first_not_of(): received nullptr");
541 _LIBCPP_ASSERT(__s != nullptr, "string_view::find_first_not_of(): received nullptr");
550_LIBCPP_ASSERT(__s.size() == 0 || __s.data() != nullptr, "string_view::find_last_not_of(): receive…
565_LIBCPP_ASSERT(__n == 0 || __s != nullptr, "string_view::find_last_not_of(): received nullptr");
573 _LIBCPP_ASSERT(__s != nullptr, "string_view::find_last_not_of(): received nullptr");