Lines Matching refs:sres2
271 SearchResult sres2; in searchForward() local
287 sres2 = (this->*fnForward)( in_str, startPos, endPos ); in searchForward()
289 for ( int k = 0; k < sres2.startOffset.getLength(); k++ ) in searchForward()
291 if (sres2.startOffset[k]) in searchForward()
292 sres2.startOffset[k] = offset[sres2.startOffset[k]-1] + 1; in searchForward()
293 if (sres2.endOffset[k]) in searchForward()
294 sres2.endOffset[k] = offset[sres2.endOffset[k]-1] + 1; in searchForward()
299 return sres2; in searchForward()
300 if ( sres2.subRegExpressions == 1) in searchForward()
302 if ( sres.startOffset[0] > sres2.startOffset[0]) in searchForward()
303 return sres2; in searchForward()
304 else if ( sres.startOffset[0] == sres2.startOffset[0] && in searchForward()
305 sres.endOffset[0] < sres2.endOffset[0]) in searchForward()
306 return sres2; in searchForward()
368 SearchResult sres2; in searchBackward() local
384 sres2 = (this->*fnBackward)( in_str, startPos, endPos ); in searchBackward()
386 for( int k = 0; k < sres2.startOffset.getLength(); k++ ) in searchBackward()
388 if (sres2.startOffset[k]) in searchBackward()
389 sres2.startOffset[k] = offset[sres2.startOffset[k]-1]+1; in searchBackward()
390 if (sres2.endOffset[k]) in searchBackward()
391 sres2.endOffset[k] = offset[sres2.endOffset[k]-1]+1; in searchBackward()
396 return sres2; in searchBackward()
397 if ( sres2.subRegExpressions == 1 ) in searchBackward()
399 if ( sres.startOffset[0] < sres2.startOffset[0] ) in searchBackward()
400 return sres2; in searchBackward()
401 if ( sres.startOffset[0] == sres2.startOffset[0] && in searchBackward()
402 sres.endOffset[0] > sres2.endOffset[0] ) in searchBackward()
403 return sres2; in searchBackward()