Lines Matching refs:psrhCache
115 NJ_SEARCH_CACHE *psrhCache, NJ_UINT16 abIdx);
117 NJ_SEARCH_CACHE *psrhCache, NJ_UINT16 abIdx);
1556 NJ_SEARCH_CACHE *psrhCache = condition->ds->dic[hidx].srhCache; in search_node2() local
1578 if (NJ_GET_CACHEOVER_FROM_SCACHE(psrhCache)) { in search_node2()
1617 if (((abPtrIdx != 0) && (psrhCache->keyPtr[abPtrIdx] == 0)) in search_node2()
1618 || (psrhCache->keyPtr[abPtrIdx + 1] == 0)) { in search_node2()
1638 psrhCache->keyPtr[0] = 0; in search_node2()
1654 psrhCache->storebuff[abIdx] = tmpbuff; in search_node2()
1659 psrhCache->storebuff[abIdx].top = data_offset; in search_node2()
1664 psrhCache->storebuff[abIdx].top, in search_node2()
1666 &(psrhCache->storebuff[abIdx].bottom)); in search_node2()
1703 psrhCache->keyPtr[abPtrIdx+1] = 0; in search_node2()
1708 psrhCache->storebuff[abIdx] = tmpbuff; in search_node2()
1713 psrhCache->storebuff[abIdx].top = data_offset; in search_node2()
1719 psrhCache->storebuff[abIdx].top, in search_node2()
1721 &(psrhCache->storebuff[abIdx].bottom)); in search_node2()
1733 psrhCache->keyPtr[abPtrIdx + 1] = abIdx; in search_node2()
1738 if (psrhCache->keyPtr[abPtrIdx] == psrhCache->keyPtr[abPtrIdx - 1]) { in search_node2()
1740 psrhCache->keyPtr[abPtrIdx+1] = psrhCache->keyPtr[abPtrIdx-1]; in search_node2()
1743 endIdx = psrhCache->keyPtr[abPtrIdx]; in search_node2()
1744 abIdx_old = psrhCache->keyPtr[abPtrIdx - 1]; in search_node2()
1746 if (NJ_GET_CACHEOVER_FROM_SCACHE(psrhCache)) { in search_node2()
1747 abIdx = psrhCache->keyPtr[abPtrIdx - 1]; in search_node2()
1748 psrhCache->keyPtr[abPtrIdx] = abIdx; in search_node2()
1750 abIdx = psrhCache->keyPtr[abPtrIdx]; in search_node2()
1760 node = psrhCache->storebuff[m].node; in search_node2()
1761 now = psrhCache->storebuff[m].now; in search_node2()
1763 if ((node == now) && (psrhCache->storebuff[m].idx_no == 0)) { in search_node2()
1769 node, now, psrhCache->storebuff[m].idx_no, in search_node2()
1783 psrhCache->keyPtr[abPtrIdx+1] = 0; in search_node2()
1788 psrhCache->storebuff[abIdx] = tmpbuff; in search_node2()
1793 psrhCache->storebuff[abIdx].top = data_offset; in search_node2()
1798 psrhCache->storebuff[abIdx].top, in search_node2()
1800 &(psrhCache->storebuff[abIdx].bottom)); in search_node2()
1821 node = psrhCache->storebuff[m].node; in search_node2()
1822 now = psrhCache->storebuff[m].now; in search_node2()
1827 psrhCache->storebuff[m].idx_no, in search_node2()
1842 psrhCache->keyPtr[abPtrIdx+1] = 0; in search_node2()
1847 psrhCache->storebuff[abIdx] = tmpbuff; in search_node2()
1852 psrhCache->storebuff[abIdx].top = data_offset; in search_node2()
1857 psrhCache->storebuff[abIdx].top, in search_node2()
1859 … &(psrhCache->storebuff[abIdx].bottom)); in search_node2()
1872 psrhCache->keyPtr[abPtrIdx + 1] = abIdx; in search_node2()
1880 if ((addcnt == 0) && (psrhCache->keyPtr[yomi_clen - 1] == psrhCache->keyPtr[yomi_clen])) { in search_node2()
1896 abIdx = psrhCache->keyPtr[abPtrIdx]; in search_node2()
1897 abIdx_old = psrhCache->keyPtr[abPtrIdx - 1]; in search_node2()
1909 stem_data = data_top + psrhCache->storebuff[abIdx_current].top; in search_node2()
1919 while (stem_data <= (data_top + psrhCache->storebuff[abIdx_current].bottom)) { in search_node2()
1938 psrhCache->storebuff[abIdx_current].current = hindo_tmp_data; in search_node2()
1950 stem_data = data_top + psrhCache->storebuff[abIdx_current].top; 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()
1969 psrhCache->viewCnt = 1; in search_node2()
1970 NJ_SET_AIMAI_TO_SCACHE(psrhCache); in search_node2()
2385 NJ_SEARCH_CACHE *psrhCache = condition->ds->dic[hidx].srhCache; in bdic_search_fore_data2() local
2415 if (NJ_GET_AIMAI_FROM_SCACHE(psrhCache)) { in bdic_search_fore_data2()
2416 NJ_UNSET_AIMAI_TO_SCACHE(psrhCache); in bdic_search_fore_data2()
2425 abIdx = psrhCache->keyPtr[abPtrIdx]; in bdic_search_fore_data2()
2426 abIdx_old = psrhCache->keyPtr[abPtrIdx - 1]; in bdic_search_fore_data2()
2439 data = data_top + psrhCache->storebuff[m].top; in bdic_search_fore_data2()
2449 while (data <= (data_top + psrhCache->storebuff[m].bottom)) { in bdic_search_fore_data2()
2468 psrhCache->storebuff[m].current = hindo_tmp_data; in bdic_search_fore_data2()
2482 data = data_top + psrhCache->storebuff[abIdx_current].top; 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()
2501 psrhCache->viewCnt = 1; in bdic_search_fore_data2()
2573 bottom_abIdx = psrhCache->keyPtr[abPtrIdx]; in bdic_search_fore_data2()
2574 top_abIdx = psrhCache->keyPtr[abPtrIdx - 1]; in bdic_search_fore_data2()
2592 ret = bdic_get_next_data(data_top, data_end, loctset, psrhCache, old_abIdx); in bdic_search_fore_data2()
2596 psrhCache->viewCnt++; in bdic_search_fore_data2()
2597 if (psrhCache->viewCnt <= NJ_CACHE_VIEW_CNT) { in bdic_search_fore_data2()
2601 loctset->loct.current = psrhCache->storebuff[old_abIdx].current; in bdic_search_fore_data2()
2607 psrhCache->viewCnt = 0; in bdic_search_fore_data2()
2628 ret = bdic_get_word_freq(data_top, loctset, psrhCache, current_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()
2633 ret = bdic_get_next_data(data_top, data_end, loctset, psrhCache, current_abIdx); 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()
2644 psrhCache->viewCnt = 1; 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()
2676 psrhCache->viewCnt = 1; 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()
2687 psrhCache->viewCnt = 1; in bdic_search_fore_data2()
2724 NJ_SEARCH_CACHE *psrhCache, in bdic_get_next_data() argument
2732 NJ_UINT32 current = psrhCache->storebuff[abIdx].current; in bdic_get_next_data()
2738 if (psrhCache->storebuff[abIdx].current == LOC_CURRENT_NO_ENTRY) { in bdic_get_next_data()
2743 data = data_top + psrhCache->storebuff[abIdx].top + psrhCache->storebuff[abIdx].current; in bdic_get_next_data()
2749 bottom = data_top + psrhCache->storebuff[abIdx].bottom; in bdic_get_next_data()
2764 psrhCache->storebuff[abIdx].current = LOC_CURRENT_NO_ENTRY; in bdic_get_next_data()
2771 data = data_top + psrhCache->storebuff[abIdx].top; in bdic_get_next_data()
2779 psrhCache->storebuff[abIdx].current = hindo_data; in bdic_get_next_data()
2791 psrhCache->storebuff[abIdx].current = current; in bdic_get_next_data()
2804 psrhCache->storebuff[abIdx].current = LOC_CURRENT_NO_ENTRY; in bdic_get_next_data()
2809 NJ_SEARCH_CACHE * psrhCache, NJ_UINT16 abIdx) in bdic_get_word_freq() argument
2815 if (psrhCache->storebuff[abIdx].current != LOC_CURRENT_NO_ENTRY) { in bdic_get_word_freq()
2817 data = data_top + psrhCache->storebuff[abIdx].top + psrhCache->storebuff[abIdx].current; in bdic_get_word_freq()