Home
last modified time | relevance | path

Searched refs:u8string (Results 1 – 25 of 30) sorted by relevance

12

/external/llvm-project/libcxx/test/std/input.output/filesystems/class.path/path.member/path.native.obs/
Dnamed_overloads.pass.cpp50 ASSERT_SAME_TYPE(decltype(p.u8string()), std::u8string); in main()
51 std::u8string s = p.u8string(); in main()
54 ASSERT_SAME_TYPE(decltype(p.u8string()), std::string); in main()
55 std::string s = p.u8string(); in main()
/external/llvm-project/libcxx/test/std/strings/basic.string.literals/
Dliteral.pass.cpp18 typedef std::u8string u8string; typedef
20 typedef std::string u8string; typedef
29 static_assert ( std::is_same<decltype( u8"Hi"s), u8string>::value, "" ); in main()
36 u8string u8foo; in main()
53 u8foo = u8"ABC"s; assert(u8foo == u8"ABC"); assert(u8foo == u8string (u8"ABC")); in main()
/external/libcxx/test/std/strings/basic.string.literals/
Dliteral.pass.cpp19 typedef std::u8string u8string; typedef
21 typedef std::string u8string; typedef
30 static_assert ( std::is_same<decltype( u8"Hi"s), u8string>::value, "" ); in main()
37 u8string u8foo; in main()
54 u8foo = u8"ABC"s; assert(u8foo == u8"ABC"); assert(u8foo == u8string (u8"ABC")); in main()
/external/llvm-project/libcxx/test/std/input.output/filesystems/class.path/path.member/
Dpath.charconv.pass.cpp67 assert(p.u8string() == u8str); in test_latin_unicode()
75 assert(p.u8string() == u8str); in test_latin_unicode()
83 assert(p.u8string() == u8str); in test_latin_unicode()
94 assert(p.u8string() == u8str); in test_latin_unicode()
130 assert(p.u8string() == u8str); in test_latin_unicode()
170 assert(p.u8string() == u8str); in test_latin_unicode()
189 assert(p.u8string() == u8str); in test_latin_unicode()
213 assert(p.u8string() == u8str); in test_wide_unicode()
219 assert(p.u8string() == u8str); in test_wide_unicode()
225 assert(p.u8string() == u8str); in test_wide_unicode()
[all …]
/external/libcxx/test/std/strings/string.view/string.view.cons/
Dfrom_string.pass.cpp46 test ( std::u8string{u8"QBCDE"} ); in main()
47 test ( std::u8string{u8""} ); in main()
48 test ( std::u8string{} ); in main()
/external/llvm-project/libcxx/test/std/strings/string.view/string.view.cons/
Dfrom_string.pass.cpp45 test ( std::u8string{u8"QBCDE"} ); in main()
46 test ( std::u8string{u8""} ); in main()
47 test ( std::u8string{} ); in main()
/external/llvm-project/libcxx/test/std/input.output/filesystems/class.path/path.member/path.generic.obs/
Dnamed_overloads.pass.cpp49 ASSERT_SAME_TYPE(decltype(p.generic_u8string()), std::u8string); in main()
50 std::u8string s = p.generic_u8string(); in main()
/external/llvm-project/libcxx/test/std/strings/basic.string.hash/
Denabled_hashes.pass.cpp28 test_hash_enabled_for_type<std::u8string>(); in main()
Dstrings.pass.cpp47 test<std::u8string>(); in main()
/external/libcxx/test/std/strings/basic.string.hash/
Denabled_hashes.pass.cpp27 test_hash_enabled_for_type<std::u8string>(); in main()
Dstrings.pass.cpp48 test<std::u8string>(); in main()
/external/libcxx/test/std/strings/string.classes/
Dtypedefs.pass.cpp31 static_assert((std::is_same<std::u8string, std::basic_string<char8_t> >::value), ""); in main()
/external/llvm-project/libcxx/test/std/strings/string.classes/
Dtypedefs.pass.cpp30 static_assert((std::is_same<std::u8string, std::basic_string<char8_t> >::value), ""); in main()
/external/libcxx/test/std/input.output/filesystems/class.path/path.member/path.native.obs/
Dnamed_overloads.pass.cpp47 std::string s = p.u8string(); in main()
/external/llvm-project/libcxx/docs/
DReleaseNotes.rst60 - In C++20 mode, ``std::filesystem::path::u8string()`` and
61 ``generic_u8string()`` now return ``std::u8string`` according to P0428,
/external/llvm-project/libcxx/test/std/input.output/filesystems/class.path/path.nonmember/
Dpath.factory.pass.cpp55 const std::u8string u8In2(u8In1); in main()
/external/googletest/googletest/include/gtest/
Dgtest-printers.h389 GTEST_IMPL_FORMAT_C_STRING_AS_STRING_(char8_t, ::std::u8string);
390 GTEST_IMPL_FORMAT_C_STRING_AS_STRING_(const char8_t, ::std::u8string);
555 GTEST_API_ void PrintU8StringTo(const ::std::u8string& s, ::std::ostream* os);
556 inline void PrintTo(const ::std::u8string& s, ::std::ostream* os) {
905 UniversalPrint(::std::u8string(str), os);
/external/llvm-project/libcxx/test/std/strings/basic.string/string.iterators/
Diterators.pass.cpp53 typedef std::u8string C; in main()
/external/libcxx/test/std/strings/basic.string/string.iterators/
Diterators.pass.cpp52 typedef std::u8string C; in main()
/external/icu/libicu/cts_headers/unicode/
Dstringpiece.h108 StringPiece(const std::u8string& str) in StringPiece()
/external/icu/icu4c/source/common/unicode/
Dstringpiece.h108 StringPiece(const std::u8string& str) in StringPiece()
/external/python/pybind11/tests/
Dtest_builtin_casters.cpp108 …m.def("good_utf8_u8string", []() { return std::u8string(u8"Say utf8\u203d \U0001f382 \U0001d400");… in PYBIND11_NAMESPACE_END()
109 m.def("bad_utf8_u8string", []() { return std::u8string((const char8_t*)"abc\xd0" "def"); }); in PYBIND11_NAMESPACE_END()
/external/googletest/googletest/src/
Dgtest-printers.cc512 void PrintU8StringTo(const ::std::u8string& s, ostream* os) { in PrintU8StringTo()
/external/llvm-project/libcxx/include/
Dfilesystem1005 …_LIBCPP_INLINE_VISIBILITY _VSTD::u8string u8string() const { return _VSTD::u8string(__pn_.begin(),…
1007 _LIBCPP_INLINE_VISIBILITY _VSTD::string u8string() const { return __pn_; }
1037 _VSTD::u8string generic_u8string() const { return _VSTD::u8string(__pn_.begin(), __pn_.end()); }
/external/icu/icu4c/source/test/intltest/
Dstrtest.cpp565 std::u8string u8str(u8"str"); // C++20 in TestStringPieceU8()

12