Lines Matching defs:tree
345 struct tree { struct
350 struct tree *next; argument
355 int *(*leaf_index)(struct tree *, void *); argument
378 * Example lookup function for a tree. argument
380 static void *lookup(struct tree *tree, const char *key) in lookup()
417 static void tree_walk(struct tree *tree) in tree_walk()
533 static int insert(struct tree *tree, char *key, int keylen, void *leaf) in insert()
654 static void prune(struct tree *tree) in prune()
815 static void mark_nodes(struct tree *tree) in mark_nodes()
942 static int index_nodes(struct tree *tree, int index) in index_nodes()
1048 static int size_nodes(struct tree *tree) in size_nodes()
1185 static void emit(struct tree *tree, unsigned char *data) in emit()
1493 static int *nfdi_index(struct tree *tree, void *l) in nfdi_index()
1500 static int *nfdicf_index(struct tree *tree, void *l) in nfdicf_index()
1745 static void verify(struct tree *tree) in verify()
2706 static utf8leaf_t *utf8nlookup(struct tree *tree, unsigned char *hangul, in utf8nlookup()
2781 static utf8leaf_t *utf8lookup(struct tree *tree, unsigned char *hangul, in utf8lookup()
2803 int utf8agemax(struct tree *tree, const char *s) in utf8agemax()
2830 int utf8agemin(struct tree *tree, const char *s) in utf8agemin()
2856 int utf8nagemax(struct tree *tree, const char *s, size_t len) in utf8nagemax()
2883 int utf8nagemin(struct tree *tree, const char *s, size_t len) in utf8nagemin()
2912 ssize_t utf8len(struct tree *tree, const char *s) in utf8len()
2939 ssize_t utf8nlen(struct tree *tree, const char *s, size_t len) in utf8nlen()
2967 struct tree *tree; member
2990 int utf8ncursor(struct utf8cursor *u8c, struct tree *tree, const char *s, in utf8ncursor()
3025 int utf8cursor(struct utf8cursor *u8c, struct tree *tree, const char *s) in utf8cursor()
3174 static int normalize_line(struct tree *tree) in normalize_line()