/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/ |
D | generated_message_reflection.cc | 336 if (field->containing_oneof() && !HasOneofField(message, field)) { in SpaceUsed() 681 if (!field->containing_oneof()) { in Swap() 728 if (field->containing_oneof()) { in SwapFields() 729 int oneof_index = field->containing_oneof()->index(); in SwapFields() 735 SwapOneofField(message1, message2, field->containing_oneof()); in SwapFields() 756 if (field->containing_oneof()) { in HasField() 808 if (field->containing_oneof()) { in ClearField() 1047 if (field->containing_oneof()) { in ListFields() 1198 if (field->containing_oneof() && !HasOneofField(*message, field)) { in SetString() 1199 ClearOneof(message, field->containing_oneof()); in SetString() [all …]
|
D | dynamic_message.cc | 350 if (field->containing_oneof()) { in SharedCtor() 441 if (field->containing_oneof()) { in ~DynamicMessage() 444 + sizeof(uint32) * field->containing_oneof()->index()); in ~DynamicMessage() 448 descriptor->field_count() + field->containing_oneof()->index()]); in ~DynamicMessage() 545 if (field->containing_oneof()) { in CrossLinkPrototypes() 717 if (!type->field(i)->containing_oneof()) { in GetPrototypeNoLock()
|
/external/protobuf/src/google/protobuf/compiler/cpp/ |
D | cpp_field.cc | 102 const string prefix = descriptor->containing_oneof()->name() + "_."; in SetCommonOneofFieldVariables() 104 (*variables)["oneof_name"] = descriptor->containing_oneof()->name(); in SetCommonOneofFieldVariables() 156 } else if (field->containing_oneof()) { in MakeGenerator()
|
D | cpp_message.cc | 299 if (!field->is_repeated() && !field->containing_oneof()) { in EmitFieldNonDefaultCondition() 319 } else if (field->containing_oneof()) { in EmitFieldNonDefaultCondition() 371 field->containing_oneof() != NULL); in HasPrivateHasMethod() 581 if (field->containing_oneof()) { in GenerateDependentFieldAccessorDefinitions() 583 vars["oneof_name"] = field->containing_oneof()->name(); in GenerateDependentFieldAccessorDefinitions() 584 vars["oneof_index"] = SimpleItoa(field->containing_oneof()->index()); in GenerateDependentFieldAccessorDefinitions() 716 if (field->containing_oneof()) { in GenerateFieldClear() 775 } else if (field->containing_oneof()) { in GenerateFieldAccessorDefinitions() 777 vars["oneof_name"] = field->containing_oneof()->name(); in GenerateFieldAccessorDefinitions() 778 vars["oneof_index"] = SimpleItoa(field->containing_oneof()->index()); in GenerateFieldAccessorDefinitions() [all …]
|
D | cpp_helpers.cc | 223 if (field->containing_oneof() != NULL && in IsFieldDependent() 239 if (field->containing_oneof() != NULL) { in IsFieldDependent()
|
/external/protobuf/src/google/protobuf/compiler/java/ |
D | java_message_builder.cc | 310 if (!descriptor_->field(i)->containing_oneof()) { in GenerateCommonBuilderMethods() 329 if (!descriptor_->field(i)->containing_oneof()) { in GenerateCommonBuilderMethods() 465 if (!descriptor_->field(i)->containing_oneof()) { in GenerateCommonBuilderMethods() 595 field->containing_oneof() != NULL) { in GenerateIsInitialized() 596 const OneofDescriptor* oneof = field->containing_oneof(); in GenerateIsInitialized()
|
D | java_field.cc | 99 if (field->containing_oneof()) { in MakeImmutableGenerator() 172 if (field->containing_oneof()) { in MakeImmutableLiteGenerator() 308 SimpleItoa(descriptor->containing_oneof()->index()); in SetCommonOneofVariables()
|
D | java_message_lite.cc | 720 field->containing_oneof() != NULL) { in GenerateDynamicMethodIsInitialized() 721 const OneofDescriptor* oneof = field->containing_oneof(); in GenerateDynamicMethodIsInitialized() 827 if (!descriptor_->field(i)->containing_oneof()) { in GenerateDynamicMethodVisit() 1035 field->containing_oneof() == NULL; in CheckHasBitsForEqualsAndHashCode() 1084 if (!descriptor_->field(i)->containing_oneof()) { in GenerateInitializers()
|
D | java_message.cc | 890 field->containing_oneof() != NULL) { in GenerateIsInitialized() 891 const OneofDescriptor* oneof = field->containing_oneof(); in GenerateIsInitialized() 970 field->containing_oneof() == NULL; in CheckHasBitsForEqualsAndHashCode() 994 if (field->containing_oneof() == NULL) { in GenerateEqualsAndHashCode() 1084 if (field->containing_oneof() == NULL) { in GenerateEqualsAndHashCode() 1370 if (!descriptor_->field(i)->containing_oneof()) { in GenerateInitializers()
|
D | java_message_field_lite.cc | 136 descriptor_->containing_oneof() == NULL) { in GenerateInterfaceMembers() 381 context->GetOneofGeneratorInfo(descriptor->containing_oneof()); in ImmutableMessageOneofFieldLiteGenerator()
|
/external/protobuf/src/google/protobuf/compiler/objectivec/ |
D | objectivec_field.cc | 237 if (descriptor_->containing_oneof() != NULL) { in SetOneofIndexBase() 238 int index = descriptor_->containing_oneof()->index() + index_base; in SetOneofIndexBase() 289 if (descriptor_->containing_oneof() != NULL) { in WantsHasProperty() 301 if (descriptor_->containing_oneof() != NULL) { in RuntimeUsesHasBit()
|
D | objectivec_message_field.cc | 77 if (descriptor_->containing_oneof() != NULL) { in WantsHasProperty()
|
D | objectivec_message.cc | 332 if (field->containing_oneof() != NULL) { in GenerateMessageHeader() 333 const int oneof_index = field->containing_oneof()->index(); in GenerateMessageHeader()
|
/external/protobuf/python/google/protobuf/internal/ |
D | python_message.py | 330 if field_descriptor.containing_oneof is not None: 440 if field.containing_oneof is not None 668 clear_when_set_to_default = is_proto3 and not field.containing_oneof 684 if field.containing_oneof: 822 not field.containing_oneof): 879 if self._oneofs.get(field.containing_oneof, None) is field: 880 del self._oneofs[field.containing_oneof] 1251 if field.containing_oneof: 1355 other_field = self._oneofs.setdefault(field.containing_oneof, field) 1358 self._oneofs[field.containing_oneof] = field
|
D | generator_test.py | 304 self.assertIs(desc.oneofs[0], field_desc.containing_oneof) 306 self.assertIsNone(field_desc.containing_oneof)
|
/external/protobuf/src/google/protobuf/compiler/csharp/ |
D | csharp_helpers.cc | 467 if (descriptor->containing_oneof()) { in CreateFieldGenerator() 473 if (descriptor->containing_oneof()) { in CreateFieldGenerator() 484 if (descriptor->containing_oneof()) { in CreateFieldGenerator() 494 if (descriptor->containing_oneof()) { in CreateFieldGenerator()
|
D | csharp_field_base.cc | 136 return UnderscoresToCamelCase(descriptor_->containing_oneof()->name(), true); in oneof_property_name() 140 return UnderscoresToCamelCase(descriptor_->containing_oneof()->name(), false); in oneof_name()
|
D | csharp_message.cc | 265 if (!descriptor_->field(i)->containing_oneof()) { in GenerateCloningCode() 411 if (!descriptor_->field(i)->containing_oneof()) { in GenerateMergingMethods()
|
/external/protobuf/python/google/protobuf/ |
D | json_format.py | 154 field.containing_oneof): 349 if field.containing_oneof is not None: 350 oneof_name = field.containing_oneof.name 395 if field and field.containing_oneof is None:
|
D | descriptor.py | 500 has_default_value=True, containing_oneof=None): argument 510 has_default_value=True, containing_oneof=None): argument 534 self.containing_oneof = containing_oneof
|
/external/protobuf/src/google/protobuf/util/ |
D | type_resolver_util.cc | 171 if (descriptor->containing_oneof() != NULL) { in ConvertFieldDescriptor() 172 field->set_oneof_index(descriptor->containing_oneof()->index() + 1); in ConvertFieldDescriptor()
|
/external/protobuf/src/google/protobuf/compiler/js/ |
D | js_generator.cc | 997 if (desc->field(i)->containing_oneof()) { in HasOneofFields() 1046 JSOneofIndex(field->containing_oneof()) + "]"; in JSOneofArray() 1199 (field->containing_oneof() != NULL) || in HasFieldPresence() 2162 "oneoftag", (field->containing_oneof() ? "Oneof" : ""), in GenerateClassField() 2171 "oneofgroup", (field->containing_oneof() ? in GenerateClassField() 2310 "oneoftag", (field->containing_oneof() ? "Oneof" : ""), in GenerateClassField() 2321 (field->containing_oneof() ? (", " + JSOneofArray(options, field)) in GenerateClassField() 2340 "oneoftag", (field->containing_oneof() ? "Oneof" : ""), in GenerateClassField() 2341 "oneofgroup", (field->containing_oneof() ? in GenerateClassField()
|
/external/tensorflow/tensorflow/tools/proto_text/ |
D | gen_proto_text_functions_lib.cc | 336 const auto* oneof = field.containing_oneof(); in AppendFieldAppend() 496 } else if (field->containing_oneof() != nullptr) { in AppendParseMessageFunction() 500 const string oneof_name = field->containing_oneof()->name(); in AppendParseMessageFunction()
|
/external/protobuf/python/google/protobuf/pyext/ |
D | descriptor.cc | 845 const OneofDescriptor* containing_oneof = in GetContainingOneof() local 846 _GetDescriptor(self)->containing_oneof(); in GetContainingOneof() 847 if (containing_oneof) { in GetContainingOneof() 848 return PyOneofDescriptor_FromDescriptor(containing_oneof); in GetContainingOneof()
|