MCPcopy Create free account
hub / github.com/PCSX2/pcsx2 / WideStringToUTF8String

Function WideStringToUTF8String

common/StringUtil.cpp:508–515  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

506 }
507
508 std::string WideStringToUTF8String(const std::wstring_view& str)
509 {
510 std::string ret;
511 if (!WideStringToUTF8String(ret, str))
512 ret.clear();
513
514 return ret;
515 }
516
517 bool WideStringToUTF8String(std::string& dest, const std::wstring_view& str)
518 {

Callers 15

wmainFunction · 0.85
CreateShortcutMethod · 0.85
SetDataDirectoryMethod · 0.85
GetMenuItemsMethod · 0.85
LogUserPowerPlanFunction · 0.85
LogGPUCapabilitiesFunction · 0.85
ReloadDevicesMethod · 0.85
EnumerateDevicesMethod · 0.85
getDevListFunction · 0.85
GetAdaptersMethod · 0.85
GetAdaptersMethod · 0.85
GetAdaptersMethod · 0.85

Calls 4

clearMethod · 0.45
dataMethod · 0.45
lengthMethod · 0.45
resizeMethod · 0.45

Tested by

no test coverage detected