HomeSort by relevance Sort by last modified time
    Searched defs:ZigZagDecode32 (Results 1 - 2 of 2) sorted by null

  /external/protobuf/src/google/protobuf/
wire_format_unittest.cc 539 #define ZigZagDecode32(x) WireFormatLite::ZigZagDecode32(x)
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(0xFFFFFFFFu))
    [all...]
wire_format_lite.h 223 static int32 ZigZagDecode32(uint32 n);
603 inline int32 WireFormatLite::ZigZagDecode32(uint32 n) {

Completed in 42 milliseconds