Lines Matching refs:sSearchKey

548     OUString sSearchKey;  in GetDiff()  local
552 sSearchKey = sSrchStr; in GetDiff()
555 sSearchKey = sSrchStr2; in GetDiff()
560 return sSearchKey.getLength(); in GetDiff()
572 OUString sSearchKey = bUsePrimarySrchStr ? sSrchStr : sSrchStr2; in NSrchFrwrd() local
577 if( !nSuchIdx || !sSearchKey.getLength() || sSearchKey.getLength() > nSuchIdx ) in NSrchFrwrd()
581 if( nEnde < sSearchKey.getLength() ) // position inside the search region ? in NSrchFrwrd()
584 nEnde -= sSearchKey.getLength(); in NSrchFrwrd()
593 nCmpIdx += GetDiff( aStr[nCmpIdx + sSearchKey.getLength()-1])) in NSrchFrwrd()
597 && !isCellStart( aStr, nCmpIdx + sSearchKey.getLength())) ) in NSrchFrwrd()
600 nSuchIdx = sSearchKey.getLength() - 1; in NSrchFrwrd()
601 while( nSuchIdx >= 0 && sSearchKey[nSuchIdx] == aStr[nCmpIdx + nSuchIdx]) in NSrchFrwrd()
607 sal_Int32 nFndEnd = nCmpIdx + sSearchKey.getLength(); in NSrchFrwrd()
627 aRet.endOffset[ 0 ] = nCmpIdx + sSearchKey.getLength(); in NSrchFrwrd()
644 OUString sSearchKey = bUsePrimarySrchStr ? sSrchStr : sSrchStr2; in NSrchBkwrd() local
649 if( nSuchIdx == 0 || sSearchKey.getLength() == 0 || sSearchKey.getLength() > nSuchIdx) in NSrchBkwrd()
658 nEnde = sSearchKey.getLength(); in NSrchBkwrd()
660 nEnde += sSearchKey.getLength(); in NSrchBkwrd()
668 sSearchKey.getLength() )) && (!checkCTLEnd || in NSrchBkwrd()
672 while( nSuchIdx < sSearchKey.getLength() && sSearchKey[nSuchIdx] == in NSrchBkwrd()
673 aStr[nCmpIdx + nSuchIdx - sSearchKey.getLength()] ) in NSrchBkwrd()
675 if( nSuchIdx >= sSearchKey.getLength() ) in NSrchBkwrd()
679 sal_Int32 nFndStt = nCmpIdx - sSearchKey.getLength(); in NSrchBkwrd()
698 aRet.endOffset[ 0 ] = nCmpIdx - sSearchKey.getLength(); in NSrchBkwrd()
708 aRet.endOffset[ 0 ] = nCmpIdx - sSearchKey.getLength(); in NSrchBkwrd()
713 nSuchIdx = GetDiff( aStr[nCmpIdx - sSearchKey.getLength()] ); in NSrchBkwrd()