Home
last modified time | relevance | path

Searched refs:newPosition (Results 1 – 16 of 16) sorted by relevance

/libcore/ojluni/src/main/java/java/util/
DStringTokenizer.java105 private int newPosition; field in StringTokenizer
196 newPosition = -1; in StringTokenizer()
323 newPosition = skipDelimiters(currentPosition); in hasMoreTokens()
324 return (newPosition < maxPosition); in hasMoreTokens()
341 currentPosition = (newPosition >= 0 && !delimsChanged) ? in nextToken()
342 newPosition : skipDelimiters(currentPosition); in nextToken()
346 newPosition = -1; in nextToken()
/libcore/ojluni/src/main/java/java/nio/
DBuffer.java256 public Buffer position(int newPosition) { in position() argument
257 if ((newPosition > limit) || (newPosition < 0)) in position()
259 throw new IllegalArgumentException("Bad position " + newPosition + "/" + limit); in position()
260 position = newPosition; in position()
DIntBuffer.java644 public Buffer position(int newPosition) { in position() argument
645 return super.position(newPosition); in position()
DShortBuffer.java643 public Buffer position(int newPosition) { in position() argument
644 return super.position(newPosition); in position()
DLongBuffer.java643 public Buffer position(int newPosition) { in position() argument
644 return super.position(newPosition); in position()
DDoubleBuffer.java643 public Buffer position(int newPosition) { in position() argument
644 return super.position(newPosition); in position()
DFloatBuffer.java643 public Buffer position(int newPosition) { in position() argument
644 return super.position(newPosition); in position()
DCharBuffer.java869 public Buffer position(int newPosition) { in position() argument
870 return super.position(newPosition); in position()
DByteBuffer.java811 public Buffer position(int newPosition) { in position() argument
812 return super.position(newPosition); in position()
DDirectByteBuffer.java351 int newPosition = position + Character.BYTES; in getChar() local
352 if (newPosition > limit()) { in getChar()
356 position = newPosition; in getChar()
/libcore/ojluni/src/main/java/java/nio/channels/
DSeekableByteChannel.java125 SeekableByteChannel position(long newPosition) throws IOException; in position() argument
DFileChannel.java461 public abstract FileChannel position(long newPosition) throws IOException; in position() argument
/libcore/ojluni/annotations/hiddenapi/java/nio/
DBuffer.java46 public final java.nio.Buffer position(int newPosition) { in position() argument
/libcore/ojluni/annotations/sdk/nullability/java/nio/
DByteBuffer.annotated.java73 @libcore.util.NonNull public java.nio.Buffer position(int newPosition) { throw new RuntimeException… in position() argument
/libcore/ojluni/src/main/java/sun/nio/ch/
DFileChannelImpl.java320 public FileChannel position(long newPosition) throws IOException { in position() argument
322 if (newPosition < 0) in position()
337 p = position0(fd, newPosition); in position()
/libcore/ojluni/annotations/hiddenapi/sun/nio/ch/
DFileChannelImpl.java96 public java.nio.channels.FileChannel position(long newPosition) throws java.io.IOException { in position() argument