/external/protobuf/src/google/protobuf/compiler/csharp/ |
D | csharp_message.cc | 171 vars["name"] = UnderscoresToCamelCase(descriptor_->oneof_decl(i)->name(), false); in Generate() 172 vars["property_name"] = UnderscoresToCamelCase(descriptor_->oneof_decl(i)->name(), true); in Generate() 173 vars["original_name"] = descriptor_->oneof_decl(i)->name(); in Generate() 181 for (int j = 0; j < descriptor_->oneof_decl(i)->field_count(); j++) { in Generate() 182 const FieldDescriptor* field = descriptor_->oneof_decl(i)->field(j); in Generate() 273 vars["name"] = UnderscoresToCamelCase(descriptor_->oneof_decl(i)->name(), false); in GenerateCloningCode() 275 descriptor_->oneof_decl(i)->name(), true); in GenerateCloningCode() 278 for (int j = 0; j < descriptor_->oneof_decl(i)->field_count(); j++) { in GenerateCloningCode() 279 const FieldDescriptor* field = descriptor_->oneof_decl(i)->field(j); in GenerateCloningCode() 332 "property_name", UnderscoresToCamelCase(descriptor_->oneof_decl(i)->name(), true)); in GenerateFrameworkMethods() [all …]
|
D | csharp_reflection_class.cc | 255 oneofs.push_back(UnderscoresToCamelCase(descriptor->oneof_decl(i)->name(), true)); in WriteGeneratedCodeInfo()
|
/external/protobuf/src/google/protobuf/compiler/java/ |
D | java_message_lite.cc | 154 descriptor_->oneof_decl(i))->capitalized_name, in GenerateInterface() 237 descriptor_->oneof_decl(i))->name; in Generate() 239 descriptor_->oneof_decl(i))->capitalized_name; in Generate() 240 vars["oneof_index"] = SimpleItoa(descriptor_->oneof_decl(i)->index()); in Generate() 250 for (int j = 0; j < descriptor_->oneof_decl(i)->field_count(); j++) { in Generate() 251 const FieldDescriptor* field = descriptor_->oneof_decl(i)->field(j); in Generate() 279 for (int j = 0; j < descriptor_->oneof_decl(i)->field_count(); j++) { in Generate() 280 const FieldDescriptor* field = descriptor_->oneof_decl(i)->field(j); in Generate() 839 descriptor_->oneof_decl(i))->capitalized_name); in GenerateDynamicMethodVisit() 841 for (int j = 0; j < descriptor_->oneof_decl(i)->field_count(); j++) { in GenerateDynamicMethodVisit() [all …]
|
D | java_message_builder.cc | 126 descriptor_->oneof_decl(i))->name; in Generate() 128 descriptor_->oneof_decl(i))->capitalized_name; in Generate() 129 vars["oneof_index"] = SimpleItoa(descriptor_->oneof_decl(i)->index()); in Generate() 340 descriptor_->oneof_decl(i))->name); in GenerateCommonBuilderMethods() 427 descriptor_->oneof_decl(i))->name); in GenerateCommonBuilderMethods() 477 descriptor_->oneof_decl(i))->capitalized_name); in GenerateCommonBuilderMethods() 479 for (int j = 0; j < descriptor_->oneof_decl(i)->field_count(); j++) { in GenerateCommonBuilderMethods() 480 const FieldDescriptor* field = descriptor_->oneof_decl(i)->field(j); in GenerateCommonBuilderMethods() 499 descriptor_->oneof_decl(i))->name)); in GenerateCommonBuilderMethods()
|
D | java_message.cc | 237 const OneofDescriptor* oneof = descriptor_->oneof_decl(i); in GenerateFieldAccessorTableInitializer() 281 descriptor_->oneof_decl(i))->capitalized_name, in GenerateInterface() 400 descriptor_->oneof_decl(i))->name; in Generate() 402 descriptor_->oneof_decl(i))->capitalized_name; in Generate() 403 vars["oneof_index"] = SimpleItoa(descriptor_->oneof_decl(i)->index()); in Generate() 413 for (int j = 0; j < descriptor_->oneof_decl(i)->field_count(); j++) { in Generate() 414 const FieldDescriptor* field = descriptor_->oneof_decl(i)->field(j); in Generate() 442 for (int j = 0; j < descriptor_->oneof_decl(i)->field_count(); j++) { in Generate() 443 const FieldDescriptor* field = descriptor_->oneof_decl(i)->field(j); in Generate() 1020 descriptor_->oneof_decl(i))->capitalized_name); in GenerateEqualsAndHashCode() [all …]
|
D | java_message_builder_lite.cc | 112 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()
|
D | java_context.cc | 118 const OneofDescriptor* oneof = message->oneof_decl(i); in InitializeFieldGeneratorInfoForMessage()
|
/external/protobuf/src/google/protobuf/compiler/cpp/ |
D | cpp_message.cc | 554 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() 986 UnderscoresToCamelCase(descriptor_->oneof_decl(i)->name(), true)); in GenerateClassDefinition() 988 for (int j = 0; j < descriptor_->oneof_decl(i)->field_count(); j++) { in GenerateClassDefinition() 993 descriptor_->oneof_decl(i)->field(j)->name(), true), in GenerateClassDefinition() 995 SimpleItoa(descriptor_->oneof_decl(i)->field(j)->number())); in GenerateClassDefinition() 1000 ToUpper(descriptor_->oneof_decl(i)->name())); in GenerateClassDefinition() [all …]
|
/external/protobuf/src/google/protobuf/ |
D | dynamic_message.cc | 760 for (int j = 0; j < type->oneof_decl(i)->field_count(); j++) { in GetPrototypeNoLock() 761 const FieldDescriptor* field = type->oneof_decl(i)->field(j); in GetPrototypeNoLock() 814 for (int j = 0; j < type->oneof_decl(i)->field_count(); j++) { in ConstructDefaultOneofInstance() 815 const FieldDescriptor* field = type->oneof_decl(i)->field(j); in ConstructDefaultOneofInstance() 860 for (int j = 0; j < type->oneof_decl(i)->field_count(); j++) { in DeleteDefaultOneofInstance() 861 const FieldDescriptor* field = type->oneof_decl(i)->field(j); in DeleteDefaultOneofInstance()
|
D | descriptor.cc | 1793 oneof_decl(i)->CopyTo(proto->add_oneof_decl()); in CopyTo() 4071 BUILD_ARRAY(proto, result, oneof_decl , BuildOneof , result); in BuildMessage() 4452 result->containing_oneof_ = parent->oneof_decl(proto.oneof_index()); in BuildFieldOrExtension() 4747 const OneofDescriptor* oneof_decl = message->field(i)->containing_oneof(); in CrossLinkMessage() local 4748 if (oneof_decl != NULL) { in CrossLinkMessage() 4755 if (oneof_decl->field_count() > 0 && in CrossLinkMessage() 4756 message->field(i - 1)->containing_oneof() != oneof_decl) { in CrossLinkMessage() 4764 message->field(i - 1)->name(), oneof_decl->name())); in CrossLinkMessage() 4768 ++message->oneof_decls_[oneof_decl->index()].field_count_; in CrossLinkMessage() 4774 OneofDescriptor* oneof_decl = &message->oneof_decls_[i]; in CrossLinkMessage() local [all …]
|
D | descriptor.h | 251 const OneofDescriptor* oneof_decl(int index) const; 1658 PROTOBUF_DEFINE_ARRAY_ACCESSOR(Descriptor, oneof_decl, const OneofDescriptor*) in PROTOBUF_DEFINE_STRING_ACCESSOR()
|
D | descriptor.proto | 107 repeated OneofDescriptorProto oneof_decl = 8; field 189 // If set, gives the index of a oneof in the containing type's oneof_decl
|
D | descriptor.pb.h | 859 const ::google::protobuf::OneofDescriptorProto& oneof_decl(int index) const; 865 oneof_decl() const; 4483 inline const ::google::protobuf::OneofDescriptorProto& DescriptorProto::oneof_decl(int index) const… in oneof_decl() function 4501 DescriptorProto::oneof_decl() const { in oneof_decl() function
|
D | generated_message_reflection.cc | 687 SwapOneofField(message1, message2, descriptor_->oneof_decl(i)); in Swap()
|
/external/protobuf/src/google/protobuf/compiler/javanano/ |
D | javanano_message.cc | 188 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()
|
/external/protobuf/src/google/protobuf/util/ |
D | type_resolver_util.cc | 128 type->add_oneofs(descriptor->oneof_decl(i)->name()); in ConvertDescriptor()
|
/external/protobuf/src/google/protobuf/compiler/ |
D | parser_unittest.cc | 2522 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()
|
D | parser.h | 387 bool ParseOneof(OneofDescriptorProto* oneof_decl,
|
D | parser.cc | 1611 bool Parser::ParseOneof(OneofDescriptorProto* oneof_decl, in ParseOneof() argument 1622 DO(ConsumeIdentifier(oneof_decl->mutable_name(), "Expected oneof name.")); in ParseOneof()
|
/external/protobuf/src/google/protobuf/compiler/ruby/ |
D | ruby_generator.cc | 205 const OneofDescriptor* oneof = message->oneof_decl(i); in GenerateMessage()
|
/external/protobuf/src/google/protobuf/compiler/python/ |
D | python_generator.cc | 705 const OneofDescriptor* desc = message_descriptor.oneof_decl(i); in PrintDescriptor() 820 const OneofDescriptor* oneof = descriptor.oneof_decl(i); in FixForeignFieldsInDescriptor()
|
/external/protobuf/src/google/protobuf/compiler/js/ |
D | js_generator.cc | 551 const OneofDescriptor* o = oneof->containing_type()->oneof_decl(i); in JSOneofIndex() 1026 const OneofDescriptor* oneof = desc->oneof_decl(i); in OneofGroupList() 1777 if (IgnoreOneof(desc->oneof_decl(i))) { in GenerateClassFieldInfo() 1780 GenerateOneofCaseDefinition(options, printer, desc->oneof_decl(i)); in GenerateClassFieldInfo()
|
/external/protobuf/src/google/protobuf/compiler/objectivec/ |
D | objectivec_message.cc | 190 OneofGenerator* generator = new OneofGenerator(descriptor_->oneof_decl(i)); in MessageGenerator()
|
/external/protobuf/python/google/protobuf/ |
D | descriptor_pool.py | 445 for index, desc in enumerate(desc_proto.oneof_decl)]
|
/external/protobuf/python/google/protobuf/pyext/ |
D | descriptor_containers.cc | 1245 return GetDescriptor(self)->oneof_decl(index); in GetByIndex()
|