Home
last modified time | relevance | path

Searched refs:decodeZigZag64 (Results 1 – 7 of 7) 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.java238 assertEquals( 0, CodedInputStream.decodeZigZag64(0)); in testDecodeZigZag()
239 assertEquals(-1, CodedInputStream.decodeZigZag64(1)); in testDecodeZigZag()
240 assertEquals( 1, CodedInputStream.decodeZigZag64(2)); in testDecodeZigZag()
241 assertEquals(-2, CodedInputStream.decodeZigZag64(3)); in testDecodeZigZag()
243 CodedInputStream.decodeZigZag64(0x000000007FFFFFFEL)); in testDecodeZigZag()
245 CodedInputStream.decodeZigZag64(0x000000007FFFFFFFL)); in testDecodeZigZag()
247 CodedInputStream.decodeZigZag64(0x00000000FFFFFFFEL)); in testDecodeZigZag()
249 CodedInputStream.decodeZigZag64(0x00000000FFFFFFFFL)); in testDecodeZigZag()
251 CodedInputStream.decodeZigZag64(0xFFFFFFFFFFFFFFFEL)); in testDecodeZigZag()
253 CodedInputStream.decodeZigZag64(0xFFFFFFFFFFFFFFFFL)); in testDecodeZigZag()
DCodedOutputStreamTest.java259 CodedOutputStream.encodeZigZag64(CodedInputStream.decodeZigZag64(0))); in testEncodeZigZag()
261 CodedOutputStream.encodeZigZag64(CodedInputStream.decodeZigZag64(1))); in testEncodeZigZag()
263 CodedOutputStream.encodeZigZag64(CodedInputStream.decodeZigZag64(-1))); in testEncodeZigZag()
265 CodedOutputStream.encodeZigZag64(CodedInputStream.decodeZigZag64(14927))); in testEncodeZigZag()
267 CodedOutputStream.encodeZigZag64(CodedInputStream.decodeZigZag64(-3612))); in testEncodeZigZag()
271 CodedInputStream.decodeZigZag64( in testEncodeZigZag()
275 CodedInputStream.decodeZigZag64( in testEncodeZigZag()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/java/core/src/test/java/com/google/protobuf/
DCodedInputStreamTest.java297 assertEquals( 0, CodedInputStream.decodeZigZag64(0)); in testDecodeZigZag()
298 assertEquals(-1, CodedInputStream.decodeZigZag64(1)); in testDecodeZigZag()
299 assertEquals( 1, CodedInputStream.decodeZigZag64(2)); in testDecodeZigZag()
300 assertEquals(-2, CodedInputStream.decodeZigZag64(3)); in testDecodeZigZag()
302 CodedInputStream.decodeZigZag64(0x000000007FFFFFFEL)); in testDecodeZigZag()
304 CodedInputStream.decodeZigZag64(0x000000007FFFFFFFL)); in testDecodeZigZag()
306 CodedInputStream.decodeZigZag64(0x00000000FFFFFFFEL)); in testDecodeZigZag()
308 CodedInputStream.decodeZigZag64(0x00000000FFFFFFFFL)); in testDecodeZigZag()
310 CodedInputStream.decodeZigZag64(0xFFFFFFFFFFFFFFFEL)); in testDecodeZigZag()
312 CodedInputStream.decodeZigZag64(0xFFFFFFFFFFFFFFFFL)); in testDecodeZigZag()
DCodedOutputStreamTest.java301 assertEquals(0, CodedOutputStream.encodeZigZag64(CodedInputStream.decodeZigZag64(0))); in testEncodeZigZag()
302 assertEquals(1, CodedOutputStream.encodeZigZag64(CodedInputStream.decodeZigZag64(1))); in testEncodeZigZag()
303 assertEquals(-1, CodedOutputStream.encodeZigZag64(CodedInputStream.decodeZigZag64(-1))); in testEncodeZigZag()
304 assertEquals(14927, CodedOutputStream.encodeZigZag64(CodedInputStream.decodeZigZag64(14927))); in testEncodeZigZag()
305 assertEquals(-3612, CodedOutputStream.encodeZigZag64(CodedInputStream.decodeZigZag64(-3612))); in testEncodeZigZag()
309 CodedOutputStream.encodeZigZag64(CodedInputStream.decodeZigZag64(856912304801416L))); in testEncodeZigZag()
312 CodedOutputStream.encodeZigZag64(CodedInputStream.decodeZigZag64(-75123905439571256L))); in testEncodeZigZag()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/javanano/src/main/java/com/google/protobuf/nano/
DCodedInputByteBufferNano.java277 return decodeZigZag64(readRawVarint64()); in readSInt64()
391 public static long decodeZigZag64(final long n) { in decodeZigZag64() method in CodedInputByteBufferNano
/frameworks/base/core/java/android/util/proto/
DProtoInputStream.java386 value = decodeZigZag64(readVarint()); in readLong()
585 public long decodeZigZag64(final long n) { in decodeZigZag64() method in ProtoInputStream
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/java/core/src/main/java/com/google/protobuf/
DCodedInputStream.java592 return decodeZigZag64(readRawVarint64()); in readSInt64()
853 public static long decodeZigZag64(final long n) { in decodeZigZag64() method in CodedInputStream