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

Function utf8proc_category_string

utf8proc.c:443–446  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

441}
442
443UTF8PROC_DLLEXPORT const char *utf8proc_category_string(utf8proc_int32_t c) {
444 static const char s[][3] = {"Cn","Lu","Ll","Lt","Lm","Lo","Mn","Mc","Me","Nd","Nl","No","Pc","Pd","Ps","Pe","Pi","Pf","Po","Sm","Sc","Sk","So","Zs","Zl","Zp","Cc","Cf","Cs","Co"};
445 return s[utf8proc_category(c)];
446}
447
448#define utf8proc_decompose_lump(replacement_uc) \
449 return utf8proc_decompose_char((replacement_uc), dst, bufsize, \

Callers 2

LLVMFuzzerTestOneInputFunction · 0.85
mainFunction · 0.85

Calls 1

utf8proc_categoryFunction · 0.85

Tested by

no test coverage detected