Home
last modified time | relevance | path

Searched refs:encodeZigZag64 (Results 1 – 5 of 5) sorted by relevance

/external/protobuf/java/src/test/java/com/google/protobuf/
DCodedOutputStreamTest.java228 assertEquals(0, CodedOutputStream.encodeZigZag64( 0)); in testEncodeZigZag()
229 assertEquals(1, CodedOutputStream.encodeZigZag64(-1)); in testEncodeZigZag()
230 assertEquals(2, CodedOutputStream.encodeZigZag64( 1)); in testEncodeZigZag()
231 assertEquals(3, CodedOutputStream.encodeZigZag64(-2)); in testEncodeZigZag()
233 CodedOutputStream.encodeZigZag64(0x000000003FFFFFFFL)); in testEncodeZigZag()
235 CodedOutputStream.encodeZigZag64(0xFFFFFFFFC0000000L)); in testEncodeZigZag()
237 CodedOutputStream.encodeZigZag64(0x000000007FFFFFFFL)); in testEncodeZigZag()
239 CodedOutputStream.encodeZigZag64(0xFFFFFFFF80000000L)); in testEncodeZigZag()
241 CodedOutputStream.encodeZigZag64(0x7FFFFFFFFFFFFFFFL)); in testEncodeZigZag()
243 CodedOutputStream.encodeZigZag64(0x8000000000000000L)); in testEncodeZigZag()
[all …]
/external/protobuf/java/src/main/java/com/google/protobuf/micro/
DCodedOutputStreamMicro.java394 writeRawVarint64(encodeZigZag64(value)); in writeSInt64NoTag()
750 return computeRawVarint64Size(encodeZigZag64(value)); in computeSInt64SizeNoTag()
989 public static long encodeZigZag64(final long n) { in encodeZigZag64() method in CodedOutputStreamMicro
/external/protobuf/java/src/main/java/com/google/protobuf/nano/
DCodedOutputByteBufferNano.java548 writeRawVarint64(encodeZigZag64(value)); in writeSInt64NoTag()
882 return computeRawVarint64Size(encodeZigZag64(value)); in computeSInt64SizeNoTag()
1087 public static long encodeZigZag64(final long n) { in encodeZigZag64() method in CodedOutputByteBufferNano
/external/protobuf/java/src/main/java/com/google/protobuf/
DCodedOutputStream.java517 writeRawVarint64(encodeZigZag64(value)); in writeSInt64NoTag()
948 return computeRawVarint64Size(encodeZigZag64(value)); in computeSInt64SizeNoTag()
1293 public static long encodeZigZag64(final long n) { in encodeZigZag64() method in CodedOutputStream
/external/google-tv-pairing-protocol/java/jar/
Dprotobuf-java-2.2.0-lite.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...