Home
last modified time | relevance | path

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

12

/external/chromium_org/third_party/yasm/source/patched-yasm/libyasm/tests/
Duncstring_test.c86 char *wstr; in run_test() local
107 yasm_warn_fetch(&wclass, &wstr); in run_test()
108 if (wstr != NULL && test->warn == NULL) { in run_test()
111 test->input, (unsigned long)test->in_len, wstr); in run_test()
114 if (wstr == NULL && test->warn != NULL) { in run_test()
120 if (wstr && test->warn && strcmp(wstr, test->warn) != 0) { in run_test()
123 test->input, (unsigned long)test->in_len, test->warn, wstr); in run_test()
126 yasm_xfree(wstr); in run_test()
/external/libcxx/test/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/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.cpp15 wchar_t *wstr; in f() local
16wstr = L"a wide string"; // expected-warning{{conversion from string literal to 'wchar_t *' is dep… in f()
/external/pdfium/core/src/fpdftext/
Dfpdf_text_search.cpp91 CFX_WideString wstr = pPrevObj->GetFont()->UnicodeFromCharCode(item.m_CharCode); in FPDFText_ProcessInterObj() local
92 if(wstr.GetLength()) { in FPDFText_ProcessInterObj()
93 preChar = wstr.GetAt(0); in FPDFText_ProcessInterObj()
100 wstr = pObj->GetFont()->UnicodeFromCharCode(item.m_CharCode); in FPDFText_ProcessInterObj()
101 if(wstr.GetLength()) { in FPDFText_ProcessInterObj()
102 curChar = wstr.GetAt(0); in FPDFText_ProcessInterObj()
211 CFX_WideString wstr = m_Buffer.GetWideString(); in ProcessObject() local
212 if (wstr.IsEmpty() || wstr.GetAt(wstr.GetLength() - 1) == L' ') { in ProcessObject()
/external/chromium_org/third_party/webrtc/system_wrappers/interface/
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/chromium_org/third_party/yasm/source/patched-yasm/libyasm/
Derrwarn.c69 /*@owned@*/ /*@null@*/ char *wstr; member
339 if (w->wstr) in yasm_warn_clear()
340 yasm_xfree(w->wstr); in yasm_warn_clear()
365 w->wstr = yasm_xmalloc(MSG_MAXSIZE+1); in yasm_warn_set_va()
367 vsnprintf(w->wstr, MSG_MAXSIZE, yasm_gettext_hook(format), va); in yasm_warn_set_va()
369 vsprintf(w->wstr, yasm_gettext_hook(format), va); in yasm_warn_set_va()
395 *str = w->wstr; in yasm_warn_fetch()
/external/chromium_org/third_party/webrtc/base/
Dwin32.h76 inline std::string ToUtf8(const std::wstring& wstr) { in ToUtf8() argument
77 return ToUtf8(wstr.data(), wstr.length()); in ToUtf8()
/external/libvpx/libvpx/third_party/libmkv/
DEbmlWriter.c50 void Ebml_WriteUTF8(EbmlGlobal *glob, const wchar_t *wstr) { in Ebml_WriteUTF8() argument
51 const size_t strlen = wcslen(wstr); in Ebml_WriteUTF8()
59 Ebml_Write(glob, wstr, (unsigned long)size); in Ebml_WriteUTF8()
DEbmlWriter.h29 void Ebml_WriteUTF8(EbmlGlobal *glob, const wchar_t *wstr);
/external/pdfium/core/src/fxcrt/
Dfx_basic_gcc.cpp203 int FXSYS_WideCharToMultiByte(FX_DWORD codepage, FX_DWORD dwFlags, FX_LPCWSTR wstr, int wlen, in FXSYS_WideCharToMultiByte() argument
208 if (wstr[i] < 0x100) { in FXSYS_WideCharToMultiByte()
210 buf[len] = (FX_CHAR)wstr[i]; in FXSYS_WideCharToMultiByte()
Dfx_basic_buffer.cpp305 CFX_ArchiveSaver& CFX_ArchiveSaver::operator << (FX_LPCWSTR wstr) in operator <<() argument
307 FX_STRSIZE len = (FX_STRSIZE)FXSYS_wcslen(wstr); in operator <<()
310 m_pStream->WriteBlock(wstr, len); in operator <<()
313 m_SavingBuf.AppendBlock(wstr, len); in operator <<()
317 CFX_ArchiveSaver& CFX_ArchiveSaver::operator << (const CFX_WideString& wstr) in operator <<() argument
319 CFX_ByteString encoded = wstr.UTF16LE_Encode(); in operator <<()
/external/mesa3d/src/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.h172 Message& operator <<(const ::std::wstring& wstr);
178 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/chromium_org/third_party/mesa/src/src/gtest/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/chromium_org/testing/gtest/include/gtest/
Dgtest-message.h183 Message& operator <<(const ::std::wstring& wstr);
189 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/chromium_org/third_party/libusb/src/libusb/os/
Dwindows_common.h56 #define wchar_to_utf8_ms(wstr, str, strlen) WideCharToMultiByte(CP_UTF8, 0, wstr, -1, str, strlen, … argument
/external/chromium_org/base/
Dlogging_unittest.cc247 std::wstring wstr = L"Hello World"; in TEST_F() local
249 ostr << wstr; in TEST_F()
Dlogging.h845 BASE_EXPORT std::ostream& operator<<(std::ostream& out, const wchar_t* wstr);
846 inline std::ostream& operator<<(std::ostream& out, const std::wstring& wstr) {
847 return out << wstr.c_str();
Dpickle_unittest.cc340 std::wstring wstr; in TEST() local
341 EXPECT_FALSE(big_len.ReadWString(&iter, &wstr)); in TEST()
/external/pdfium/fpdfsdk/src/
Dfpdfdoc.cpp39 CFX_WideString wstr = CFX_WideString::FromUTF16LE(title); in FPDFBookmark_Find() local
40 return FindBookmark(tree, NULL, wstr); in FPDFBookmark_Find()

12