Searched refs:ZigZagDecode64 (Results 1 – 5 of 5) sorted by relevance
/third_party/protobuf/src/google/protobuf/ |
D | wire_format_unittest.cc | 759 #define ZigZagDecode64(x) WireFormatLite::ZigZagDecode64(x) in TEST() macro 790 EXPECT_EQ(0, ZigZagDecode64(0u)); in TEST() 791 EXPECT_EQ(-1, ZigZagDecode64(1u)); in TEST() 792 EXPECT_EQ(1, ZigZagDecode64(2u)); in TEST() 793 EXPECT_EQ(-2, ZigZagDecode64(3u)); in TEST() 794 EXPECT_EQ(LL(0x000000003FFFFFFF), ZigZagDecode64(ULL(0x000000007FFFFFFE))); in TEST() 795 EXPECT_EQ(LL(0xFFFFFFFFC0000000), ZigZagDecode64(ULL(0x000000007FFFFFFF))); in TEST() 796 EXPECT_EQ(LL(0x000000007FFFFFFF), ZigZagDecode64(ULL(0x00000000FFFFFFFE))); in TEST() 797 EXPECT_EQ(LL(0xFFFFFFFF80000000), ZigZagDecode64(ULL(0x00000000FFFFFFFF))); in TEST() 798 EXPECT_EQ(LL(0x7FFFFFFFFFFFFFFF), ZigZagDecode64(ULL(0xFFFFFFFFFFFFFFFE))); in TEST() [all …]
|
D | parse_context.cc | 437 val = WireFormatLite::ZigZagDecode64(varint); in VarintParser()
|
D | wire_format_lite.h | 245 static int64 ZigZagDecode64(uint64 n); 866 inline int64 WireFormatLite::ZigZagDecode64(uint64 n) { in ZigZagDecode64() function 937 *value = ZigZagDecode64(temp);
|
D | parse_context.h | 598 return WireFormatLite::ZigZagDecode64(tmp);
|
/third_party/protobuf/src/google/protobuf/util/internal/ |
D | protostream_objectsource.cc | 849 ow->RenderInt64(field_name, WireFormatLite::ZigZagDecode64(buffer64)); in RenderNonMessageField() 980 result = StrCat(WireFormatLite::ZigZagDecode64(buffer64)); in ReadFieldValueAsString()
|