Lines Matching refs:tree_node
141 defined to have type ``tree_node *``, which is defined as:
145 typedef struct tree_node
148 struct tree_node *left;
149 struct tree_node *right;
150 } tree_node;
202 103 find_word (tree_node *dictionary, char *word)
386 103 find_word (tree_node *dictionary, char *word)
635 typedef struct tree_node {
637 struct tree_node *left;
638 struct tree_node *right;
639 } tree_node;
669 void insert(tree_node *root, char *word) {
682 tree_node *new_node = (tree_node *)malloc(sizeof(tree_node));
692 tree_node *new_node = (tree_node *)malloc(sizeof(tree_node));
704 void populate_dictionary(tree_node **dictionary, char *filename) {
714 tree_node *new_node = (tree_node *)malloc(sizeof(tree_node));
728 int find_word(tree_node *dictionary, char *word) {
744 void print_tree(tree_node *dictionary) {
758 tree_node *dictionary = NULL;