Lines Matching refs:k
246 for ( int k = 0; k < sres.startOffset.getLength(); k++ ) in searchForward() local
248 nStartOffset = sres.startOffset[k]; in searchForward()
252 sres.startOffset[k] = offset[nStartOffset]; in searchForward()
254 sres.startOffset[k] = offset[offset.getLength()-1] +1; in searchForward()
260 if (sres.endOffset[k]) in searchForward()
261 sres.endOffset[k] = offset[sres.endOffset[k]-1] + 1; in searchForward()
289 for ( int k = 0; k < sres2.startOffset.getLength(); k++ ) in searchForward() local
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()
343 for ( int k = 0; k < sres.startOffset.getLength(); k++ ) in searchBackward() local
345 if (sres.startOffset[k]) in searchBackward()
346 sres.startOffset[k] = offset[sres.startOffset[k] - 1] + 1; in searchBackward()
351 nEndOffset = sres.endOffset[k]; in searchBackward()
355 sres.endOffset[k] = offset[nEndOffset]; in searchBackward()
357 sres.endOffset[k] = offset[offset.getLength()-1] +1; in searchBackward()
386 for( int k = 0; k < sres2.startOffset.getLength(); k++ ) in searchBackward() local
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()