MCPcopy Create free account
hub / github.com/DeusData/codebase-memory-mcp / str_islower

Function str_islower

internal/cbm/doc_pdf.c:565–574  ·  view source on GitHub ↗

str.islower / str.isupper of a whole string */

Source from the content-addressed store, hash-verified

563
564/* str.islower / str.isupper of a whole string */
565static bool str_islower(const uint32_t *s, int n) {
566 bool cased = false;
567 for (int i = 0; i < n; i++) {
568 if (pdf_u_upper(s[i]) || pdf_u_title(s[i])) {
569 return false;
570 }
571 cased = cased || pdf_u_lower(s[i]);
572 }
573 return cased;
574}
575
576static bool str_isupper(const uint32_t *s, int n) {
577 bool cased = false;

Callers 2

is_camelFunction · 0.85
qual_candidateFunction · 0.85

Calls 3

pdf_u_upperFunction · 0.85
pdf_u_titleFunction · 0.85
pdf_u_lowerFunction · 0.85

Tested by

no test coverage detected