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

Function utf8proc_grapheme_break_stateful

utf8proc.c:345–355  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

343}
344
345UTF8PROC_DLLEXPORT utf8proc_bool utf8proc_grapheme_break_stateful(
346 utf8proc_int32_t c1, utf8proc_int32_t c2, utf8proc_int32_t *state) {
347
348 const utf8proc_property_t *p1 = utf8proc_get_property(c1);
349 const utf8proc_property_t *p2 = utf8proc_get_property(c2);
350 return grapheme_break_extended(p1->boundclass,
351 p2->boundclass,
352 p1->indic_conjunct_break,
353 p2->indic_conjunct_break,
354 state);
355}
356
357
358UTF8PROC_DLLEXPORT utf8proc_bool utf8proc_grapheme_break(

Callers 3

utf8proc_grapheme_breakFunction · 0.85
LLVMFuzzerTestOneInputFunction · 0.85
checklineFunction · 0.85

Calls 2

utf8proc_get_propertyFunction · 0.85
grapheme_break_extendedFunction · 0.85

Tested by 1

checklineFunction · 0.68