MCPcopy Create free account
hub / github.com/Kitware/CMake / kwsysString_tolower

Function kwsysString_tolower

Source/kwsys/String.c:110–115  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

108}
109
110unsigned char kwsysString_tolower(char c)
111{
112 unsigned char const uc = (unsigned char)c;
113 /* Push 'A-Z' to 230-255 so integer division by 230 is 1 only for them. */
114 return (unsigned char)(uc ^ ((((uc + 230 - 'A') & 0xFF) / 230) << 5));
115}
116
117unsigned char kwsysString_toupper(char c)
118{

Callers 7

CapitalizedMethod · 0.85
UnCapitalizedWordsMethod · 0.85
StrucmpMethod · 0.85
PatternToRegexMethod · 0.85
testString_tolowerFunction · 0.85
kwsysString_strcasecmpFunction · 0.85
kwsysString_strncasecmpFunction · 0.85

Calls

no outgoing calls

Tested by 1

testString_tolowerFunction · 0.68

Used in the wild real call sites across dependent graphs

searching dependent graphs…