Home
last modified time | relevance | path

Searched refs:bytesSeen (Results 1 – 3 of 3) sorted by relevance

/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/java/compatibility_tests/v2.5.0/tests/src/main/java/com/google/protobuf/test/
DLiteralByteStringTest.java209 int bytesSeen = 0; in testAsReadOnlyByteBufferList() local
214 assertTrue(bytesSeen + thisLength <= referenceBytes.length); in testAsReadOnlyByteBufferList()
215 byteBuffer.get(roundTripBytes, bytesSeen, thisLength); in testAsReadOnlyByteBufferList()
216 bytesSeen += thisLength; in testAsReadOnlyByteBufferList()
218 assertTrue(bytesSeen == referenceBytes.length); in testAsReadOnlyByteBufferList()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/java/core/src/test/java/com/google/protobuf/
DLiteralByteStringTest.java279 int bytesSeen = 0; in testAsReadOnlyByteBufferList() local
284 assertTrue(bytesSeen + thisLength <= referenceBytes.length); in testAsReadOnlyByteBufferList()
285 byteBuffer.get(roundTripBytes, bytesSeen, thisLength); in testAsReadOnlyByteBufferList()
286 bytesSeen += thisLength; in testAsReadOnlyByteBufferList()
288 assertTrue(bytesSeen == referenceBytes.length); in testAsReadOnlyByteBufferList()
DNioByteStringTest.java300 int bytesSeen = 0; in testAsReadOnlyByteBufferList() local
305 assertTrue(bytesSeen + thisLength <= BYTES.length); in testAsReadOnlyByteBufferList()
306 byteBuffer.get(roundTripBytes, bytesSeen, thisLength); in testAsReadOnlyByteBufferList()
307 bytesSeen += thisLength; in testAsReadOnlyByteBufferList()
309 assertTrue(bytesSeen == BYTES.length); in testAsReadOnlyByteBufferList()