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