Lines Matching defs:loctset
51 NJ_SEARCH_LOCATION_SET *loctset;
60 loctset = &(cursor->loctset[i]);
64 njd_init_search_location_set(loctset);
76 loctset->loct.handle = dicinfo->handle;
77 loctset->loct.type = dicinfo->type;
78 loctset->loct.current_info = 0x10;
79 loctset->loct.status = NJ_ST_SEARCH_NO_INIT;
80 loctset->dic_freq = dicinfo->dic_freq[NJ_MODE_TYPE_HENKAN];
129 NJ_SEARCH_LOCATION_SET *loctset;
134 loctset = &(cursor->loctset[i]);
136 if (loctset->loct.handle == NULL) {
140 dic_type = NJ_GET_DIC_TYPE_EX(loctset->loct.type, loctset->loct.handle);
153 ret = njd_b_search_word(&cursor->cond, loctset);
157 ret = njd_l_search_word(iwnn, &cursor->cond, loctset, comp_flg);
161 ret = njd_f_search_word(&cursor->cond, loctset);
171 if ((GET_LOCATION_STATUS(loctset->loct.status) == NJ_ST_SEARCH_END)
176 loctset->loct.status = NJ_ST_SEARCH_END;
196 NJ_SEARCH_LOCATION_SET *loctset;
208 loctset = &(cursor->loctset[i]);
209 if ((loctset->loct.handle == NULL) ||
210 (GET_LOCATION_STATUS(loctset->loct.status) == NJ_ST_SEARCH_END) ||
211 (GET_LOCATION_STATUS(loctset->loct.status) == NJ_ST_SEARCH_END_EXT)) {
215 dic_type = NJ_GET_DIC_TYPE_EX(loctset->loct.type, loctset->loct.handle);
233 loctset->loct.status |= SET_LOCATION_OPERATION(cursor->cond.operation);
241 ret = njd_get_word_data(iwnn, cursor->cond.ds, loctset, (NJ_UINT16)i, &tmp_result.word);
267 ret = njd_b_search_word(&cursor->cond, loctset);
272 ret = njd_l_search_word(iwnn, &cursor->cond, loctset, comp_flg);
283 ret = njd_get_word_data(iwnn, cursor->cond.ds, loctset, (NJ_UINT16)i, &tmp_result.word);
291 ((j == max_len) && (loctset->cache_freq > result->word.stem.hindo)) ||
294 set_operation_id(&(loctset->loct), 0, result);
304 ret = njd_get_word_data(iwnn, cursor->cond.ds, loctset, (NJ_UINT16)i, &(tmp_result.word));
320 set_operation_id(&(loctset->loct), 0, result);
335 loctset = &(cursor->loctset[next]);
337 ((loctset->loct.handle != NULL) &&
339 dic_type = NJ_GET_DIC_TYPE_EX(loctset->loct.type, loctset->loct.handle);
349 ret = njd_b_search_word(&cursor->cond, loctset);
354 ret = njd_l_search_word(iwnn, &cursor->cond, loctset, comp_flg);
358 ret = njd_f_search_word(&cursor->cond, loctset);
372 NJ_INT16 njd_get_word_data(NJ_CLASS *iwnn, NJ_DIC_SET *dicset, NJ_SEARCH_LOCATION_SET *loctset, NJ_UINT16 dic_idx, NJ_WORD *word) {
378 if (GET_LOCATION_STATUS(loctset->loct.status) == NJ_ST_SEARCH_END) {
382 if (loctset->loct.handle == NULL) {
386 dic_type = NJ_GET_DIC_TYPE_EX(loctset->loct.type, loctset->loct.handle);
395 ret = njd_b_get_word(loctset, word);
400 ret = njd_l_get_word(iwnn, loctset, word);
404 ret = njd_f_get_word(loctset, word);
867 NJ_INT16 njd_init_search_location_set(NJ_SEARCH_LOCATION_SET* loctset)
870 loctset->cache_freq = 0;
871 loctset->dic_freq.base = 0;
872 loctset->dic_freq.high = 0;
873 loctset->loct.type = NJ_DIC_H_TYPE_NORMAL;
874 loctset->loct.handle = NULL;
875 loctset->loct.current_info = 0x10;
876 loctset->loct.current = 0;
877 loctset->loct.top = 0;
878 loctset->loct.bottom = 0;
879 loctset->loct.current_cache = 0;
880 loctset->loct.status = NJ_ST_SEARCH_NO_INIT;