Lines Matching refs:leaf
485 utf8leaf_t *leaf;
494 leaf = utf8lookup(data, hangul, s);
495 if (!leaf)
498 leaf_age = utf8agetab[LEAF_GEN(leaf)];
515 utf8leaf_t *leaf;
524 leaf = utf8lookup(data, hangul, s);
525 if (!leaf)
527 leaf_age = utf8agetab[LEAF_GEN(leaf)];
543 utf8leaf_t *leaf;
552 leaf = utf8nlookup(data, hangul, s, len);
553 if (!leaf)
555 leaf_age = utf8agetab[LEAF_GEN(leaf)];
572 utf8leaf_t *leaf;
581 leaf = utf8nlookup(data, hangul, s, len);
582 if (!leaf)
584 leaf_age = utf8agetab[LEAF_GEN(leaf)];
603 utf8leaf_t *leaf;
610 leaf = utf8lookup(data, hangul, s);
611 if (!leaf)
613 if (utf8agetab[LEAF_GEN(leaf)] > data->maxage)
615 else if (LEAF_CCC(leaf) == DECOMPOSE)
616 ret += strlen(LEAF_STR(leaf));
632 utf8leaf_t *leaf;
639 leaf = utf8nlookup(data, hangul, s, len);
640 if (!leaf)
642 if (utf8agetab[LEAF_GEN(leaf)] > data->maxage)
644 else if (LEAF_CCC(leaf) == DECOMPOSE)
645 ret += strlen(LEAF_STR(leaf));
736 utf8leaf_t *leaf; in utf8byte() local
763 leaf = utf8lookup(u8c->data, u8c->hangul, u8c->s); in utf8byte()
765 leaf = utf8nlookup(u8c->data, u8c->hangul, in utf8byte()
770 if (!leaf) in utf8byte()
773 ccc = LEAF_CCC(leaf); in utf8byte()
775 if (utf8agetab[LEAF_GEN(leaf)] > u8c->data->maxage) { in utf8byte()
780 u8c->s = LEAF_STR(leaf); in utf8byte()
789 leaf = utf8lookup(u8c->data, u8c->hangul, u8c->s); in utf8byte()
790 if (!leaf) in utf8byte()
792 ccc = LEAF_CCC(leaf); in utf8byte()