MCPcopy Create free account
hub / github.com/F-Stack/f-stack / sdstolower

Function sdstolower

app/redis-6.2.6/src/sds.c:810–814  ·  view source on GitHub ↗

Apply tolower() to every character of the sds string 's'. */

Source from the content-addressed store, hash-verified

808
809/* Apply tolower() to every character of the sds string 's'. */
810void sdstolower(sds s) {
811 size_t len = sdslen(s), j;
812
813 for (j = 0; j < len; j++) s[j] = tolower(s[j]);
814}
815
816/* Apply toupper() to every character of the sds string 's'. */
817void sdstoupper(sds s) {

Callers 6

rewriteConfigReadOldFileFunction · 0.85
clusterManagerNodeByNameFunction · 0.85
parseOptionsFunction · 0.85
ACLGetCommandIDFunction · 0.85

Calls 2

sdslenFunction · 0.85
tolowerFunction · 0.85

Tested by

no test coverage detected