/external/libcxx/test/std/strings/string.view/string.view.iterators/ |
D | begin.pass.cpp | 45 typedef std::string_view string_view; in main() typedef 50 test(string_view ()); in main() 54 test(string_view ( "123")); in main() 63 constexpr string_view sv { "123", 3 }; in main()
|
D | rbegin.pass.cpp | 46 typedef std::string_view string_view; in main() typedef 51 test(string_view ()); in main() 55 test(string_view ( "123")); in main() 64 constexpr string_view sv { "123", 3 }; in main()
|
D | rend.pass.cpp | 54 typedef std::string_view string_view; in main() typedef 59 test(string_view ()); in main() 63 test(string_view ( "123")); in main() 72 constexpr string_view sv { "123", 3 }; in main()
|
D | end.pass.cpp | 54 typedef std::string_view string_view; in main() typedef 59 test(string_view ()); in main() 63 test(string_view ( "123")); in main() 72 constexpr string_view sv { "123", 3 }; in main()
|
/external/libcxx/test/std/experimental/string.view/string.view.iterators/ |
D | begin.pass.cpp | 45 typedef std::experimental::string_view string_view; in main() typedef 50 test(string_view ()); in main() 54 test(string_view ( "123")); in main() 63 constexpr string_view sv { "123", 3 }; in main()
|
D | end.pass.cpp | 54 typedef std::experimental::string_view string_view; in main() typedef 59 test(string_view ()); in main() 63 test(string_view ( "123")); in main() 72 constexpr string_view sv { "123", 3 }; in main()
|
D | rbegin.pass.cpp | 46 typedef std::experimental::string_view string_view; in main() typedef 51 test(string_view ()); in main() 55 test(string_view ( "123")); in main()
|
D | rend.pass.cpp | 54 typedef std::experimental::string_view string_view; in main() typedef 59 test(string_view ()); in main() 63 test(string_view ( "123")); in main()
|
/external/libcxx/test/std/strings/string.view/string.view.cons/ |
D | implicit_deduction_guides.pass.cpp | 36 const std::string_view sin("abc"); in main() 38 ASSERT_SAME_TYPE(decltype(s), std::string_view); in main() 49 ASSERT_SAME_TYPE(decltype(s), std::string_view); in main() 58 ASSERT_SAME_TYPE(decltype(s), std::string_view); in main()
|
D | default.pass.cpp | 38 typedef std::string_view string_view; in main() typedef 43 test<string_view> (); in main()
|
D | from_string1.fail.cpp | 23 using string_view = std::basic_string_view<char>; in main() typedef 28 string_view sv1 ( s ); in main()
|
D | from_string2.fail.cpp | 23 using string_view = std::basic_string_view<char, dummy_char_traits>; in main() typedef 28 string_view sv1 ( s ); in main()
|
/external/libcxx/test/std/strings/string.view/string_view.literals/ |
D | literal.pass.cpp | 23 static_assert ( std::is_same<decltype( "Hi"sv), std::string_view>::value, "" ); in main() 24 static_assert ( std::is_same<decltype( u8"Hi"sv), std::string_view>::value, "" ); in main() 29 std::string_view foo; in main() 46 foo = "ABC"sv; assert( foo == "ABC"); assert( foo == std::string_view ( "ABC")); in main() 47 foo = u8"ABC"sv; assert( foo == u8"ABC"); assert( foo == std::string_view (u8"ABC")); in main()
|
D | literal1.fail.cpp | 20 using std::string_view; in main() 22 string_view foo = ""sv; // should fail w/conversion operator not found in main()
|
/external/libcxx/include/ |
D | string_view | 2 //===------------------------ string_view ---------------------------------===// 15 string_view synopsis 51 typedef basic_string_view<char> string_view; 154 template <> struct hash<string_view>; 217 // _LIBCPP_ASSERT(__len == 0 || __s != nullptr, "string_view::string_view(_CharT *, size_t)… 271 ? (__throw_out_of_range("string_view::at"), __data[0]) 278 return _LIBCPP_ASSERT(!empty(), "string_view::front(): string is empty"), __data[0]; 284 return _LIBCPP_ASSERT(!empty(), "string_view::back(): string is empty"), __data[__size-1]; 329 __throw_out_of_range("string_view::copy"); 339 ? (__throw_out_of_range("string_view::substr"), basic_string_view()) [all …]
|
/external/libcxx/test/std/experimental/string.view/string.view.cons/ |
D | default.pass.cpp | 38 typedef std::experimental::string_view string_view; in main() typedef 43 test<string_view> (); in main()
|
/external/libcxx/include/experimental/ |
D | string_view | 2 //===------------------------ string_view ---------------------------------===// 15 string_view synopsis 53 typedef basic_string_view<char> string_view; 167 template <> struct hash<experimental::string_view>; 231 // _LIBCPP_ASSERT(__len == 0 || __s != nullptr, "string_view::string_view(_CharT *, siz… 284 ? (__throw_out_of_range("string_view::at"), __data[0]) 291 return _LIBCPP_ASSERT(!empty(), "string_view::front(): string is empty"), __data[0]; 297 … return _LIBCPP_ASSERT(!empty(), "string_view::back(): string is empty"), __data[__size-1]; 355 __throw_out_of_range("string_view::copy"); 365 // __throw_out_of_range("string_view::substr"); [all …]
|
/external/libcxx/test/std/strings/string.view/string.view.io/ |
D | stream_insert.pass.cpp | 21 using std::string_view; 28 string_view sv("some text"); in main() 36 string_view sv(s); in main()
|
/external/libcxx/test/std/experimental/string.view/string.view.io/ |
D | stream_insert.pass.cpp | 21 using std::experimental::string_view; 28 string_view sv("some text"); in main() 36 string_view sv(s); in main()
|
/external/libcxx/test/std/experimental/string.view/string.view.ops/ |
D | substr.pass.cpp | 96 constexpr std::experimental::string_view sv1 { "ABCDE", 5 }; in main() 99 constexpr std::experimental::string_view sv2 = sv1.substr ( 0, 3 ); in main() 107 constexpr std::experimental::string_view sv2 = sv1.substr ( 3, 0 ); in main() 112 constexpr std::experimental::string_view sv2 = sv1.substr ( 3, 3 ); in main()
|
/external/libcxx/test/std/strings/string.view/string.view.ops/ |
D | substr.pass.cpp | 98 constexpr std::string_view sv1 { "ABCDE", 5 }; in main() 101 constexpr std::string_view sv2 = sv1.substr ( 0, 3 ); in main() 109 constexpr std::string_view sv2 = sv1.substr ( 3, 0 ); in main() 114 constexpr std::string_view sv2 = sv1.substr ( 3, 3 ); in main()
|
/external/libcxx/test/std/strings/string.view/string.view.capacity/ |
D | capacity.pass.cpp | 58 typedef std::string_view string_view; in main() typedef 63 test1<string_view> (); in main()
|
/external/libcxx/test/std/experimental/string.view/string.view.capacity/ |
D | capacity.pass.cpp | 58 typedef std::experimental::string_view string_view; in main() typedef 63 test1<string_view> (); in main()
|
/external/libcxx/test/std/strings/basic.string/string.modifiers/string_append/ |
D | T_size_size.pass.cpp | 79 typedef std::string_view SV; in main() 131 typedef std::string_view SV; in main() 143 std::string_view sv = "EFGH"; in main() 177 std::string_view sv = s; in main() 192 std::string_view sv = s; in main()
|
/external/libcxx/test/std/strings/basic.string/string.modifiers/string_assign/ |
D | T_size_size.pass.cpp | 78 typedef std::string_view SV; in main() 130 typedef std::string_view SV; in main() 142 std::string_view sv = "EFGH"; in main() 176 std::string_view sv = s; in main() 187 std::string_view sv = s; in main()
|