MCPcopy Create free account
hub / github.com/JuliaStrings/utf8proc / utf8proc_isupper

Function utf8proc_isupper

utf8proc.c:423–427  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

421}
422
423UTF8PROC_DLLEXPORT int utf8proc_isupper(utf8proc_int32_t c)
424{
425 const utf8proc_property_t *p = utf8proc_get_property(c);
426 return p->lowercase_seqindex != p->uppercase_seqindex && p->uppercase_seqindex == UINT16_MAX && p->category != UTF8PROC_CATEGORY_LT;
427}
428
429/* return a character width analogous to wcwidth (except portable and
430 hopefully less buggy than most system wcwidth functions). */

Callers 2

LLVMFuzzerTestOneInputFunction · 0.85
mainFunction · 0.85

Calls 1

utf8proc_get_propertyFunction · 0.85

Tested by

no test coverage detected