/external/protobuf/java/src/main/java/com/google/protobuf/ |
UnknownFieldSet.java | 405 * Convenience method for merging a new field containing a single varint 678 /** Get the list of varint values for this field. */ 679 public List<Long> getVarintList() { return varint; } 720 varint, 733 for (final long value : varint) { 756 for (final long value : varint) { 800 private List<Long> varint; field in class:UnknownFieldSet.Field 830 if (result.varint == null) { 831 result.varint = Collections.emptyList(); 833 result.varint = Collections.unmodifiableList(result.varint) [all...] |
/external/protobuf/src/google/protobuf/ |
unknown_field_set_unittest.cc | 132 TEST_F(UnknownFieldSetTest, Varint) { 137 EXPECT_EQ(all_fields_.optional_int32(), field->varint()); 178 EXPECT_EQ(all_fields_.optionalgroup().a(), nested_field.varint()); 321 EXPECT_EQ(654321, destination.unknown_fields().field(0).varint()); 429 EXPECT_EQ(5, unknown_fields.field(0).varint()); 433 EXPECT_EQ(4, unknown_fields.field(1).varint()); 437 EXPECT_EQ(6, unknown_fields.field(2).varint()); 459 EXPECT_EQ(5, unknown_fields.field(0).varint()); 463 EXPECT_EQ(4, unknown_fields.field(1).varint()); 467 EXPECT_EQ(6, unknown_fields.field(2).varint()); [all...] |
unknown_field_set.h | 149 inline uint64 varint() const; 219 inline uint64 UnknownField::varint () const { function in class:google::protobuf::UnknownField
|
reflection_ops_unittest.cc | 149 EXPECT_EQ(1, message1.unknown_fields().field(0).varint()); 152 EXPECT_EQ(2, message1.unknown_fields().field(1).varint());
|
wire_format.cc | 170 output->WriteVarint64(field.varint()); 208 field.number(), field.varint(), target); 309 size += io::CodedOutputStream::VarintSize64(field.varint()); [all...] |
text_format.cc | [all...] |