Home
last modified time | relevance | path

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

12

/freebsd-14.2/contrib/llvm-project/libcxx/src/
H A Dstring.cpp288 struct initial_string<wstring> {
289 wstring operator()() const { in operator ()()
290 wstring s(20, wchar_t()); in operator ()()
329 wstring to_wstring(int val) { return i_to_string<wstring>(val); } in to_wstring()
330 wstring to_wstring(long val) { return i_to_string<wstring>(val); } in to_wstring()
331 wstring to_wstring(long long val) { return i_to_string<wstring>(val); } in to_wstring()
332 wstring to_wstring(unsigned val) { return i_to_string<wstring>(val); } in to_wstring()
333 wstring to_wstring(unsigned long val) { return i_to_string<wstring>(val); } in to_wstring()
334 wstring to_wstring(unsigned long long val) { return i_to_string<wstring>(val); } in to_wstring()
342 wstring to_wstring(float val) { return as_string(get_swprintf(), initial_string<wstring>()(), L"%f"… in to_wstring()
[all …]
H A Dlocale.cpp4246 static wstring* init_wweeks() { in init_wweeks()
4247 static wstring weeks[14]; in init_wweeks()
4310 static wstring* init_wmonths() { in init_wmonths()
4311 static wstring months[24]; in init_wmonths()
4362 static wstring* init_wam_pm() { in init_wam_pm()
4363 static wstring am_pm[2]; in init_wam_pm()
4393 static wstring s(L"%m/%d/%y"); in __x()
4407 static wstring s(L"%H:%M:%S"); in __X()
4421 static wstring s(L"%a %b %d %H:%M:%S %Y"); in __c()
4435 static wstring s(L"%I:%M:%S %p"); in __r()
[all …]
/freebsd-14.2/contrib/llvm-project/libcxx/include/__fwd/
H A Dstring.h51 using wstring = basic_string<wchar_t>;
70 using wstring _LIBCPP_AVAILABILITY_PMR = basic_string<wchar_t>;
87 _LIBCPP_PREFERRED_NAME(wstring)
97 _LIBCPP_PREFERRED_NAME(pmr::wstring)
/freebsd-14.2/contrib/googletest/googlemock/test/
H A Dgmock-matchers-comparisons_test.cc1926 ::std::wstring str(L"01204500800"); in TEST()
1928 Matcher<const ::std::wstring&> m4 = StrEq(str); in TEST()
1931 Matcher<const ::std::wstring&> m5 = StrEq(str); in TEST()
1943 ::std::wstring str(L"01204500800"); in TEST()
1945 Matcher<const ::std::wstring&> m4 = StrEq(str); in TEST()
1958 Matcher<::std::wstring> m2 = StrNe(::std::wstring(L"Hello")); in TEST()
1981 ::std::wstring str1(L"oabocdooeoo"); in TEST()
1982 ::std::wstring str2(L"OABOCDOOEOO"); in TEST()
2006 Matcher<::std::wstring> m = StrCaseEq(L"Hi"); in TEST()
2017 Matcher<::std::wstring> m2 = StrCaseNe(::std::wstring(L"Hello")); in TEST()
[all …]
/freebsd-14.2/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.h239 ErrorOr<std::wstring> flattenWindowsCommandLine(ArrayRef<StringRef> Args);
/freebsd-14.2/contrib/llvm-project/libcxx/include/__filesystem/
H A Du8path.h47 std::wstring __w; in u8path()
71 std::wstring __w; in u8path()
H A Dpath.h189 typedef wstring __path_string;
197 _LIBCPP_EXPORTED_FROM_ABI size_t __wide_to_char(const wstring&, char*, size_t);
678 _LIBCPP_HIDE_FROM_ABI std::wstring wstring() const { return __pn_; }
680 _LIBCPP_HIDE_FROM_ABI std::wstring generic_wstring() const {
681 std::wstring __s;
752 _LIBCPP_HIDE_FROM_ABI std::wstring wstring() const { return string<wchar_t>(); }
774 _LIBCPP_HIDE_FROM_ABI std::wstring generic_wstring() const { return string<wchar_t>(); }
/freebsd-14.2/contrib/llvm-project/libcxx/modules/std/
H A Dstring.inc41 using std::wstring;
67 using std::pmr::wstring;
/freebsd-14.2/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-14.2/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 Dstring508 typedef basic_string<wchar_t> wstring;
543 wstring to_wstring(int val);
544 wstring to_wstring(unsigned val);
545 wstring to_wstring(long val);
546 wstring to_wstring(unsigned long val);
547 wstring to_wstring(long long val);
548 wstring to_wstring(unsigned long long val);
549 wstring to_wstring(float val);
550 wstring to_wstring(double val);
551 wstring to_wstring(long double val);
[all …]
H A Dfilesystem100 std::wstring wstring() const;
110 std::wstring generic_wstring() const;
/freebsd-14.2/contrib/llvm-project/libcxx/include/__format/
H A Dformat_functions.h466 _LIBCPP_NODISCARD_EXT _LIBCPP_ALWAYS_INLINE inline _LIBCPP_HIDE_FROM_ABI wstring
468 wstring __res; in vformat()
482 _LIBCPP_NODISCARD_EXT _LIBCPP_ALWAYS_INLINE _LIBCPP_HIDE_FROM_ABI wstring
599 _LIBCPP_NODISCARD_EXT _LIBCPP_ALWAYS_INLINE inline _LIBCPP_HIDE_FROM_ABI wstring
601 wstring __res; in vformat()
615 _LIBCPP_NODISCARD_EXT _LIBCPP_ALWAYS_INLINE _LIBCPP_HIDE_FROM_ABI wstring
/freebsd-14.2/contrib/googletest/googletest/test/
H A Dgoogletest-printers-test.cc943 const ::std::wstring str(s, sizeof(s) / sizeof(wchar_t));
952 EXPECT_EQ("L\"0\\x12\" L\"3\"", Print(::std::wstring(L"0\x12"
954 EXPECT_EQ("L\"mm\\x6\" L\"bananas\"", Print(::std::wstring(L"mm\x6"
956 EXPECT_EQ("L\"NOM\\x6\" L\"BANANA\"", Print(::std::wstring(L"NOM\x6"
958 EXPECT_EQ("L\"!\\x5-!\"", Print(::std::wstring(L"!\x5-!")));
1518 FormatForComparisonFailureMessage(s, ::std::wstring()).c_str());
1524 FormatForComparisonFailureMessage(p, ::std::wstring()).c_str());
1579 FormatForComparisonFailureMessage(str, ::std::wstring()).c_str());
H A Dgtest_unittest.cc2656 EXPECT_TRUE(IsSubstring("", "", ::std::wstring(L"needle"), L"two needles")); in TEST()
2657 EXPECT_FALSE(IsSubstring("", "", L"needle", ::std::wstring(L"haystack"))); in TEST()
2668 IsSubstring("needle_expr", "haystack_expr", ::std::wstring(L"needle"), in TEST()
2729 IsNotSubstring("", "", ::std::wstring(L"needle"), L"two needles")); in TEST()
2730 EXPECT_TRUE(IsNotSubstring("", "", L"needle", ::std::wstring(L"haystack"))); in TEST()
4817 const ::std::wstring wstr1(L"A * in the middle"); in TEST()
4818 const ::std::wstring wstr2(wstr1); in TEST()
4824 EXPECT_EQ(::std::wstring(kTestX8119), kTestX8119); in TEST()
4831 EXPECT_EQ(::std::wstring(kTestX8119), kTestX8120); in TEST()
4837 ::std::wstring wstr3(wstr1); in TEST()
[all …]
/freebsd-14.2/contrib/googletest/googletest/include/gtest/
H A Dgtest-printers.h422 GTEST_IMPL_FORMAT_C_STRING_AS_STRING_(wchar_t, ::std::wstring);
423 GTEST_IMPL_FORMAT_C_STRING_AS_STRING_(const wchar_t, ::std::wstring);
686 GTEST_API_ void PrintWideStringTo(const ::std::wstring& s, ::std::ostream* os);
687 inline void PrintTo(const ::std::wstring& s, ::std::ostream* os) {
1084 UniversalPrint(::std::wstring(str), os);
H A Dgtest-message.h213 Message& operator<<(const ::std::wstring& wstr);
H A Dgtest.h1549 const ::std::wstring& needle,
1550 const ::std::wstring& haystack);
1553 const ::std::wstring& needle,
1554 const ::std::wstring& haystack);
/freebsd-14.2/contrib/googletest/googlemock/include/gmock/
H A Dgmock-matchers.h4533 const std::wstring& str) {
4535 internal::StrEqualityMatcher<std::wstring>(str, true, true));
4540 const std::wstring& str) {
4547 const std::wstring& str) {
4554 const std::wstring& str) {
4562 const std::wstring& substring) {
4564 internal::HasSubstrMatcher<std::wstring>(substring));
4569 const std::wstring& prefix) {
4571 internal::StartsWithMatcher<std::wstring>(prefix));
4576 const std::wstring& suffix) {
[all …]
/freebsd-14.2/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()
680 convertWideToUTF8(std::wstring(VCPathWide), VCRootPath); in findVCToolChainViaSetupConfig()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Support/Windows/
H A DProgram.inc46 std::wstring PathStorage;
202 std::wstring Command = *Result;
393 ErrorOr<std::wstring> sys::flattenWindowsCommandLine(ArrayRef<StringRef> Args) {
408 return std::wstring(CommandUtf16.begin(), CommandUtf16.end());
/freebsd-14.2/contrib/bsddialog/lib/
H A Dlib_util.c63 wchar_t *wstring; in alloc_mbstows() local
74 if ((wstring = calloc(nchar, sizeof(wchar_t))) == NULL) in alloc_mbstows()
76 mbstowcs(wstring, mbstring, nchar); in alloc_mbstows()
78 return (wstring); in alloc_mbstows()
/freebsd-14.2/contrib/llvm-project/lldb/include/lldb/Host/
H A DEditline.h65 using EditLineStringType = std::wstring;
/freebsd-14.2/contrib/llvm-project/llvm/lib/ExecutionEngine/Orc/TargetProcess/
H A DExecutorSharedMemoryMapperService.cpp87 std::wstring WideSharedMemoryName(SharedMemoryName.begin(), in reserve()

12