Lines Matching refs:wstr
1992 wchar_t *wstr = new(std::nothrow) wchar_t[count + 1]();
1993 if (wstr == nullptr) {
1994 WRITE_LOG(LOG_FATAL, "new wstr failed count:%d", count);
1997 count = MultiByteToWideChar(from, 0, src, -1, wstr, count);
2000 WRITE_LOG(LOG_FATAL, "MultiByteToWideChar failed to wstr %s error:%lu", src, err);
2001 delete[] wstr;
2004 count = WideCharToMultiByte(to, 0, wstr, -1, nullptr, 0, nullptr, nullptr);
2007 WRITE_LOG(LOG_FATAL, "WideCharToMultiByte failed %s error:%lu", wstr, err);
2008 delete[] wstr;
2014 delete[] wstr;
2017 count = WideCharToMultiByte(to, 0, wstr, -1, ustr, count, nullptr, nullptr);
2020 WRITE_LOG(LOG_FATAL, "WideCharToMultiByte failed to ustr %s error:%lu", wstr, err);
2021 delete[] wstr;
2026 delete[] wstr;