Home
last modified time | relevance | path

Searched refs:unknown_fields_ (Results 1 – 7 of 7) sorted by relevance

/external/protobuf/src/google/protobuf/
Dunknown_field_set_unittest.cc66 unknown_fields_ = empty_message_.mutable_unknown_fields(); in SetUp()
72 for (int i = 0; i < unknown_fields_->field_count(); i++) { in GetField()
73 if (unknown_fields_->field(i).number() == field->number()) { in GetField()
74 return &unknown_fields_->field(i); in GetField()
87 for (int i = 0; i < unknown_fields_->field_count(); i++) { in GetBizarroData()
88 const UnknownField& unknown_field = unknown_fields_->field(i); in GetBizarroData()
108 UnknownFieldSet* unknown_fields_; member in google::protobuf::UnknownFieldSetTest
123 ASSERT_LT(pos, unknown_fields_->field_count()); in TEST_F()
126 EXPECT_EQ(i, unknown_fields_->field(pos++).number()); in TEST_F()
127 } else if (i == unknown_fields_->field(pos).number()) { in TEST_F()
[all …]
Dmetadata.h74 return PtrValue<Container>()->unknown_fields_; in unknown_fields()
82 return &PtrValue<Container>()->unknown_fields_; in mutable_unknown_fields()
141 UnknownFieldSet unknown_fields_; member
151 return &(container->unknown_fields_); in mutable_unknown_fields_slow()
Dwire_format.h268 : unknown_fields_(unknown_fields) {} in UnknownFieldSetFieldSkipper()
277 UnknownFieldSet* unknown_fields_;
Dwire_format_lite.cc279 return WireFormatLite::SkipField(input, tag, unknown_fields_); in SkipField()
283 return WireFormatLite::SkipMessage(input, unknown_fields_); in SkipMessage()
288 unknown_fields_->WriteVarint32(field_number); in SkipUnknownEnum()
289 unknown_fields_->WriteVarint64(value); in SkipUnknownEnum()
Dwire_format_lite.h569 : unknown_fields_(unknown_fields) {} in CodedOutputStreamFieldSkipper()
578 io::CodedOutputStream* unknown_fields_;
Dwire_format.cc62 return WireFormat::SkipField(input, tag, unknown_fields_); in SkipField()
66 return WireFormat::SkipMessage(input, unknown_fields_); in SkipMessage()
71 unknown_fields_->AddVarint(field_number, value); in SkipUnknownEnum()
Dextension_set_heavy.cc66 if (unknown_fields_ == NULL) { in SkipMessageSetField()
70 unknown_fields_->AddLengthDelimited(field_number), length); in SkipMessageSetField()