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.java102 private int currentPosition; field in StringTokenizer
193 currentPosition = 0; in StringTokenizer()
321 newPosition = skipDelimiters(currentPosition); in hasMoreTokens()
339 currentPosition = (newPosition >= 0 && !delimsChanged) ? in nextToken()
340 newPosition : skipDelimiters(currentPosition); in nextToken()
346 if (currentPosition >= maxPosition) in nextToken()
348 int start = currentPosition; in nextToken()
349 currentPosition = scanToken(currentPosition); in nextToken()
350 return str.substring(start, currentPosition); in nextToken()
419 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()