Home
last modified time | relevance | path

Searched refs:wstr (Results 1 – 25 of 53) sorted by relevance

123

/external/libcxx/test/std/re/re.results/re.results.form/
Dform3.pass.cpp29 typedef std::basic_string<wchar_t, std::char_traits<wchar_t>, test_allocator<wchar_t> > wstr; in main() typedef
63 wstr fmt(L"prefix: $`, match: $&, suffix: $', m[1]: $1, m[2]: $2"); in main()
64 wstr out = m.format(fmt); in main()
72 wstr fmt(L"prefix: $`, match: $&, suffix: $', m[1]: $1, m[2]: $2"); in main()
73 wstr out = m.format(fmt, std::regex_constants::format_sed); in main()
81 wstr fmt(L"match: &, m[1]: \\1, m[2]: \\2"); in main()
82 wstr out = m.format(fmt, std::regex_constants::format_sed); in main()
Dform2.pass.cpp30 typedef std::basic_string<wchar_t, std::char_traits<wchar_t>, test_allocator<wchar_t> > wstr; in main() typedef
73 wstr fmt(L"prefix: $`, match: $&, suffix: $', m[1]: $1, m[2]: $2"); in main()
84 wstr fmt(L"prefix: $`, match: $&, suffix: $', m[1]: $1, m[2]: $2"); in main()
96 wstr fmt(L"match: &, m[1]: \\1, m[2]: \\2"); in main()
/external/pdfium/testing/
Dtest_support.cpp103 std::wstring GetPlatformWString(FPDF_WIDESTRING wstr) { in GetPlatformWString() argument
104 if (!wstr) in GetPlatformWString()
108 while (wstr[characters]) in GetPlatformWString()
113 const unsigned char* ptr = reinterpret_cast<const unsigned char*>(&wstr[i]); in GetPlatformWString()
120 const std::wstring& wstr) { in GetFPDFWideString() argument
121 size_t length = sizeof(uint16_t) * (wstr.length() + 1); in GetFPDFWideString()
126 for (wchar_t w : wstr) { in GetFPDFWideString()
Dtest_support.h34 std::wstring GetPlatformWString(const FPDF_WIDESTRING wstr);
39 const std::wstring& wstr);
/external/pdfium/core/src/fpdftext/
Dfpdf_text_search.cpp97 CFX_WideString wstr = in FPDFText_ProcessInterObj() local
99 if (wstr.GetLength()) { in FPDFText_ProcessInterObj()
100 preChar = wstr.GetAt(0); in FPDFText_ProcessInterObj()
107 wstr = pObj->GetFont()->UnicodeFromCharCode(item.m_CharCode); in FPDFText_ProcessInterObj()
108 if (wstr.GetLength()) { in FPDFText_ProcessInterObj()
109 curChar = wstr.GetAt(0); in FPDFText_ProcessInterObj()
221 CFX_WideString wstr = m_Buffer.GetWideString(); in ProcessObject() local
222 if (wstr.IsEmpty() || wstr.GetAt(wstr.GetLength() - 1) == L' ') { in ProcessObject()
/external/clang/test/SemaCXX/
Dstring-plus-char.cpp24 wchar_t *wstr; in f() local
25wstr = wstr + L'c'; // expected-warning {{adding 'wchar_t' to a string pointer does not append to … in f()
Dtype-convert-construct.cpp17 wchar_t *wstr; in f() local
18wstr = L"a wide string"; // expected-warning{{conversion from string literal to 'wchar_t *' is dep… in f()
/external/webrtc/webrtc/system_wrappers/include/
Dutf_util_win.h50 inline std::string ToUtf8(const std::wstring& wstr) { in ToUtf8() argument
51 return ToUtf8(wstr.data(), wstr.length()); in ToUtf8()
/external/webrtc/webrtc/base/
Dwin32.h74 inline std::string ToUtf8(const std::wstring& wstr) { in ToUtf8() argument
75 return ToUtf8(wstr.data(), wstr.length()); in ToUtf8()
/external/pdfium/core/src/fxcrt/
Dfx_basic_buffer.cpp257 CFX_ArchiveSaver& CFX_ArchiveSaver::operator<<(const FX_WCHAR* wstr) { in operator <<() argument
258 FX_STRSIZE len = FXSYS_wcslen(wstr); in operator <<()
261 m_pStream->WriteBlock(wstr, len); in operator <<()
264 m_SavingBuf.AppendBlock(wstr, len); in operator <<()
268 CFX_ArchiveSaver& CFX_ArchiveSaver::operator<<(const CFX_WideString& wstr) { in operator <<() argument
269 CFX_ByteString encoded = wstr.UTF16LE_Encode(); in operator <<()
Dfx_basic_gcc.cpp225 const FX_WCHAR* wstr, in FXSYS_WideCharToMultiByte() argument
233 if (wstr[i] < 0x100) { in FXSYS_WideCharToMultiByte()
235 buf[len] = (FX_CHAR)wstr[i]; in FXSYS_WideCharToMultiByte()
/external/opencv3/modules/core/src/
Dsystem.cpp130 std::wstring wstr; in GetTempPathWinRT()
133 return wstr; in GetTempPathWinRT()
135 return wstr; in GetTempPathWinRT()
137 return wstr; in GetTempPathWinRT()
139 return wstr; in GetTempPathWinRT()
141 return wstr; in GetTempPathWinRT()
144 return wstr; in GetTempPathWinRT()
145 wstr = WindowsGetStringRawBuffer(str, NULL); in GetTempPathWinRT()
147 return wstr; in GetTempPathWinRT()
/external/vulkan-validation-layers/tests/gtest-1.7.0/include/gtest/
Dgtest-message.h183 Message& operator <<(const ::std::wstring& wstr);
189 Message& operator <<(const ::wstring& wstr);
/external/mesa3d/src/gtest/include/gtest/
Dgtest-message.h177 Message& operator <<(const ::std::wstring& wstr);
183 Message& operator <<(const ::wstring& wstr);
/external/llvm/utils/unittest/googletest/include/gtest/
Dgtest-message.h177 Message& operator <<(const ::std::wstring& wstr);
183 Message& operator <<(const ::wstring& wstr);
/external/gtest/include/gtest/
Dgtest-message.h183 Message& operator <<(const ::std::wstring& wstr);
189 Message& operator <<(const ::wstring& wstr);
/external/google-breakpad/src/testing/gtest/include/gtest/
Dgtest-message.h177 Message& operator <<(const ::std::wstring& wstr);
183 Message& operator <<(const ::wstring& wstr);
/external/protobuf/gtest/include/gtest/
Dgtest-message.h178 Message& operator <<(const ::std::wstring& wstr);
184 Message& operator <<(const ::wstring& wstr);
Dgtest.h1215 GTEST_API_ inline String FormatForFailureMessage(const ::std::wstring& wstr) { in FormatForFailureMessage() argument
1216 return (Message() << "L\"" << wstr << '"').GetString(); in FormatForFailureMessage()
1228 GTEST_API_ inline String FormatForFailureMessage(const ::wstring& wstr) { in FormatForFailureMessage() argument
1229 return (Message() << "L\"" << wstr << '"').GetString(); in FormatForFailureMessage()
/external/libedit/examples/
Dwtc1.c37 my_wcstombs(const wchar_t *wstr) in my_wcstombs() argument
44 int needed = wcstombs(0, wstr, 0) + 1; in my_wcstombs()
49 wcstombs(buf.str, wstr, needed); in my_wcstombs()
/external/libweave/third_party/chromium/base/
Dlogging.h143 BASE_EXPORT std::ostream& operator<<(std::ostream& out, const wchar_t* wstr);
144 inline std::ostream& operator<<(std::ostream& out, const std::wstring& wstr) {
145 return out << wstr.c_str();
/external/opencv3/samples/winrt/OcvImageProcessing/OcvImageProcessing/
DMainPage.xaml.h45 std::string StrToWStr(const std::wstring &wstr);
/external/libchrome/base/
Dlogging_unittest.cc291 std::wstring wstr = L"Hello World"; in TEST_F() local
293 ostr << wstr; in TEST_F()
Dlogging.h156 BASE_EXPORT std::ostream& operator<<(std::ostream& out, const wchar_t* wstr);
157 inline std::ostream& operator<<(std::ostream& out, const std::wstring& wstr) {
158 return out << wstr.c_str();
/external/llvm/utils/unittest/googletest/src/
Dgtest.cc907 static void StreamWideCharsToMessage(const wchar_t* wstr, size_t length, in StreamWideCharsToMessage() argument
915 if (wstr[i] != L'\0') { in StreamWideCharsToMessage()
916 *msg << WideStringToUtf8(wstr + i, static_cast<int>(length - i)); in StreamWideCharsToMessage()
917 while (i != length && wstr[i] != L'\0') in StreamWideCharsToMessage()
933 Message& Message::operator <<(const ::std::wstring& wstr) { in operator <<() argument
934 internal::StreamWideCharsToMessage(wstr.c_str(), wstr.length(), this); in operator <<()
942 Message& Message::operator <<(const ::wstring& wstr) { in operator <<() argument
943 internal::StreamWideCharsToMessage(wstr.c_str(), wstr.length(), this); in operator <<()

123