Lines Matching refs:iwnn

24 static NJ_INT16 set_previous_selection(NJ_CLASS *iwnn, NJ_RESULT *result);
25 static NJ_INT16 set_learn_word_info(NJ_CLASS *iwnn, NJ_LEARN_WORD_INFO *lword, NJ_RESULT *result);
29 NJ_EXTERN NJ_INT16 njx_select(NJ_CLASS *iwnn, NJ_RESULT *r_result) { in njx_select() argument
34 if (iwnn == NULL) { in njx_select()
38 dics = &(iwnn->dic_set); in njx_select()
47 ret = set_previous_selection(iwnn, r_result); in njx_select()
53 set_previous_selection(iwnn, NULL); in njx_select()
58 NJ_EXTERN NJ_INT16 njx_init(NJ_CLASS *iwnn) { in njx_init() argument
60 if (iwnn == NULL) { in njx_init()
66 set_previous_selection(iwnn, NULL); in njx_init()
70 NJ_EXTERN NJ_INT16 njx_get_candidate(NJ_CLASS *iwnn, NJ_RESULT *result, NJ_CHAR *buf, NJ_UINT16 buf… in njx_get_candidate() argument
74 if (iwnn == NULL) { in njx_get_candidate()
88 ret = njd_get_candidate(iwnn, result, buf, buf_size); in njx_get_candidate()
100 NJ_EXTERN NJ_INT16 njx_get_stroke(NJ_CLASS *iwnn, NJ_RESULT *result, NJ_CHAR *buf, NJ_UINT16 buf_si… in njx_get_stroke() argument
104 if (iwnn == NULL) { in njx_get_stroke()
118 ret = njd_get_stroke(iwnn, result, buf, buf_size); in njx_get_stroke()
130 static NJ_INT16 set_previous_selection(NJ_CLASS *iwnn, NJ_RESULT *result) { in set_previous_selection() argument
132 NJ_PREVIOUS_SELECTION_INFO *prev_info = &(iwnn->previous_selection); in set_previous_selection()
138 ret = set_learn_word_info(iwnn, &(prev_info->selection_data), result); in set_previous_selection()
150 static NJ_INT16 set_learn_word_info(NJ_CLASS *iwnn, NJ_LEARN_WORD_INFO *lword, NJ_RESULT *result) in set_learn_word_info() argument
153 NJ_DIC_SET *dics = &(iwnn->dic_set); in set_learn_word_info()
159 ret = njx_get_stroke(iwnn, result, lword->yomi, sizeof(lword->yomi)); in set_learn_word_info()
164 ret = njx_get_candidate(iwnn, result, lword->hyouki, sizeof(lword->hyouki)); in set_learn_word_info()