MCPcopy Create free account
hub / github.com/LibreSprite/LibreSprite / string_to_lower

Function string_to_lower

src/base/string.cpp:36–46  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

34}
35
36std::string string_to_lower(const std::string& original)
37{
38 std::wstring result(from_utf8(original));
39 auto it(result.begin());
40 auto end(result.end());
41 while (it != end) {
42 *it = std::tolower(*it);
43 ++it;
44 }
45 return to_utf8(result);
46}
47
48std::string string_to_upper(const std::string& original)
49{

Callers 15

TESTFunction · 0.85
open_fileFunction · 0.85
has_file_extensionFunction · 0.85
onProcessMessageMethod · 0.85
scanScriptMethod · 0.85
evalFileMethod · 0.85
addMethod · 0.85
fillSearchListMethod · 0.85
getCommandByNameMethod · 0.85
FontPopupMethod · 0.85
showMethod · 0.85
loadFontMethod · 0.85

Calls 4

from_utf8Function · 0.85
to_utf8Function · 0.85
beginMethod · 0.45
endMethod · 0.45

Tested by 1

TESTFunction · 0.68