Lines Matching refs:NJ_UINT8

24 #define NODE_TERM(x) ((NJ_UINT8)(0x80 & (*(x))))
25 #define NODE_LEFT_EXIST(x) ((NJ_UINT8)(0x40 & (*(x))))
26 #define NODE_DATA_EXIST(x) ((NJ_UINT8)(0x20 & (*(x))))
27 #define NODE_IDX_EXIST(x) ((NJ_UINT8)(0x10 & (*(x))))
28 #define NODE_IDX_CNT(x) ((NJ_UINT8)((0x0f & (*(x))) + 2))
30 #define STEM_TERMINETER(x) ((NJ_UINT8)(0x80 & (*(x))))
32 #define STEM_NO_CONV_FLG(x) ((NJ_UINT8)(0x40 & (*(x))))
37 #define APPEND_YOMI_FLG(h) ((NJ_UINT8)(0x80 & (*((h) + 0x1C))))
38 #define HINSI_NO_TOP_ADDR(h) ((NJ_UINT8*)((h) + NJ_INT32_READ((h) + 0x1D)))
41 #define HINSI_NO_BYTE(h) ((NJ_UINT8)(*((h) + 0x25)))
42 #define HINDO_NO_TOP_ADDR(h) ((NJ_UINT8*)((h) + NJ_INT32_READ((h) + 0x26)))
43 #define HINDO_NO_CNT(h) ((NJ_UINT8)(*((h) + 0x2A)))
44 #define STEM_AREA_TOP_ADDR(h) ((NJ_UINT8*)((h) + NJ_INT32_READ((h) + 0x2B)))
45 #define BIT_CANDIDATE_LEN(h) ((NJ_UINT8)(*((h) + 0x2F)))
46 #define BIT_FHINSI(h) ((NJ_UINT8)(*((h) + 0x30)))
47 #define BIT_BHINSI(h) ((NJ_UINT8)(*((h) + 0x31)))
48 #define BIT_HINDO_LEN(h) ((NJ_UINT8)(*((h) + 0x32)))
49 #define BIT_MUHENKAN_LEN(h) ((NJ_UINT8)(*((h) + 0x33)))
50 #define BIT_YOMI_LEN(h) ((NJ_UINT8)(*((h) + 0x35)))
51 #define YOMI_INDX_TOP_ADDR(h) ((NJ_UINT8*)((h) + NJ_INT32_READ((h) + 0x42)))
54 #define NODE_AREA_TOP_ADDR(h) ((NJ_UINT8*)((h) + NJ_INT32_READ((h) + 0x48)))
55 #define BIT_NODE_AREA_DATA_LEN(h) ((NJ_UINT8)(*((h) + 0x4C)))
56 #define BIT_NODE_AREA_LEFT_LEN(h) ((NJ_UINT8)(*((h) + 0x4D)))
58 #define CAND_IDX_AREA_TOP_ADDR(h) ((NJ_UINT8*)((h) + NJ_INT32_READ((h) + 0x52)))
60 #define CAND_IDX_AREA_SIZE(h) ((NJ_UINT8)(*((h) + 0x59)))
64 #define CURRENT_INFO_SET ((NJ_UINT8)(0x10))
84 static NJ_INT16 get_stem_next(NJ_DIC_HANDLE hdl, NJ_UINT8 *stem_data);
85 static void get_stem_word(NJ_DIC_HANDLE hdl, NJ_UINT8 *stem_data, STEM_DATA_SET *stem_set, NJ_UINT8
86 static void get_stem_cand_data(NJ_DIC_HANDLE hdl, NJ_UINT8 *stem_data, STEM_DATA_SET *stem_set);
87 static NJ_UINT16 get_stem_yomi_data(NJ_DIC_HANDLE hdl, NJ_UINT8 *stem_data,STEM_DATA_SET *stem_set);
88 static NJ_UINT16 get_stem_yomi_size(NJ_DIC_HANDLE hdl, NJ_UINT8 *stem_data, NJ_UINT16 yomi_size);
89 static NJ_UINT16 get_stem_yomi_string(NJ_DIC_HANDLE hdl, NJ_UINT8 *stem_data, NJ_CHAR *yomi, NJ_UIN…
94 static NJ_HINDO get_stem_hindo(NJ_DIC_HANDLE hdl, NJ_UINT8 *stem_data);
100 static NJ_INT16 search_yomi_node(NJ_UINT8 operation, NJ_UINT8 *node,
101 NJ_UINT8 *now, NJ_UINT16 idx_no,
103 NJ_UINT8 *root, NJ_UINT8 *node_mid,
105 NJ_UINT8 *data_top,
107 NJ_UINT8 *ytbl_top, NJ_CACHE_INFO *storebuf,
108 NJ_UINT8 **con_node, NJ_UINT32 *data_offset);
109 static NJ_INT16 get_node_bottom(NJ_CHAR *yomi, NJ_UINT8 *now, NJ_UINT8 *node_mid,
110 NJ_UINT8 *data_top, NJ_UINT16 bit_left,
113 static NJ_INT16 bdic_get_next_data(NJ_UINT8 *data_top, NJ_UINT8 *data_end,
116 static NJ_INT16 bdic_get_word_freq(NJ_UINT8 *data_top, NJ_SEARCH_LOCATION_SET *loctset,
119 static NJ_HINDO get_stem_hindo(NJ_DIC_HANDLE hdl, NJ_UINT8 *stem_data) in get_stem_hindo()
121 NJ_UINT8 flg_bit; in get_stem_hindo()
148 static NJ_INT16 get_stem_next(NJ_DIC_HANDLE hdl, NJ_UINT8 *stem_data) in get_stem_next()
150 NJ_UINT8 flg_bit; in get_stem_next()
209 static void get_stem_word(NJ_DIC_HANDLE hdl, NJ_UINT8 *stem_data, STEM_DATA_SET *stem_set, NJ_UINT8 in get_stem_word()
211 NJ_UINT8 flg_bit; in get_stem_word()
217 NJ_UINT8 b; in get_stem_word()
218 NJ_UINT8 *wkc; in get_stem_word()
261 wkc = (NJ_UINT8*)(HINSI_NO_TOP_ADDR(hdl) + (b * (NJ_UINT16)(stem_set->fhinsi))); in get_stem_word()
285 wkc = (NJ_UINT8*)(HINSI_NO_TOP_ADDR(hdl) in get_stem_word()
349 static void get_stem_cand_data(NJ_DIC_HANDLE hdl, NJ_UINT8 *stem_data, STEM_DATA_SET *stem_set) in get_stem_cand_data()
351 NJ_UINT8 flg_bit; in get_stem_cand_data()
390 static NJ_UINT16 get_stem_yomi_data(NJ_DIC_HANDLE hdl, NJ_UINT8 *stem_data,STEM_DATA_SET *stem_set) in get_stem_yomi_data()
447 static NJ_UINT16 get_stem_yomi_size(NJ_DIC_HANDLE hdl, NJ_UINT8 *ydata, NJ_UINT16 yomi_size) in get_stem_yomi_size()
451 NJ_UINT8 *ytbl_top; in get_stem_yomi_size()
452 NJ_UINT8 *ytbl; in get_stem_yomi_size()
453 NJ_UINT8 yidx; in get_stem_yomi_size()
486 static NJ_UINT16 get_stem_yomi_string(NJ_DIC_HANDLE hdl, NJ_UINT8 *stem_data, NJ_CHAR *yomi, NJ_UIN… in get_stem_yomi_string()
490 NJ_UINT8 *ytbl_top, *ytbl; in get_stem_yomi_string()
491 NJ_UINT8 *ydata; in get_stem_yomi_string()
492 NJ_UINT8 yidx; in get_stem_yomi_string()
539 nj_memcpy((NJ_UINT8*)yomi, ydata, yomi_size); in get_stem_yomi_string()
552 NJ_UINT8 *root, *now, *node, *node_mid; in search_node()
553 NJ_UINT8 index; in search_node()
554 NJ_UINT8 *byomi; in search_node()
555 NJ_UINT8 *wkc; in search_node()
556 NJ_UINT8 idx_no; in search_node()
562 NJ_UINT8 c1 = 0, c2 = 0; in search_node()
565 NJ_UINT8 *ytbl_top; in search_node()
573 NJ_UINT8 restart_flg = 0; in search_node()
574 NJ_UINT8 bottom_flg = 0; in search_node()
575 NJ_UINT8 *data_top, *stem_data; in search_node()
582 byomi = (NJ_UINT8*)(condition->yomi); in search_node()
683 index = (NJ_UINT8)idx; in search_node()
726 if (index == (NJ_UINT8)nd_index) { in search_node()
730 if ((!NODE_TERM(now)) && (index > (NJ_UINT8)nd_index) && (idx_no == 0)) { in search_node()
740 (index < (NJ_UINT8)nd_index) && (idx_no == 0) && in search_node()
958 hindo = (NJ_UINT16) *((NJ_UINT8*)(HINDO_NO_TOP_ADDR(loctset->loct.handle) in search_node()
974 hindo = (NJ_UINT16) *((NJ_UINT8*)(HINDO_NO_TOP_ADDR(loctset->loct.handle) in search_node()
1000 NJ_UINT8 *data, *data_end; in bdic_search_data()
1037 hindo = (NJ_UINT16) *((NJ_UINT8*)(HINDO_NO_TOP_ADDR(loctset->loct.handle) + in bdic_search_data()
1050 NJ_UINT8 *data, *data_top, *bottom, *data_end; in bdic_search_fore_data()
1054 NJ_UINT8 no_hit = 0; in bdic_search_fore_data()
1056 NJ_UINT8 *current_org; in bdic_search_fore_data()
1130 …hindo = (NJ_INT16) *((NJ_UINT8*)(HINDO_NO_TOP_ADDR(loctset->loct.handle) + get_stem_hindo(loctset-… in bdic_search_fore_data()
1167 hindo = (NJ_INT16) *((NJ_UINT8*)(HINDO_NO_TOP_ADDR(loctset->loct.handle) in bdic_search_fore_data()
1324 NJ_UINT8 *data; in njd_b_get_word()
1326 NJ_UINT8 check; in njd_b_get_word()
1392 NJ_UINT8 *wkd; in njd_b_get_candidate()
1393 NJ_UINT8 *data; in njd_b_get_candidate()
1394 NJ_UINT8 *data_org; in njd_b_get_candidate()
1486 NJ_UINT8 *data; in njd_b_get_stroke()
1541 NJ_UINT8 *root, *now, *node, *node_mid; in search_node2()
1546 NJ_UINT8 *ytbl_top; in search_node2()
1551 NJ_UINT8 *data_top, *stem_data; in search_node2()
1558 NJ_UINT8 cmpflg; in search_node2()
1559 NJ_UINT8 endflg; in search_node2()
1571 NJ_UINT8 *con_node; in search_node2()
1573 NJ_UINT8 aimai_flg = 0x01; in search_node2()
1911 hindo = (NJ_UINT16) *((NJ_UINT8 *)(HINDO_NO_TOP_ADDR(loctset->loct.handle) + in search_node2()
1932 hindo = (NJ_UINT16) *((NJ_UINT8 *) (HINDO_NO_TOP_ADDR(loctset->loct.handle) + in search_node2()
1952 hindo = (NJ_UINT16) *((NJ_UINT8 *)(HINDO_NO_TOP_ADDR(loctset->loct.handle) in search_node2()
1966 loctset->loct.current_cache = (NJ_UINT8)abIdx_current; in search_node2()
1975 static NJ_INT16 search_yomi_node(NJ_UINT8 operation, NJ_UINT8 *node, NJ_UINT8 *now, in search_yomi_node()
1977 NJ_UINT8 * root, NJ_UINT8 * node_mid, in search_yomi_node()
1979 NJ_UINT8 * data_top, in search_yomi_node()
1980 NJ_INT16 ytbl_cnt, NJ_UINT16 y, NJ_UINT8 * ytbl_top, in search_yomi_node()
1982 NJ_UINT8 ** con_node, in search_yomi_node()
1986 NJ_UINT8 index; in search_yomi_node()
1987 NJ_UINT8 *wkc; in search_yomi_node()
1988 NJ_UINT8 *byomi; in search_yomi_node()
1993 NJ_UINT8 c1 = 0, c2 = 0; in search_yomi_node()
2000 NJ_UINT8 restart_flg = 0; in search_yomi_node()
2009 byomi = (NJ_UINT8*)yomi; in search_yomi_node()
2080 index = (NJ_UINT8) idx; in search_yomi_node()
2121 if (index == (NJ_UINT8) nd_index) { in search_yomi_node()
2125 if ((!NODE_TERM(now)) && (index > (NJ_UINT8) nd_index) && (idx_no == 0)) { in search_yomi_node()
2135 && (index < (NJ_UINT8) nd_index) && (idx_no == 0) in search_yomi_node()
2250 static NJ_INT16 get_node_bottom(NJ_CHAR * yomi, NJ_UINT8 * now, NJ_UINT8 * node_mid, in get_node_bottom()
2251 NJ_UINT8 * data_top, NJ_UINT16 bit_left, NJ_UINT16 bit_data, in get_node_bottom()
2255 NJ_UINT8 *node; in get_node_bottom()
2260 NJ_UINT8 bottom_flg = 0; in get_node_bottom()
2261 NJ_UINT8 *stem_data; in get_node_bottom()
2379 NJ_UINT8 *data, *data_top, *bottom, *data_end; in bdic_search_fore_data2()
2392 NJ_UINT8 freq_flag = 0; in bdic_search_fore_data2()
2441 hindo = (NJ_UINT16) *((NJ_UINT8 *)(HINDO_NO_TOP_ADDR(loctset->loct.handle) + in bdic_search_fore_data2()
2462 … hindo = (NJ_UINT16) *((NJ_UINT8 *) (HINDO_NO_TOP_ADDR(loctset->loct.handle) + in bdic_search_fore_data2()
2484 hindo = (NJ_UINT16) *((NJ_UINT8 *)(HINDO_NO_TOP_ADDR(loctset->loct.handle) in bdic_search_fore_data2()
2498 loctset->loct.current_cache = (NJ_UINT8)abIdx_current; in bdic_search_fore_data2()
2506 hindo = (NJ_UINT16) *((NJ_UINT8 *)(HINDO_NO_TOP_ADDR(loctset->loct.handle) + in bdic_search_fore_data2()
2523 hindo = (NJ_UINT16)*((NJ_UINT8 *)(HINDO_NO_TOP_ADDR(loctset->loct.handle) + in bdic_search_fore_data2()
2602 loctset->loct.current_cache = (NJ_UINT8)old_abIdx; in bdic_search_fore_data2()
2643 loctset->loct.current_cache = (NJ_UINT8)current_abIdx; in bdic_search_fore_data2()
2675 loctset->loct.current_cache = (NJ_UINT8)current_abIdx; in bdic_search_fore_data2()
2686 loctset->loct.current_cache = (NJ_UINT8)save_abIdx; in bdic_search_fore_data2()
2708 hindo = (NJ_INT16)*((NJ_UINT8 *)(HINDO_NO_TOP_ADDR(loctset->loct.handle) in bdic_search_fore_data2()
2722 static NJ_INT16 bdic_get_next_data(NJ_UINT8 *data_top, NJ_UINT8 *data_end, in bdic_get_next_data()
2727 NJ_UINT8 *data, *bottom; in bdic_get_next_data()
2731 NJ_UINT8 no_hit = 0; in bdic_get_next_data()
2733 NJ_UINT8 *current_org; in bdic_get_next_data()
2784 hindo = (NJ_INT16)*((NJ_UINT8 *)(HINDO_NO_TOP_ADDR(loctset->loct.handle) in bdic_get_next_data()
2808 static NJ_INT16 bdic_get_word_freq(NJ_UINT8 * data_top, NJ_SEARCH_LOCATION_SET * loctset, in bdic_get_word_freq()
2811 NJ_UINT8 *data; in bdic_get_word_freq()
2820 hindo = (NJ_INT16)*((NJ_UINT8 *)(HINDO_NO_TOP_ADDR(loctset->loct.handle) in bdic_get_word_freq()