Lines Matching refs:string_view

15     string_view synopsis
63 typedef basic_string_view<char> string_view;
188 template <> struct hash<string_view>;
210 #include <__fwd/string_view.h>
250 // string_view constructors. This can be refactored when this exact form isn't needed anymore.
297 …_LIBCPP_ASSERT(__len == 0 || __s != nullptr, "string_view::string_view(_CharT *, size_t): received…
307 …_LIBCPP_ASSERT((__end - __begin) >= 0, "std::string_view::string_view(iterator, sentinel) received…
379 return _LIBCPP_ASSERT(__pos < size(), "string_view[] index out of bounds"), __data_[__pos];
386 ? (__throw_out_of_range("string_view::at"), __data_[0])
393 return _LIBCPP_ASSERT(!empty(), "string_view::front(): string is empty"), __data_[0];
399 return _LIBCPP_ASSERT(!empty(), "string_view::back(): string is empty"), __data_[__size_-1];
437 __throw_out_of_range("string_view::copy");
447 ? (__throw_out_of_range("string_view::substr"), basic_string_view())
495 … _LIBCPP_ASSERT(__s.size() == 0 || __s.data() != nullptr, "string_view::find(): received nullptr");
510 _LIBCPP_ASSERT(__n == 0 || __s != nullptr, "string_view::find(): received nullptr");
518 _LIBCPP_ASSERT(__s != nullptr, "string_view::find(): received nullptr");
527 … _LIBCPP_ASSERT(__s.size() == 0 || __s.data() != nullptr, "string_view::find(): received nullptr");
542 _LIBCPP_ASSERT(__n == 0 || __s != nullptr, "string_view::rfind(): received nullptr");
550 _LIBCPP_ASSERT(__s != nullptr, "string_view::rfind(): received nullptr");
559 …_LIBCPP_ASSERT(__s.size() == 0 || __s.data() != nullptr, "string_view::find_first_of(): received n…
571 … _LIBCPP_ASSERT(__n == 0 || __s != nullptr, "string_view::find_first_of(): received nullptr");
579 _LIBCPP_ASSERT(__s != nullptr, "string_view::find_first_of(): received nullptr");
588 …_LIBCPP_ASSERT(__s.size() == 0 || __s.data() != nullptr, "string_view::find_last_of(): received nu…
600 _LIBCPP_ASSERT(__n == 0 || __s != nullptr, "string_view::find_last_of(): received nullptr");
608 _LIBCPP_ASSERT(__s != nullptr, "string_view::find_last_of(): received nullptr");
617 …_LIBCPP_ASSERT(__s.size() == 0 || __s.data() != nullptr, "string_view::find_first_not_of(): receiv…
632 … _LIBCPP_ASSERT(__n == 0 || __s != nullptr, "string_view::find_first_not_of(): received nullptr");
640 _LIBCPP_ASSERT(__s != nullptr, "string_view::find_first_not_of(): received nullptr");
649 …_LIBCPP_ASSERT(__s.size() == 0 || __s.data() != nullptr, "string_view::find_last_not_of(): receive…
664 … _LIBCPP_ASSERT(__n == 0 || __s != nullptr, "string_view::find_last_not_of(): received nullptr");
672 _LIBCPP_ASSERT(__s != nullptr, "string_view::find_last_not_of(): received nullptr");