/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/compiler/csharp/ |
D | csharp_message.cc | 177 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 …]
|
D | csharp_reflection_class.cc | 252 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/ |
D | java_message_lite.cc | 159 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 …]
|
D | java_message_builder.cc | 128 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()
|
D | java_message.cc | 238 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 …]
|
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()
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/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() 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/ |
D | dynamic_message.cc | 759 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()
|
D | descriptor.cc | 1793 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 …]
|
D | descriptor.h | 251 const OneofDescriptor* oneof_decl(int index) const; 1664 PROTOBUF_DEFINE_ARRAY_ACCESSOR(Descriptor, oneof_decl, const OneofDescriptor*) in PROTOBUF_DEFINE_STRING_ACCESSOR()
|
D | descriptor.proto | 108 repeated OneofDescriptorProto oneof_decl = 8; field 190 // If set, gives the index of a oneof in the containing type's oneof_decl
|
D | descriptor.pb.h | 880 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
|
D | generated_message_reflection.cc | 687 SwapOneofField(message1, message2, descriptor_->oneof_decl(i)); in Swap()
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/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()
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/util/ |
D | type_resolver_util.cc | 128 type->add_oneofs(descriptor->oneof_decl(i)->name()); in ConvertDescriptor()
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/compiler/ |
D | parser.h | 387 bool ParseOneof(OneofDescriptorProto* oneof_decl,
|
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.cc | 1611 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/ |
D | python_generator.cc | 733 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/ |
D | ruby_generator.cc | 205 const OneofDescriptor* oneof = message->oneof_decl(i); in GenerateMessage()
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/compiler/objectivec/ |
D | objectivec_message.cc | 190 OneofGenerator* generator = new OneofGenerator(descriptor_->oneof_decl(i)); in MessageGenerator()
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/compiler/js/ |
D | js_generator.cc | 572 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/ |
D | descriptor_pool.py | 450 for index, desc in enumerate(desc_proto.oneof_decl)]
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/python/google/protobuf/pyext/ |
D | descriptor_containers.cc | 1269 return GetDescriptor(self)->oneof_decl(index); in GetByIndex()
|