Home
last modified time | relevance | path

Searched refs:nearEndIndex (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.java303 int nearEndIndex = stringSize * 2 / 3; in testNewInput_skip() local
304 long skipped1 = input.skip(nearEndIndex); in testNewInput_skip()
305 assertEquals("InputStream.skip()", skipped1, nearEndIndex); in testNewInput_skip()
311 stringUnderTest.byteAt(nearEndIndex) & 0xFF, input.read()); in testNewInput_skip()
323 stringUnderTest.byteAt(nearEndIndex) & 0xFF, input.read()); in testNewInput_skip()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/java/core/src/test/java/com/google/protobuf/
DLiteralByteStringTest.java491 int nearEndIndex = stringSize * 2 / 3; in testNewInput_skip() local
492 long skipped1 = input.skip(nearEndIndex); in testNewInput_skip()
493 assertEquals("InputStream.skip()", skipped1, nearEndIndex); in testNewInput_skip()
499 stringUnderTest.byteAt(nearEndIndex) & 0xFF, input.read()); in testNewInput_skip()
511 stringUnderTest.byteAt(nearEndIndex) & 0xFF, input.read()); in testNewInput_skip()
DNioByteStringTest.java562 int nearEndIndex = stringSize * 2 / 3; in testNewInput_skip() local
563 long skipped1 = input.skip(nearEndIndex); in testNewInput_skip()
564 assertEquals("InputStream.skip()", skipped1, nearEndIndex); in testNewInput_skip()
570 testString.byteAt(nearEndIndex) & 0xFF, input.read()); in testNewInput_skip()
582 testString.byteAt(nearEndIndex) & 0xFF, input.read()); in testNewInput_skip()