Searched refs:word_list (Results 1 – 3 of 3) sorted by relevance
47 const char **word_list; /* list of word pointers */ member87 dict->word_list = calloc(count + 1, sizeof(char *)); in init_dict()88 if (dict->word_list == NULL) in init_dict()92 dict->word_list[i] = p; in init_dict()103 free(dict->word_list); in destroy_dict()121 dict->word_list = NULL; in combo_open()143 if (dict->word_list == NULL) in combo_check()146 for (word1 = dict->word_list; *word1 != NULL; word1++) { in combo_check()150 for (word2 = dict->word_list; *word2 != NULL; word2++) { in combo_check()
43 char **word_list; /* list of word pointers */ member144 if ((dict->word_list = malloc(dict->word_count * sizeof(char *))) == NULL) in init_dict()148 dict->word_list[i] = p; in init_dict()151 qsort(dict->word_list, dict->word_count, sizeof(char *), word_compare); in init_dict()179 free(dict->word_list); in destroy_dict()199 dict->word_list = NULL; in dict_open()228 if (dict->word_list != NULL && in dict_check()229 bsearch(&password, dict->word_list, dict->word_count, sizeof(char *), in dict_check()
2418 Message word_list; in FormatWordList() local2421 word_list << ", "; in FormatWordList()2424 word_list << "and "; in FormatWordList()2426 word_list << "'" << words[i] << "'"; in FormatWordList()2428 return word_list.GetString(); in FormatWordList()