18 for (uint32_t i = 1; i <= n; ++i)
20 const uint32_t lc = lcs[n - i];
21 const uint32_t hc = hcs[n - i];
30 else if ((*p)->l == lc && (*p)->h == hc)
69 for (uint32_t i = 1; i < n; ++i)
71 uint32_t m = (1u << (6u * i)) - 1u;
72 if ((l & ~m) != (h & ~m))
static rune max_rune(uint32_t i)
void UTF8addContinuous(RangeSuffix *&root, utf8::rune l, utf8::rune h, uint32_t n)
void UTF8splitByContinuity(RangeSuffix *&root, utf8::rune l, utf8::rune h, uint32_t n)
static uint32_t rune_to_bytes(uint32_t *s, rune r)
static uint32_t rune_length(rune r)
void UTF8splitByRuneLength(RangeSuffix *&root, utf8::rune l, utf8::rune h)