Home
last modified time | relevance | path

Searched refs:real_containing_oneof (Results 1 – 16 of 16) sorted by relevance

/third_party/grpc/third_party/upb/upbc/
Dprotoc-gen-upb.cc277 } else if (field->real_containing_oneof()) { in GenerateMessageInHeader()
283 layout.GetOneofCaseOffset(field->real_containing_oneof())), in GenerateMessageInHeader()
334 } else if (field->real_containing_oneof()) { in GenerateMessageInHeader()
340 GetSizeInit(layout.GetOneofCaseOffset(field->real_containing_oneof())), in GenerateMessageInHeader()
446 } else if (field->real_containing_oneof()) { in GenerateMessageInHeader()
452 layout.GetOneofCaseOffset(field->real_containing_oneof())), in GenerateMessageInHeader()
720 if (field->real_containing_oneof()) { in TryFillTableEntry()
744 } if (field->real_containing_oneof()) { in TryFillTableEntry()
746 layout.GetOneofCaseOffset(field->real_containing_oneof()); in TryFillTableEntry()
883 } else if (field->real_containing_oneof()) { in WriteSource()
[all …]
Dgenerator.cc384 } else if (field->real_containing_oneof()) { in GenerateMessageInHeader()
390 layout.GetOneofCaseOffset(field->real_containing_oneof())), in GenerateMessageInHeader()
441 } else if (field->real_containing_oneof()) { in GenerateMessageInHeader()
447 GetSizeInit(layout.GetOneofCaseOffset(field->real_containing_oneof())), in GenerateMessageInHeader()
555 } else if (field->real_containing_oneof()) { in GenerateMessageInHeader()
561 layout.GetOneofCaseOffset(field->real_containing_oneof())), in GenerateMessageInHeader()
756 } else if (field->real_containing_oneof()) { in WriteSource()
758 layout.GetOneofCaseOffset(field->real_containing_oneof()); in WriteSource()
Dmessage_layout.cc27 return field->has_presence() && !field->real_containing_oneof() && in HasHasbit()
/third_party/protobuf/src/google/protobuf/compiler/cpp/
Dcpp_message.cc229 } else if (field->real_containing_oneof()) { in EmitFieldNonDefaultCondition()
285 return (!HasFieldPresence(field->file()) && field->real_containing_oneof()); in HasPrivateHasMethod()
600 } else if (!field->real_containing_oneof()) { in MessageGenerator()
691 if (!field->real_containing_oneof() && !field->options().weak() && in GenerateFieldAccessorDeclarations()
924 if (field->real_containing_oneof()) { in GenerateFieldClear()
985 } else if (field->real_containing_oneof()) { in GenerateFieldAccessorDefinitions()
1487 field->real_containing_oneof()) { in GenerateClassDefinition()
1756 if (field->real_containing_oneof()) { in CalcFieldNum()
1765 } else if (HasHasbit(field) || field->real_containing_oneof() || is_a_map) { in CalcFieldNum()
1860 if (field->real_containing_oneof()) { in GenerateFieldMetadata()
[all …]
Dcpp_string_field.cc461 if (SupportsArenas(descriptor_) || descriptor_->real_containing_oneof()) { in GenerateMergingCode()
505 if (SupportsArenas(descriptor_) || descriptor_->real_containing_oneof()) { in GenerateCopyConstructorCode()
Dcpp_field.cc159 } else if (field->real_containing_oneof()) { in MakeGenerator()
Dcpp_helpers.cc1154 !field->real_containing_oneof() && in IsImplicitWeakField()
1477 !IsStringInlined(field, options_) && !field->real_containing_oneof() && in GenerateStrings()
1583 if (field->real_containing_oneof()) { in GenerateLengthDelim()
1687 if (field->is_repeated() || field->real_containing_oneof()) { in GenerateFieldBody()
1709 if (field->is_repeated() || field->real_containing_oneof()) { in GenerateFieldBody()
/third_party/protobuf/src/google/protobuf/compiler/objectivec/
Dobjectivec_field.cc249 const OneofDescriptor *oneof = descriptor_->real_containing_oneof(); in SetOneofIndexBase()
258 return descriptor_->has_presence() && !descriptor_->real_containing_oneof(); in WantsHasProperty()
306 if (descriptor_->real_containing_oneof()) { in RuntimeUsesHasBit()
Dobjectivec_message.cc345 const OneofDescriptor *oneof = field->real_containing_oneof(); in GenerateMessageHeader()
/third_party/protobuf/src/google/protobuf/compiler/csharp/
Dcsharp_helpers.cc518 if (descriptor->real_containing_oneof()) { in CreateFieldGenerator()
524 if (descriptor->real_containing_oneof()) { in CreateFieldGenerator()
535 if (descriptor->real_containing_oneof()) { in CreateFieldGenerator()
545 if (descriptor->real_containing_oneof()) { in CreateFieldGenerator()
Dcsharp_helpers.h185 !descriptor->real_containing_oneof(); in RequiresPresenceBit()
Dcsharp_message.cc390 if (field->real_containing_oneof()) { in GenerateCloningCode()
623 if (field->real_containing_oneof()) { in GenerateMergingMethods()
/third_party/protobuf/docs/
Dimplementing_proto3_presence.md255 // return field->has_presence && !field->real_containing_oneof()
273 // real_containing_oneof() returns nullptr for synthetic oneofs.
274 return field->real_containing_oneof() != nullptr;
335 - `FieldDescriptor::real_containing_oneof()`: like `containing_oneof()`,
/third_party/protobuf/src/google/protobuf/compiler/php/
Dphp_generator.cc627 } else if (field->real_containing_oneof()) { in GenerateField()
651 const OneofDescriptor* oneof = field->real_containing_oneof(); in GenerateFieldAccessor()
880 } else if (!field->real_containing_oneof()) { in GenerateMessageToPool()
/third_party/protobuf/src/google/protobuf/
Ddescriptor.h767 const OneofDescriptor* real_containing_oneof() const;
2195 inline const OneofDescriptor* FieldDescriptor::real_containing_oneof() const { in real_containing_oneof() function
/third_party/protobuf/src/google/protobuf/compiler/ruby/
Druby_generator.cc262 if (!field->real_containing_oneof()) { in GenerateMessage()