Searched refs:ZigZagDecode32 (Results 1 – 8 of 8) sorted by relevance
/external/protobuf/src/google/protobuf/ |
D | wire_format_unittest.cc | 751 #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 …]
|
D | parse_context.h | 550 return WireFormatLite::ZigZagDecode32(static_cast<uint32>(tmp)); in ReadVarintZigZag32() 568 return WireFormatLite::ZigZagDecode32(static_cast<uint32>(tmp)); in ReadVarintZigZag32()
|
D | parse_context.cc | 385 val = WireFormatLite::ZigZagDecode32(varint); in VarintParser()
|
D | wire_format_lite.h | 242 static int32 ZigZagDecode32(uint32 n); 859 inline int32 WireFormatLite::ZigZagDecode32(uint32 n) { in ZigZagDecode32() function 931 *value = ZigZagDecode32(temp);
|
D | message.cc | 195 int32 value = WireFormatLite::ZigZagDecode32(val); in SetField()
|
D | map_type_handler.h | 480 *value = WireFormatLite::ZigZagDecode32(static_cast<uint32>(tmp));
|
/external/tensorflow/tensorflow/core/util/proto/ |
D | decode.h | 166 *value = WireFormatLite::ZigZagDecode32(temp); 176 *value = WireFormatLite::ZigZagDecode32(temp);
|
/external/protobuf/src/google/protobuf/util/internal/ |
D | protostream_objectsource.cc | 848 ow->RenderInt32(field_name, WireFormatLite::ZigZagDecode32(buffer32)); in RenderNonMessageField() 978 result = StrCat(WireFormatLite::ZigZagDecode32(buffer32)); in ReadFieldValueAsString()
|