Home
last modified time | relevance | path

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

/third_party/flutter/skia/src/utils/win/
DSkDWrite.cpp56 HRESULT sk_cstring_to_wchar(const char* skname, SkSMallocWCHAR* name) { in sk_cstring_to_wchar() argument
57 int wlen = MultiByteToWideChar(CP_UTF8, 0, skname, -1, nullptr, 0); in sk_cstring_to_wchar()
63 wlen = MultiByteToWideChar(CP_UTF8, 0, skname, -1, name->get(), wlen); in sk_cstring_to_wchar()
71 HRESULT sk_wchar_to_skstring(WCHAR* name, int nameLen, SkString* skname) { in sk_wchar_to_skstring() argument
75 skname->reset(); in sk_wchar_to_skstring()
81 skname->resize(len); in sk_wchar_to_skstring()
83 …len = WideCharToMultiByte(CP_UTF8, 0, name, nameLen, skname->writable_str(), len, nullptr, nullptr… in sk_wchar_to_skstring()
94 SkString* skname) { in sk_get_locale_string() argument
111 HR(sk_wchar_to_skstring(name.get(), nameLen, skname)); in sk_get_locale_string()
DSkDWrite.h31 HRESULT sk_cstring_to_wchar(const char* skname, SkSMallocWCHAR* name);
36 HRESULT sk_wchar_to_skstring(WCHAR* name, int nameLen, SkString* skname);
42 SkString* skname);
/third_party/skia/src/utils/win/
DSkDWrite.cpp61 HRESULT sk_cstring_to_wchar(const char* skname, SkSMallocWCHAR* name) { in sk_cstring_to_wchar() argument
62 int wlen = MultiByteToWideChar(CP_UTF8, 0, skname, -1, nullptr, 0); in sk_cstring_to_wchar()
68 wlen = MultiByteToWideChar(CP_UTF8, 0, skname, -1, name->get(), wlen); in sk_cstring_to_wchar()
76 HRESULT sk_wchar_to_skstring(WCHAR* name, int nameLen, SkString* skname) { in sk_wchar_to_skstring() argument
80 skname->reset(); in sk_wchar_to_skstring()
86 skname->resize(len); in sk_wchar_to_skstring()
88 …len = WideCharToMultiByte(CP_UTF8, 0, name, nameLen, skname->writable_str(), len, nullptr, nullptr… in sk_wchar_to_skstring()
99 SkString* skname) { in sk_get_locale_string() argument
116 HR(sk_wchar_to_skstring(name.get(), nameLen, skname)); in sk_get_locale_string()
DSkDWrite.h31 HRESULT sk_cstring_to_wchar(const char* skname, SkSMallocWCHAR* name);
36 HRESULT sk_wchar_to_skstring(WCHAR* name, int nameLen, SkString* skname);
42 SkString* skname);