Searched refs:ZigZagDecode32 (Results 1 – 4 of 4) sorted by relevance
/external/protobuf/src/google/protobuf/ |
D | wire_format_unittest.cc | 670 #define ZigZagDecode32(x) WireFormatLite::ZigZagDecode32(x) in TEST() macro 683 EXPECT_EQ( 0, ZigZagDecode32(0u)); in TEST() 684 EXPECT_EQ(-1, ZigZagDecode32(1u)); in TEST() 685 EXPECT_EQ( 1, ZigZagDecode32(2u)); in TEST() 686 EXPECT_EQ(-2, ZigZagDecode32(3u)); in TEST() 687 EXPECT_EQ(0x3FFFFFFF, ZigZagDecode32(0x7FFFFFFEu)); in TEST() 688 EXPECT_EQ(0xC0000000, ZigZagDecode32(0x7FFFFFFFu)); in TEST() 689 EXPECT_EQ(0x7FFFFFFF, ZigZagDecode32(0xFFFFFFFEu)); in TEST() 690 EXPECT_EQ(0x80000000, ZigZagDecode32(0xFFFFFFFFu)); in TEST() 716 EXPECT_EQ( 0, ZigZagDecode32(ZigZagEncode32( 0))); in TEST() [all …]
|
D | wire_format_lite.h | 232 static int32 ZigZagDecode32(uint32 n); 666 inline int32 WireFormatLite::ZigZagDecode32(uint32 n) { in ZigZagDecode32() function
|
D | wire_format_lite_inl.h | 96 *value = ZigZagDecode32(temp);
|
/external/protobuf/src/google/protobuf/util/internal/ |
D | protostream_objectsource.cc | 802 ow->RenderInt32(field_name, WireFormatLite::ZigZagDecode32(buffer32)); in RenderNonMessageField() 925 result = SimpleItoa(WireFormatLite::ZigZagDecode32(buffer32)); in ReadFieldValueAsString()
|