/external/protobuf/src/google/protobuf/ |
D | generated_message_reflection.h | 134 GOOGLE_DCHECK(!field->containing_oneof()); in GetFieldOffsetNonOneof() 140 if (field->containing_oneof()) { in GetFieldOffset() 143 field->containing_oneof()->index()); in GetFieldOffset() 151 if (field->containing_oneof()) { in IsFieldInlined() 154 field->containing_oneof()->index()); in IsFieldInlined()
|
D | generated_message_reflection.cc | 298 if (field->containing_oneof() && !HasOneofField(message, field)) { in SpaceUsedLong() 643 if (field->is_repeated() || field->containing_oneof()) { in Swap() 658 if (field->containing_oneof()) continue; in Swap() 705 if (field->containing_oneof()) { in SwapFields() 706 int oneof_index = field->containing_oneof()->index(); in SwapFields() 712 SwapOneofField(message1, message2, field->containing_oneof()); in SwapFields() 736 if (field->containing_oneof()) { in HasField() 796 if (field->containing_oneof()) { in ClearField() 1052 const OneofDescriptor* containing_oneof = field->containing_oneof(); in ListFields() local 1053 if (containing_oneof) { in ListFields() [all …]
|
D | dynamic_message.cc | 366 if (field->containing_oneof()) { in SharedCtor() 481 if (field->containing_oneof()) { in ~DynamicMessage() 484 sizeof(uint32) * field->containing_oneof()->index()); in ~DynamicMessage() 488 field->containing_oneof()->index()]); in ~DynamicMessage() 737 if (!type->field(i)->containing_oneof()) { in GetPrototypeNoLock()
|
/external/protobuf/src/google/protobuf/compiler/javanano/ |
D | javanano_field.cc | 111 } else if (field->containing_oneof()) { in MakeGenerator() 156 UnderscoresToCamelCase(descriptor->containing_oneof()); in SetCommonOneofVariables() 158 UnderscoresToCapitalizedCamelCase(descriptor->containing_oneof()); in SetCommonOneofVariables() 160 SimpleItoa(descriptor->containing_oneof()->index()); in SetCommonOneofVariables()
|
/external/protobuf/src/google/protobuf/compiler/cpp/ |
D | cpp_message.cc | 174 if (!field->is_repeated() && !field->containing_oneof()) { in EmitFieldNonDefaultCondition() 189 } else if (field->containing_oneof()) { in EmitFieldNonDefaultCondition() 245 field->containing_oneof() != NULL); in HasPrivateHasMethod() 635 } else if (!field->containing_oneof()) { in MessageGenerator() 711 if (field->containing_oneof() == NULL && !field->options().weak()) { in GenerateFieldAccessorDeclarations() 867 if (field->containing_oneof()) { in GenerateFieldClear() 914 } else if (field->containing_oneof()) { in GenerateFieldAccessorDefinitions() 916 format.Set("oneof_name", field->containing_oneof()->name()); in GenerateFieldAccessorDefinitions() 918 StrCat(field->containing_oneof()->index())); in GenerateFieldAccessorDefinitions() 1430 field->containing_oneof()) { in GenerateClassDefinition() [all …]
|
D | cpp_field.cc | 108 const std::string prefix = descriptor->containing_oneof()->name() + "_."; in SetCommonOneofFieldVariables() 109 (*variables)["oneof_name"] = descriptor->containing_oneof()->name(); in SetCommonOneofFieldVariables() 170 } else if (field->containing_oneof()) { in MakeGenerator()
|
D | cpp_helpers.cc | 1129 field->containing_oneof() == nullptr && in IsImplicitWeakField() 1466 field->containing_oneof() == nullptr && ctype == FieldOptions::STRING) { in GenerateStrings() 1526 if (field->containing_oneof() != nullptr) { in GenerateLengthDelim() 1536 FieldName(field), field->containing_oneof()->name()); in GenerateLengthDelim() 1628 if (field->is_repeated() || field->containing_oneof()) { in GenerateFieldBody() 1650 if (field->is_repeated() || field->containing_oneof()) { in GenerateFieldBody()
|
D | cpp_string_field.cc | 481 if (SupportsArenas(descriptor_) || descriptor_->containing_oneof() != NULL) { in GenerateMergingCode() 527 if (SupportsArenas(descriptor_) || descriptor_->containing_oneof() != NULL) { in GenerateCopyConstructorCode()
|
/external/protobuf/src/google/protobuf/compiler/objectivec/ |
D | objectivec_field.cc | 236 if (descriptor_->containing_oneof() != NULL) { in SetOneofIndexBase() 237 int index = descriptor_->containing_oneof()->index() + index_base; in SetOneofIndexBase() 288 if (descriptor_->containing_oneof() != NULL) { in WantsHasProperty() 300 if (descriptor_->containing_oneof() != NULL) { in RuntimeUsesHasBit()
|
D | objectivec_message_field.cc | 76 if (descriptor_->containing_oneof() != NULL) { in WantsHasProperty()
|
/external/protobuf/src/google/protobuf/compiler/java/ |
D | java_message_builder.cc | 313 if (!descriptor_->field(i)->containing_oneof()) { in GenerateCommonBuilderMethods() 333 if (!descriptor_->field(i)->containing_oneof()) { in GenerateCommonBuilderMethods() 540 if (!descriptor_->field(i)->containing_oneof()) { in GenerateCommonBuilderMethods() 661 field->containing_oneof() != NULL) { in GenerateIsInitialized() 662 const OneofDescriptor* oneof = field->containing_oneof(); in GenerateIsInitialized()
|
D | java_field.cc | 91 if (field->containing_oneof()) { in MakeImmutableGenerator() 148 if (field->containing_oneof()) { in MakeImmutableLiteGenerator() 269 StrCat(descriptor->containing_oneof()->index()); in SetCommonOneofVariables()
|
D | java_message.cc | 912 field->containing_oneof() != NULL) { in GenerateIsInitialized() 913 const OneofDescriptor* oneof = field->containing_oneof(); in GenerateIsInitialized() 990 field->containing_oneof() == NULL; in CheckHasBitsForEqualsAndHashCode() 1013 if (field->containing_oneof() == NULL) { in GenerateEqualsAndHashCode() 1097 if (field->containing_oneof() == NULL) { in GenerateEqualsAndHashCode() 1358 if (!descriptor_->field(i)->containing_oneof()) { in GenerateInitializers()
|
D | java_string_field_lite.cc | 333 context->GetOneofGeneratorInfo(descriptor->containing_oneof()); in ImmutableStringOneofFieldLiteGenerator() 420 WriteIntToUtf16CharSequence(descriptor_->containing_oneof()->index(), output); in GenerateFieldInfo()
|
D | java_message_field_lite.cc | 314 context->GetOneofGeneratorInfo(descriptor->containing_oneof()); in ImmutableMessageOneofFieldLiteGenerator() 396 WriteIntToUtf16CharSequence(descriptor_->containing_oneof()->index(), output); in GenerateFieldInfo()
|
/external/protobuf/python/google/protobuf/internal/ |
D | python_message.py | 329 if field_descriptor.containing_oneof is not None: 450 if field.containing_oneof is not None 689 clear_when_set_to_default = is_proto3 and not field.containing_oneof 709 if field.containing_oneof: 837 not field.containing_oneof): 894 if self._oneofs.get(field.containing_oneof, None) is field: 895 del self._oneofs[field.containing_oneof] 1328 if field.containing_oneof: 1461 other_field = self._oneofs.setdefault(field.containing_oneof, field) 1464 self._oneofs[field.containing_oneof] = field
|
D | generator_test.py | 305 self.assertIs(desc.oneofs[0], field_desc.containing_oneof) 307 self.assertIsNone(field_desc.containing_oneof)
|
/external/protobuf/src/google/protobuf/compiler/csharp/ |
D | csharp_helpers.cc | 493 if (descriptor->containing_oneof()) { in CreateFieldGenerator() 499 if (descriptor->containing_oneof()) { in CreateFieldGenerator() 510 if (descriptor->containing_oneof()) { in CreateFieldGenerator() 520 if (descriptor->containing_oneof()) { in CreateFieldGenerator()
|
D | csharp_field_base.cc | 179 return UnderscoresToCamelCase(descriptor_->containing_oneof()->name(), true); in oneof_property_name() 183 return UnderscoresToCamelCase(descriptor_->containing_oneof()->name(), false); in oneof_name()
|
/external/rust/crates/grpcio-sys/grpc/third_party/upb/upbc/ |
D | message_layout.cc | 78 if (field->containing_oneof()) { in FieldLayoutRank() 134 if (!field->containing_oneof()) { in PlaceNonOneofFields()
|
/external/avb/proto/crypto/keyspb/ |
D | keyspb_pb2.py | 346 _SPECIFICATION.fields_by_name['ecdsa_params'].containing_oneof = _SPECIFICATION.oneofs_by_name['par… 349 _SPECIFICATION.fields_by_name['rsa_params'].containing_oneof = _SPECIFICATION.oneofs_by_name['param… 352 _SPECIFICATION.fields_by_name['ed25519_params'].containing_oneof = _SPECIFICATION.oneofs_by_name['p…
|
/external/protobuf/python/google/protobuf/ |
D | json_format.py | 249 field.containing_oneof): 516 if field.containing_oneof is not None: 517 oneof_name = field.containing_oneof.name 574 if field and field.containing_oneof is None:
|
D | descriptor.py | 528 has_default_value=True, containing_oneof=None, json_name=None, argument 540 has_default_value=True, containing_oneof=None, json_name=None, argument 571 self.containing_oneof = containing_oneof
|
/external/rust/crates/grpcio-sys/grpc/third_party/upb/upb/ |
D | def.hpp | 77 OneofDefPtr containing_oneof() const; 429 inline OneofDefPtr FieldDefPtr::containing_oneof() const { in containing_oneof() function in upb::FieldDefPtr
|
/external/protobuf/src/google/protobuf/util/ |
D | type_resolver_util.cc | 272 if (descriptor->containing_oneof() != NULL) { in ConvertFieldDescriptor() 273 field->set_oneof_index(descriptor->containing_oneof()->index() + 1); in ConvertFieldDescriptor()
|