Home
last modified time | relevance | path

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

12

/freebsd/contrib/llvm-project/libcxx/src/
H A Dstring.cpp119 // 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 Dlocale.cpp4038 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 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.cc1922 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 Dstring
H A Dregex
/freebsd/contrib/llvm-project/llvm/include/llvm/Support/
H A DConvertUTF.h227 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 DProgram.h242 ErrorOr<std::wstring> flattenWindowsCommandLine(ArrayRef<StringRef> Args);
/freebsd/contrib/llvm-project/libcxx/include/__filesystem/
H A Du8path.h46 std::wstring __w; in u8path()
70 std::wstring __w; in u8path()
H A Dpath.h187 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 Dstring.cppm
/freebsd/contrib/llvm-project/llvm/lib/Support/
H A DConvertUTFWrapper.cpp259 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 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.h464 [[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 Dgoogletest-printers-test.cc948 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 Dgtest-printers.h444 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 Dgtest-message.h212 Message& operator<<(const ::std::wstring& wstr);
H A Dgtest.h1564 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 Dgmock-matchers.h4533 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 DMSVCPaths.cpp136 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 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());
/freebsd/contrib/llvm-project/compiler-rt/lib/fuzzer/
H A DFuzzerUtilWindows.cpp252 std::wstring buf; in SetThreadName()
/freebsd/contrib/llvm-project/lldb/include/lldb/Host/
H A DEditline.h65 using EditLineStringType = std::wstring;
/freebsd/contrib/bsddialog/lib/
H A Dlib_util.c133 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()

12