Searched refs:newPos (Results 1 – 2 of 2) sorted by relevance
126 long newPos; in skip() local128 newPos = pos + n; in skip()130 if (newPos < 0 || newPos > size) { in skip()131 newPos = size; in skip()134 newPos = Long.max(pos + n, 0); in skip()136 sbc.position(newPos); in skip()137 return newPos - pos; in skip()
1029 long newPos = pos + n; in skip() local1034 if (newPos < 0 || n > rem) { in skip()1037 } else if (newPos < startingPos) { in skip()