/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/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()
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/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 | 349 if (field->containing_oneof()) { in SharedCtor() 440 if (field->containing_oneof()) { in ~DynamicMessage() 443 + sizeof(uint32) * field->containing_oneof()->index()); in ~DynamicMessage() 447 descriptor->field_count() + field->containing_oneof()->index()]); in ~DynamicMessage() 544 if (field->containing_oneof()) { in CrossLinkPrototypes() 716 if (!type->field(i)->containing_oneof()) { in GetPrototypeNoLock()
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/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()
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/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 | 348 if (field->containing_oneof() != NULL) { in GenerateMessageHeader() 349 const int oneof_index = field->containing_oneof()->index(); in GenerateMessageHeader()
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/compiler/java/ |
D | java_message_builder.cc | 328 if (!descriptor_->field(i)->containing_oneof()) { in GenerateCommonBuilderMethods() 347 if (!descriptor_->field(i)->containing_oneof()) { in GenerateCommonBuilderMethods() 539 if (!descriptor_->field(i)->containing_oneof()) { in GenerateCommonBuilderMethods() 670 field->containing_oneof() != NULL) { in GenerateIsInitialized() 671 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 | 725 field->containing_oneof() != NULL) { in GenerateDynamicMethodIsInitialized() 726 const OneofDescriptor* oneof = field->containing_oneof(); in GenerateDynamicMethodIsInitialized() 832 if (!descriptor_->field(i)->containing_oneof()) { in GenerateDynamicMethodVisit() 1040 field->containing_oneof() == NULL; in CheckHasBitsForEqualsAndHashCode() 1089 if (!descriptor_->field(i)->containing_oneof()) { in GenerateInitializers()
|
D | java_message.cc | 907 field->containing_oneof() != NULL) { in GenerateIsInitialized() 908 const OneofDescriptor* oneof = field->containing_oneof(); in GenerateIsInitialized() 987 field->containing_oneof() == NULL; in CheckHasBitsForEqualsAndHashCode() 1011 if (field->containing_oneof() == NULL) { in GenerateEqualsAndHashCode() 1101 if (field->containing_oneof() == NULL) { in GenerateEqualsAndHashCode() 1386 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()
|
D | java_message_field.cc | 154 descriptor_->containing_oneof() == NULL) { in GenerateInterfaceMembers() 523 context->GetOneofGeneratorInfo(descriptor->containing_oneof()); in ImmutableMessageOneofFieldGenerator()
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/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 | 137 return UnderscoresToCamelCase(descriptor_->containing_oneof()->name(), true); in oneof_property_name() 141 return UnderscoresToCamelCase(descriptor_->containing_oneof()->name(), false); in oneof_name()
|
D | csharp_message.cc | 277 if (!descriptor_->field(i)->containing_oneof()) { in GenerateCloningCode() 434 if (!descriptor_->field(i)->containing_oneof()) { in GenerateMergingMethods()
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/python/google/protobuf/internal/ |
D | python_message.py | 325 if field_descriptor.containing_oneof is not None: 435 if field.containing_oneof is not None 663 clear_when_set_to_default = is_proto3 and not field.containing_oneof 679 if field.containing_oneof: 817 not field.containing_oneof): 874 if self._oneofs.get(field.containing_oneof, None) is field: 875 del self._oneofs[field.containing_oneof] 1253 if field.containing_oneof: 1357 other_field = self._oneofs.setdefault(field.containing_oneof, field) 1360 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)
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/python/google/protobuf/ |
D | json_format.py | 170 field.containing_oneof): 392 if field.containing_oneof is not None: 393 oneof_name = field.containing_oneof.name 438 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
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/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()
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/compiler/js/ |
D | js_generator.cc | 1029 if (desc->field(i)->containing_oneof()) { in HasOneofFields() 1078 JSOneofIndex(field->containing_oneof()) + "]"; in JSOneofArray() 1266 (field->containing_oneof() != NULL) || in HasFieldPresence() 2312 "oneoftag", (field->containing_oneof() ? "Oneof" : ""), in GenerateClassField() 2321 "oneofgroup", (field->containing_oneof() ? in GenerateClassField() 2455 "oneoftag", (field->containing_oneof() ? "Oneof" : ""), in GenerateClassField() 2466 (field->containing_oneof() ? (", " + JSOneofArray(options, field)) in GenerateClassField() 2485 "oneoftag", (field->containing_oneof() ? "Oneof" : ""), in GenerateClassField() 2486 "oneofgroup", (field->containing_oneof() ? in GenerateClassField()
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/python/google/protobuf/pyext/ |
D | descriptor.cc | 850 const OneofDescriptor* containing_oneof = in GetContainingOneof() local 851 _GetDescriptor(self)->containing_oneof(); in GetContainingOneof() 852 if (containing_oneof) { in GetContainingOneof() 853 return PyOneofDescriptor_FromDescriptor(containing_oneof); in GetContainingOneof()
|