Searched refs:word_list (Results 1 – 1 of 1) sorted by relevance
48 static char **word_list = NULL; /* list of word pointers */ variable109 if(word_list != NULL && word_block != NULL) in init_dict()147 if ((word_list = (char **) malloc(word_count * sizeof(char *))) == NULL) in init_dict()151 word_list[i] = p; in init_dict()154 qsort(word_list, word_count, sizeof(char *), word_compare); in init_dict()186 if(word_list == NULL || word_block == NULL) in find_word()188 if ((value = (char **) bsearch(&word, word_list, word_count, sizeof(char *), in find_word()217 if(word_list) { in destroy_dict()218 free(word_list); in destroy_dict()219 word_list = NULL; in destroy_dict()