Home
last modified time | relevance | path

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

12

/external/protobuf/src/google/protobuf/compiler/csharp/
Dcsharp_message.cc171 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 …]
Dcsharp_reflection_class.cc255 oneofs.push_back(UnderscoresToCamelCase(descriptor->oneof_decl(i)->name(), true)); in WriteGeneratedCodeInfo()
/external/protobuf/src/google/protobuf/compiler/java/
Djava_message_lite.cc154 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 …]
Djava_message_builder.cc126 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()
Djava_message.cc237 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 …]
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()
/external/protobuf/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()
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/
Ddynamic_message.cc760 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()
Ddescriptor.cc1793 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/
Dtensorflow.train.-feature.pbtxt29 oneof_decl {
Dtensorflow.-tensor-info.pbtxt55 oneof_decl {
Dtensorflow.-event.pbtxt70 oneof_decl {
Dtensorflow.summary.-event.pbtxt70 oneof_decl {
Dtensorflow.summary.-summary.-value.pbtxt70 oneof_decl {
Dtensorflow.-summary.-value.pbtxt70 oneof_decl {
Dtensorflow.-summary.pbtxt139 oneof_decl {
Dtensorflow.summary.-summary.pbtxt139 oneof_decl {
Dtensorflow.-attr-value.pbtxt147 oneof_decl {
/external/tensorflow/tensorflow/tools/api/golden/v2/
Dtensorflow.train.-feature.pbtxt29 oneof_decl {
/external/protobuf/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()
/external/perfetto/protos/perfetto/common/
Ddescriptor.proto66 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/
Dtype_resolver_util.cc128 type->add_oneofs(descriptor->oneof_decl(i)->name()); in ConvertDescriptor()
/external/protobuf/src/google/protobuf/compiler/
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.h387 bool ParseOneof(OneofDescriptorProto* oneof_decl,

12