/freebsd/contrib/llvm-project/libcxx/src/ |
H A D | string.cpp | 119 // wstring in as_integer() 121 inline int as_integer(const string& func, const wstring& s, size_t* idx, int base) { in as_integer() 130 inline long as_integer(const string& func, const wstring& s, size_t* idx, int base) { in as_integer() 135 inline unsigned long as_integer(const string& func, const wstring& s, size_t* idx, int base) { in as_integer() 140 inline long long as_integer(const string& func, const wstring& s, size_t* idx, int base) { 145 inline unsigned long long as_integer(const string& func, const wstring& s, size_t* idx, int base) { in as_integer() 189 inline float as_float(const string& func, const wstring& s, size_t* idx) { 194 inline double as_float(const string& func, const wstring& s, size_t* idx) { 199 inline long double as_float(const string& func, const wstring& s, size_t* idx) { in as_float() 227 int stoi(const wstring in stoll() [all...] |
H A D | locale.cpp | 4038 wstring numpunct<wchar_t>::do_truename() const { return L"true"; } in do_truename() 4043 wstring numpunct<wchar_t>::do_falsename() const { return L"false"; } in do_falsename() 4244 static wstring* init_wweeks() { in init_wweeks() 4245 static wstring weeks[14]; in init_wweeks() 4272 const wstring* __time_get_c_storage<wchar_t>::__weeks() const { in __weeks() 4273 static const wstring* weeks = init_wweeks(); in __weeks() 4308 static wstring* init_wmonths() { in init_wmonths() 4309 static wstring months[24]; in init_wmonths() 4346 const wstring* __time_get_c_storage<wchar_t>::__months() const { in __months() 4347 static const wstring* months = init_wmonths(); in __months() [all …]
|
/freebsd/contrib/llvm-project/libcxx/include/__fwd/ |
H A D | string.h | 48 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 D | gmock-matchers-comparisons_test.cc | 1922 Matcher<const wchar_t*> m = StrEq(::std::wstring(L"Hello")); in TEST() 1927 Matcher<const ::std::wstring&> m2 = StrEq(L"Hello"); in TEST() 1931 Matcher<const ::std::wstring&> m3 = StrEq(L"\xD3\x576\x8D3\xC74D"); in TEST() 1935 ::std::wstring str(L"01204500800"); in TEST() 1937 Matcher<const ::std::wstring&> m4 = StrEq(str); in TEST() 1940 Matcher<const ::std::wstring&> m5 = StrEq(str); in TEST() 1945 Matcher<::std::wstring> m = StrEq(L"Hi-\'\"?\\\a\b\f\n\r\t\v"); in TEST() 1949 Matcher<::std::wstring> m2 = StrEq(L"\xD3\x576\x8D3\xC74D"); in TEST() 1952 ::std::wstring str(L"01204500800"); in TEST() 1954 Matcher<const ::std::wstring&> m4 = StrEq(str); in TEST() [all …]
|
/freebsd/contrib/llvm-project/libcxx/include/experimental/ |
H A D | string |
|
H A D | regex |
|
/freebsd/contrib/llvm-project/llvm/include/llvm/Support/ |
H A D | ConvertUTF.h | 227 bool ConvertUTF8toWide(llvm::StringRef Source, std::wstring &Result); 233 bool ConvertUTF8toWide(const char *Source, std::wstring &Result); 239 bool convertWideToUTF8(const std::wstring &Source, std::string &Result);
|
H A D | Program.h | 242 ErrorOr<std::wstring> flattenWindowsCommandLine(ArrayRef<StringRef> Args);
|
/freebsd/contrib/llvm-project/libcxx/include/__filesystem/ |
H A D | u8path.h | 46 std::wstring __w; in u8path() 70 std::wstring __w; in u8path()
|
H A D | path.h | 187 typedef wstring __path_string; 195 _LIBCPP_EXPORTED_FROM_ABI size_t __wide_to_char(const wstring&, char*, size_t); 676 _LIBCPP_HIDE_FROM_ABI std::wstring wstring() const { return __pn_; } 678 _LIBCPP_HIDE_FROM_ABI std::wstring generic_wstring() const { 679 std::wstring __s; 750 _LIBCPP_HIDE_FROM_ABI std::wstring wstring() const { return string<wchar_t>(); } 772 _LIBCPP_HIDE_FROM_ABI std::wstring generic_wstring() const { return string<wchar_t>(); }
|
/freebsd/contrib/llvm-project/libcxx/modules/std/ |
H A D | string.cppm |
|
/freebsd/contrib/llvm-project/llvm/lib/Support/ |
H A D | ConvertUTFWrapper.cpp | 259 bool ConvertUTF8toWide(llvm::StringRef Source, std::wstring &Result) { in ConvertUTF8toWide() 263 bool ConvertUTF8toWide(const char *Source, std::wstring &Result) { in ConvertUTF8toWide() 271 bool convertWideToUTF8(const std::wstring &Source, std::string &Result) { in convertWideToUTF8()
|
/freebsd/contrib/llvm-project/libcxx/include/ |
H A D | format | 67 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 D | string | 526 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 D | format_functions.h | 464 [[nodiscard]] _LIBCPP_ALWAYS_INLINE inline _LIBCPP_HIDE_FROM_ABI wstring 466 wstring __res; in vformat() 480 [[nodiscard]] _LIBCPP_ALWAYS_INLINE _LIBCPP_HIDE_FROM_ABI wstring 597 [[nodiscard]] _LIBCPP_ALWAYS_INLINE inline _LIBCPP_HIDE_FROM_ABI wstring 599 wstring __res; in vformat() 613 [[nodiscard]] _LIBCPP_ALWAYS_INLINE _LIBCPP_HIDE_FROM_ABI wstring
|
/freebsd/contrib/googletest/googletest/test/ |
H A D | googletest-printers-test.cc | 948 const ::std::wstring str(s, sizeof(s) / sizeof(wchar_t)); 957 EXPECT_EQ("L\"0\\x12\" L\"3\"", Print(::std::wstring(L"0\x12" 959 EXPECT_EQ("L\"mm\\x6\" L\"bananas\"", Print(::std::wstring(L"mm\x6" 961 EXPECT_EQ("L\"NOM\\x6\" L\"BANANA\"", Print(::std::wstring(L"NOM\x6" 963 EXPECT_EQ("L\"!\\x5-!\"", Print(::std::wstring(L"!\x5-!"))); 1534 FormatForComparisonFailureMessage(s, ::std::wstring()).c_str()); 1540 FormatForComparisonFailureMessage(p, ::std::wstring()).c_str()); 1595 FormatForComparisonFailureMessage(str, ::std::wstring()).c_str());
|
/freebsd/contrib/googletest/googletest/include/gtest/ |
H A D | gtest-printers.h | 444 GTEST_IMPL_FORMAT_C_STRING_AS_STRING_(wchar_t, ::std::wstring); 445 GTEST_IMPL_FORMAT_C_STRING_AS_STRING_(const wchar_t, ::std::wstring); 722 GTEST_API_ void PrintWideStringTo(const ::std::wstring& s, ::std::ostream* os); 723 inline void PrintTo(const ::std::wstring& s, ::std::ostream* os) { 1120 UniversalPrint(::std::wstring(str), os);
|
H A D | gtest-message.h | 212 Message& operator<<(const ::std::wstring& wstr);
|
H A D | gtest.h | 1564 const ::std::wstring& needle, 1565 const ::std::wstring& haystack); 1568 const ::std::wstring& needle, 1569 const ::std::wstring& haystack);
|
/freebsd/contrib/googletest/googlemock/include/gmock/ |
H A D | gmock-matchers.h | 4533 inline PolymorphicMatcher<internal::StrEqualityMatcher<std::wstring>> StrEq( 4534 const std::wstring& str) { 4536 internal::StrEqualityMatcher<std::wstring>(str, true, true)); 4540 inline PolymorphicMatcher<internal::StrEqualityMatcher<std::wstring>> StrNe( 4541 const std::wstring& str) { 4543 internal::StrEqualityMatcher<std::wstring>(str, false, true)); 4547 inline PolymorphicMatcher<internal::StrEqualityMatcher<std::wstring>> StrCaseEq( 4548 const std::wstring& str) { 4550 internal::StrEqualityMatcher<std::wstring>(str, true, false)); 4554 inline PolymorphicMatcher<internal::StrEqualityMatcher<std::wstring>> StrCaseNe( [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/WindowsDriver/ |
H A D | MSVCPaths.cpp | 136 std::wstring WideValueName; in readFullStringValue() 152 std::wstring WideValue(reinterpret_cast<const wchar_t *>(buffer.data()), in readFullStringValue() 684 convertWideToUTF8(std::wstring(VCPathWide), VCRootPath); in findVCToolChainViaSetupConfig()
|
/freebsd/contrib/llvm-project/llvm/lib/Support/Windows/ |
H A D | Program.inc | 46 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());
|
/freebsd/contrib/llvm-project/compiler-rt/lib/fuzzer/ |
H A D | FuzzerUtilWindows.cpp | 252 std::wstring buf; in SetThreadName()
|
/freebsd/contrib/llvm-project/lldb/include/lldb/Host/ |
H A D | Editline.h | 65 using EditLineStringType = std::wstring;
|
/freebsd/contrib/bsddialog/lib/ |
H A D | lib_util.c | 133 wchar_t *wstring; in alloc_mbstows() local 144 if ((wstring = calloc(nchar, sizeof(wchar_t))) == NULL) in alloc_mbstows() 146 mbstowcs(wstring, mbstring, nchar); in alloc_mbstows() 148 return (wstring); in alloc_mbstows()
|