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

/external/chromium_org/third_party/protobuf/src/google/protobuf/
H A Dwire_format_unittest.cc589 #define ZigZagDecode64(x) WireFormatLite::ZigZagDecode64(x) macro
620 EXPECT_EQ( 0, ZigZagDecode64(0u));
621 EXPECT_EQ(-1, ZigZagDecode64(1u));
622 EXPECT_EQ( 1, ZigZagDecode64(2u));
623 EXPECT_EQ(-2, ZigZagDecode64(3u));
624 EXPECT_EQ(LL(0x000000003FFFFFFF), ZigZagDecode64(ULL(0x000000007FFFFFFE)));
625 EXPECT_EQ(LL(0xFFFFFFFFC0000000), ZigZagDecode64(ULL(0x000000007FFFFFFF)));
626 EXPECT_EQ(LL(0x000000007FFFFFFF), ZigZagDecode64(ULL(0x00000000FFFFFFFE)));
627 EXPECT_EQ(LL(0xFFFFFFFF80000000), ZigZagDecode64(UL
[all...]
H A Dwire_format_lite.h233 static int64 ZigZagDecode64(uint64 n);
658 inline int64 WireFormatLite::ZigZagDecode64(uint64 n) { function in class:google::protobuf::internal::WireFormatLite
H A Dwire_format_lite_inl.h98 *value = ZigZagDecode64(temp);
/external/protobuf/src/google/protobuf/
H A Dwire_format_unittest.cc541 #define ZigZagDecode64(x) WireFormatLite::ZigZagDecode64(x) macro
572 EXPECT_EQ( 0, ZigZagDecode64(0u));
573 EXPECT_EQ(-1, ZigZagDecode64(1u));
574 EXPECT_EQ( 1, ZigZagDecode64(2u));
575 EXPECT_EQ(-2, ZigZagDecode64(3u));
576 EXPECT_EQ(LL(0x000000003FFFFFFF), ZigZagDecode64(ULL(0x000000007FFFFFFE)));
577 EXPECT_EQ(LL(0xFFFFFFFFC0000000), ZigZagDecode64(ULL(0x000000007FFFFFFF)));
578 EXPECT_EQ(LL(0x000000007FFFFFFF), ZigZagDecode64(ULL(0x00000000FFFFFFFE)));
579 EXPECT_EQ(LL(0xFFFFFFFF80000000), ZigZagDecode64(UL
[all...]
H A Dwire_format_lite.h225 static int64 ZigZagDecode64(uint64 n);
612 inline int64 WireFormatLite::ZigZagDecode64(uint64 n) { function in class:google::protobuf::internal::WireFormatLite
H A Dwire_format_lite_inl.h99 *value = ZigZagDecode64(temp);

Completed in 488 milliseconds