MCPcopy Create free account
hub / github.com/SakuraEngine/SakuraEngine / to_lower

Method to_lower

modules/gui/gui/src/backend/text_server/ustring.cpp:1701–1716  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1699}
1700
1701String String::to_lower() const
1702{
1703 String lower = *this;
1704
1705 for (int i = 0; i < lower.size(); i++)
1706 {
1707 const char32_t s = lower[i];
1708 const char32_t t = _find_lower(s);
1709 if (s != t)
1710 { // avoid copy on write
1711 lower[i] = t;
1712 }
1713 }
1714
1715 return lower;
1716}
1717
1718String String::chr(char32_t p_char)
1719{

Callers 4

parse_urlMethod · 0.80
_string_to_lowerMethod · 0.80

Calls 2

_find_lowerFunction · 0.85
sizeMethod · 0.45

Tested by

no test coverage detected