Lines Matching refs:NJ_UINT16

55 #define GET_UINT16(ptr) ((((NJ_UINT16)(*(ptr))) << 8) | (*((ptr) + 1) & 0x00ff))
57 #define GET_FPOS_FROM_DATA(x) ((NJ_UINT16)NJ_INT16_READ((x)+1) >> 7)
58 #define GET_YSIZE_FROM_DATA(x) ((NJ_UINT8)((NJ_UINT16)NJ_INT16_READ((x)+1) & 0x7F))
59 #define GET_BPOS_FROM_DATA(x) ((NJ_UINT16)NJ_INT16_READ((x)+3) >> 7)
60 #define GET_KSIZE_FROM_DATA(x) ((NJ_UINT8)((NJ_UINT16)NJ_INT16_READ((x)+3) & 0x7F))
61 #define GET_BPOS_FROM_EXT_DATA(x) ((NJ_UINT16)NJ_INT16_READ(x) >> 7)
62 #define GET_YSIZE_FROM_EXT_DATA(x) ((NJ_UINT8)((NJ_UINT16)NJ_INT16_READ(x) & 0x7F))
65 NJ_INT16_WRITE((x), ((NJ_UINT16)((bpos) << 7) | ((ysize) & 0x7F)))
67 NJ_INT16_WRITE(((x)+1), ((NJ_UINT16)((fpos) << 7) | ((ysize) & 0x7F)))
69 NJ_INT16_WRITE(((x)+3), ((NJ_UINT16)((bpos) << 7) | ((ksize) & 0x7F)))
110 static NJ_WQUE *get_que(NJ_CLASS *iwnn, NJ_DIC_HANDLE handle, NJ_UINT16 que_id);
111 static NJ_INT16 is_continued(NJ_CLASS *iwnn, NJ_DIC_HANDLE handle, NJ_UINT16 que_id);
112 static NJ_UINT16 search_next_que(NJ_DIC_HANDLE handle, NJ_UINT16 que_id);
113 …lete_with_hyouki(NJ_CLASS *iwnn, NJ_DIC_HANDLE handle, NJ_UINT16 que_id, NJ_CHAR *yomi, NJ_UINT16
114 static NJ_CHAR *get_string(NJ_CLASS *iwnn, NJ_DIC_HANDLE handle, NJ_UINT16 que_id, NJ_UINT8 *slen);
115 static NJ_CHAR *get_hyouki(NJ_CLASS *iwnn, NJ_DIC_HANDLE handle, NJ_UINT16 que_id, NJ_UINT8 *slen);
118 …_SEARCH_CONDITION *cond, NJ_SEARCH_LOCATION_SET *loctset, NJ_UINT8 search_pattern, NJ_UINT16 hIdx);
119 …wnn, NJ_DIC_HANDLE handle, NJ_UINT8 op, NJ_CHAR *yomi, NJ_UINT16 ylen, NJ_UINT16 *from, NJ_UINT16
120 …LE handle, NJ_UINT8 op, NJ_CHAR *yomi, NJ_UINT16 ylen, NJ_UINT16 sfrom, NJ_UINT16 sto, NJ_UINT16 *…
122 …i(NJ_CLASS *iwnn, NJ_DIC_HANDLE handle, NJ_CHAR *yomi, NJ_UINT16 ylen, NJ_UINT16 *from, NJ_UINT16
123 …_que_cmp(NJ_CLASS *iwnn, NJ_DIC_HANDLE handle, NJ_CHAR *yomi, NJ_UINT16 yomiLen, NJ_UINT16 que_id,…
124 static NJ_WQUE *get_que_type_and_next(NJ_CLASS *iwnn, NJ_DIC_HANDLE handle, NJ_UINT16 que_id);
125 static NJ_WQUE *get_que_allHinsi(NJ_CLASS *iwnn, NJ_DIC_HANDLE handle, NJ_UINT16 que_id);
126 static NJ_WQUE *get_que_yomiLen_and_hyoukiLen(NJ_CLASS *iwnn, NJ_DIC_HANDLE handle, NJ_UINT16 que_i…
127 static NJ_INT16 continue_cnt(NJ_CLASS *iwnn, NJ_DIC_HANDLE handle, NJ_UINT16 que_id);
134 static NJ_INT16 que_strcmp_include(NJ_CLASS *iwnn, NJ_DIC_HANDLE handle, NJ_UINT16 que_id, NJ_CHAR …
136 #define GET_LEARN_MAX_WORD_COUNT(h) ((NJ_UINT16)NJ_INT32_READ((h) + POS_MAX_WORD))
139 ((NJ_UINT16)NJ_INT32_READ((h) + POS_LEARN_WORD))
143 ((NJ_UINT16)NJ_INT32_READ((h) + POS_NEXT_QUE))
146 #define QUE_SIZE(h) ((NJ_UINT16)NJ_INT32_READ((h) + POS_QUE_SIZE))
148 #define COPY_UINT16(dst,src) (*(NJ_UINT16 *)(dst) = *(NJ_UINT16 *)(src))
161 NJ_UINT16 word_count; in njd_l_search_word()
164 NJ_UINT16 hIdx; in njd_l_search_word()
264 NJ_UINT16 que_id) { in get_que_type_and_next()
293 NJ_UINT16 que_id) { in get_que_yomiLen_and_hyoukiLen()
324 NJ_UINT16 que_id) { in get_que_allHinsi()
352 static NJ_WQUE *get_que(NJ_CLASS *iwnn, NJ_DIC_HANDLE handle, NJ_UINT16 que_id) { in get_que()
386 static NJ_INT16 is_continued(NJ_CLASS *iwnn, NJ_DIC_HANDLE handle, NJ_UINT16 que_id) { in is_continued()
388 NJ_UINT16 i; in is_continued()
389 NJ_UINT16 max, end; in is_continued()
433 static NJ_INT16 continue_cnt(NJ_CLASS *iwnn, NJ_DIC_HANDLE handle, NJ_UINT16 que_id) { in continue_cnt()
435 NJ_UINT16 i; in continue_cnt()
436 NJ_UINT16 max, end; in continue_cnt()
481 static NJ_UINT16 search_next_que(NJ_DIC_HANDLE handle, NJ_UINT16 que_id) { in search_next_que()
482 NJ_UINT16 max; in search_next_que()
483 NJ_UINT16 i; in search_next_que()
506NJ_UINT16 que_id, NJ_CHAR *yomi, NJ_UINT16 yomi_len, NJ_CHAR *hyouki, in que_strcmp_complete_with_hyouki()
511 NJ_UINT16 hyouki_len; in que_strcmp_complete_with_hyouki()
512 NJ_UINT16 que_yomilen, que_hyoukilen; in que_strcmp_complete_with_hyouki()
594 NJ_UINT16 que_id, NJ_CHAR *yomi) { in que_strcmp_include()
596 NJ_UINT16 que_len; in que_strcmp_include()
597 NJ_UINT16 yomi_len; in que_strcmp_include()
600 NJ_UINT16 i = 0; in que_strcmp_include()
681 NJ_UINT16 que_id, NJ_UINT8 *slen) { in get_string()
687 NJ_UINT16 que_size; in get_string()
767 NJ_UINT16 que_id, NJ_UINT8 *slen) { in get_hyouki()
775 NJ_UINT16 que_size; in get_hyouki()
927 NJ_UINT16 current, from, to; in get_cand_by_sequential()
928 NJ_UINT16 que_id; in get_cand_by_sequential()
957 current = (NJ_UINT16)(loctset->loct.current + 1); in get_cand_by_sequential()
1059 NJ_UINT16 from, to, i; in get_cand_by_evaluate()
1060 NJ_UINT16 que_id, oldest; in get_cand_by_evaluate()
1114 for (i = (NJ_UINT16)loctset->loct.top; i <= (NJ_UINT16)loctset->loct.bottom; i++) { in get_cand_by_evaluate()
1197 NJ_CHAR *yomi, NJ_UINT16 len, NJ_UINT16 *from, NJ_UINT16 *to, in search_range_by_yomi()
1199 NJ_UINT16 right, mid = 0, left, max; in search_range_by_yomi()
1200 NJ_UINT16 que_id; in search_range_by_yomi()
1256 if ((*forward_flag == 0) && (len <= (NJ_UINT16)slen)) { in search_range_by_yomi()
1260 if (len > (NJ_UINT16)slen) { in search_range_by_yomi()
1262 } else if (len < (NJ_UINT16)slen) { in search_range_by_yomi()
1312 if (len > (NJ_UINT16)slen) { in search_range_by_yomi()
1314 } else if (len < (NJ_UINT16)slen) { in search_range_by_yomi()
1333 *from = (NJ_UINT16)cmp + 1; in search_range_by_yomi()
1368 if (len > (NJ_UINT16)slen) { in search_range_by_yomi()
1370 } else if (len < (NJ_UINT16)slen) { in search_range_by_yomi()
1396 … NJ_CHAR *yomi, NJ_UINT16 len, NJ_UINT16 *from, NJ_UINT16 *to) { in search_range_by_yomi_multi()
1397 NJ_UINT16 right, mid = 0, left, max = 0; in search_range_by_yomi_multi()
1398 NJ_UINT16 que_id; in search_range_by_yomi_multi()
1401 NJ_UINT16 comp_len; in search_range_by_yomi_multi()
1402 NJ_UINT16 i, char_len; in search_range_by_yomi_multi()
1496 *from = (NJ_UINT16)cmp + 1; in search_range_by_yomi_multi()
1532 NJ_UINT16 yomiLen, NJ_UINT16 que_id, NJ_UINT8 mode) { in str_que_cmp()
1535 NJ_UINT16 yomiByte; in str_que_cmp()
1536 NJ_UINT16 yomiPos; in str_que_cmp()
1542 NJ_UINT16 que_size; in str_que_cmp()
1657 NJ_UINT16 max; in calculate_hindo()
1685 NJ_UINT16 que_id, oldest; in get_hindo()
1688 NJ_UINT16 max; in get_hindo()
1695 que_id = (NJ_UINT16)GET_UINT16(learn_index_top_addr + in get_hindo()
1722 NJ_UINT16 que_id; in njd_l_get_word()
1730 que_id = (NJ_UINT16)GET_UINT16(learn_index_top_addr + in njd_l_get_word()
1767 NJ_INT16 njd_l_get_stroke(NJ_CLASS *iwnn, NJ_WORD *word, NJ_CHAR *stroke, NJ_UINT16 size) { in njd_l_get_stroke()
1768 NJ_UINT16 que_id; in njd_l_get_stroke()
1774 que_id = (NJ_UINT16)(word->stem.loc.current >> 16); in njd_l_get_stroke()
1779 if ((NJ_UINT16)((ylen+ NJ_TERM_LEN)*sizeof(NJ_CHAR)) > size) { in njd_l_get_stroke()
1805 NJ_CHAR *candidate, NJ_UINT16 size) { in njd_l_get_candidate()
1806 NJ_UINT16 que_id; in njd_l_get_candidate()
1808 NJ_UINT16 klen; in njd_l_get_candidate()
1812 que_id = (NJ_UINT16)(word->stem.loc.current >> 16); in njd_l_get_candidate()
1839 NJ_UINT16 flg; in njd_l_check_dic()
1840 NJ_UINT16 word_cnt, max; in njd_l_check_dic()
1842 NJ_UINT16 target_id; in njd_l_check_dic()
1843 NJ_UINT16 i; in njd_l_check_dic()
1844 NJ_UINT16 id1 = 0; in njd_l_check_dic()
1935 NJ_UINT16 idx) { in get_cand_by_evaluate2()
1936 NJ_UINT16 from, to, i; in get_cand_by_evaluate2()
1937 NJ_UINT16 que_id, oldest; in get_cand_by_evaluate2()
1946 NJ_UINT16 abIdx; in get_cand_by_evaluate2()
1947 NJ_UINT16 abIdx_old; in get_cand_by_evaluate2()
1948 NJ_UINT16 tmp_len; in get_cand_by_evaluate2()
1949 NJ_UINT16 yomi_clen; in get_cand_by_evaluate2()
1950 NJ_UINT16 j,l,m; in get_cand_by_evaluate2()
1958 NJ_UINT16 endIdx; in get_cand_by_evaluate2()
1960 NJ_UINT16 addcnt = 0; in get_cand_by_evaluate2()
2124 (NJ_UINT16)(psrhCache->storebuff[m].top), in get_cand_by_evaluate2()
2125 (NJ_UINT16)(psrhCache->storebuff[m].bottom), in get_cand_by_evaluate2()
2166 … (NJ_UINT16)(psrhCache->storebuff[m].top), in get_cand_by_evaluate2()
2167 … (NJ_UINT16)(psrhCache->storebuff[m].bottom), in get_cand_by_evaluate2()
2249 …for (i = (NJ_UINT16)psrhCache->storebuff[m].top; i <= (NJ_UINT16)psrhCache->storebuff[m].bottom; i… in get_cand_by_evaluate2()
2308 NJ_CHAR *yomi, NJ_UINT16 len, in search_range_by_yomi2()
2309 NJ_UINT16 sfrom, NJ_UINT16 sto, in search_range_by_yomi2()
2310 NJ_UINT16 *from, NJ_UINT16 *to, in search_range_by_yomi2()
2312 NJ_UINT16 right, mid = 0, left, max; in search_range_by_yomi2()
2313 NJ_UINT16 que_id; in search_range_by_yomi2()
2393 *from = (NJ_UINT16)cmp + 1; in search_range_by_yomi2()