Lines Matching refs:startPos

216 SearchResult TextSearch::searchForward( const OUString& searchStr, sal_Int32 startPos, sal_Int32 en…  in searchForward()  argument
222 sal_Int32 newStartPos = startPos; in searchForward()
234 if( startPos ) in searchForward()
235 newStartPos = FindPosInSeq_Impl( offset, startPos ); in searchForward()
266 sres = (this->*fnForward)( in_str, startPos, endPos ); in searchForward()
278 if( startPos ) in searchForward()
279 startPos = FindPosInSeq_Impl( offset, startPos ); in searchForward()
287 sres2 = (this->*fnForward)( in_str, startPos, endPos ); in searchForward()
313 SearchResult TextSearch::searchBackward( const OUString& searchStr, sal_Int32 startPos, sal_Int32 e… in searchBackward() argument
319 sal_Int32 newStartPos = startPos; in searchBackward()
331 if( startPos < searchStr.getLength() ) in searchBackward()
332 newStartPos = FindPosInSeq_Impl( offset, startPos ); in searchBackward()
363 sres = (this->*fnBackward)( in_str, startPos, endPos ); in searchBackward()
375 if( startPos < searchStr.getLength() ) in searchBackward()
376 startPos = FindPosInSeq_Impl( offset, startPos ); in searchBackward()
378 startPos = in_str.getLength(); in searchBackward()
384 sres2 = (this->*fnBackward)( in_str, startPos, endPos ); in searchBackward()
566 SearchResult TextSearch::NSrchFrwrd( const OUString& searchStr, sal_Int32 startPos, sal_Int32 endPo… in NSrchFrwrd() argument
591 for (sal_Int32 nCmpIdx = startPos; // start position for the search in NSrchFrwrd()
638 SearchResult TextSearch::NSrchBkwrd( const OUString& searchStr, sal_Int32 startPos, sal_Int32 endPo… in NSrchBkwrd() argument
662 sal_Int32 nCmpIdx = startPos; // start position for the search in NSrchBkwrd()
681 bool bAtEnd = nCmpIdx == startPos; in NSrchBkwrd()
768 sal_Int32 startPos, sal_Int32 endPos ) in RESrchFrwrd() argument
786 if( !pRegexMatcher->find( startPos, nIcuErr)) in RESrchFrwrd()
795 if( ++startPos >= endPos) in RESrchFrwrd()
815 sal_Int32 startPos, sal_Int32 endPos ) in RESrchBkwrd() argument
824 if( startPos > searchStr.getLength()) in RESrchBkwrd()
825 startPos = searchStr.getLength(); in RESrchBkwrd()
831 const IcuUniString aSearchTargetStr( (const UChar*)searchStr.getStr(), startPos); in RESrchBkwrd()
842 if( nFoundEnd >= startPos) in RESrchBkwrd()
871 sal_Int32 startPos, sal_Int32 endPos ) in ApproxSrchFrwrd() argument
884 Boundary aWBnd = xBreak->getWordBoundary( aWTemp, startPos, in ApproxSrchFrwrd()
890 if( aWBnd.startPos >= endPos ) in ApproxSrchFrwrd()
892 nStt = aWBnd.startPos < startPos ? startPos : aWBnd.startPos; in ApproxSrchFrwrd()
909 } while( aWBnd.startPos != aWBnd.endPos || in ApproxSrchFrwrd()
918 sal_Int32 startPos, sal_Int32 endPos ) in ApproxSrchBkwrd() argument
931 Boundary aWBnd = xBreak->getWordBoundary( aWTemp, startPos, in ApproxSrchBkwrd()
939 nStt = aWBnd.startPos < endPos ? endPos : aWBnd.startPos; in ApproxSrchBkwrd()
940 nEnd = aWBnd.endPos > startPos ? startPos : aWBnd.endPos; in ApproxSrchBkwrd()
957 } while( aWBnd.startPos != aWBnd.endPos || aWBnd.endPos != aWTemp.getLength() ); in ApproxSrchBkwrd()