Searched refs:word_block (Results 1 – 1 of 1) sorted by relevance
49 static char *word_block = NULL; /* actual word data */ variable109 if(word_list != NULL && word_block != NULL) in init_dict()132 if ((word_block = (char *) malloc(sb.st_size + 1)) == NULL) in init_dict()134 if (read(fd, word_block, sb.st_size) != sb.st_size) in init_dict()137 word_block[sb.st_size] = '\0'; in init_dict()139 p = word_block; in init_dict()149 p = word_block; in init_dict()186 if(word_list == NULL || word_block == NULL) in find_word()221 if(word_block) { in destroy_dict()222 free(word_block); in destroy_dict()[all …]