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