Home
last modified time | relevance | path

Searched refs:ZigZagDecode32 (Results 1 – 8 of 8) sorted by relevance

/external/protobuf/src/google/protobuf/
Dwire_format_unittest.cc751 #define ZigZagDecode32(x) WireFormatLite::ZigZagDecode32(x) in TEST() macro
764 EXPECT_EQ(0, ZigZagDecode32(0u)); in TEST()
765 EXPECT_EQ(-1, ZigZagDecode32(1u)); in TEST()
766 EXPECT_EQ(1, ZigZagDecode32(2u)); in TEST()
767 EXPECT_EQ(-2, ZigZagDecode32(3u)); in TEST()
768 EXPECT_EQ(0x3FFFFFFF, ZigZagDecode32(0x7FFFFFFEu)); in TEST()
769 EXPECT_EQ(0xC0000000, ZigZagDecode32(0x7FFFFFFFu)); in TEST()
770 EXPECT_EQ(0x7FFFFFFF, ZigZagDecode32(0xFFFFFFFEu)); in TEST()
771 EXPECT_EQ(0x80000000, ZigZagDecode32(0xFFFFFFFFu)); in TEST()
797 EXPECT_EQ(0, ZigZagDecode32(ZigZagEncode32(0))); in TEST()
[all …]
Dparse_context.h550 return WireFormatLite::ZigZagDecode32(static_cast<uint32>(tmp)); in ReadVarintZigZag32()
568 return WireFormatLite::ZigZagDecode32(static_cast<uint32>(tmp)); in ReadVarintZigZag32()
Dparse_context.cc385 val = WireFormatLite::ZigZagDecode32(varint); in VarintParser()
Dwire_format_lite.h242 static int32 ZigZagDecode32(uint32 n);
859 inline int32 WireFormatLite::ZigZagDecode32(uint32 n) { in ZigZagDecode32() function
931 *value = ZigZagDecode32(temp);
Dmessage.cc195 int32 value = WireFormatLite::ZigZagDecode32(val); in SetField()
Dmap_type_handler.h480 *value = WireFormatLite::ZigZagDecode32(static_cast<uint32>(tmp));
/external/tensorflow/tensorflow/core/util/proto/
Ddecode.h166 *value = WireFormatLite::ZigZagDecode32(temp);
176 *value = WireFormatLite::ZigZagDecode32(temp);
/external/protobuf/src/google/protobuf/util/internal/
Dprotostream_objectsource.cc848 ow->RenderInt32(field_name, WireFormatLite::ZigZagDecode32(buffer32)); in RenderNonMessageField()
978 result = StrCat(WireFormatLite::ZigZagDecode32(buffer32)); in ReadFieldValueAsString()