Searched refs:ZigZagDecode64 (Results 1 - 3 of 3) sorted by relevance

/external/protobuf/src/google/protobuf/
H A Dwire_format_unittest.cc668 #define ZigZagDecode64(x) WireFormatLite::ZigZagDecode64(x) macro
699 EXPECT_EQ( 0, ZigZagDecode64(0u));
700 EXPECT_EQ(-1, ZigZagDecode64(1u));
701 EXPECT_EQ( 1, ZigZagDecode64(2u));
702 EXPECT_EQ(-2, ZigZagDecode64(3u));
703 EXPECT_EQ(LL(0x000000003FFFFFFF), ZigZagDecode64(ULL(0x000000007FFFFFFE)));
704 EXPECT_EQ(LL(0xFFFFFFFFC0000000), ZigZagDecode64(ULL(0x000000007FFFFFFF)));
705 EXPECT_EQ(LL(0x000000007FFFFFFF), ZigZagDecode64(ULL(0x00000000FFFFFFFE)));
706 EXPECT_EQ(LL(0xFFFFFFFF80000000), ZigZagDecode64(UL
[all...]
H A Dwire_format_lite.h234 static int64 ZigZagDecode64(uint64 n);
653 inline int64 WireFormatLite::ZigZagDecode64(uint64 n) { function in class:google::protobuf::internal::WireFormatLite
H A Dwire_format_lite_inl.h103 *value = ZigZagDecode64(temp);

Completed in 120 milliseconds