Lines Matching refs:word
204 result->word = tmp_word; in get_word_and_search_next_word()
205 tmp_result.word = tmp_word; in get_word_and_search_next_word()
226 tmp_result.word.yomi = cursor->cond.yomi; in get_word_and_search_next_word()
227 tmp_result.word.stem.info1 = cursor->cond.ylen; in get_word_and_search_next_word()
241 … ret = njd_get_word_data(iwnn, cursor->cond.ds, loctset, (NJ_UINT16)i, &tmp_result.word); in get_word_and_search_next_word()
283 … ret = njd_get_word_data(iwnn, cursor->cond.ds, loctset, (NJ_UINT16)i, &tmp_result.word); in get_word_and_search_next_word()
291 ((j == max_len) && (loctset->cache_freq > result->word.stem.hindo)) || in get_word_and_search_next_word()
296 result->word = tmp_result.word; in get_word_and_search_next_word()
304 … ret = njd_get_word_data(iwnn, cursor->cond.ds, loctset, (NJ_UINT16)i, &(tmp_result.word)); in get_word_and_search_next_word()
322 result->word = tmp_result.word; in get_word_and_search_next_word()
372 …ASS *iwnn, NJ_DIC_SET *dicset, NJ_SEARCH_LOCATION_SET *loctset, NJ_UINT16 dic_idx, NJ_WORD *word) { in njd_get_word_data() argument
395 ret = njd_b_get_word(loctset, word); in njd_get_word_data()
400 ret = njd_l_get_word(iwnn, loctset, word); in njd_get_word_data()
404 ret = njd_f_get_word(loctset, word); in njd_get_word_data()
486 if (result->word.stem.loc.handle == NULL) { in njd_get_stroke()
490 dictype = NJ_GET_DIC_TYPE_EX(result->word.stem.loc.type, result->word.stem.loc.handle); in njd_get_stroke()
499 if (GET_LOCATION_OPERATION(result->word.stem.loc.status) != NJ_CUR_OP_COMP) { in njd_get_stroke()
500 ret = njd_b_get_stroke(&result->word, stroke, size); in njd_get_stroke()
502 len = NJ_GET_YLEN_FROM_STEM(&result->word); in njd_get_stroke()
512 nj_strncpy(stroke, result->word.yomi, len); in njd_get_stroke()
520 ret = njd_l_get_stroke(iwnn, &result->word, stroke, size); in njd_get_stroke()
524 ret = njd_f_get_stroke(&result->word, stroke, size); in njd_get_stroke()
544 if (result->word.stem.loc.handle == NULL) { in njd_get_candidate()
548 dictype = NJ_GET_DIC_TYPE_EX(result->word.stem.loc.type, result->word.stem.loc.handle); in njd_get_candidate()
557 ret = njd_b_get_candidate(&result->word, candidate, size); in njd_get_candidate()
562 ret = njd_l_get_candidate(iwnn, &result->word, candidate, size); in njd_get_candidate()
566 ret = njd_f_get_candidate(&result->word, candidate, size); in njd_get_candidate()
885 NJ_INT16 njd_init_word(NJ_WORD* word) in njd_init_word() argument
888 word->yomi = NULL; in njd_init_word()
889 word->stem.info1 = 0; in njd_init_word()
890 word->stem.info2 = 0; in njd_init_word()
891 word->stem.hindo = 0; in njd_init_word()
892 word->fzk.info1 = 0; in njd_init_word()
893 word->fzk.info2 = 0; in njd_init_word()
894 word->fzk.hindo = 0; in njd_init_word()
896 word->stem.loc.handle = NULL; in njd_init_word()
897 word->stem.loc.type = NJ_DIC_H_TYPE_NORMAL; in njd_init_word()
898 word->stem.loc.current = 0; in njd_init_word()
899 word->stem.loc.top = 0; in njd_init_word()
900 word->stem.loc.bottom = 0; in njd_init_word()
901 word->stem.loc.current_cache= 0; in njd_init_word()
902 word->stem.loc.current_info = 0x10; in njd_init_word()
903 word->stem.loc.status = NJ_ST_SEARCH_NO_INIT; in njd_init_word()