/packages/inputmethods/OpenWnn/libs/libwnnDictionary/engine/ |
H A D | ndfdic.c | 73 static NJ_UINT16 search_data(NJ_SEARCH_CONDITION *condition, NJ_SEARCH_LOCATION_SET *loctset); 77 static NJ_UINT16 search_data(NJ_SEARCH_CONDITION *condition, NJ_SEARCH_LOCATION_SET *loctset) argument 87 offset = loctset->loct.current; 88 data = STEM_AREA_TOP_ADDR(loctset->loct.handle) + offset; 90 if (GET_LOCATION_STATUS(loctset->loct.status) != NJ_ST_SEARCH_NO_INIT) { 95 if (data >= STRS_AREA_TOP_ADDR(loctset->loct.handle)) { 97 loctset->loct.status = NJ_ST_SEARCH_END; 106 i = (STRS_AREA_TOP_ADDR(loctset->loct.handle) - data) / DATA_SIZE; 120 if (yomi_strcmp_forward(loctset->loct.handle, data, condition->yomi)) { 128 loctset 257 njd_f_search_word(NJ_SEARCH_CONDITION *con, NJ_SEARCH_LOCATION_SET *loctset) argument 316 njd_f_get_word(NJ_SEARCH_LOCATION_SET *loctset, NJ_WORD *word) argument [all...] |
H A D | ndapi.c | 51 NJ_SEARCH_LOCATION_SET *loctset; local 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; local 196 NJ_SEARCH_LOCATION_SET *loctset; local 372 njd_get_word_data(NJ_CLASS *iwnn, NJ_DIC_SET *dicset, NJ_SEARCH_LOCATION_SET *loctset, NJ_UINT16 dic_idx, NJ_WORD *word) argument 867 njd_init_search_location_set(NJ_SEARCH_LOCATION_SET* loctset) argument [all...] |
H A D | ndbdic.c | 90 static NJ_INT16 search_node(NJ_SEARCH_CONDITION *condition, NJ_SEARCH_LOCATION_SET *loctset); 91 static NJ_INT16 bdic_search_data(NJ_SEARCH_CONDITION *condition, NJ_SEARCH_LOCATION_SET *loctset); 92 static NJ_INT16 bdic_search_fore_data(NJ_SEARCH_CONDITION *condition, NJ_SEARCH_LOCATION_SET *loctset); 96 static NJ_INT16 search_node2(NJ_SEARCH_CONDITION *condition, NJ_SEARCH_LOCATION_SET *loctset, 99 NJ_SEARCH_LOCATION_SET *loctset, NJ_UINT16 hidx); 114 NJ_SEARCH_LOCATION_SET *loctset, 116 static NJ_INT16 bdic_get_word_freq(NJ_UINT8 *data_top, NJ_SEARCH_LOCATION_SET *loctset, 550 static NJ_INT16 search_node(NJ_SEARCH_CONDITION *condition, NJ_SEARCH_LOCATION_SET *loctset) argument 585 root = NODE_AREA_TOP_ADDR(loctset->loct.handle); 588 node_mid = root + NODE_AREA_MID_ADDR(loctset 998 bdic_search_data(NJ_SEARCH_CONDITION *condition, NJ_SEARCH_LOCATION_SET *loctset) argument 1048 bdic_search_fore_data(NJ_SEARCH_CONDITION *condition, NJ_SEARCH_LOCATION_SET *loctset) argument 1181 njd_b_search_word(NJ_SEARCH_CONDITION *con, NJ_SEARCH_LOCATION_SET *loctset) argument 1322 njd_b_get_word(NJ_SEARCH_LOCATION_SET *loctset, NJ_WORD *word) argument 1539 search_node2(NJ_SEARCH_CONDITION *condition, NJ_SEARCH_LOCATION_SET *loctset, NJ_UINT16 hidx) argument 2377 bdic_search_fore_data2(NJ_SEARCH_CONDITION *condition, NJ_SEARCH_LOCATION_SET *loctset, NJ_UINT16 hidx) argument 2722 bdic_get_next_data(NJ_UINT8 *data_top, NJ_UINT8 *data_end, NJ_SEARCH_LOCATION_SET *loctset, NJ_SEARCH_CACHE *psrhCache, NJ_UINT16 abIdx) argument 2808 bdic_get_word_freq(NJ_UINT8 * data_top, NJ_SEARCH_LOCATION_SET * loctset, NJ_SEARCH_CACHE * psrhCache, NJ_UINT16 abIdx) argument [all...] |
H A D | ndldic.c | 116 static NJ_INT16 get_cand_by_sequential(NJ_CLASS *iwnn, NJ_SEARCH_CONDITION *cond, NJ_SEARCH_LOCATION_SET *loctset, NJ_UINT8 search_pattern, NJ_UINT8 comp_flg); 117 static NJ_INT16 get_cand_by_evaluate(NJ_CLASS *iwnn, NJ_SEARCH_CONDITION *cond, NJ_SEARCH_LOCATION_SET *loctset, NJ_UINT8 search_pattern); 118 static NJ_INT16 get_cand_by_evaluate2(NJ_CLASS *iwnn, NJ_SEARCH_CONDITION *cond, NJ_SEARCH_LOCATION_SET *loctset, NJ_UINT8 search_pattern, NJ_UINT16 hIdx); 131 static NJ_HINDO get_hindo(NJ_CLASS *iwnn, NJ_SEARCH_LOCATION_SET *loctset, NJ_UINT8 search_pattern); 158 NJ_SEARCH_LOCATION_SET *loctset, 168 word_count = GET_LEARN_WORD_COUNT(loctset->loct.handle); 171 loctset->loct.status = NJ_ST_SEARCH_END_EXT; 175 type = NJ_GET_DIC_TYPE_EX(loctset->loct.type, loctset->loct.handle); 181 if (con->ylen > NJ_GET_MAX_YLEN(loctset 157 njd_l_search_word(NJ_CLASS *iwnn, NJ_SEARCH_CONDITION *con, NJ_SEARCH_LOCATION_SET *loctset, NJ_UINT8 comp_flg) argument 924 get_cand_by_sequential(NJ_CLASS *iwnn, NJ_SEARCH_CONDITION *cond, NJ_SEARCH_LOCATION_SET *loctset, NJ_UINT8 search_pattern, NJ_UINT8 comp_flg) argument 1057 get_cand_by_evaluate(NJ_CLASS *iwnn, NJ_SEARCH_CONDITION *cond, NJ_SEARCH_LOCATION_SET *loctset, NJ_UINT8 search_pattern) argument 1682 get_hindo(NJ_CLASS *iwnn, NJ_SEARCH_LOCATION_SET *loctset, NJ_UINT8 search_pattern) argument 1720 njd_l_get_word(NJ_CLASS *iwnn, NJ_SEARCH_LOCATION_SET *loctset, NJ_WORD *word) argument 1932 get_cand_by_evaluate2(NJ_CLASS *iwnn, NJ_SEARCH_CONDITION *cond, NJ_SEARCH_LOCATION_SET *loctset, NJ_UINT8 search_pattern, NJ_UINT16 idx) argument [all...] |
/packages/inputmethods/OpenWnn/libs/libwnnDictionary/include/ |
H A D | nj_lib.h | 231 NJ_SEARCH_LOCATION_SET loctset[NJ_MAX_DIC]; member in struct:__anon32
|