/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 …]
|
/external/tensorflow/tensorflow/tools/api/golden/v1/ |
D | tensorflow.train.-feature.pbtxt | 29 oneof_decl {
|
D | tensorflow.-tensor-info.pbtxt | 55 oneof_decl {
|
D | tensorflow.-event.pbtxt | 70 oneof_decl {
|
D | tensorflow.summary.-event.pbtxt | 70 oneof_decl {
|
D | tensorflow.summary.-summary.-value.pbtxt | 70 oneof_decl {
|
D | tensorflow.-summary.-value.pbtxt | 70 oneof_decl {
|
D | tensorflow.-summary.pbtxt | 139 oneof_decl {
|
D | tensorflow.summary.-summary.pbtxt | 139 oneof_decl {
|
D | tensorflow.-attr-value.pbtxt | 147 oneof_decl {
|
/external/tensorflow/tensorflow/tools/api/golden/v2/ |
D | tensorflow.train.-feature.pbtxt | 29 oneof_decl {
|
/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/perfetto/protos/perfetto/common/ |
D | descriptor.proto | 66 repeated OneofDescriptorProto oneof_decl = 8; field 149 // If set, gives the index of a oneof in the containing type's oneof_decl
|
/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,
|