Searched refs:ZigZagDecode32 (Results 1 – 3 of 3) sorted by relevance
539 #define ZigZagDecode32(x) WireFormatLite::ZigZagDecode32(x) in TEST() macro552 EXPECT_EQ( 0, ZigZagDecode32(0u)); in TEST()553 EXPECT_EQ(-1, ZigZagDecode32(1u)); in TEST()554 EXPECT_EQ( 1, ZigZagDecode32(2u)); in TEST()555 EXPECT_EQ(-2, ZigZagDecode32(3u)); in TEST()556 EXPECT_EQ(0x3FFFFFFF, ZigZagDecode32(0x7FFFFFFEu)); in TEST()557 EXPECT_EQ(0xC0000000, ZigZagDecode32(0x7FFFFFFFu)); in TEST()558 EXPECT_EQ(0x7FFFFFFF, ZigZagDecode32(0xFFFFFFFEu)); in TEST()559 EXPECT_EQ(0x80000000, ZigZagDecode32(0xFFFFFFFFu)); in TEST()585 EXPECT_EQ( 0, ZigZagDecode32(ZigZagEncode32( 0))); in TEST()[all …]
223 static int32 ZigZagDecode32(uint32 n);603 inline int32 WireFormatLite::ZigZagDecode32(uint32 n) { in ZigZagDecode32() function
90 *value = ZigZagDecode32(temp);