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.cpp30 typedef std::basic_string<wchar_t, std::char_traits<wchar_t>, test_allocator<wchar_t> > wstr; in main() typedef
64 wstr fmt(L"prefix: $`, match: $&, suffix: $', m[1]: $1, m[2]: $2"); in main()
65 wstr out = m.format(fmt); in main()
73 wstr fmt(L"prefix: $`, match: $&, suffix: $', m[1]: $1, m[2]: $2"); in main()
74 wstr out = m.format(fmt, std::regex_constants::format_sed); in main()
82 wstr fmt(L"match: &, m[1]: \\1, m[2]: \\2"); in main()
83 wstr out = m.format(fmt, std::regex_constants::format_sed); in main()
Dform2.pass.cpp31 typedef std::basic_string<wchar_t, std::char_traits<wchar_t>, test_allocator<wchar_t> > wstr; in main() typedef
74 wstr fmt(L"prefix: $`, match: $&, suffix: $', m[1]: $1, m[2]: $2"); in main()
85 wstr fmt(L"prefix: $`, match: $&, suffix: $', m[1]: $1, m[2]: $2"); in main()
97 wstr fmt(L"match: &, m[1]: \\1, m[2]: \\2"); in main()
/external/pdfium/testing/
Dtest_support.cpp105 std::wstring GetPlatformWString(FPDF_WIDESTRING wstr) { in GetPlatformWString() argument
106 if (!wstr) in GetPlatformWString()
110 while (wstr[characters]) in GetPlatformWString()
115 const unsigned char* ptr = reinterpret_cast<const unsigned char*>(&wstr[i]); in GetPlatformWString()
137 const std::wstring& wstr) { in GetFPDFWideString() argument
138 size_t length = sizeof(uint16_t) * (wstr.length() + 1); in GetFPDFWideString()
143 for (wchar_t w : wstr) { in GetFPDFWideString()
Dtest_support.h71 std::wstring GetPlatformWString(const FPDF_WIDESTRING wstr);
76 const std::wstring& wstr);
/external/libcups/cups/
Dpwg-media.c764 char wstr[32], lstr[32]; /* Width and length as strings */ in pwgMediaForPPD() local
776 …snprintf(cg->ppd_name, sizeof(cg->ppd_name), "%sx%s", pwg_format_inches(wstr, sizeof(wstr), w), pw… in pwgMediaForPPD()
778 …->ppd_name, sizeof(cg->ppd_name), "%sx%smm", pwg_format_millimeters(wstr, sizeof(wstr), w), pwg_fo… in pwgMediaForPPD()
870 char wstr[32], lstr[32]; /* Width and length strings */ in pwgMediaForPWG() local
883 …->ppd_name, sizeof(cg->ppd_name), "%sx%smm", pwg_format_millimeters(wstr, sizeof(wstr), w), pwg_fo… in pwgMediaForPWG()
885 …snprintf(cg->ppd_name, sizeof(cg->ppd_name), "%sx%s", pwg_format_inches(wstr, sizeof(wstr), w), pw… in pwgMediaForPWG()
936 char wstr[32], lstr[32]; /* Width and length as strings */ in _pwgMediaNearSize() local
990 …snprintf(cg->ppd_name, sizeof(cg->ppd_name), "%sx%s", pwg_format_inches(wstr, sizeof(wstr), width)… in _pwgMediaNearSize()
992 …->ppd_name, sizeof(cg->ppd_name), "%sx%smm", pwg_format_millimeters(wstr, sizeof(wstr), width), pw… in _pwgMediaNearSize()
/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.cpp27 wchar_t *wstr; in f() local
28 wstr = L"a wide string"; 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/fxcrt/
Dfx_basic_wstring.cpp821 CFX_WideString CFX_WideString::FromUTF16LE(const unsigned short* wstr, in FromUTF16LE() argument
823 if (!wstr || 0 == wlen) { in FromUTF16LE()
830 buf[i] = wstr[i]; in FromUTF16LE()
992 const CFX_WideStringC& wstr) { in GetByteString() argument
994 int src_len = wstr.GetLength(); in GetByteString()
995 int dest_len = FXSYS_WideCharToMultiByte(codepage, 0, wstr.c_str(), src_len, in GetByteString()
1000 FXSYS_WideCharToMultiByte(codepage, 0, wstr.c_str(), src_len, dest_buf, in GetByteString()
1014 CFX_WideString wstr; in GetWideString() local
1016 FX_WCHAR* dest_buf = wstr.GetBuffer(dest_len); in GetWideString()
1019 wstr.ReleaseBuffer(dest_len); in GetWideString()
[all …]
Dfx_basic_gcc.cpp220 const FX_WCHAR* wstr, in FXSYS_WideCharToMultiByte() argument
228 if (wstr[i] < 0x100) { in FXSYS_WideCharToMultiByte()
230 buf[len] = static_cast<FX_CHAR>(wstr[i]); in FXSYS_WideCharToMultiByte()
/external/swiftshader/third_party/LLVM/utils/unittest/googletest/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);
/external/googletest/googletest/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/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/v8/testing/gtest/include/gtest/
Dgtest-message.h183 Message& operator <<(const ::std::wstring& wstr);
189 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/libvpx/libvpx/third_party/googletest/src/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/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/syslinux/gpxe/src/interface/efi/
Defi_console.c153 wchar_t wstr[] = { character, 0 }; in efi_putchar() local
160 conout->OutputString ( conout, wstr ); in efi_putchar()
/external/libusb/libusb/os/
Dwindows_common.h64 #define wchar_to_utf8_ms(wstr, str, strlen) WideCharToMultiByte(CP_UTF8, 0, wstr, -1, str, strlen, … argument
/external/libchrome/base/
Dlogging_unittest.cc308 std::wstring wstr = L"Hello World"; in TEST_F() local
310 ostr << wstr; in TEST_F()
Dlogging.cc948 std::ostream& std::operator<<(std::ostream& out, const wchar_t* wstr) { in operator <<() argument
949 return out << (wstr ? base::WideToUTF8(wstr) : std::string()); in operator <<()

123