Searched refs:decodeZigZag32 (Results 1 – 8 of 8) sorted by relevance
/external/protobuf/java/src/test/java/com/google/protobuf/ |
D | CodedInputStreamTest.java | 247 assertEquals( 0, CodedInputStream.decodeZigZag32(0)); in testDecodeZigZag() 248 assertEquals(-1, CodedInputStream.decodeZigZag32(1)); in testDecodeZigZag() 249 assertEquals( 1, CodedInputStream.decodeZigZag32(2)); in testDecodeZigZag() 250 assertEquals(-2, CodedInputStream.decodeZigZag32(3)); in testDecodeZigZag() 251 assertEquals(0x3FFFFFFF, CodedInputStream.decodeZigZag32(0x7FFFFFFE)); in testDecodeZigZag() 252 assertEquals(0xC0000000, CodedInputStream.decodeZigZag32(0x7FFFFFFF)); in testDecodeZigZag() 253 assertEquals(0x7FFFFFFF, CodedInputStream.decodeZigZag32(0xFFFFFFFE)); in testDecodeZigZag() 254 assertEquals(0x80000000, CodedInputStream.decodeZigZag32(0xFFFFFFFF)); in testDecodeZigZag()
|
D | CodedOutputStreamTest.java | 246 CodedOutputStream.encodeZigZag32(CodedInputStream.decodeZigZag32(0))); in testEncodeZigZag() 248 CodedOutputStream.encodeZigZag32(CodedInputStream.decodeZigZag32(1))); in testEncodeZigZag() 250 CodedOutputStream.encodeZigZag32(CodedInputStream.decodeZigZag32(-1))); in testEncodeZigZag() 252 CodedOutputStream.encodeZigZag32(CodedInputStream.decodeZigZag32(14927))); in testEncodeZigZag() 254 CodedOutputStream.encodeZigZag32(CodedInputStream.decodeZigZag32(-3612))); in testEncodeZigZag()
|
/external/chromium_org/third_party/protobuf/java/src/test/java/com/google/protobuf/ |
D | CodedInputStreamTest.java | 247 assertEquals( 0, CodedInputStream.decodeZigZag32(0)); in testDecodeZigZag() 248 assertEquals(-1, CodedInputStream.decodeZigZag32(1)); in testDecodeZigZag() 249 assertEquals( 1, CodedInputStream.decodeZigZag32(2)); in testDecodeZigZag() 250 assertEquals(-2, CodedInputStream.decodeZigZag32(3)); in testDecodeZigZag() 251 assertEquals(0x3FFFFFFF, CodedInputStream.decodeZigZag32(0x7FFFFFFE)); in testDecodeZigZag() 252 assertEquals(0xC0000000, CodedInputStream.decodeZigZag32(0x7FFFFFFF)); in testDecodeZigZag() 253 assertEquals(0x7FFFFFFF, CodedInputStream.decodeZigZag32(0xFFFFFFFE)); in testDecodeZigZag() 254 assertEquals(0x80000000, CodedInputStream.decodeZigZag32(0xFFFFFFFF)); in testDecodeZigZag()
|
D | CodedOutputStreamTest.java | 247 CodedOutputStream.encodeZigZag32(CodedInputStream.decodeZigZag32(0))); in testEncodeZigZag() 249 CodedOutputStream.encodeZigZag32(CodedInputStream.decodeZigZag32(1))); in testEncodeZigZag() 251 CodedOutputStream.encodeZigZag32(CodedInputStream.decodeZigZag32(-1))); in testEncodeZigZag() 253 CodedOutputStream.encodeZigZag32(CodedInputStream.decodeZigZag32(14927))); in testEncodeZigZag() 255 CodedOutputStream.encodeZigZag32(CodedInputStream.decodeZigZag32(-3612))); in testEncodeZigZag()
|
/external/protobuf/java/src/main/java/com/google/protobuf/nano/ |
D | CodedInputByteBufferNano.java | 270 return decodeZigZag32(readRawVarint32()); in readSInt32() 375 public static int decodeZigZag32(final int n) { in decodeZigZag32() method in CodedInputByteBufferNano
|
/external/protobuf/java/src/main/java/com/google/protobuf/micro/ |
D | CodedInputStreamMicro.java | 277 return decodeZigZag32(readRawVarint32()); in readSInt32() 415 public static int decodeZigZag32(final int n) { in decodeZigZag32() method in CodedInputStreamMicro
|
/external/protobuf/java/src/main/java/com/google/protobuf/ |
D | CodedInputStream.java | 303 return decodeZigZag32(readRawVarint32()); in readSInt32() 459 public static int decodeZigZag32(final int n) { in decodeZigZag32() method in CodedInputStream
|
/external/chromium_org/third_party/protobuf/java/src/main/java/com/google/protobuf/ |
D | CodedInputStream.java | 358 return decodeZigZag32(readRawVarint32()); in readSInt32() 514 public static int decodeZigZag32(final int n) { in decodeZigZag32() method in CodedInputStream
|