Home
last modified time | relevance | path

Searched refs:containing_oneof (Results 1 – 25 of 49) sorted by relevance

12

/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/compiler/javanano/
Djavanano_field.cc111 } 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/
Dgenerated_message_reflection.cc336 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 …]
Ddynamic_message.cc349 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/
Dcpp_field.cc102 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()
Dcpp_message.cc299 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 …]
Dcpp_helpers.cc223 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/
Dobjectivec_field.cc237 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()
Dobjectivec_message_field.cc77 if (descriptor_->containing_oneof() != NULL) { in WantsHasProperty()
Dobjectivec_message.cc348 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/
Djava_message_builder.cc328 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()
Djava_field.cc99 if (field->containing_oneof()) { in MakeImmutableGenerator()
172 if (field->containing_oneof()) { in MakeImmutableLiteGenerator()
308 SimpleItoa(descriptor->containing_oneof()->index()); in SetCommonOneofVariables()
Djava_message_lite.cc725 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()
Djava_message.cc907 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()
Djava_message_field_lite.cc136 descriptor_->containing_oneof() == NULL) { in GenerateInterfaceMembers()
381 context->GetOneofGeneratorInfo(descriptor->containing_oneof()); in ImmutableMessageOneofFieldLiteGenerator()
Djava_message_field.cc154 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/
Dcsharp_helpers.cc467 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()
Dcsharp_field_base.cc137 return UnderscoresToCamelCase(descriptor_->containing_oneof()->name(), true); in oneof_property_name()
141 return UnderscoresToCamelCase(descriptor_->containing_oneof()->name(), false); in oneof_name()
Dcsharp_message.cc277 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/
Dpython_message.py325 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
Dgenerator_test.py304 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/
Djson_format.py170 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:
Ddescriptor.py500 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/
Dtype_resolver_util.cc171 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/
Djs_generator.cc1029 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/
Ddescriptor.cc850 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()

12