Searched refs:oldPosition (Results 1 – 2 of 2) sorted by relevance
48 int oldPosition = baseBuf.position(); in testClear() local64 baseBuf.position(oldPosition); in testClear()69 int oldPosition = baseBuf.position(); in testFlip() local75 assertEquals(baseBuf.limit(), oldPosition); in testFlip() local85 baseBuf.position(oldPosition); in testFlip()90 int oldPosition = baseBuf.position(); in testHasRemaining() local99 baseBuf.position(oldPosition); in testHasRemaining()119 int oldPosition = baseBuf.position();129 assertEquals(baseBuf.position(), oldPosition);164 baseBuf.position(oldPosition);[all …]
74 int oldPosition; in test_write_LByteBuffer() local84 oldPosition = buf.position(); in test_write_LByteBuffer()95 assertEquals(BUFFER_SIZE, currentPosition - oldPosition); in test_write_LByteBuffer()