Home
last modified time | relevance | path

Searched refs:oneof_decl (Results 1 – 25 of 27) sorted by relevance

12

/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/compiler/csharp/
Dcsharp_message.cc177 vars["name"] = UnderscoresToCamelCase(descriptor_->oneof_decl(i)->name(), false); in Generate()
178 vars["property_name"] = UnderscoresToCamelCase(descriptor_->oneof_decl(i)->name(), true); in Generate()
179 vars["original_name"] = descriptor_->oneof_decl(i)->name(); in Generate()
187 for (int j = 0; j < descriptor_->oneof_decl(i)->field_count(); j++) { in Generate()
188 const FieldDescriptor* field = descriptor_->oneof_decl(i)->field(j); in Generate()
285 vars["name"] = UnderscoresToCamelCase(descriptor_->oneof_decl(i)->name(), false); in GenerateCloningCode()
287 descriptor_->oneof_decl(i)->name(), true); in GenerateCloningCode()
290 for (int j = 0; j < descriptor_->oneof_decl(i)->field_count(); j++) { in GenerateCloningCode()
291 const FieldDescriptor* field = descriptor_->oneof_decl(i)->field(j); in GenerateCloningCode()
349 "property_name", UnderscoresToCamelCase(descriptor_->oneof_decl(i)->name(), true)); in GenerateFrameworkMethods()
[all …]
Dcsharp_reflection_class.cc252 oneofs.push_back(UnderscoresToCamelCase(descriptor->oneof_decl(i)->name(), true)); in WriteGeneratedCodeInfo()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/compiler/java/
Djava_message_lite.cc159 descriptor_->oneof_decl(i))->capitalized_name, in GenerateInterface()
242 descriptor_->oneof_decl(i))->name; in Generate()
244 descriptor_->oneof_decl(i))->capitalized_name; in Generate()
245 vars["oneof_index"] = SimpleItoa(descriptor_->oneof_decl(i)->index()); in Generate()
255 for (int j = 0; j < descriptor_->oneof_decl(i)->field_count(); j++) { in Generate()
256 const FieldDescriptor* field = descriptor_->oneof_decl(i)->field(j); in Generate()
284 for (int j = 0; j < descriptor_->oneof_decl(i)->field_count(); j++) { in Generate()
285 const FieldDescriptor* field = descriptor_->oneof_decl(i)->field(j); in Generate()
844 descriptor_->oneof_decl(i))->capitalized_name); in GenerateDynamicMethodVisit()
846 for (int j = 0; j < descriptor_->oneof_decl(i)->field_count(); j++) { in GenerateDynamicMethodVisit()
[all …]
Djava_message_builder.cc128 descriptor_->oneof_decl(i))->name; in Generate()
130 descriptor_->oneof_decl(i))->capitalized_name; in Generate()
131 vars["oneof_index"] = SimpleItoa(descriptor_->oneof_decl(i)->index()); in Generate()
358 descriptor_->oneof_decl(i))->name); in GenerateCommonBuilderMethods()
445 descriptor_->oneof_decl(i))->name); in GenerateCommonBuilderMethods()
551 descriptor_->oneof_decl(i))->capitalized_name); in GenerateCommonBuilderMethods()
553 for (int j = 0; j < descriptor_->oneof_decl(i)->field_count(); j++) { in GenerateCommonBuilderMethods()
554 const FieldDescriptor* field = descriptor_->oneof_decl(i)->field(j); in GenerateCommonBuilderMethods()
573 descriptor_->oneof_decl(i))->name)); in GenerateCommonBuilderMethods()
Djava_message.cc238 const OneofDescriptor* oneof = descriptor_->oneof_decl(i); in GenerateFieldAccessorTableInitializer()
287 descriptor_->oneof_decl(i))->capitalized_name, in GenerateInterface()
415 descriptor_->oneof_decl(i))->name; in Generate()
417 descriptor_->oneof_decl(i))->capitalized_name; in Generate()
418 vars["oneof_index"] = SimpleItoa(descriptor_->oneof_decl(i)->index()); in Generate()
428 for (int j = 0; j < descriptor_->oneof_decl(i)->field_count(); j++) { in Generate()
429 const FieldDescriptor* field = descriptor_->oneof_decl(i)->field(j); in Generate()
457 for (int j = 0; j < descriptor_->oneof_decl(i)->field_count(); j++) { in Generate()
458 const FieldDescriptor* field = descriptor_->oneof_decl(i)->field(j); in Generate()
1037 descriptor_->oneof_decl(i))->capitalized_name); in GenerateEqualsAndHashCode()
[all …]
Djava_message_builder_lite.cc112 descriptor_->oneof_decl(i))->name; in Generate()
114 descriptor_->oneof_decl(i))->capitalized_name; in Generate()
115 vars["oneof_index"] = SimpleItoa(descriptor_->oneof_decl(i)->index()); in Generate()
Djava_context.cc118 const OneofDescriptor* oneof = message->oneof_decl(i); in InitializeFieldGeneratorInfoForMessage()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/compiler/cpp/
Dcpp_message.cc554 UnderscoresToCamelCase(descriptor_->oneof_decl(i)->name(), true), in GenerateFieldAccessorDeclarations()
555 "oneof_name", descriptor_->oneof_decl(i)->name()); in GenerateFieldAccessorDeclarations()
661 vars["oneof_name"] = descriptor_->oneof_decl(i)->name(); in GenerateOneofHasBits()
662 vars["oneof_index"] = SimpleItoa(descriptor_->oneof_decl(i)->index()); in GenerateOneofHasBits()
664 ToUpper(descriptor_->oneof_decl(i)->name()); in GenerateOneofHasBits()
991 UnderscoresToCamelCase(descriptor_->oneof_decl(i)->name(), true)); in GenerateClassDefinition()
993 for (int j = 0; j < descriptor_->oneof_decl(i)->field_count(); j++) { in GenerateClassDefinition()
998 descriptor_->oneof_decl(i)->field(j)->name(), true), in GenerateClassDefinition()
1000 SimpleItoa(descriptor_->oneof_decl(i)->field(j)->number())); in GenerateClassDefinition()
1005 ToUpper(descriptor_->oneof_decl(i)->name())); in GenerateClassDefinition()
[all …]
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/
Ddynamic_message.cc759 for (int j = 0; j < type->oneof_decl(i)->field_count(); j++) { in GetPrototypeNoLock()
760 const FieldDescriptor* field = type->oneof_decl(i)->field(j); in GetPrototypeNoLock()
813 for (int j = 0; j < type->oneof_decl(i)->field_count(); j++) { in ConstructDefaultOneofInstance()
814 const FieldDescriptor* field = type->oneof_decl(i)->field(j); in ConstructDefaultOneofInstance()
859 for (int j = 0; j < type->oneof_decl(i)->field_count(); j++) { in DeleteDefaultOneofInstance()
860 const FieldDescriptor* field = type->oneof_decl(i)->field(j); in DeleteDefaultOneofInstance()
Ddescriptor.cc1793 oneof_decl(i)->CopyTo(proto->add_oneof_decl()); in CopyTo()
4077 BUILD_ARRAY(proto, result, oneof_decl , BuildOneof , result); in BuildMessage()
4458 result->containing_oneof_ = parent->oneof_decl(proto.oneof_index()); in BuildFieldOrExtension()
4760 const OneofDescriptor* oneof_decl = message->field(i)->containing_oneof(); in CrossLinkMessage() local
4761 if (oneof_decl != NULL) { in CrossLinkMessage()
4768 if (oneof_decl->field_count() > 0 && in CrossLinkMessage()
4769 message->field(i - 1)->containing_oneof() != oneof_decl) { in CrossLinkMessage()
4777 message->field(i - 1)->name(), oneof_decl->name())); in CrossLinkMessage()
4781 ++message->oneof_decls_[oneof_decl->index()].field_count_; in CrossLinkMessage()
4787 OneofDescriptor* oneof_decl = &message->oneof_decls_[i]; in CrossLinkMessage() local
[all …]
Ddescriptor.h251 const OneofDescriptor* oneof_decl(int index) const;
1664 PROTOBUF_DEFINE_ARRAY_ACCESSOR(Descriptor, oneof_decl, const OneofDescriptor*) in PROTOBUF_DEFINE_STRING_ACCESSOR()
Ddescriptor.proto108 repeated OneofDescriptorProto oneof_decl = 8; field
190 // If set, gives the index of a oneof in the containing type's oneof_decl
Ddescriptor.pb.h880 const ::google::protobuf::OneofDescriptorProto& oneof_decl(int index) const;
886 oneof_decl() const;
4691 inline const ::google::protobuf::OneofDescriptorProto& DescriptorProto::oneof_decl(int index) const… in oneof_decl() function
4709 DescriptorProto::oneof_decl() const { in oneof_decl() function
Dgenerated_message_reflection.cc687 SwapOneofField(message1, message2, descriptor_->oneof_decl(i)); in Swap()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/compiler/javanano/
Djavanano_message.cc188 const OneofDescriptor* oneof_desc = descriptor_->oneof_decl(i); in Generate()
549 descriptor_->oneof_decl(i))); in GenerateFieldInitializers()
611 const OneofDescriptor* oneof_desc = descriptor_->oneof_decl(i); in GenerateEquals()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/util/
Dtype_resolver_util.cc128 type->add_oneofs(descriptor->oneof_decl(i)->name()); in ConvertDescriptor()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/compiler/
Dparser.h387 bool ParseOneof(OneofDescriptorProto* oneof_decl,
Dparser_unittest.cc2522 const OneofDescriptorProto& oneof_decl = file_.message_type(0).oneof_decl(0); in TEST_F() local
2525 EXPECT_TRUE(HasSpan('a', 'r', oneof_decl)); in TEST_F()
2526 EXPECT_TRUE(HasSpan('c', 'd', oneof_decl, "name")); in TEST_F()
3126 const OneofDescriptorProto& bar = foo.oneof_decl(0); in TEST_F()
Dparser.cc1611 bool Parser::ParseOneof(OneofDescriptorProto* oneof_decl, in ParseOneof() argument
1622 DO(ConsumeIdentifier(oneof_decl->mutable_name(), "Expected oneof name.")); in ParseOneof()
1636 if (!ParseOption(oneof_decl->mutable_options(), option_location, in ParseOneof()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/compiler/python/
Dpython_generator.cc733 const OneofDescriptor* desc = message_descriptor.oneof_decl(i); in PrintDescriptor()
855 const OneofDescriptor* oneof = descriptor.oneof_decl(i); in FixForeignFieldsInDescriptor()
1340 FixOptionsForOneof(*descriptor.oneof_decl(i)); in FixOptionsForMessage()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/compiler/ruby/
Druby_generator.cc205 const OneofDescriptor* oneof = message->oneof_decl(i); in GenerateMessage()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/compiler/objectivec/
Dobjectivec_message.cc190 OneofGenerator* generator = new OneofGenerator(descriptor_->oneof_decl(i)); in MessageGenerator()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/compiler/js/
Djs_generator.cc572 const OneofDescriptor* o = oneof->containing_type()->oneof_decl(i); in JSOneofIndex()
1058 const OneofDescriptor* oneof = desc->oneof_decl(i); in OneofGroupList()
1858 if (IgnoreOneof(desc->oneof_decl(i))) { in GenerateClassFieldInfo()
1861 GenerateOneofCaseDefinition(options, printer, desc->oneof_decl(i)); in GenerateClassFieldInfo()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/python/google/protobuf/
Ddescriptor_pool.py450 for index, desc in enumerate(desc_proto.oneof_decl)]
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/python/google/protobuf/pyext/
Ddescriptor_containers.cc1269 return GetDescriptor(self)->oneof_decl(index); in GetByIndex()

12