Home
last modified time | relevance | path

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

/external/protobuf/java/src/main/java/com/google/protobuf/
DUnknownFieldSet.java679 public List<Long> getVarintList() { return varint; } in getVarintList()
720 varint, in getIdentityArray()
733 for (final long value : varint) { in writeTo()
756 for (final long value : varint) { in getSerializedSize()
800 private List<Long> varint; field in UnknownFieldSet.Field
830 if (result.varint == null) { in build()
831 result.varint = Collections.emptyList(); in build()
833 result.varint = Collections.unmodifiableList(result.varint); in build()
874 if (!other.varint.isEmpty()) { in mergeFrom()
875 if (result.varint == null) { in mergeFrom()
[all …]
/external/protobuf/src/google/protobuf/
Dunknown_field_set_unittest.cc137 EXPECT_EQ(all_fields_.optional_int32(), field->varint()); in TEST_F()
178 EXPECT_EQ(all_fields_.optionalgroup().a(), nested_field.varint()); in TEST_F()
321 EXPECT_EQ(654321, destination.unknown_fields().field(0).varint()); in TEST_F()
429 EXPECT_EQ(5, unknown_fields.field(0).varint()); in TEST_F()
433 EXPECT_EQ(4, unknown_fields.field(1).varint()); in TEST_F()
437 EXPECT_EQ(6, unknown_fields.field(2).varint()); in TEST_F()
459 EXPECT_EQ(5, unknown_fields.field(0).varint()); in TEST_F()
463 EXPECT_EQ(4, unknown_fields.field(1).varint()); in TEST_F()
467 EXPECT_EQ(6, unknown_fields.field(2).varint()); in TEST_F()
Dunknown_field_set.h149 inline uint64 varint() const;
219 inline uint64 UnknownField::varint () const { in varint() function
Dreflection_ops_unittest.cc149 EXPECT_EQ(1, message1.unknown_fields().field(0).varint()); in TEST()
152 EXPECT_EQ(2, message1.unknown_fields().field(1).varint()); in TEST()
Dwire_format.cc170 output->WriteVarint64(field.varint()); in SerializeUnknownFields()
208 field.number(), field.varint(), target); in SerializeUnknownFieldsToArray()
309 size += io::CodedOutputStream::VarintSize64(field.varint()); in ComputeUnknownFieldsSize()
Dtext_format.cc1155 generator.Print(SimpleItoa(field.varint())); in PrintUnknownFields()
Dunittest.proto589 // Check for a varint type, just for good measure.
/external/chromium/chrome/browser/sync/protocol/
Dsync.proto375 // delimited by a length prefix, which is encoded as a varint.
503 // delimiter, which is encoded in varint.
518 // delimiter, which is encoded in varint.