MCPcopy Create free account
hub / github.com/DFHack/dfhack / toLower_cp437

Function toLower_cp437

library/MiscUtils.cpp:294–300  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

292}
293
294std::string toLower_cp437(const std::string &str)
295{
296 std::string rv(str.size(),' ');
297 for (unsigned i = 0; i < str.size(); ++i)
298 rv[i] = tolower_cp437(str[i]);
299 return rv;
300}
301
302static const char *normalized_table[256] = {
303 //.0 .1 .2 .3 .4 .5 .6 .7 .8 .9 .A .B .C .D .E .F

Callers 9

lowerCp437Function · 0.85
toStringMethod · 0.85
assign_noblesFunction · 0.85
get_constraintFunction · 0.85
FOR_ENUM_ITEMSFunction · 0.85
memviewFunction · 0.85
colorFunction · 0.85

Calls 2

tolower_cp437Function · 0.85
sizeMethod · 0.45

Tested by

no test coverage detected