Home
last modified time | relevance | path

Searched refs:wstring (Results 1 – 25 of 49) sorted by relevance

12

/freebsd/contrib/llvm-project/libcxx/src/
H A Dstring.cpp159 inline int as_integer(const string& func, const wstring& s, size_t* idx, int base) { in as_integer()
168 inline long as_integer(const string& func, const wstring& s, size_t* idx, int base) { in as_integer()
173 inline unsigned long as_integer(const string& func, const wstring& s, size_t* idx, int base) { in as_integer()
178 inline long long as_integer(const string& func, const wstring& s, size_t* idx, int base) { in as_integer()
183 inline unsigned long long as_integer(const string& func, const wstring& s, size_t* idx, int base) { in as_integer()
227 inline float as_float(const string& func, const wstring& s, size_t* idx) { in as_float()
232 inline double as_float(const string& func, const wstring& s, size_t* idx) { in as_float()
237 inline long double as_float(const string& func, const wstring& s, size_t* idx) { in as_float()
265 int stoi(const wstring& str, size_t* idx, int base) { return as_integer<int>("stoi", str, idx, base… in stoi()
267 long stol(const wstring& str, size_t* idx, int base) { return as_integer<long>("stol", str, idx, ba… in stol()
[all …]
H A Dlocale.cpp3954 wstring numpunct<wchar_t>::do_truename() const { return L"true"; } in do_truename()
3959 wstring numpunct<wchar_t>::do_falsename() const { return L"false"; } in do_falsename()
4160 static wstring* init_wweeks() { in init_wweeks()
4161 static wstring weeks[14]; in init_wweeks()
4188 const wstring* __time_get_c_storage<wchar_t>::__weeks() const { in __weeks()
4189 static const wstring* weeks = init_wweeks(); in __weeks()
4224 static wstring* init_wmonths() { in init_wmonths()
4225 static wstring months[24]; in init_wmonths()
4262 const wstring* __time_get_c_storage<wchar_t>::__months() const { in __months()
4263 static const wstring* months = init_wmonths(); in __months()
[all …]
/freebsd/contrib/llvm-project/libcxx/include/__fwd/
H A Dstring.h48 using wstring = basic_string<wchar_t>;
67 using wstring _LIBCPP_AVAILABILITY_PMR = basic_string<wchar_t>;
84 _LIBCPP_PREFERRED_NAME(wstring)
94 _LIBCPP_PREFERRED_NAME(pmr::wstring)
/freebsd/contrib/googletest/googlemock/test/
H A Dgmock-matchers-comparisons_test.cc1978 Matcher<const wchar_t*> m = StrEq(::std::wstring(L"Hello")); in TEST()
1983 Matcher<const ::std::wstring&> m2 = StrEq(L"Hello"); in TEST()
1987 Matcher<const ::std::wstring&> m3 = StrEq(L"\xD3\x576\x8D3\xC74D"); in TEST()
1991 ::std::wstring str(L"01204500800"); in TEST()
1993 Matcher<const ::std::wstring&> m4 = StrEq(str); in TEST()
1996 Matcher<const ::std::wstring&> m5 = StrEq(str); in TEST()
2001 Matcher<::std::wstring> m = StrEq(L"Hi-\'\"?\\\a\b\f\n\r\t\v"); in TEST()
2005 Matcher<::std::wstring> m2 = StrEq(L"\xD3\x576\x8D3\xC74D"); in TEST()
2008 ::std::wstring str(L"01204500800"); in TEST()
2010 Matcher<const ::std::wstring&> m4 = StrEq(str); in TEST()
[all …]
/freebsd/contrib/llvm-project/libcxx/include/experimental/
H A Dstring
H A Dregex
/freebsd/contrib/llvm-project/libcxx/include/__cxx03/__fwd/
H A Dstring.h47 using wstring = basic_string<wchar_t>;
61 _LIBCPP_PREFERRED_NAME(wstring)
/freebsd/contrib/llvm-project/llvm/include/llvm/Support/
H A DConvertUTF.h243 LLVM_ABI bool ConvertUTF8toWide(llvm::StringRef Source, std::wstring &Result);
249 LLVM_ABI bool ConvertUTF8toWide(const char *Source, std::wstring &Result);
255 LLVM_ABI bool convertWideToUTF8(const std::wstring &Source,
H A DProgram.h243 LLVM_ABI ErrorOr<std::wstring>
/freebsd/contrib/llvm-project/libcxx/include/__filesystem/
H A Du8path.h41 std::wstring __w; in u8path()
65 std::wstring __w; in u8path()
H A Dpath.h188 typedef wstring __path_string;
196 _LIBCPP_EXPORTED_FROM_ABI size_t __wide_to_char(const wstring&, char*, size_t);
677 _LIBCPP_HIDE_FROM_ABI std::wstring wstring() const { return __pn_; }
679 _LIBCPP_HIDE_FROM_ABI std::wstring generic_wstring() const {
680 std::wstring __s;
751 _LIBCPP_HIDE_FROM_ABI std::wstring wstring() const { return string<wchar_t>(); }
773 _LIBCPP_HIDE_FROM_ABI std::wstring generic_wstring() const { return string<wchar_t>(); }
/freebsd/contrib/llvm-project/libcxx/modules/std/
H A Dstring.inc41 using std::wstring;
67 using std::pmr::wstring;
H A Dstring.cppm
/freebsd/contrib/llvm-project/llvm/lib/Support/
H A DConvertUTFWrapper.cpp258 bool ConvertUTF8toWide(llvm::StringRef Source, std::wstring &Result) { in ConvertUTF8toWide()
262 bool ConvertUTF8toWide(const char *Source, std::wstring &Result) { in ConvertUTF8toWide()
270 bool convertWideToUTF8(const std::wstring &Source, std::string &Result) { in convertWideToUTF8()
/freebsd/contrib/llvm-project/libcxx/include/
H A Dformat67 wstring format(wformat-string<Args...> fmt, Args&&... args);
71 wstring format(const locale& loc, wformat-string<Args...> fmt, Args&&... args);
74 wstring vformat(wstring_view fmt, wformat_args args);
76 wstring vformat(const locale& loc, wstring_view fmt, wformat_args args);
H A Dstring526 typedef basic_string<wchar_t> wstring;
551 int stoi (const wstring& str, size_t* idx = nullptr, int base = 10);
552 long stol (const wstring& str, size_t* idx = nullptr, int base = 10);
553 unsigned long stoul (const wstring& str, size_t* idx = nullptr, int base = 10);
554 long long stoll (const wstring& str, size_t* idx = nullptr, int base = 10);
555 unsigned long long stoull(const wstring& str, size_t* idx = nullptr, int base = 10);
557 float stof (const wstring& str, size_t* idx = nullptr);
558 double stod (const wstring& str, size_t* idx = nullptr);
559 long double stold(const wstring& str, size_t* idx = nullptr);
561 wstring to_wstring(int val);
[all …]
/freebsd/contrib/llvm-project/libcxx/include/__format/
H A Dformat_functions.h503 [[nodiscard]] _LIBCPP_ALWAYS_INLINE inline _LIBCPP_HIDE_FROM_ABI wstring
510 return wstring{__buffer.__view()}; in vformat()
522 [[nodiscard]] _LIBCPP_ALWAYS_INLINE _LIBCPP_HIDE_FROM_ABI wstring
639 [[nodiscard]] _LIBCPP_ALWAYS_INLINE inline _LIBCPP_HIDE_FROM_ABI wstring
643 return wstring{__buffer.__view()}; in vformat()
655 [[nodiscard]] _LIBCPP_ALWAYS_INLINE _LIBCPP_HIDE_FROM_ABI wstring
/freebsd/contrib/llvm-project/libcxx/include/__locale_dir/
H A Dtime.h91 _LIBCPP_EXPORTED_FROM_ABI const wstring* __time_get_c_storage<wchar_t>::__weeks() const;
93 _LIBCPP_EXPORTED_FROM_ABI const wstring* __time_get_c_storage<wchar_t>::__months() const;
95 _LIBCPP_EXPORTED_FROM_ABI const wstring* __time_get_c_storage<wchar_t>::__am_pm() const;
97 _LIBCPP_EXPORTED_FROM_ABI const wstring& __time_get_c_storage<wchar_t>::__c() const;
99 _LIBCPP_EXPORTED_FROM_ABI const wstring& __time_get_c_storage<wchar_t>::__r() const;
101 _LIBCPP_EXPORTED_FROM_ABI const wstring& __time_get_c_storage<wchar_t>::__x() const;
103 _LIBCPP_EXPORTED_FROM_ABI const wstring& __time_get_c_storage<wchar_t>::__X() const;
/freebsd/contrib/googletest/googletest/test/
H A Dgoogletest-printers-test.cc958 const ::std::wstring str(s, sizeof(s) / sizeof(wchar_t));
967 EXPECT_EQ("L\"0\\x12\" L\"3\"", Print(::std::wstring(L"0\x12"
969 EXPECT_EQ("L\"mm\\x6\" L\"bananas\"", Print(::std::wstring(L"mm\x6"
971 EXPECT_EQ("L\"NOM\\x6\" L\"BANANA\"", Print(::std::wstring(L"NOM\x6"
973 EXPECT_EQ("L\"!\\x5-!\"", Print(::std::wstring(L"!\x5-!")));
1544 FormatForComparisonFailureMessage(s, ::std::wstring()).c_str());
1550 FormatForComparisonFailureMessage(p, ::std::wstring()).c_str());
1605 FormatForComparisonFailureMessage(str, ::std::wstring()).c_str());
/freebsd/contrib/googletest/googletest/include/gtest/
H A Dgtest-message.h212 Message& operator<<(const ::std::wstring& wstr);
H A Dgtest-printers.h448 GTEST_IMPL_FORMAT_C_STRING_AS_STRING_(wchar_t, ::std::wstring);
449 GTEST_IMPL_FORMAT_C_STRING_AS_STRING_(const wchar_t, ::std::wstring);
726 GTEST_API_ void PrintWideStringTo(const ::std::wstring& s, ::std::ostream* os);
727 inline void PrintTo(const ::std::wstring& s, ::std::ostream* os) {
1159 UniversalPrint(::std::wstring(str), os);
/freebsd/contrib/llvm-project/libcxx/include/__cxx03/
H A Dstring526 typedef basic_string<wchar_t> wstring;
551 int stoi (const wstring& str, size_t* idx = nullptr, int base = 10);
552 long stol (const wstring& str, size_t* idx = nullptr, int base = 10);
553 unsigned long stoul (const wstring& str, size_t* idx = nullptr, int base = 10);
554 long long stoll (const wstring& str, size_t* idx = nullptr, int base = 10);
555 unsigned long long stoull(const wstring& str, size_t* idx = nullptr, int base = 10);
557 float stof (const wstring& str, size_t* idx = nullptr);
558 double stod (const wstring& str, size_t* idx = nullptr);
559 long double stold(const wstring& str, size_t* idx = nullptr);
561 wstring to_wstring(int val);
[all …]
/freebsd/contrib/llvm-project/llvm/lib/WindowsDriver/
H A DMSVCPaths.cpp136 std::wstring WideValueName; in readFullStringValue()
152 std::wstring WideValue(reinterpret_cast<const wchar_t *>(buffer.data()), in readFullStringValue()
697 convertWideToUTF8(std::wstring(VCPathWide), VCRootPath); in findVCToolChainViaSetupConfig()
/freebsd/contrib/googletest/googlemock/include/gmock/
H A Dgmock-matchers.h4799 inline PolymorphicMatcher<internal::StrEqualityMatcher<std::wstring>> StrEq(
4800 const std::wstring& str) {
4802 internal::StrEqualityMatcher<std::wstring>(str, true, true));
4806 inline PolymorphicMatcher<internal::StrEqualityMatcher<std::wstring>> StrNe(
4807 const std::wstring& str) {
4809 internal::StrEqualityMatcher<std::wstring>(str, false, true));
4813 inline PolymorphicMatcher<internal::StrEqualityMatcher<std::wstring>> StrCaseEq(
4814 const std::wstring& str) {
4816 internal::StrEqualityMatcher<std::wstring>(str, true, false));
4820 inline PolymorphicMatcher<internal::StrEqualityMatcher<std::wstring>> StrCaseNe(
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Support/Windows/
H A DProgram.inc46 std::wstring PathStorage;
203 std::wstring Command = *Result;
396 ErrorOr<std::wstring> sys::flattenWindowsCommandLine(ArrayRef<StringRef> Args) {
411 return std::wstring(CommandUtf16.begin(), CommandUtf16.end());

12