Home
last modified time | relevance | path

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

123

/external/protobuf/src/google/protobuf/compiler/csharp/
Dcsharp_message.cc221 vars["name"] = UnderscoresToCamelCase(descriptor_->oneof_decl(i)->name(), false); in Generate()
222 vars["property_name"] = UnderscoresToCamelCase(descriptor_->oneof_decl(i)->name(), true); in Generate()
223 vars["original_name"] = descriptor_->oneof_decl(i)->name(); in Generate()
231 for (int j = 0; j < descriptor_->oneof_decl(i)->field_count(); j++) { in Generate()
232 const FieldDescriptor* field = descriptor_->oneof_decl(i)->field(j); in Generate()
378 vars["name"] = UnderscoresToCamelCase(descriptor_->oneof_decl(i)->name(), false); in GenerateCloningCode()
380 descriptor_->oneof_decl(i)->name(), true); in GenerateCloningCode()
383 for (int j = 0; j < descriptor_->oneof_decl(i)->field_count(); j++) { in GenerateCloningCode()
384 const FieldDescriptor* field = descriptor_->oneof_decl(i)->field(j); in GenerateCloningCode()
449 "property_name", UnderscoresToCamelCase(descriptor_->oneof_decl(i)->name(), true)); in GenerateFrameworkMethods()
[all …]
Dcsharp_reflection_class.cc277 oneofs.push_back(UnderscoresToCamelCase(descriptor->oneof_decl(i)->name(), true)); in WriteGeneratedCodeInfo()
/external/protobuf/src/google/protobuf/compiler/java/
Djava_message_builder.cc122 context_->GetOneofGeneratorInfo(descriptor_->oneof_decl(i))->name; in Generate()
124 context_->GetOneofGeneratorInfo(descriptor_->oneof_decl(i)) in Generate()
126 vars["oneof_index"] = StrCat(descriptor_->oneof_decl(i)->index()); in Generate()
344 context_->GetOneofGeneratorInfo(descriptor_->oneof_decl(i))->name); in GenerateCommonBuilderMethods()
431 context_->GetOneofGeneratorInfo(descriptor_->oneof_decl(i))->name); in GenerateCommonBuilderMethods()
550 context_->GetOneofGeneratorInfo(descriptor_->oneof_decl(i)) 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()
569 context_->GetOneofGeneratorInfo(descriptor_->oneof_decl(i)) in GenerateCommonBuilderMethods()
Djava_message.cc231 const OneofDescriptor* oneof = descriptor_->oneof_decl(i); in GenerateFieldAccessorTableInitializer()
280 context_->GetOneofGeneratorInfo(descriptor_->oneof_decl(i)) in GenerateInterface()
410 context_->GetOneofGeneratorInfo(descriptor_->oneof_decl(i))->name; in Generate()
412 context_->GetOneofGeneratorInfo(descriptor_->oneof_decl(i)) in Generate()
414 vars["oneof_index"] = StrCat(descriptor_->oneof_decl(i)->index()); in Generate()
424 for (int j = 0; j < descriptor_->oneof_decl(i)->field_count(); j++) { in Generate()
425 const FieldDescriptor* field = descriptor_->oneof_decl(i)->field(j); in Generate()
451 for (int j = 0; j < descriptor_->oneof_decl(i)->field_count(); j++) { in Generate()
452 const FieldDescriptor* field = descriptor_->oneof_decl(i)->field(j); in Generate()
1037 context_->GetOneofGeneratorInfo(descriptor_->oneof_decl(i)) in GenerateEqualsAndHashCode()
[all …]
Djava_message_builder_lite.cc94 context_->GetOneofGeneratorInfo(descriptor_->oneof_decl(i))->name; in Generate()
96 context_->GetOneofGeneratorInfo(descriptor_->oneof_decl(i)) in Generate()
98 vars["oneof_index"] = StrCat(descriptor_->oneof_decl(i)->index()); in Generate()
Djava_message_lite.cc145 context_->GetOneofGeneratorInfo(descriptor_->oneof_decl(i)) in GenerateInterface()
230 const OneofDescriptor* oneof = descriptor_->oneof_decl(i); in Generate()
497 const OneofDescriptor* oneof = descriptor_->oneof_decl(i); in GenerateDynamicMethodNewBuildMessageInfo()
Djava_context.cc118 const OneofDescriptor* oneof = message->oneof_decl(i); in InitializeFieldGeneratorInfoForMessage()
/external/protobuf/php/src/Google/Protobuf/Internal/
DDescriptor.php49 private $oneof_decl = []; variable in Google\\Protobuf\\Internal\\Descriptor
58 $this->oneof_decl[] = $oneof;
63 return $this->oneof_decl;
DDescriptorProto.php53 private $oneof_decl; variable in Google\\Protobuf\\Internal\\DescriptorProto
273 return $this->oneof_decl;
284 $this->oneof_decl = $arr;
/external/protobuf/src/google/protobuf/
Ddynamic_message.cc769 for (int j = 0; j < type->oneof_decl(i)->field_count(); j++) { in GetPrototypeNoLock()
770 const FieldDescriptor* field = type->oneof_decl(i)->field(j); in GetPrototypeNoLock()
816 for (int j = 0; j < type->oneof_decl(i)->field_count(); j++) { in ConstructDefaultOneofInstance()
817 const FieldDescriptor* field = type->oneof_decl(i)->field(j); in ConstructDefaultOneofInstance()
862 for (int j = 0; j < type->oneof_decl(i)->field_count(); j++) { in DeleteDefaultOneofInstance()
863 const FieldDescriptor* field = type->oneof_decl(i)->field(j); in DeleteDefaultOneofInstance()
Ddescriptor.cc2074 oneof_decl(i)->CopyTo(proto->add_oneof_decl()); in CopyTo()
4552 BUILD_ARRAY(proto, result, oneof_decl, BuildOneof, result); in BuildMessage()
4936 result->containing_oneof_ = parent->oneof_decl(proto.oneof_index()); in BuildFieldOrExtension()
5388 const OneofDescriptor* oneof_decl = message->field(i)->containing_oneof(); in CrossLinkMessage() local
5389 if (oneof_decl != nullptr) { in CrossLinkMessage()
5396 if (oneof_decl->field_count() > 0 && in CrossLinkMessage()
5397 message->field(i - 1)->containing_oneof() != oneof_decl) { in CrossLinkMessage()
5404 message->field(i - 1)->name(), oneof_decl->name())); in CrossLinkMessage()
5408 ++message->oneof_decls_[oneof_decl->index()].field_count_; in CrossLinkMessage()
5414 OneofDescriptor* oneof_decl = &message->oneof_decls_[i]; in CrossLinkMessage() local
[all …]
/external/tensorflow/tensorflow/tools/api/golden/v2/
Dtensorflow.train.-feature.pbtxt29 oneof_decl {
/external/tensorflow/tensorflow/tools/api/golden/v1/
Dtensorflow.train.-feature.pbtxt29 oneof_decl {
Dtensorflow.summary.-event.pbtxt70 oneof_decl {
Dtensorflow.-event.pbtxt70 oneof_decl {
Dtensorflow.summary.-summary.-value.pbtxt70 oneof_decl {
Dtensorflow.-summary.-value.pbtxt70 oneof_decl {
Dtensorflow.-tensor-info.pbtxt80 oneof_decl {
Dtensorflow.-summary.pbtxt139 oneof_decl {
Dtensorflow.summary.-summary.pbtxt139 oneof_decl {
Dtensorflow.-attr-value.pbtxt147 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
156 // If set, gives the index of a oneof in the containing type's oneof_decl
/external/rust/crates/grpcio-sys/grpc/third_party/upb/upbc/
Dmessage_layout.cc167 oneof_order.push_back(descriptor->oneof_decl(i)); in PlaceOneofFields()
/external/protobuf/src/google/protobuf/compiler/
Dparser.h411 bool ParseOneof(OneofDescriptorProto* oneof_decl,

123