Home
last modified time | relevance | path

Searched refs:ZigZagDecode64 (Results 1 – 4 of 4) sorted by relevance

/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/
Dwire_format_unittest.cc672 #define ZigZagDecode64(x) WireFormatLite::ZigZagDecode64(x) in TEST() macro
703 EXPECT_EQ( 0, ZigZagDecode64(0u)); in TEST()
704 EXPECT_EQ(-1, ZigZagDecode64(1u)); in TEST()
705 EXPECT_EQ( 1, ZigZagDecode64(2u)); in TEST()
706 EXPECT_EQ(-2, ZigZagDecode64(3u)); in TEST()
707 EXPECT_EQ(LL(0x000000003FFFFFFF), ZigZagDecode64(ULL(0x000000007FFFFFFE))); in TEST()
708 EXPECT_EQ(LL(0xFFFFFFFFC0000000), ZigZagDecode64(ULL(0x000000007FFFFFFF))); in TEST()
709 EXPECT_EQ(LL(0x000000007FFFFFFF), ZigZagDecode64(ULL(0x00000000FFFFFFFE))); in TEST()
710 EXPECT_EQ(LL(0xFFFFFFFF80000000), ZigZagDecode64(ULL(0x00000000FFFFFFFF))); in TEST()
711 EXPECT_EQ(LL(0x7FFFFFFFFFFFFFFF), ZigZagDecode64(ULL(0xFFFFFFFFFFFFFFFE))); in TEST()
[all …]
Dwire_format_lite.h234 static int64 ZigZagDecode64(uint64 n);
703 inline int64 WireFormatLite::ZigZagDecode64(uint64 n) { in ZigZagDecode64() function
Dwire_format_lite_inl.h105 *value = ZigZagDecode64(temp);
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/util/internal/
Dprotostream_objectsource.cc813 ow->RenderInt64(field_name, WireFormatLite::ZigZagDecode64(buffer64)); in RenderNonMessageField()
937 result = SimpleItoa(WireFormatLite::ZigZagDecode64(buffer64)); in ReadFieldValueAsString()