Home
last modified time | relevance | path

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

/external/protobuf/src/google/protobuf/
Dunknown_field_set_unittest.cc68 unknown_fields_ = empty_message_.mutable_unknown_fields(); in SetUp()
74 for (int i = 0; i < unknown_fields_->field_count(); i++) { in GetField()
75 if (unknown_fields_->field(i).number() == field->number()) { in GetField()
76 return &unknown_fields_->field(i); in GetField()
89 for (int i = 0; i < unknown_fields_->field_count(); i++) { in GetBizarroData()
90 const UnknownField& unknown_field = unknown_fields_->field(i); in GetBizarroData()
110 UnknownFieldSet* unknown_fields_; member in google::protobuf::UnknownFieldSetTest
125 ASSERT_LT(pos, unknown_fields_->field_count()); in TEST_F()
128 EXPECT_EQ(i, unknown_fields_->field(pos++).number()); in TEST_F()
129 } else if (i == unknown_fields_->field(pos).number()) { in TEST_F()
[all …]
Dwire_format.h258 : unknown_fields_(unknown_fields) {} in UnknownFieldSetFieldSkipper()
267 UnknownFieldSet* unknown_fields_;
Dwire_format_lite.cc280 return WireFormatLite::SkipField(input, tag, unknown_fields_); in SkipField()
284 return WireFormatLite::SkipMessage(input, unknown_fields_); in SkipMessage()
289 unknown_fields_->WriteVarint32(field_number); in SkipUnknownEnum()
290 unknown_fields_->WriteVarint64(value); in SkipUnknownEnum()
Dextension_set_heavy.cc74 if (unknown_fields_ == NULL) { in SkipMessageSetField()
77 return input->ReadString(unknown_fields_->AddLengthDelimited(field_number), in SkipMessageSetField()
Dwire_format.cc73 return WireFormat::SkipField(input, tag, unknown_fields_); in SkipField()
77 return WireFormat::SkipMessage(input, unknown_fields_); in SkipMessage()
81 unknown_fields_->AddVarint(field_number, value); in SkipUnknownEnum()
Dwire_format_lite.h749 : unknown_fields_(unknown_fields) {} in CodedOutputStreamFieldSkipper()
758 io::CodedOutputStream* unknown_fields_;