MCPcopy Index your code
hub / github.com/JuliaStrings/utf8proc / utf8proc_codepoint_valid

Function utf8proc_codepoint_valid

utf8proc.c:173–175  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

171}
172
173UTF8PROC_DLLEXPORT utf8proc_bool utf8proc_codepoint_valid(utf8proc_int32_t uc) {
174 return (((utf8proc_uint32_t)uc)-0xd800 > 0x07ff) && ((utf8proc_uint32_t)uc < 0x110000);
175}
176
177UTF8PROC_DLLEXPORT utf8proc_ssize_t utf8proc_encode_char(utf8proc_int32_t uc, utf8proc_uint8_t *dst) {
178 if (uc < 0x00) {

Callers 4

mainFunction · 0.85
mainFunction · 0.85
LLVMFuzzerTestOneInputFunction · 0.85
mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected