Searched refs:destinationOffset (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/ |
D | LiteralByteStringTest.java | 117 int destinationOffset = 50; in testCopyTo_ByteArrayOffsetLength() local 119 byte[] destination = new byte[destinationOffset + length]; in testCopyTo_ByteArrayOffsetLength() 121 stringUnderTest.copyTo(destination, sourceOffset, destinationOffset, length); in testCopyTo_ByteArrayOffsetLength() 124 stillEqual = referenceBytes[i + sourceOffset] == destination[i + destinationOffset]; in testCopyTo_ByteArrayOffsetLength() 130 int destinationOffset = 50; in testCopyTo_ByteArrayOffsetLengthErrors() local 132 byte[] destination = new byte[destinationOffset + length]; in testCopyTo_ByteArrayOffsetLengthErrors() 137 destinationOffset, length); in testCopyTo_ByteArrayOffsetLengthErrors() 146 stringUnderTest.copyTo(destination, -1, destinationOffset, length); in testCopyTo_ByteArrayOffsetLengthErrors()
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/java/core/src/test/java/com/google/protobuf/ |
D | LiteralByteStringTest.java | 131 int destinationOffset = 50; in testCopyTo_ByteArrayOffsetLength() local 133 byte[] destination = new byte[destinationOffset + length]; in testCopyTo_ByteArrayOffsetLength() 135 stringUnderTest.copyTo(destination, sourceOffset, destinationOffset, length); in testCopyTo_ByteArrayOffsetLength() 138 stillEqual = referenceBytes[i + sourceOffset] == destination[i + destinationOffset]; in testCopyTo_ByteArrayOffsetLength() 144 int destinationOffset = 50; in testCopyTo_ByteArrayOffsetLengthErrors() local 146 byte[] destination = new byte[destinationOffset + length]; in testCopyTo_ByteArrayOffsetLengthErrors() 151 destinationOffset, length); in testCopyTo_ByteArrayOffsetLengthErrors() 160 stringUnderTest.copyTo(destination, -1, destinationOffset, length); in testCopyTo_ByteArrayOffsetLengthErrors()
|
D | NioByteStringTest.java | 125 int destinationOffset = 50; in testCopyTo_ByteArrayOffsetLength() local 127 byte[] destination = new byte[destinationOffset + length]; in testCopyTo_ByteArrayOffsetLength() 129 testString.copyTo(destination, sourceOffset, destinationOffset, length); in testCopyTo_ByteArrayOffsetLength() 132 stillEqual = BYTES[i + sourceOffset] == destination[i + destinationOffset]; in testCopyTo_ByteArrayOffsetLength() 138 int destinationOffset = 50; in testCopyTo_ByteArrayOffsetLengthErrors() local 140 byte[] destination = new byte[destinationOffset + length]; in testCopyTo_ByteArrayOffsetLengthErrors() 145 destinationOffset, length); in testCopyTo_ByteArrayOffsetLengthErrors() 154 testString.copyTo(destination, -1, destinationOffset, length); in testCopyTo_ByteArrayOffsetLengthErrors()
|