Lines Matching refs:leaf
487 utf8leaf_t *leaf;
496 leaf = utf8lookup(data, hangul, s);
497 if (!leaf)
500 leaf_age = utf8agetab[LEAF_GEN(leaf)];
517 utf8leaf_t *leaf;
526 leaf = utf8lookup(data, hangul, s);
527 if (!leaf)
529 leaf_age = utf8agetab[LEAF_GEN(leaf)];
545 utf8leaf_t *leaf;
554 leaf = utf8nlookup(data, hangul, s, len);
555 if (!leaf)
557 leaf_age = utf8agetab[LEAF_GEN(leaf)];
574 utf8leaf_t *leaf;
583 leaf = utf8nlookup(data, hangul, s, len);
584 if (!leaf)
586 leaf_age = utf8agetab[LEAF_GEN(leaf)];
605 utf8leaf_t *leaf;
612 leaf = utf8lookup(data, hangul, s);
613 if (!leaf)
615 if (utf8agetab[LEAF_GEN(leaf)] > data->maxage)
617 else if (LEAF_CCC(leaf) == DECOMPOSE)
618 ret += strlen(LEAF_STR(leaf));
634 utf8leaf_t *leaf;
641 leaf = utf8nlookup(data, hangul, s, len);
642 if (!leaf)
644 if (utf8agetab[LEAF_GEN(leaf)] > data->maxage)
646 else if (LEAF_CCC(leaf) == DECOMPOSE)
647 ret += strlen(LEAF_STR(leaf));
738 utf8leaf_t *leaf; in utf8byte() local
765 leaf = utf8lookup(u8c->data, u8c->hangul, u8c->s); in utf8byte()
767 leaf = utf8nlookup(u8c->data, u8c->hangul, in utf8byte()
772 if (!leaf) in utf8byte()
775 ccc = LEAF_CCC(leaf); in utf8byte()
777 if (utf8agetab[LEAF_GEN(leaf)] > u8c->data->maxage) { in utf8byte()
782 u8c->s = LEAF_STR(leaf); in utf8byte()
791 leaf = utf8lookup(u8c->data, u8c->hangul, u8c->s); in utf8byte()
792 if (!leaf) in utf8byte()
794 ccc = LEAF_CCC(leaf); in utf8byte()
927 utf8leaf_t *leaf; in utf8_validate() local
933 leaf = utf8nlookup(data, hangul, s, len); in utf8_validate()
934 if (!leaf) { in utf8_validate()