Home
last modified time | relevance | path

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

/external/protobuf/benchmarks/util/
Dschema_proto2_to_proto3_util.h55 for (int i = new_message->mutable_field()->size() - 1; i >= 0; i--) { in StripMessage()
58 new_message->mutable_field()->DeleteSubrange(i, 1); in StripMessage()
178 for (int i = 0; i < message_type->mutable_field()->size(); i++) { in ScrubMessage()
179 message_type->mutable_field(i)->clear_default_value(); in ScrubMessage()
180 if (ShouldClearLabel(message_type->mutable_field(i))) { in ScrubMessage()
181 message_type->mutable_field(i)->clear_label(); in ScrubMessage()
/external/protobuf/src/google/protobuf/
Drepeated_field.h2511 RepeatedField<T>* const mutable_field)
2512 : field_(mutable_field) {}
2532 RepeatedPtrFieldBackInsertIterator(RepeatedPtrField<T>* const mutable_field)
2533 : field_(mutable_field) {}
2564 RepeatedPtrField<T>* const mutable_field)
2565 : field_(mutable_field) {}
2588 RepeatedPtrField<T>* const mutable_field)
2589 : field_(mutable_field) {}
2616 RepeatedField<T>* const mutable_field) {
2617 return internal::RepeatedFieldBackInsertIterator<T>(mutable_field);
[all …]
Dunknown_field_set.h138 inline UnknownField* mutable_field(int index);
317 inline UnknownField* UnknownFieldSet::mutable_field(int index) { in mutable_field() function
Ddescriptor_unittest.cc1069 oneof_message->mutable_field(1)->set_oneof_index(0); in SetUp()
1072 oneof_message->mutable_field(2)->set_oneof_index(0); in SetUp()
1073 oneof_message->mutable_field(2)->set_type_name("TestOneof"); in SetUp()
1077 oneof_message->mutable_field(3)->set_oneof_index(1); in SetUp()
5904 file_proto.mutable_message_type(0)->mutable_field(0)->set_type_name( in TEST_F()
5912 file_proto.mutable_message_type(0)->mutable_field(0)->set_label( in TEST_F()
5931 file_proto.mutable_message_type(0)->mutable_nested_type(0)->mutable_field( in TEST_F()
5941 file_proto.mutable_message_type(0)->mutable_nested_type(0)->mutable_field( in TEST_F()
5951 file_proto.mutable_message_type(0)->mutable_nested_type(0)->mutable_field( in TEST_F()
5961 file_proto.mutable_message_type(0)->mutable_nested_type(0)->mutable_field( in TEST_F()
[all …]
Ddescriptor.pb.h1360 PROTOBUF_NAMESPACE_ID::FieldDescriptorProto* mutable_field(int index);
1362 mutable_field();
7404 inline PROTOBUF_NAMESPACE_ID::FieldDescriptorProto* DescriptorProto::mutable_field(int index) { in mutable_field() function
7409 DescriptorProto::mutable_field() { in mutable_field() function
Ddescriptor.cc2110 field(i)->CopyJsonNameTo(proto->mutable_field(i)); in CopyJsonNameTo()
/external/protobuf/src/google/protobuf/util/
Dmessage_differencer_unittest.cc784 unknown1->mutable_field(2)->mutable_group()->AddFixed32(248, 2); in TEST()
789 unknown2->mutable_field(2)->mutable_group()->AddFixed32(248, 2); in TEST()
3168 unknown1_->mutable_field(3)->mutable_group()->AddFixed32(248, 2); in TEST_F()
/external/protobuf/src/google/protobuf/compiler/
Dparser_unittest.cc2165 proto->mutable_field(i)->mutable_type_name()->assign( in StripFieldTypeName()