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

/external/chromium_org/third_party/protobuf/src/google/protobuf/
H A Dwire_format_unittest.cc587 #define ZigZagDecode32(x) WireFormatLite::ZigZagDecode32(x) macro
600 EXPECT_EQ( 0, ZigZagDecode32(0u));
601 EXPECT_EQ(-1, ZigZagDecode32(1u));
602 EXPECT_EQ( 1, ZigZagDecode32(2u));
603 EXPECT_EQ(-2, ZigZagDecode32(3u));
604 EXPECT_EQ(0x3FFFFFFF, ZigZagDecode32(0x7FFFFFFEu));
605 EXPECT_EQ(0xC0000000, ZigZagDecode32(0x7FFFFFFFu));
606 EXPECT_EQ(0x7FFFFFFF, ZigZagDecode32(0xFFFFFFFEu));
607 EXPECT_EQ(0x80000000, ZigZagDecode32(
[all...]
H A Dwire_format_lite.h231 static int32 ZigZagDecode32(uint32 n);
649 inline int32 WireFormatLite::ZigZagDecode32(uint32 n) { function in class:google::protobuf::internal::WireFormatLite
H A Dwire_format_lite_inl.h89 *value = ZigZagDecode32(temp);
/external/protobuf/src/google/protobuf/
H A Dwire_format_unittest.cc539 #define ZigZagDecode32(x) WireFormatLite::ZigZagDecode32(x) macro
552 EXPECT_EQ( 0, ZigZagDecode32(0u));
553 EXPECT_EQ(-1, ZigZagDecode32(1u));
554 EXPECT_EQ( 1, ZigZagDecode32(2u));
555 EXPECT_EQ(-2, ZigZagDecode32(3u));
556 EXPECT_EQ(0x3FFFFFFF, ZigZagDecode32(0x7FFFFFFEu));
557 EXPECT_EQ(0xC0000000, ZigZagDecode32(0x7FFFFFFFu));
558 EXPECT_EQ(0x7FFFFFFF, ZigZagDecode32(0xFFFFFFFEu));
559 EXPECT_EQ(0x80000000, ZigZagDecode32(
[all...]
H A Dwire_format_lite.h223 static int32 ZigZagDecode32(uint32 n);
603 inline int32 WireFormatLite::ZigZagDecode32(uint32 n) { function in class:google::protobuf::internal::WireFormatLite
H A Dwire_format_lite_inl.h90 *value = ZigZagDecode32(temp);

Completed in 111 milliseconds