Lines Matching refs:hdl

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);
119 static NJ_HINDO get_stem_hindo(NJ_DIC_HANDLE hdl, NJ_UINT8 *stem_data) in get_stem_hindo() argument
127 flg_bit = BIT_MUHENKAN_LEN(hdl); in get_stem_hindo()
128 if (NJ_GET_DIC_FMT(hdl) != NJ_DIC_FMT_KANAKAN) { in get_stem_hindo()
132 if (BIT_HINDO_LEN(hdl)) { in get_stem_hindo()
141 return GET_BITFIELD_16(data, j, BIT_HINDO_LEN(hdl)); in get_stem_hindo()
148 static NJ_INT16 get_stem_next(NJ_DIC_HANDLE hdl, NJ_UINT8 *stem_data) in get_stem_next() argument
158 flg_bit = BIT_MUHENKAN_LEN(hdl); in get_stem_next()
159 if (NJ_GET_DIC_FMT(hdl) != NJ_DIC_FMT_KANAKAN) { in get_stem_next()
166 BIT_HINDO_LEN(hdl) + in get_stem_next()
167 BIT_FHINSI(hdl) + in get_stem_next()
168 BIT_BHINSI(hdl)); in get_stem_next()
174 cand_bit = BIT_CANDIDATE_LEN(hdl); in get_stem_next()
180 if (APPEND_YOMI_FLG(hdl) && STEM_TERMINETER(stem_data)) { in get_stem_next()
188 yomi_bit = BIT_YOMI_LEN(hdl); 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() argument
222 flg_bit = BIT_MUHENKAN_LEN(hdl); in get_stem_word()
223 if (NJ_GET_DIC_FMT(hdl) != NJ_DIC_FMT_KANAKAN) { in get_stem_word()
227 if (BIT_HINDO_LEN(hdl)) { in get_stem_word()
236 stem_set->hindo = GET_BITFIELD_16(data, j, BIT_HINDO_LEN(hdl)); in get_stem_word()
242 stem_set->hindo_jitu = (NJ_UINT16)(*(HINDO_NO_TOP_ADDR(hdl) + stem_set->hindo)); in get_stem_word()
244 if (BIT_FHINSI(hdl)) { in get_stem_word()
247 bit_all = (NJ_UINT16)(TERM_BIT + flg_bit + BIT_HINDO_LEN(hdl)); in get_stem_word()
254 stem_set->fhinsi = GET_BITFIELD_16(data, j, BIT_FHINSI(hdl)); in get_stem_word()
260 b = HINSI_NO_BYTE(hdl); in get_stem_word()
261 wkc = (NJ_UINT8*)(HINSI_NO_TOP_ADDR(hdl) + (b * (NJ_UINT16)(stem_set->fhinsi))); in get_stem_word()
270 if (BIT_BHINSI(hdl)) { in get_stem_word()
273 bit_all = (NJ_UINT16)(TERM_BIT + flg_bit + BIT_HINDO_LEN(hdl) + BIT_FHINSI(hdl)); in get_stem_word()
280 stem_set->bhinsi = GET_BITFIELD_16(data, j, BIT_BHINSI(hdl)); in get_stem_word()
285 wkc = (NJ_UINT8*)(HINSI_NO_TOP_ADDR(hdl) in get_stem_word()
286 + (b * (FHINSI_NO_CNT(hdl) + (NJ_UINT16)(stem_set->bhinsi)))); in get_stem_word()
299 BIT_HINDO_LEN(hdl) + in get_stem_word()
300 BIT_FHINSI(hdl) + in get_stem_word()
301 BIT_BHINSI(hdl)); in get_stem_word()
307 bit = BIT_CANDIDATE_LEN(hdl); in get_stem_word()
317 if (APPEND_YOMI_FLG(hdl) && STEM_TERMINETER(stem_data)) { in get_stem_word()
323 bit = BIT_YOMI_LEN(hdl); in get_stem_word()
333 } else if (APPEND_YOMI_FLG(hdl)) { in get_stem_word()
335 next = get_stem_next(hdl, stem_data); in get_stem_word()
339 dpos = get_stem_yomi_data(hdl, stem_data, stem_set); in get_stem_word()
344 stem_set->yomi_size = get_stem_yomi_size(hdl, stem_data + dpos, stem_set->yomi_size); 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() argument
358 flg_bit = BIT_MUHENKAN_LEN(hdl); in get_stem_cand_data()
359 if (NJ_GET_DIC_FMT(hdl) != NJ_DIC_FMT_KANAKAN) { in get_stem_cand_data()
366 BIT_HINDO_LEN(hdl) + in get_stem_cand_data()
367 BIT_FHINSI(hdl) + in get_stem_cand_data()
368 BIT_BHINSI(hdl)); in get_stem_cand_data()
373 cand_bit = BIT_CANDIDATE_LEN(hdl); in get_stem_cand_data()
380 if (APPEND_YOMI_FLG(hdl) && STEM_TERMINETER(stem_data)) { in get_stem_cand_data()
382 yomi_bit = BIT_YOMI_LEN(hdl); 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() argument
401 flg_bit = BIT_MUHENKAN_LEN(hdl); in get_stem_yomi_data()
402 if (NJ_GET_DIC_FMT(hdl) != NJ_DIC_FMT_KANAKAN) { in get_stem_yomi_data()
408 bit_all = (NJ_UINT16)(TERM_BIT + flg_bit + BIT_HINDO_LEN(hdl) + in get_stem_yomi_data()
409 BIT_FHINSI(hdl) + BIT_BHINSI(hdl)); in get_stem_yomi_data()
416 cand_bit = BIT_CANDIDATE_LEN(hdl); in get_stem_yomi_data()
423 if (APPEND_YOMI_FLG(hdl) && STEM_TERMINETER(stem_data)) { in get_stem_yomi_data()
431 yomi_bit = BIT_YOMI_LEN(hdl); 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() argument
459 ytbl_cnt = YOMI_INDX_CNT(hdl); in get_stem_yomi_size()
462 ysize = YOMI_INDX_SIZE(hdl); in get_stem_yomi_size()
463 ytbl_top = YOMI_INDX_TOP_ADDR(hdl); 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() argument
499 ytbl_cnt = YOMI_INDX_CNT(hdl); in get_stem_yomi_string()
500 ysize = YOMI_INDX_SIZE(hdl); in get_stem_yomi_string()
501 ytbl_top = YOMI_INDX_TOP_ADDR(hdl); in get_stem_yomi_string()