MCPcopy Create free account
hub / github.com/eggert/tz / itsabbr

Function itsabbr

zic.c:3938–3951  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3936 case 'P': return 'p'; case 'Q': return 'q'; case 'R': return 'r';
3937 case 'S': return 's'; case 'T': return 't'; case 'U': return 'u';
3938 case 'V': return 'v'; case 'W': return 'w'; case 'X': return 'x';
3939 case 'Y': return 'y'; case 'Z': return 'z';
3940 }
3941}
3942
3943/* case-insensitive equality */
3944ATTRIBUTE_PURE_114833
3945static bool
3946ciequal(register const char *ap, register const char *bp)
3947{
3948 while (lowerit(*ap) == lowerit(*bp++))
3949 if (*ap++ == '\0')
3950 return true;
3951 return false;
3952}
3953
3954ATTRIBUTE_PURE_114833

Callers 1

bywordFunction · 0.85

Calls 1

loweritFunction · 0.85

Tested by

no test coverage detected