Home
last modified time | relevance | path

Searched refs:string_type (Results 1 – 25 of 85) sorted by relevance

1234

/llvm-project/libcxx/test/std/input.output/filesystems/class.path/path.member/path.native.obs/
H A Doperator_string.pass.cpp30 using string_type = path::string_type; in main() typedef
33 fs::path::string_type pathstr_value(value_str.begin(), value_str.end()); in main()
36 static_assert(std::is_convertible<path, string_type>::value, ""); in main()
37 static_assert(std::is_constructible<string_type, path>::value, ""); in main()
38 ASSERT_SAME_TYPE(string_type, decltype(p.operator string_type())); in main()
39 ASSERT_NOT_NOEXCEPT(p.operator string_type()); in main()
44 string_type s = p; in main()
/llvm-project/libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.relative/
H A Drelative.pass.cpp34 assert(output == fs::path::string_type(fs::current_path())); in test_signature_0()
40 assert(output == fs::path::string_type(fs::current_path())); in test_signature_1()
47 assert(output == fs::path::string_type(static_env.File)); in test_signature_2()
54 assert(output == fs::path::string_type(static_env.Dir)); in test_signature_3()
61 assert(output == fs::path::string_type(static_env.Dir)); in test_signature_4()
68 assert(output == fs::path::string_type(static_env.Dir / "dir2")); in test_signature_5()
77 assert(output == fs::path::string_type(static_env.Dir / "dir2")); in test_signature_6()
84 assert(output == fs::path::string_type(static_env.Dir / "dir2/DNE/")); in test_signature_7()
91 assert(output == fs::path::string_type(static_env.Dir2)); in test_signature_8()
105 assert(output == fs::path::string_type(static_env.Dir2)); in test_signature_9()
[all …]
/llvm-project/libcxx/test/std/input.output/filesystems/class.path/path.nonmember/
H A Dswap.pass.cpp33 fs::path::string_type ps1 = p1.native(); in main()
34 fs::path::string_type ps2 = p2.native(); in main()
51 fs::path::string_type ps1 = p1.native(); in main()
52 fs::path::string_type ps2 = p2.native(); in main()
/llvm-project/libcxx/test/std/input.output/iostream.format/input.streams/istream.unformatted/
H A Dsync.pass.cpp30 typedef std::basic_string<CharT> string_type;
33 string_type str_;
37 testbuf(const string_type& str) in testbuf()
76 typedef std::basic_string<CharT> string_type;
79 string_type str_;
83 throwing_testbuf(const string_type& str) in throwing_testbuf()
29 typedef std::basic_string<CharT> string_type; global() typedef
75 typedef std::basic_string<CharT> string_type; global() typedef
H A Dtellg.pass.cpp23 typedef std::basic_string<CharT> string_type;
26 string_type str_;
30 testbuf(const string_type& str) in testbuf()
22 typedef std::basic_string<CharT> string_type; global() typedef
H A Dseekg.pass.cpp23 typedef std::basic_string<CharT> string_type;
26 string_type str_;
30 testbuf(const string_type& str) in testbuf()
22 typedef std::basic_string<CharT> string_type; global() typedef
H A Dseekg_off.pass.cpp25 typedef std::basic_string<CharT> string_type;
28 string_type str_;
32 testbuf(const string_type& str) in testbuf()
24 typedef std::basic_string<CharT> string_type; global() typedef
/llvm-project/libcxx/include/
H A Dsstream354 typedef basic_string<char_type, traits_type, allocator_type> string_type;
357 string_type __str_;
375 _LIBCPP_HIDE_FROM_ABI explicit basic_stringbuf(const string_type& __s,
390 _LIBCPP_HIDE_FROM_ABI explicit basic_stringbuf(string_type&& __s,
435 __str_ = string_type(__sv, __a);
468 string_type str() const;
470 _LIBCPP_HIDE_FROM_ABI string_type str() const& { return str(__str_.get_allocator()); }
472 _LIBCPP_HIDE_FROM_ABI string_type str() && {
474 typename string_type::size_type __pos = __view.empty() ? 0 : __view.data() - __str_.data();
475 // In C++23, this is just string_type(st
[all...]
H A Dlocale841 typedef typename numpunct<_CharT>::string_type string_type;
842 const string_type __names[2] = {__np.truename(), __np.falsename()};
843 const string_type* __i = std::__scan_keyword(__b, __e, __names, __names + 2, __ct, __err);
1252 typedef typename numpunct<char_type>::string_type string_type;
1253 string_type __nm = __v ? __np.truename() : __np.falsename();
1254 for (typename string_type::iterator __i = __nm.begin(); __i != __nm.end(); ++__i, ++__s)
1442 typedef basic_string<_CharT> string_type;
1444 virtual const string_type* __week
[all...]
/llvm-project/libcxx/include/__filesystem/
H A Dpath.h399 typedef basic_string<value_type> string_type;
409 _LIBCPP_HIDE_FROM_ABI path(string_type&& __s, format = format::auto_format) noexcept : __pn_(std::move(__s)) {}
446 _LIBCPP_HIDE_FROM_ABI path& operator=(string_type&& __s) noexcept {
451 _LIBCPP_HIDE_FROM_ABI path& assign(string_type&& __s) noexcept {
564 _LIBCPP_HIDE_FROM_ABI path& operator+=(const string_type& __x) {
669 _LIBCPP_HIDE_FROM_ABI const string_type& native() const noexcept { return __pn_; }
673 _LIBCPP_HIDE_FROM_ABI operator string_type() const { return __pn_; }
793 _LIBCPP_HIDE_FROM_ABI int compare(const string_type& __s) const { return __compare(__s); }
798 _LIBCPP_HIDE_FROM_ABI path root_name() const { return string_type(__root_name()); }
799 _LIBCPP_HIDE_FROM_ABI path root_directory() const { return string_type(__root_director
[all...]
/llvm-project/libcxx/test/std/localization/locale.categories/category.numeric/locale.num.get/
H A Duser_defined_char_type.pass.cpp128 typedef basic_string<Char> string_type;
133 string_type truename() const { in grouping()
135 return string_type(yes, 1); in truename()
137 string_type falsename() const { in truename()
139 return string_type(no, 1); in falsename()
129 typedef basic_string<Char> string_type; global() typedef in std::numpunct
/llvm-project/libcxx/test/std/input.output/iostream.format/ext.manip/
H A Dget_money.pass.cpp29 typedef std::basic_string<CharT> string_type; typedef
32 string_type str_;
36 testbuf(const string_type& str) in testbuf()
H A Dget_time.pass.cpp26 typedef std::basic_string<CharT> string_type; typedef
29 string_type str_;
33 testbuf(const string_type& str) in testbuf()
/llvm-project/libcxx/test/std/input.output/iostream.format/input.streams/istream.rvalue/
H A Drvalue.pass.cpp24 typedef std::basic_string<CharT> string_type; typedef
27 string_type str_;
31 testbuf(const string_type& str) in testbuf()
/llvm-project/lldb/test/API/functionalities/data-formatter/data-formatter-stl/libcxx/shared_ptr/
H A DTestDataFormatterLibcxxSharedPtr.py63 string_type = "std::string"
65 string_type = "std::basic_string<char, std::char_traits<char>, std::allocator<char> > "
69 type="std::shared_ptr<" + string_type + ">",
/llvm-project/libcxx/test/std/input.output/iostream.format/input.streams/istream.formatted/istream_extractors/
H A Dunsigned_char.pass.cpp24 typedef std::basic_string<CharT> string_type;
27 string_type str_;
31 testbuf(const string_type& str) in testbuf()
22 typedef std::basic_string<CharT> string_type; global() typedef
H A Dsigned_char.pass.cpp24 typedef std::basic_string<CharT> string_type;
27 string_type str_;
31 testbuf(const string_type& str) in testbuf()
22 typedef std::basic_string<CharT> string_type; global() typedef
/llvm-project/libcxx/test/std/input.output/iostream.format/input.streams/istream.formatted/istream.formatted.arithmetic/
H A Dlong.pass.cpp29 typedef std::basic_string<CharT> string_type;
32 string_type str_;
36 testbuf(const string_type& str) in testbuf()
27 typedef std::basic_string<CharT> string_type; global() typedef
H A Dlong_double.pass.cpp29 typedef std::basic_string<CharT> string_type;
32 string_type str_;
36 testbuf(const string_type& str) in testbuf()
27 typedef std::basic_string<CharT> string_type; global() typedef
H A Dunsigned_long_long.pass.cpp29 typedef std::basic_string<CharT> string_type;
32 string_type str_;
36 testbuf(const string_type& str) in testbuf()
27 typedef std::basic_string<CharT> string_type; global() typedef
H A Dunsigned_int.pass.cpp29 typedef std::basic_string<CharT> string_type;
32 string_type str_;
36 testbuf(const string_type& str) in testbuf()
27 typedef std::basic_string<CharT> string_type; global() typedef
H A Dbool.pass.cpp29 typedef std::basic_string<CharT> string_type;
32 string_type str_;
36 testbuf(const string_type& str) in testbuf()
27 typedef std::basic_string<CharT> string_type; global() typedef
H A Ddouble.pass.cpp29 typedef std::basic_string<CharT> string_type;
32 string_type str_;
36 testbuf(const string_type& str) in testbuf()
27 typedef std::basic_string<CharT> string_type; global() typedef
H A Dunsigned_long.pass.cpp29 typedef std::basic_string<CharT> string_type;
32 string_type str_;
36 testbuf(const string_type& str) in testbuf()
27 typedef std::basic_string<CharT> string_type; global() typedef
H A Dint.pass.cpp30 typedef std::basic_string<CharT> string_type;
33 string_type str_;
37 testbuf(const string_type& str) in testbuf()
28 typedef std::basic_string<CharT> string_type; global() typedef

1234