MCPcopy Create free account
hub / github.com/apache/trafficserver / tolower

Function tolower

lib/yamlcpp/src/convert.cpp:11–15  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

9char ToLower(char ch) { return IsUpper(ch) ? ch + 'a' - 'A' : ch; }
10
11std::string tolower(const std::string& str) {
12 std::string s(str);
13 std::transform(s.begin(), s.end(), s.begin(), ToLower);
14 return s;
15}
16
17template <typename T>
18bool IsEntirely(const std::string& str, T func) {

Callers 15

decodeMethod · 0.85
convertIntoFunction · 0.85
toLowerChFunction · 0.85
parseMethod · 0.85
test_TextView.ccFile · 0.85
starts_with_nocaseMethod · 0.85
ends_with_nocaseMethod · 0.85
eqIgnoreCaseWsFunction · 0.85
_mappingLookupMethod · 0.85
XSMethod · 0.85
parse_escape_stringMethod · 0.85

Calls 2

beginMethod · 0.45
endMethod · 0.45

Tested by 2

XSMethod · 0.68
test_eqMethod · 0.68