Home
last modified time | relevance | path

Searched refs:oneof_message (Results 1 – 3 of 3) sorted by relevance

/external/protobuf/objectivec/Tests/
Dunittest_runtime_proto3.proto97 Message3 oneof_message = 68; field
Dunittest_runtime_proto2.proto104 Message2 oneof_message = 68; field
/external/protobuf/src/google/protobuf/
Ddescriptor_unittest.cc918 DescriptorProto* oneof_message = AddMessage(&baz_file, "TestOneof"); in SetUp() local
919 oneof_message->add_oneof_decl()->set_name("foo"); in SetUp()
920 oneof_message->add_oneof_decl()->set_name("bar"); in SetUp()
922 AddField(oneof_message, "a", 1, in SetUp()
925 AddField(oneof_message, "b", 2, in SetUp()
928 oneof_message->mutable_field(1)->set_oneof_index(0); in SetUp()
929 AddField(oneof_message, "c", 3, in SetUp()
932 oneof_message->mutable_field(2)->set_oneof_index(0); in SetUp()
933 oneof_message->mutable_field(2)->set_type_name("TestOneof"); in SetUp()
935 AddField(oneof_message, "d", 4, in SetUp()
[all …]