Home
last modified time | relevance | path

Searched refs:skname (Results 1 – 2 of 2) sorted by relevance

/external/skia/src/utils/win/
DSkDWrite.cpp54 HRESULT sk_cstring_to_wchar(const char* skname, SkSMallocWCHAR* name) { in sk_cstring_to_wchar() argument
55 int wlen = MultiByteToWideChar(CP_UTF8, 0, skname, -1, NULL, 0); in sk_cstring_to_wchar()
61 wlen = MultiByteToWideChar(CP_UTF8, 0, skname, -1, name->get(), wlen); in sk_cstring_to_wchar()
69 HRESULT sk_wchar_to_skstring(WCHAR* name, int nameLen, SkString* skname) { in sk_wchar_to_skstring() argument
73 skname->reset(); in sk_wchar_to_skstring()
79 skname->resize(len); in sk_wchar_to_skstring()
81 len = WideCharToMultiByte(CP_UTF8, 0, name, nameLen, skname->writable_str(), len, NULL, NULL); in sk_wchar_to_skstring()
92 SkString* skname) { in sk_get_locale_string() argument
109 HRV(sk_wchar_to_skstring(name.get(), nameLen, skname)); in sk_get_locale_string()
DSkDWrite.h39 HRESULT sk_cstring_to_wchar(const char* skname, SkSMallocWCHAR* name);
44 HRESULT sk_wchar_to_skstring(WCHAR* name, int nameLen, SkString* skname);
50 SkString* skname);