Home
last modified time | relevance | path

Searched refs:CPPTYPE_MESSAGE (Results 1 – 25 of 56) sorted by relevance

123

/external/protobuf/python/google/protobuf/pyext/
Dextension_dict.cc68 if (descriptor->cpp_type() == FieldDescriptor::CPPTYPE_MESSAGE) { in ReleaseExtension()
81 } else if (descriptor->cpp_type() == FieldDescriptor::CPPTYPE_MESSAGE) { in ReleaseExtension()
102 descriptor->cpp_type() != FieldDescriptor::CPPTYPE_MESSAGE) { in subscript()
121 descriptor->cpp_type() == FieldDescriptor::CPPTYPE_MESSAGE) { in subscript()
132 if (descriptor->cpp_type() == FieldDescriptor::CPPTYPE_MESSAGE) { in subscript()
170 descriptor->cpp_type() == FieldDescriptor::CPPTYPE_MESSAGE) { in ass_subscript()
Dmessage.cc445 if (descriptor->cpp_type() == FieldDescriptor::CPPTYPE_MESSAGE) { in VisitCompositeField()
463 } else if (descriptor->cpp_type() == FieldDescriptor::CPPTYPE_MESSAGE) { in VisitCompositeField()
782 if (existing_field->cpp_type() != FieldDescriptor::CPPTYPE_MESSAGE) { in CheckAndGetInteger()
1072 if (value_descriptor->cpp_type() == FieldDescriptor::CPPTYPE_MESSAGE) { in CheckAndGetInteger()
1101 if (descriptor->cpp_type() == FieldDescriptor::CPPTYPE_MESSAGE) { in CheckAndGetInteger()
1163 } else if (descriptor->cpp_type() == FieldDescriptor::CPPTYPE_MESSAGE) { in CheckAndGetInteger()
1398 if (field_descriptor->cpp_type() != FieldDescriptor::CPPTYPE_MESSAGE) { in CheckAndGetInteger()
2661 if (value_type->cpp_type() == FieldDescriptor::CPPTYPE_MESSAGE) { in CheckAndGetInteger()
2684 if (field_descriptor->cpp_type() == FieldDescriptor::CPPTYPE_MESSAGE) { in CheckAndGetInteger()
2706 if (field_descriptor->cpp_type() == FieldDescriptor::CPPTYPE_MESSAGE) { in CheckAndGetInteger()
[all …]
/external/nanopb-c/generator/google/protobuf/internal/
Dpython_message.py266 if field.cpp_type == _FieldDescriptor.CPPTYPE_MESSAGE:
281 if field.cpp_type == _FieldDescriptor.CPPTYPE_MESSAGE:
317 if field.cpp_type == _FieldDescriptor.CPPTYPE_MESSAGE: # Composite
323 elif field.cpp_type == _FieldDescriptor.CPPTYPE_MESSAGE:
380 elif field.cpp_type == _FieldDescriptor.CPPTYPE_MESSAGE:
568 elif item[0].cpp_type == _FieldDescriptor.CPPTYPE_MESSAGE:
600 if field.cpp_type == _FieldDescriptor.CPPTYPE_MESSAGE:
659 if extension_handle.cpp_type == _FieldDescriptor.CPPTYPE_MESSAGE:
854 (field.cpp_type == _FieldDescriptor.CPPTYPE_MESSAGE and
861 if field.cpp_type == _FieldDescriptor.CPPTYPE_MESSAGE:
[all …]
/external/protobuf/python/google/protobuf/internal/
Dpython_message.py286 return value_type.cpp_type == _FieldDescriptor.CPPTYPE_MESSAGE
418 if field.cpp_type == _FieldDescriptor.CPPTYPE_MESSAGE:
433 if field.cpp_type == _FieldDescriptor.CPPTYPE_MESSAGE:
505 if field.cpp_type == _FieldDescriptor.CPPTYPE_MESSAGE: # Composite
524 elif field.cpp_type == _FieldDescriptor.CPPTYPE_MESSAGE:
593 elif field.cpp_type == _FieldDescriptor.CPPTYPE_MESSAGE:
791 elif item[0].cpp_type == _FieldDescriptor.CPPTYPE_MESSAGE:
821 if (is_proto3 and field.cpp_type != _FieldDescriptor.CPPTYPE_MESSAGE and
843 if field.cpp_type == _FieldDescriptor.CPPTYPE_MESSAGE:
909 if extension_handle.cpp_type == _FieldDescriptor.CPPTYPE_MESSAGE:
[all …]
Dwell_known_types.py585 field.cpp_type != FieldDescriptor.CPPTYPE_MESSAGE):
598 if field.cpp_type == FieldDescriptor.CPPTYPE_MESSAGE:
604 if field.cpp_type == FieldDescriptor.CPPTYPE_MESSAGE:
/external/protobuf/src/google/protobuf/
Dreflection_ops.cc92 case FieldDescriptor::CPPTYPE_MESSAGE: in Merge()
117 case FieldDescriptor::CPPTYPE_MESSAGE: in Merge()
159 if (field->cpp_type() == FieldDescriptor::CPPTYPE_MESSAGE) { in IsInitialized()
190 if (field->cpp_type() == FieldDescriptor::CPPTYPE_MESSAGE) { in DiscardUnknownFields()
245 if (field->cpp_type() == FieldDescriptor::CPPTYPE_MESSAGE) { in FindInitializationErrors()
Ddynamic_message.cc123 case FD::CPPTYPE_MESSAGE: in FieldSpaceUsed()
149 case FD::CPPTYPE_MESSAGE: in FieldSpaceUsed()
180 case FD::CPPTYPE_MESSAGE: in OneofFieldSpaceUsed()
403 case FieldDescriptor::CPPTYPE_MESSAGE: { in SharedCtor()
464 } else if (field->cpp_type() == FieldDescriptor::CPPTYPE_MESSAGE) { in ~DynamicMessage()
500 case FieldDescriptor::CPPTYPE_MESSAGE: in ~DynamicMessage()
523 } else if (field->cpp_type() == FieldDescriptor::CPPTYPE_MESSAGE) { in ~DynamicMessage()
550 if (field->cpp_type() == FieldDescriptor::CPPTYPE_MESSAGE && in CrossLinkPrototypes()
846 case FieldDescriptor::CPPTYPE_MESSAGE: { in ConstructDefaultOneofInstance()
Dmap_field.cc212 case google::protobuf::FieldDescriptor::CPPTYPE_MESSAGE: { in InsertOrLookupMapValue()
307 case google::protobuf::FieldDescriptor::CPPTYPE_MESSAGE: in SyncRepeatedFieldWithMapNoLock()
340 case google::protobuf::FieldDescriptor::CPPTYPE_MESSAGE: { in SyncRepeatedFieldWithMapNoLock()
389 case google::protobuf::FieldDescriptor::CPPTYPE_MESSAGE: in SyncMapWithRepeatedFieldNoLock()
413 case google::protobuf::FieldDescriptor::CPPTYPE_MESSAGE: { in SyncMapWithRepeatedFieldNoLock()
456 case google::protobuf::FieldDescriptor::CPPTYPE_MESSAGE: { in SpaceUsedExcludingSelfNoLock()
Dgenerated_message_reflection.cc321 case FieldDescriptor::CPPTYPE_MESSAGE: in SpaceUsed()
374 case FieldDescriptor::CPPTYPE_MESSAGE: in SpaceUsed()
424 case FieldDescriptor::CPPTYPE_MESSAGE: in SwapField()
458 case FieldDescriptor::CPPTYPE_MESSAGE: in SwapField()
551 case FieldDescriptor::CPPTYPE_MESSAGE: in SwapOneofField()
583 case FieldDescriptor::CPPTYPE_MESSAGE: in SwapOneofField()
617 case FieldDescriptor::CPPTYPE_MESSAGE: in SwapOneofField()
788 case FieldDescriptor::CPPTYPE_MESSAGE: in FieldSize()
852 case FieldDescriptor::CPPTYPE_MESSAGE: in ClearField()
893 case FieldDescriptor::CPPTYPE_MESSAGE: { in ClearField()
[all …]
Dextension_set.cc396 case WireFormatLite::CPPTYPE_MESSAGE: in MutableRawRepeatedField()
569 GOOGLE_DCHECK_EQ(cpp_type(extension->type), WireFormatLite::CPPTYPE_MESSAGE); in MutableMessage()
602 GOOGLE_DCHECK_EQ(cpp_type(extension->type), WireFormatLite::CPPTYPE_MESSAGE); in SetAllocatedMessage()
646 GOOGLE_DCHECK_EQ(cpp_type(extension->type), WireFormatLite::CPPTYPE_MESSAGE); in UnsafeArenaSetAllocatedMessage()
742 GOOGLE_DCHECK_EQ(cpp_type(extension->type), WireFormatLite::CPPTYPE_MESSAGE); in AddMessage()
803 case WireFormatLite::CPPTYPE_MESSAGE: in RemoveLast()
815 GOOGLE_DCHECK(cpp_type(extension->type) == WireFormatLite::CPPTYPE_MESSAGE); in ReleaseLast()
854 case WireFormatLite::CPPTYPE_MESSAGE: in SwapElements()
916 case WireFormatLite::CPPTYPE_MESSAGE: in InternalExtensionMergeFrom()
961 case WireFormatLite::CPPTYPE_MESSAGE: { in InternalExtensionMergeFrom()
[all …]
Dextension_set_heavy.cc167 GOOGLE_DCHECK_EQ(cpp_type(extension->type), FieldDescriptor::CPPTYPE_MESSAGE); in MutableMessage()
220 GOOGLE_DCHECK_EQ(cpp_type(extension->type), FieldDescriptor::CPPTYPE_MESSAGE); in MaybeNewRepeatedExtension()
274 if (extension->cpp_type() == FieldDescriptor::CPPTYPE_MESSAGE) { in Find()
357 case FieldDescriptor::CPPTYPE_MESSAGE: in SpaceUsedExcludingSelf()
372 case FieldDescriptor::CPPTYPE_MESSAGE: in SpaceUsedExcludingSelf()
Dmessage.h1118 GetRawRepeatedField(message, field, FieldDescriptor::CPPTYPE_MESSAGE, in GetRepeatedPtrField()
1127 FieldDescriptor::CPPTYPE_MESSAGE, -1, in MutableRepeatedPtrField()
1135 GetRawRepeatedField(message, field, FieldDescriptor::CPPTYPE_MESSAGE, in GetRepeatedPtrField()
1144 FieldDescriptor::CPPTYPE_MESSAGE, -1, in MutableRepeatedPtrField()
Dtext_format.cc284 if (field->cpp_type() == FieldDescriptor::CPPTYPE_MESSAGE) { in ParseField()
507 if (field->cpp_type() == FieldDescriptor::CPPTYPE_MESSAGE) { in ConsumeField()
518 if (field->cpp_type() == FieldDescriptor::CPPTYPE_MESSAGE) { in ConsumeField()
529 } else if (field->cpp_type() == FieldDescriptor::CPPTYPE_MESSAGE) { in ConsumeField()
741 case FieldDescriptor::CPPTYPE_MESSAGE: { in ConsumeFieldValue()
1651 field->cpp_type() != FieldDescriptor::CPPTYPE_MESSAGE) { in PrintField()
1684 if (field->cpp_type() == FieldDescriptor::CPPTYPE_MESSAGE) { in PrintField()
1826 case FieldDescriptor::CPPTYPE_MESSAGE: in PrintFieldValue()
/external/protobuf/src/google/protobuf/compiler/cpp/
Dcpp_field.cc139 case FieldDescriptor::CPPTYPE_MESSAGE: in MakeGenerator()
158 case FieldDescriptor::CPPTYPE_MESSAGE: in MakeGenerator()
173 case FieldDescriptor::CPPTYPE_MESSAGE: in MakeGenerator()
Dcpp_extension.cc79 case FieldDescriptor::CPPTYPE_MESSAGE: in ExtensionGenerator()
189 case FieldDescriptor::CPPTYPE_MESSAGE: in GenerateRegistration()
Dcpp_helpers.cc236 if (field->cpp_type() != FieldDescriptor::CPPTYPE_MESSAGE) { in IsFieldDependent()
301 case FieldDescriptor::CPPTYPE_MESSAGE: return NULL; in PrimitiveTypeName()
417 case FieldDescriptor::CPPTYPE_MESSAGE: in DefaultValue()
585 case FieldDescriptor::CPPTYPE_MESSAGE: in IsStringOrMessage()
Dcpp_map_field.cc65 case FieldDescriptor::CPPTYPE_MESSAGE: in SetMessageVariables()
196 case FieldDescriptor::CPPTYPE_MESSAGE: in GenerateMergeFromCodedStream()
Dcpp_message.cc139 if (field->cpp_type() == FieldDescriptor::CPPTYPE_MESSAGE && in HasRequiredFields()
176 case FieldDescriptor::CPPTYPE_MESSAGE: in EstimateAlignmentSize()
305 } else if (field->cpp_type() == FieldDescriptor::CPPTYPE_MESSAGE) { in EmitFieldNonDefaultCondition()
337 return field->cpp_type() == FieldDescriptor::CPPTYPE_MESSAGE; in HasHasMethod()
348 case FieldDescriptor::CPPTYPE_MESSAGE: in CollectMapInfo()
503 field->cpp_type() == FieldDescriptor::CPPTYPE_MESSAGE && in GenerateFieldAccessorDeclarations()
638 if (field->cpp_type() == FieldDescriptor::CPPTYPE_MESSAGE) { in GenerateSingularFieldHasBits()
1510 if (field->cpp_type() == FieldDescriptor::CPPTYPE_MESSAGE || in GenerateDescriptorDeclarations()
2053 field->cpp_type() == FieldDescriptor::CPPTYPE_MESSAGE) { in GenerateSharedDestructorCode()
2203 field->cpp_type() == FieldDescriptor::CPPTYPE_MESSAGE && in GenerateStructors()
[all …]
/external/protobuf/python/google/protobuf/
Djson_format.py153 field.cpp_type == descriptor.FieldDescriptor.CPPTYPE_MESSAGE) or
177 if field.cpp_type == descriptor.FieldDescriptor.CPPTYPE_MESSAGE:
371 if field.cpp_type == descriptor.FieldDescriptor.CPPTYPE_MESSAGE:
389 elif field.cpp_type == descriptor.FieldDescriptor.CPPTYPE_MESSAGE:
522 if value_field.cpp_type == descriptor.FieldDescriptor.CPPTYPE_MESSAGE:
/external/protobuf/src/google/protobuf/compiler/js/
Djs_generator.cc281 GOOGLE_CHECK(field->cpp_type() == FieldDescriptor::CPPTYPE_MESSAGE); in SubmessageTypeRef()
790 case FieldDescriptor::CPPTYPE_MESSAGE: in JSFieldDefault()
885 case FieldDescriptor::CPPTYPE_MESSAGE: in JSTypeName()
902 field->cpp_type() != FieldDescriptor::CPPTYPE_MESSAGE && in JSFieldTypeAnnotation()
1051 field->cpp_type() == FieldDescriptor::CPPTYPE_MESSAGE); in RelativeTypeName()
1198 (field->cpp_type() == FieldDescriptor::CPPTYPE_MESSAGE) || in HasFieldPresence()
1625 } else if (field->cpp_type() == FieldDescriptor::CPPTYPE_MESSAGE) { in FindRequiresForField()
1928 if (field->cpp_type() == FieldDescriptor::CPPTYPE_MESSAGE) { in GenerateClassFieldToObject()
2011 if (field->cpp_type() == FieldDescriptor::CPPTYPE_MESSAGE) { in GenerateClassFieldFromObject()
2118 if (field->cpp_type() == FieldDescriptor::CPPTYPE_MESSAGE) { in GenerateClassField()
[all …]
/external/protobuf/src/google/protobuf/util/
Dfield_mask_util.cc144 field->cpp_type() == FieldDescriptor::CPPTYPE_MESSAGE) { in InternalIsValidPath()
357 field->cpp_type() != FieldDescriptor::CPPTYPE_MESSAGE) { in MergeMessage()
386 case FieldDescriptor::CPPTYPE_MESSAGE: { in MergeMessage()
422 case FieldDescriptor::CPPTYPE_MESSAGE: { in MergeMessage()
Dmessage_differencer.cc265 GOOGLE_CHECK_EQ(FieldDescriptor::CPPTYPE_MESSAGE, field->cpp_type()) in TreatAsMap()
301 GOOGLE_CHECK_EQ(FieldDescriptor::CPPTYPE_MESSAGE, field->cpp_type()) in TreatAsMapWithMultipleFieldPathsAsKey()
315 GOOGLE_CHECK_EQ(FieldDescriptor::CPPTYPE_MESSAGE, parent_field->cpp_type()) in TreatAsMapWithMultipleFieldPathsAsKey()
336 GOOGLE_CHECK_EQ(FieldDescriptor::CPPTYPE_MESSAGE, field->cpp_type()) in TreatAsMapUsingKeyComparator()
751 if (repeated_field->cpp_type() != FieldDescriptor::CPPTYPE_MESSAGE) { in IsMatch()
901 if (field->cpp_type() == FieldDescriptor::CPPTYPE_MESSAGE && in CompareFieldValueUsingParentFields()
1519 if (field->cpp_type() == FieldDescriptor::CPPTYPE_MESSAGE) { in PrintValue()
1615 FieldDescriptor::CPPTYPE_MESSAGE) { in ReportModified()
/external/protobuf/src/google/protobuf/compiler/ruby/
Druby_generator.cc131 if (value_field->cpp_type() == FieldDescriptor::CPPTYPE_MESSAGE) { in GenerateField()
153 if (field->cpp_type() == FieldDescriptor::CPPTYPE_MESSAGE) { in GenerateField()
342 if ((field->cpp_type() == FieldDescriptor::CPPTYPE_MESSAGE && in UsesTypeFromFile()
/external/nanopb-c/generator/google/protobuf/
Ddescriptor.py395 CPPTYPE_MESSAGE = 10 variable in FieldDescriptor
415 TYPE_MESSAGE: CPPTYPE_MESSAGE,
416 TYPE_GROUP: CPPTYPE_MESSAGE
/external/protobuf/src/google/protobuf/compiler/javamicro/
Djavamicro_message.cc122 if (field->cpp_type() == FieldDescriptor::CPPTYPE_MESSAGE) { in HasRequiredFields()
425 if (field->cpp_type() == FieldDescriptor::CPPTYPE_MESSAGE && in GenerateIsInitialized()

123