Lines Matching refs:um
9 int utf8version_is_supported(const struct unicode_map *um, unsigned int version)
11 int i = um->tables->utf8agetab_size - 1;
13 while (i >= 0 && um->tables->utf8agetab[i] != 0) {
14 if (version == um->tables->utf8agetab[i])
302 static utf8leaf_t *utf8nlookup(const struct unicode_map *um,
306 utf8trie_t *trie = um->tables->utf8data + um->ntab[n]->offset;
376 static utf8leaf_t *utf8lookup(const struct unicode_map *um,
379 return utf8nlookup(um, n, hangul, s, (size_t)-1);
386 ssize_t utf8nlen(const struct unicode_map *um, enum utf8_normalization n,
394 leaf = utf8nlookup(um, n, hangul, s, len);
397 if (um->tables->utf8agetab[LEAF_GEN(leaf)] >
398 um->ntab[n]->maxage)
420 int utf8ncursor(struct utf8cursor *u8c, const struct unicode_map *um,
425 u8c->um = um;
500 leaf = utf8lookup(u8c->um, u8c->n, u8c->hangul, u8c->s);
502 leaf = utf8nlookup(u8c->um, u8c->n, u8c->hangul,
512 if (u8c->um->tables->utf8agetab[LEAF_GEN(leaf)] >
513 u8c->um->ntab[u8c->n]->maxage) {
527 leaf = utf8lookup(u8c->um, u8c->n, u8c->hangul, u8c->s);