Lines Matching refs:windex
27 static char **windex; /* Contains the index to the dictionary */ variable
105 windex = malloc(sizeof(*windex) * (words+1)); /* Inc strtok NULL */ in dict_load()
106 if(!windex) { in dict_load()
118 windex[words] = strtok(dict, "\n"); in dict_load()
119 while((windex[++words] = strtok(NULL, "\n"))); in dict_load()
140 if(strcmp(windex[c],windex[c+1]) >= 0) in sorted()
162 d = strcmp(word, windex[i]); in dict_check()
184 printf("%s\n", windex[i]); in dict_dump()
202 for(i=0; windex[w][i]; i++) in dict_get_freq()
203 freq[windex[w][i]&255]++; in dict_get_freq()
219 qsort(windex, words, sizeof(*windex), scompare); in dict_sort()