Home
last modified time | relevance | path

Searched refs:getTotalBytesRead (Results 1 – 4 of 4) 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/
DCodedInputStreamTest.java408 assertEquals(16, input.getTotalBytesRead()); in testResetSizeCounter()
418 assertEquals(0, input.getTotalBytesRead()); in testResetSizeCounter()
421 assertEquals(0, input.getTotalBytesRead()); in testResetSizeCounter()
448 assertEquals(0, in.getTotalBytesRead()); in testReadFromSlice()
451 assertEquals(i-2, in.getTotalBytesRead()); in testReadFromSlice()
455 assertEquals(5, in.getTotalBytesRead()); in testReadFromSlice()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/java/core/src/test/java/com/google/protobuf/
DCodedInputStreamTest.java97 assertEquals(data.length, input.getTotalBytesRead()); in assertDataConsumed()
507 assertEquals(16, input.getTotalBytesRead()); in testResetSizeCounter()
517 assertEquals(0, input.getTotalBytesRead()); in testResetSizeCounter()
520 assertEquals(0, input.getTotalBytesRead()); in testResetSizeCounter()
522 assertEquals(16, input.getTotalBytesRead()); in testResetSizeCounter()
546 assertEquals(16, input.getTotalBytesRead()); in testSizeLimitMultipleMessages()
548 assertEquals(0, input.getTotalBytesRead()); in testSizeLimitMultipleMessages()
650 assertEquals(0, in.getTotalBytesRead()); in testReadFromSlice()
653 assertEquals(i - 2, in.getTotalBytesRead()); in testReadFromSlice()
657 assertEquals(5, in.getTotalBytesRead()); in testReadFromSlice()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/
DCONTRIBUTORS.txt94 * Added CodedInputStream.getTotalBytesRead().
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/java/core/src/main/java/com/google/protobuf/
DCodedInputStream.java1042 public int getTotalBytesRead() { in getTotalBytesRead() method in CodedInputStream