Searched refs:loctset (Results 1 – 6 of 6) sorted by relevance
/packages/inputmethods/OpenWnn/libs/libwnnDictionary/engine/ |
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 …ic 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) in search_node() argument 585 root = NODE_AREA_TOP_ADDR(loctset->loct.handle); in search_node() 588 node_mid = root + NODE_AREA_MID_ADDR(loctset->loct.handle); in search_node() [all …]
|
D | ndapi.c | 51 NJ_SEARCH_LOCATION_SET *loctset; in check_search_cursor() local 60 loctset = &(cursor->loctset[i]); in check_search_cursor() 64 njd_init_search_location_set(loctset); in check_search_cursor() 76 loctset->loct.handle = dicinfo->handle; in check_search_cursor() 77 loctset->loct.type = dicinfo->type; in check_search_cursor() 78 loctset->loct.current_info = 0x10; in check_search_cursor() 79 loctset->loct.status = NJ_ST_SEARCH_NO_INIT; in check_search_cursor() 80 loctset->dic_freq = dicinfo->dic_freq[NJ_MODE_TYPE_HENKAN]; in check_search_cursor() 129 NJ_SEARCH_LOCATION_SET *loctset; in search_word() local 134 loctset = &(cursor->loctset[i]); in search_word() [all …]
|
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) in search_data() argument 87 offset = loctset->loct.current; in search_data() 88 data = STEM_AREA_TOP_ADDR(loctset->loct.handle) + offset; in search_data() 90 if (GET_LOCATION_STATUS(loctset->loct.status) != NJ_ST_SEARCH_NO_INIT) { in search_data() 95 if (data >= STRS_AREA_TOP_ADDR(loctset->loct.handle)) { in search_data() 97 loctset->loct.status = NJ_ST_SEARCH_END; in search_data() 106 i = (STRS_AREA_TOP_ADDR(loctset->loct.handle) - data) / DATA_SIZE; in search_data() 120 if (yomi_strcmp_forward(loctset->loct.handle, data, condition->yomi)) { in search_data() 128 loctset->loct.current_info = CURRENT_INFO_SET; in search_data() [all …]
|
D | ndldic.c | 116 …ntial(NJ_CLASS *iwnn, NJ_SEARCH_CONDITION *cond, NJ_SEARCH_LOCATION_SET *loctset, NJ_UINT8 search_… 117 …luate(NJ_CLASS *iwnn, NJ_SEARCH_CONDITION *cond, NJ_SEARCH_LOCATION_SET *loctset, NJ_UINT8 search_… 118 …uate2(NJ_CLASS *iwnn, NJ_SEARCH_CONDITION *cond, NJ_SEARCH_LOCATION_SET *loctset, NJ_UINT8 search_… 131 static NJ_HINDO get_hindo(NJ_CLASS *iwnn, NJ_SEARCH_LOCATION_SET *loctset, NJ_UINT8 search_pattern); 158 NJ_SEARCH_LOCATION_SET *loctset, in njd_l_search_word() argument 168 word_count = GET_LEARN_WORD_COUNT(loctset->loct.handle); in njd_l_search_word() 171 loctset->loct.status = NJ_ST_SEARCH_END_EXT; in njd_l_search_word() 175 type = NJ_GET_DIC_TYPE_EX(loctset->loct.type, loctset->loct.handle); in njd_l_search_word() 181 if (con->ylen > NJ_GET_MAX_YLEN(loctset->loct.handle)) { in njd_l_search_word() 182 loctset->loct.status = NJ_ST_SEARCH_END_EXT; in njd_l_search_word() [all …]
|
/packages/inputmethods/OpenWnn/libs/libwnnDictionary/include/ |
D | nj_ext.h | 83 …et_word_data(NJ_CLASS *iwnn, NJ_DIC_SET *dicset, NJ_SEARCH_LOCATION_SET *loctset, NJ_UINT16 dic_id… 88 extern NJ_INT16 njd_init_search_location_set(NJ_SEARCH_LOCATION_SET* loctset); 92 NJ_SEARCH_LOCATION_SET *loctset); 93 extern NJ_INT16 njd_b_get_word(NJ_SEARCH_LOCATION_SET *loctset, NJ_WORD *word); 99 NJ_SEARCH_LOCATION_SET *loctset); 100 extern NJ_INT16 njd_f_get_word(NJ_SEARCH_LOCATION_SET *loctset, NJ_WORD *word); 107 NJ_SEARCH_LOCATION_SET *loctset, NJ_UINT8 comp_flg); 113 extern NJ_INT16 njd_l_get_word(NJ_CLASS *iwnn, NJ_SEARCH_LOCATION_SET *loctset, NJ_WORD *word);
|
D | nj_lib.h | 231 NJ_SEARCH_LOCATION_SET loctset[NJ_MAX_DIC]; member
|