MCPcopy Create free account
hub / github.com/Genivia/ugrep / invcase

Function invcase

lib/unicode.cpp:129–135  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

127}
128
129int invcase(int c)
130{
131 int a = toupper(c);
132 if (a == c)
133 a = tolower(c);
134 return a;
135}
136
137} // namespace Unicode
138

Callers 2

convert_anycase_rangesFunction · 0.85
convertFunction · 0.85

Calls 2

toupperFunction · 0.85
tolowerFunction · 0.85

Tested by

no test coverage detected