Home
last modified time | relevance | path

Searched refs:currentPosition (Results 1 – 2 of 2) sorted by relevance

/libcore/ojluni/src/main/java/java/util/
DStringTokenizer.java104 private int currentPosition; field in StringTokenizer
195 currentPosition = 0; in StringTokenizer()
323 newPosition = skipDelimiters(currentPosition); in hasMoreTokens()
341 currentPosition = (newPosition >= 0 && !delimsChanged) ? in nextToken()
342 newPosition : skipDelimiters(currentPosition); in nextToken()
348 if (currentPosition >= maxPosition) in nextToken()
350 int start = currentPosition; in nextToken()
351 currentPosition = scanToken(currentPosition); in nextToken()
352 return str.substring(start, currentPosition); in nextToken()
421 int currpos = currentPosition; in countTokens()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/channels/
DSinkChannelTest.java75 int currentPosition; in test_write_LByteBuffer() local
94 currentPosition = buf.position(); in test_write_LByteBuffer()
95 assertEquals(BUFFER_SIZE, currentPosition - oldPosition); in test_write_LByteBuffer()