Lines Matching refs:loct
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()
595 bit_left = BIT_NODE_AREA_LEFT_LEN(loctset->loct.handle); in search_node()
596 bit_data = BIT_NODE_AREA_DATA_LEN(loctset->loct.handle); in search_node()
598 ytbl_cnt = YOMI_INDX_CNT(loctset->loct.handle); in search_node()
599 y = YOMI_INDX_SIZE(loctset->loct.handle); in search_node()
600 ytbl_top = YOMI_INDX_TOP_ADDR(loctset->loct.handle); in search_node()
602 data_top = STEM_AREA_TOP_ADDR(loctset->loct.handle); in search_node()
619 loctset->loct.status = NJ_ST_SEARCH_END_EXT; in search_node()
680 loctset->loct.status = NJ_ST_SEARCH_END_EXT; in search_node()
734 loctset->loct.status = NJ_ST_SEARCH_END_EXT; in search_node()
747 loctset->loct.status = NJ_ST_SEARCH_END_EXT; in search_node()
760 loctset->loct.status = NJ_ST_SEARCH_END; in search_node()
773 loctset->loct.status = NJ_ST_SEARCH_END_EXT; in search_node()
802 loctset->loct.status = NJ_ST_SEARCH_END; in search_node()
819 loctset->loct.status = NJ_ST_SEARCH_END; in search_node()
844 loctset->loct.top = data_offset; in search_node()
845 loctset->loct.current = 0; in search_node()
849 bottom = loctset->loct.top; in search_node()
950 next = get_stem_next(loctset->loct.handle, stem_data); in search_node()
953 loctset->loct.bottom = (NJ_UINT32)(stem_data - data_top); in search_node()
956 stem_data = data_top + loctset->loct.top; in search_node()
958 hindo = (NJ_UINT16) *((NJ_UINT8*)(HINDO_NO_TOP_ADDR(loctset->loct.handle) in search_node()
959 + get_stem_hindo(loctset->loct.handle, stem_data))); in search_node()
967 j = get_stem_next(loctset->loct.handle, stem_data); in search_node()
971 while (stem_data <= (data_top + loctset->loct.bottom)) { in search_node()
974 hindo = (NJ_UINT16) *((NJ_UINT8*)(HINDO_NO_TOP_ADDR(loctset->loct.handle) in search_node()
975 … + get_stem_hindo(loctset->loct.handle, stem_data))); in search_node()
984 j = get_stem_next(loctset->loct.handle, stem_data); in search_node()
991 loctset->loct.current = hindo_max_data; in search_node()
1005 data = STEM_AREA_TOP_ADDR(loctset->loct.handle); in bdic_search_data()
1006 data += loctset->loct.top + loctset->loct.current; in bdic_search_data()
1008 if (GET_LOCATION_STATUS(loctset->loct.status) != NJ_ST_SEARCH_NO_INIT) { in bdic_search_data()
1012 loctset->loct.status = NJ_ST_SEARCH_END; in bdic_search_data()
1017 i = get_stem_next(loctset->loct.handle, data); in bdic_search_data()
1023 if (NJ_GET_DIC_FMT(loctset->loct.handle) == NJ_DIC_FMT_KANAKAN) { in bdic_search_data()
1024 data_end = loctset->loct.handle in bdic_search_data()
1026 + NJ_INT32_READ(loctset->loct.handle + NJ_DIC_POS_DATA_SIZE) in bdic_search_data()
1027 + NJ_INT32_READ(loctset->loct.handle + NJ_DIC_POS_EXT_SIZE) in bdic_search_data()
1030 data_end = CAND_IDX_AREA_TOP_ADDR(loctset->loct.handle); in bdic_search_data()
1035 loctset->loct.status = NJ_ST_SEARCH_READY; in bdic_search_data()
1036 loctset->loct.current += current; in bdic_search_data()
1037 hindo = (NJ_UINT16) *((NJ_UINT8*)(HINDO_NO_TOP_ADDR(loctset->loct.handle) + in bdic_search_data()
1038 get_stem_hindo(loctset->loct.handle, data))); in bdic_search_data()
1044 loctset->loct.status = NJ_ST_SEARCH_END; in bdic_search_data()
1055 NJ_UINT32 current = loctset->loct.current; in bdic_search_fore_data()
1061 if (GET_LOCATION_STATUS(loctset->loct.status) == NJ_ST_SEARCH_NO_INIT) { in bdic_search_fore_data()
1062 loctset->loct.status = NJ_ST_SEARCH_READY; in bdic_search_fore_data()
1063 loctset->loct.current_info = CURRENT_INFO_SET; in bdic_search_fore_data()
1068 data_top = STEM_AREA_TOP_ADDR(loctset->loct.handle); in bdic_search_fore_data()
1071 data = data_top + loctset->loct.top + loctset->loct.current; in bdic_search_fore_data()
1077 bottom = data_top + loctset->loct.bottom; in bdic_search_fore_data()
1079 if (NJ_GET_DIC_FMT(loctset->loct.handle) == NJ_DIC_FMT_KANAKAN) { in bdic_search_fore_data()
1080 data_end = loctset->loct.handle in bdic_search_fore_data()
1082 + NJ_INT32_READ(loctset->loct.handle + NJ_DIC_POS_DATA_SIZE) in bdic_search_fore_data()
1083 + NJ_INT32_READ(loctset->loct.handle + NJ_DIC_POS_EXT_SIZE) in bdic_search_fore_data()
1086 data_end = CAND_IDX_AREA_TOP_ADDR(loctset->loct.handle); in bdic_search_fore_data()
1095 i = get_stem_next(loctset->loct.handle, data); in bdic_search_fore_data()
1103 loctset->loct.status = NJ_ST_SEARCH_END; in bdic_search_fore_data()
1107 loctset->loct.status = NJ_ST_SEARCH_END; in bdic_search_fore_data()
1114 data = data_top + loctset->loct.top; in bdic_search_fore_data()
1122 loctset->loct.status = NJ_ST_SEARCH_READY; in bdic_search_fore_data()
1123 loctset->loct.current_info = CURRENT_INFO_SET; in bdic_search_fore_data()
1124 loctset->loct.current = hindo_data; in bdic_search_fore_data()
1130 … = (NJ_INT16) *((NJ_UINT8*)(HINDO_NO_TOP_ADDR(loctset->loct.handle) + get_stem_hindo(loctset->loct… in bdic_search_fore_data()
1137 loctset->loct.status = NJ_ST_SEARCH_READY; in bdic_search_fore_data()
1138 loctset->loct.current_info = CURRENT_INFO_SET; in bdic_search_fore_data()
1139 loctset->loct.current = current; in bdic_search_fore_data()
1155 i = get_stem_next(loctset->loct.handle, data); in bdic_search_fore_data()
1162 loctset->loct.status = NJ_ST_SEARCH_END; in bdic_search_fore_data()
1167 hindo = (NJ_INT16) *((NJ_UINT8*)(HINDO_NO_TOP_ADDR(loctset->loct.handle) in bdic_search_fore_data()
1168 + get_stem_hindo(loctset->loct.handle, data))); in bdic_search_fore_data()
1171 loctset->loct.status = NJ_ST_SEARCH_READY; in bdic_search_fore_data()
1172 loctset->loct.current_info = CURRENT_INFO_SET; in bdic_search_fore_data()
1173 loctset->loct.current = current; in bdic_search_fore_data()
1177 loctset->loct.status = NJ_ST_SEARCH_END; in bdic_search_fore_data()
1195 loctset->loct.status = NJ_ST_SEARCH_END_EXT; in njd_b_search_word()
1201 if (APPEND_YOMI_FLG(loctset->loct.handle) == 0) { in njd_b_search_word()
1202 loctset->loct.status = NJ_ST_SEARCH_END_EXT; in njd_b_search_word()
1206 … if ((NJ_GET_DIC_TYPE_EX(loctset->loct.type, loctset->loct.handle) != NJ_DIC_TYPE_CUSTOM_COMPRESS) in njd_b_search_word()
1208 loctset->loct.status = NJ_ST_SEARCH_END_EXT; in njd_b_search_word()
1214 loctset->loct.status = NJ_ST_SEARCH_END_EXT; in njd_b_search_word()
1218 if (con->ylen > NJ_GET_MAX_YLEN(loctset->loct.handle)) { in njd_b_search_word()
1219 loctset->loct.status = NJ_ST_SEARCH_END_EXT; in njd_b_search_word()
1223 if (GET_LOCATION_STATUS(loctset->loct.status) == NJ_ST_SEARCH_NO_INIT) { in njd_b_search_word()
1235 loctset->loct.status = NJ_ST_SEARCH_END; in njd_b_search_word()
1240 … for (hIdx = 0; (hIdx < NJ_MAX_DIC) && (pdicinfo->handle != loctset->loct.handle); hIdx++) { in njd_b_search_word()
1246 loctset->loct.status = NJ_ST_SEARCH_END; in njd_b_search_word()
1271 loctset->loct.status = NJ_ST_SEARCH_END; in njd_b_search_word()
1275 loctset->loct.status = NJ_ST_SEARCH_END_EXT; in njd_b_search_word()
1278 } else if (GET_LOCATION_STATUS(loctset->loct.status) == NJ_ST_SEARCH_READY) { in njd_b_search_word()
1285 loctset->loct.status = NJ_ST_SEARCH_END; in njd_b_search_word()
1290 … for (hIdx = 0; (hIdx < NJ_MAX_DIC) && (pdicinfo->handle != loctset->loct.handle); hIdx++) { in njd_b_search_word()
1296 loctset->loct.status = NJ_ST_SEARCH_END; in njd_b_search_word()
1308 loctset->loct.status = NJ_ST_SEARCH_END; in njd_b_search_word()
1312 loctset->loct.status = NJ_ST_SEARCH_END; in njd_b_search_word()
1316 loctset->loct.status = NJ_ST_SEARCH_END; in njd_b_search_word()
1331 if (GET_LOCATION_STATUS(loctset->loct.status) == NJ_ST_SEARCH_END) { in njd_b_get_word()
1335 if (GET_LOCATION_OPERATION(loctset->loct.status) == NJ_CUR_OP_FORE) { in njd_b_get_word()
1336 data = STEM_AREA_TOP_ADDR(loctset->loct.handle); in njd_b_get_word()
1337 data += loctset->loct.top + loctset->loct.current; in njd_b_get_word()
1345 data = STEM_AREA_TOP_ADDR(loctset->loct.handle); in njd_b_get_word()
1346 data += loctset->loct.top + loctset->loct.current; in njd_b_get_word()
1353 get_stem_word(loctset->loct.handle, data, &stem_set, check); in njd_b_get_word()
1355 if (GET_LOCATION_OPERATION(loctset->loct.status) == NJ_CUR_OP_FORE) { in njd_b_get_word()
1364 if (GET_LOCATION_OPERATION(loctset->loct.status) == NJ_CUR_OP_FORE) { in njd_b_get_word()
1383 word->stem.loc = loctset->loct; in njd_b_get_word()
1587 root = NODE_AREA_TOP_ADDR(loctset->loct.handle); in search_node2()
1590 node_mid = root + NODE_AREA_MID_ADDR(loctset->loct.handle); in search_node2()
1593 bit_left = BIT_NODE_AREA_LEFT_LEN(loctset->loct.handle); in search_node2()
1594 bit_data = BIT_NODE_AREA_DATA_LEN(loctset->loct.handle); in search_node2()
1596 ytbl_cnt = YOMI_INDX_CNT(loctset->loct.handle); in search_node2()
1597 y = YOMI_INDX_SIZE(loctset->loct.handle); in search_node2()
1598 ytbl_top = YOMI_INDX_TOP_ADDR(loctset->loct.handle); in search_node2()
1600 data_top = STEM_AREA_TOP_ADDR(loctset->loct.handle); in search_node2()
1665 loctset->loct.handle, in search_node2()
1720 loctset->loct.handle, in search_node2()
1799 loctset->loct.handle, in search_node2()
1858 loctset->loct.handle, in search_node2()
1885 loctset->loct.status = NJ_ST_SEARCH_END; in search_node2()
1889 loctset->loct.current = 0; in search_node2()
1911 hindo = (NJ_UINT16) *((NJ_UINT8 *)(HINDO_NO_TOP_ADDR(loctset->loct.handle) + in search_node2()
1912 get_stem_hindo(loctset->loct.handle, stem_data))); in search_node2()
1927 j = get_stem_next(loctset->loct.handle, stem_data); in search_node2()
1932 hindo = (NJ_UINT16) *((NJ_UINT8 *) (HINDO_NO_TOP_ADDR(loctset->loct.handle) + in search_node2()
1933 get_stem_hindo(loctset->loct.handle, stem_data))); in search_node2()
1952 hindo = (NJ_UINT16) *((NJ_UINT8 *)(HINDO_NO_TOP_ADDR(loctset->loct.handle) in search_node2()
1953 + get_stem_hindo(loctset->loct.handle, stem_data))); in search_node2()
1960 loctset->loct.top = psrhCache->storebuff[abIdx_current].top; in search_node2()
1961 loctset->loct.bottom = psrhCache->storebuff[abIdx_current].bottom; in search_node2()
1965 loctset->loct.current = hindo_max_data; in search_node2()
1966 loctset->loct.current_cache = (NJ_UINT8)abIdx_current; in search_node2()
2382 NJ_UINT32 current = loctset->loct.current; in bdic_search_fore_data2()
2409 if (GET_LOCATION_STATUS(loctset->loct.status) == NJ_ST_SEARCH_NO_INIT) { in bdic_search_fore_data2()
2410 loctset->loct.status = NJ_ST_SEARCH_READY; in bdic_search_fore_data2()
2411 loctset->loct.current_info = CURRENT_INFO_SET; in bdic_search_fore_data2()
2418 data_top = STEM_AREA_TOP_ADDR(loctset->loct.handle); in bdic_search_fore_data2()
2441 hindo = (NJ_UINT16) *((NJ_UINT8 *)(HINDO_NO_TOP_ADDR(loctset->loct.handle) + in bdic_search_fore_data2()
2442 … get_stem_hindo(loctset->loct.handle, data))); in bdic_search_fore_data2()
2457 i = get_stem_next(loctset->loct.handle, data); in bdic_search_fore_data2()
2462 … hindo = (NJ_UINT16) *((NJ_UINT8 *) (HINDO_NO_TOP_ADDR(loctset->loct.handle) + in bdic_search_fore_data2()
2463 … get_stem_hindo(loctset->loct.handle, data))); in bdic_search_fore_data2()
2484 hindo = (NJ_UINT16) *((NJ_UINT8 *)(HINDO_NO_TOP_ADDR(loctset->loct.handle) in bdic_search_fore_data2()
2485 … + get_stem_hindo(loctset->loct.handle, data))); in bdic_search_fore_data2()
2492 loctset->loct.top = psrhCache->storebuff[abIdx_current].top; in bdic_search_fore_data2()
2493 loctset->loct.bottom = psrhCache->storebuff[abIdx_current].bottom; in bdic_search_fore_data2()
2497 loctset->loct.current = hindo_max_data; in bdic_search_fore_data2()
2498 loctset->loct.current_cache = (NJ_UINT8)abIdx_current; in bdic_search_fore_data2()
2504 data = data_top + loctset->loct.top; in bdic_search_fore_data2()
2506 hindo = (NJ_UINT16) *((NJ_UINT8 *)(HINDO_NO_TOP_ADDR(loctset->loct.handle) + in bdic_search_fore_data2()
2507 get_stem_hindo(loctset->loct.handle, data))); in bdic_search_fore_data2()
2515 i = get_stem_next(loctset->loct.handle, data); in bdic_search_fore_data2()
2520 while (data <= (data_top + loctset->loct.bottom)) { in bdic_search_fore_data2()
2523 hindo = (NJ_UINT16)*((NJ_UINT8 *)(HINDO_NO_TOP_ADDR(loctset->loct.handle) + in bdic_search_fore_data2()
2524 … get_stem_hindo(loctset->loct.handle, data))); in bdic_search_fore_data2()
2533 i = get_stem_next(loctset->loct.handle, data); in bdic_search_fore_data2()
2541 loctset->loct.current = hindo_max_data; in bdic_search_fore_data2()
2548 data_top = STEM_AREA_TOP_ADDR(loctset->loct.handle); in bdic_search_fore_data2()
2551 data = data_top + loctset->loct.top + loctset->loct.current; in bdic_search_fore_data2()
2555 bottom = data_top + loctset->loct.bottom; in bdic_search_fore_data2()
2557 if (NJ_GET_DIC_FMT(loctset->loct.handle) == NJ_DIC_FMT_KANAKAN) { in bdic_search_fore_data2()
2558 data_end = loctset->loct.handle in bdic_search_fore_data2()
2560 + NJ_INT32_READ(loctset->loct.handle + NJ_DIC_POS_DATA_SIZE) in bdic_search_fore_data2()
2561 + NJ_INT32_READ(loctset->loct.handle + NJ_DIC_POS_EXT_SIZE) in bdic_search_fore_data2()
2564 data_end = CAND_IDX_AREA_TOP_ADDR(loctset->loct.handle); in bdic_search_fore_data2()
2583 loctset->loct.status = NJ_ST_SEARCH_END; in bdic_search_fore_data2()
2587 old_abIdx = loctset->loct.current_cache; in bdic_search_fore_data2()
2599 loctset->loct.status = NJ_ST_SEARCH_READY; in bdic_search_fore_data2()
2600 loctset->loct.current_info = CURRENT_INFO_SET; in bdic_search_fore_data2()
2601 loctset->loct.current = psrhCache->storebuff[old_abIdx].current; in bdic_search_fore_data2()
2602 loctset->loct.current_cache = (NJ_UINT8)old_abIdx; in bdic_search_fore_data2()
2631 (loctset->loct.top == psrhCache->storebuff[current_abIdx].top) && in bdic_search_fore_data2()
2632 (loctset->loct.current == psrhCache->storebuff[current_abIdx].current)) { in bdic_search_fore_data2()
2638 loctset->loct.status = NJ_ST_SEARCH_READY; in bdic_search_fore_data2()
2639 loctset->loct.current_info = CURRENT_INFO_SET; in bdic_search_fore_data2()
2640 loctset->loct.top = psrhCache->storebuff[current_abIdx].top; in bdic_search_fore_data2()
2641 loctset->loct.bottom = psrhCache->storebuff[current_abIdx].bottom; in bdic_search_fore_data2()
2642 loctset->loct.current = psrhCache->storebuff[current_abIdx].current; in bdic_search_fore_data2()
2643 loctset->loct.current_cache = (NJ_UINT8)current_abIdx; in bdic_search_fore_data2()
2670 loctset->loct.status = NJ_ST_SEARCH_READY; in bdic_search_fore_data2()
2671 loctset->loct.current_info = CURRENT_INFO_SET; in bdic_search_fore_data2()
2672 loctset->loct.top = psrhCache->storebuff[current_abIdx].top; in bdic_search_fore_data2()
2673 loctset->loct.bottom = psrhCache->storebuff[current_abIdx].bottom; in bdic_search_fore_data2()
2674 loctset->loct.current = psrhCache->storebuff[current_abIdx].current; in bdic_search_fore_data2()
2675 loctset->loct.current_cache = (NJ_UINT8)current_abIdx; in bdic_search_fore_data2()
2681 loctset->loct.status = NJ_ST_SEARCH_READY; in bdic_search_fore_data2()
2682 loctset->loct.current_info = CURRENT_INFO_SET; in bdic_search_fore_data2()
2683 loctset->loct.top = psrhCache->storebuff[save_abIdx].top; in bdic_search_fore_data2()
2684 loctset->loct.bottom = psrhCache->storebuff[save_abIdx].bottom; in bdic_search_fore_data2()
2685 loctset->loct.current = psrhCache->storebuff[save_abIdx].current; in bdic_search_fore_data2()
2686 loctset->loct.current_cache = (NJ_UINT8)save_abIdx; in bdic_search_fore_data2()
2696 i = get_stem_next(loctset->loct.handle, data); in bdic_search_fore_data2()
2703 loctset->loct.status = NJ_ST_SEARCH_END; in bdic_search_fore_data2()
2708 hindo = (NJ_INT16)*((NJ_UINT8 *)(HINDO_NO_TOP_ADDR(loctset->loct.handle) in bdic_search_fore_data2()
2709 + get_stem_hindo(loctset->loct.handle, data))); in bdic_search_fore_data2()
2712 loctset->loct.status = NJ_ST_SEARCH_READY; in bdic_search_fore_data2()
2713 loctset->loct.current_info = CURRENT_INFO_SET; in bdic_search_fore_data2()
2714 loctset->loct.current = current; in bdic_search_fore_data2()
2718 loctset->loct.status = NJ_ST_SEARCH_END; in bdic_search_fore_data2()
2756 i = get_stem_next(loctset->loct.handle, data); in bdic_get_next_data()
2784 hindo = (NJ_INT16)*((NJ_UINT8 *)(HINDO_NO_TOP_ADDR(loctset->loct.handle) in bdic_get_next_data()
2785 + get_stem_hindo(loctset->loct.handle, data))); in bdic_get_next_data()
2820 hindo = (NJ_INT16)*((NJ_UINT8 *)(HINDO_NO_TOP_ADDR(loctset->loct.handle) in bdic_get_word_freq()
2821 + get_stem_hindo(loctset->loct.handle, data))); in bdic_get_word_freq()