Home
last modified time | relevance | path

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

12

/freebsd-src/contrib/llvm-project/libcxx/src/
H A Dstring.cpp121 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) { in as_integer()
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) { in as_float()
194 inline double as_float(const string& func, const wstring& s, size_t* idx) { in as_float()
199 inline long double as_float(const string& func, const wstring& s, size_t* idx) { in as_float()
227 int stoi(const wstring& str, size_t* idx, int base) { return as_integer<int>("stoi", str, idx, base… in stoi()
229 long stol(const wstring& str, size_t* idx, int base) { return as_integer<long>("stol", str, idx, ba… in stol()
[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() {
4245 static wstring weeks[14];
4272 const wstring* __time_get_c_storage<wchar_t>::__weeks() const {
4273 static const wstring* weeks = init_wweeks();
4308 static wstring* init_wmonths() {
4309 static wstring months[24];
4346 const wstring* __time_get_c_storage<wchar_t>::__months() const {
4347 static const wstring* month
[all...]
/freebsd-src/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-src/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 in TEST()
[all...]
/freebsd-src/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-src/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-src/contrib/llvm-project/libcxx/modules/std/
H A Dstring.inc41 using std::wstring;
67 using std::pmr::wstring;
/freebsd-src/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-src/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_wstrin
[all...]
H A Dfilesystem100 std::wstring wstring() const;
110 std::wstring generic_wstring() const;
/freebsd-src/contrib/llvm-project/libcxx/include/__format/
H A Dformat_functions.h464 [[nodiscard]] _LIBCPP_ALWAYS_INLINE inline _LIBCPP_HIDE_FROM_ABI wstring
466 wstring __res;
480 [[nodiscard]] _LIBCPP_ALWAYS_INLINE _LIBCPP_HIDE_FROM_ABI wstring
597 [[nodiscard]] _LIBCPP_ALWAYS_INLINE inline _LIBCPP_HIDE_FROM_ABI wstring
599 wstring __res;
613 [[nodiscard]] _LIBCPP_ALWAYS_INLINE _LIBCPP_HIDE_FROM_ABI wstring
/freebsd-src/contrib/googletest/googletest/test/
H A Dgoogletest-printers-test.cc943 // Tests printing ::std::wstring.
945 // ::std::wstring.
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-!")));
1530 // wchar_t pointer vs std::wstring
1534 FormatForComparisonFailureMessage(s, ::std::wstring()).c_str());
1540 FormatForComparisonFailureMessage(p, ::std::wstring())
[all...]
H A Dgtest_unittest.cc2658 // argument type is ::std::wstring. in TEST()
2660 EXPECT_TRUE(IsSubstring("", "", ::std::wstring(L"needle"), L"two needles"));
2661 EXPECT_FALSE(IsSubstring("", "", L"needle", ::std::wstring(L"haystack")));
2665 // argument type is ::std::wstring. in TEST()
2672 IsSubstring("needle_expr", "haystack_expr", ::std::wstring(L"needle"),
2730 // argument type is ::std::wstring. in TEST()
2733 IsNotSubstring("", "", ::std::wstring(L"needle"), L"two needles"));
2734 EXPECT_TRUE(IsNotSubstring("", "", L"needle", ::std::wstring(L"haystack")));
4818 // Tests using ::std::wstring values in {EXPECT|ASSERT}_EQ. in TEST()
4821 const ::std::wstring wstr in TEST()
[all...]
/freebsd-src/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);
720 // Overloads for ::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);
239 // ::std::string, ::wstring, or ::std::wstring object, each NUL
H A Dgtest.h1564 const ::std::wstring& needle,
1565 const ::std::wstring& haystack);
1568 const ::std::wstring& needle, in CmpHelperFloatingPointEQ()
1569 const ::std::wstring& haystack); in CmpHelperFloatingPointEQ()
/freebsd-src/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>> StrCaseN
[all...]
/freebsd-src/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-src/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-src/contrib/llvm-project/lldb/include/lldb/Host/
H A DEditline.h65 using EditLineStringType = std::wstring;
/freebsd-src/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()
/freebsd-src/contrib/llvm-project/llvm/lib/ExecutionEngine/Orc/TargetProcess/
H A DExecutorSharedMemoryMapperService.cpp107 std::wstring WideSharedMemoryName(SharedMemoryName.begin(), in reserve()

12