Home
last modified time | relevance | path

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

123

/third_party/protobuf/src/google/protobuf/
Dreflection_ops.cc127 case FieldDescriptor::CPPTYPE_MESSAGE: in Merge()
160 case FieldDescriptor::CPPTYPE_MESSAGE: in Merge()
211 if (field->cpp_type() == FieldDescriptor::CPPTYPE_MESSAGE) { in IsInitialized()
215 FieldDescriptor::CPPTYPE_MESSAGE) { in IsInitialized()
276 if (field->cpp_type() == FieldDescriptor::CPPTYPE_MESSAGE) { in IsInitialized()
280 if (value_field->cpp_type() == FieldDescriptor::CPPTYPE_MESSAGE) { in IsInitialized()
321 FieldDescriptor::CPPTYPE_MESSAGE; in IsMapValueMessageTyped()
336 if (field->cpp_type() != FieldDescriptor::CPPTYPE_MESSAGE) { in DiscardUnknownFields()
407 if (field->cpp_type() == FieldDescriptor::CPPTYPE_MESSAGE) { in FindInitializationErrors()
Ddynamic_message.cc149 case FD::CPPTYPE_MESSAGE: in FieldSpaceUsed()
183 case FD::CPPTYPE_MESSAGE: in FieldSpaceUsed()
222 case FD::CPPTYPE_MESSAGE: in OneofFieldSpaceUsed()
446 case FieldDescriptor::CPPTYPE_MESSAGE: { in SharedCtor()
528 } else if (field->cpp_type() == FieldDescriptor::CPPTYPE_MESSAGE) { in ~DynamicMessage()
564 case FieldDescriptor::CPPTYPE_MESSAGE: in ~DynamicMessage()
588 } else if (field->cpp_type() == FieldDescriptor::CPPTYPE_MESSAGE) { in ~DynamicMessage()
610 if (field->cpp_type() == FieldDescriptor::CPPTYPE_MESSAGE && in CrossLinkPrototypes()
887 case FieldDescriptor::CPPTYPE_MESSAGE: { in ConstructDefaultOneofInstance()
Dmap_field.cc220 case FieldDescriptor::CPPTYPE_MESSAGE: { in AllocateMapValue()
340 case FieldDescriptor::CPPTYPE_MESSAGE: { in MergeFrom()
403 case FieldDescriptor::CPPTYPE_MESSAGE: in SyncRepeatedFieldWithMapNoLock()
436 case FieldDescriptor::CPPTYPE_MESSAGE: { in SyncRepeatedFieldWithMapNoLock()
486 case FieldDescriptor::CPPTYPE_MESSAGE: in SyncMapWithRepeatedFieldNoLock()
519 case FieldDescriptor::CPPTYPE_MESSAGE: { in SyncMapWithRepeatedFieldNoLock()
562 case FieldDescriptor::CPPTYPE_MESSAGE: { in SpaceUsedExcludingSelfNoLock()
Dextension_set_heavy.cc172 GOOGLE_DCHECK_EQ(cpp_type(extension->type), FieldDescriptor::CPPTYPE_MESSAGE); in MutableMessage()
249 GOOGLE_DCHECK_EQ(cpp_type(extension->type), FieldDescriptor::CPPTYPE_MESSAGE); in MaybeNewRepeatedExtension()
305 if (extension->cpp_type() == FieldDescriptor::CPPTYPE_MESSAGE) { in Find()
440 case FieldDescriptor::CPPTYPE_MESSAGE: in SpaceUsedExcludingSelfLong()
457 case FieldDescriptor::CPPTYPE_MESSAGE: in SpaceUsedExcludingSelfLong()
Dmap_field.h158 case FieldDescriptor::CPPTYPE_MESSAGE:
186 case FieldDescriptor::CPPTYPE_MESSAGE:
212 case FieldDescriptor::CPPTYPE_MESSAGE: in CopyFrom()
664 TYPE_CHECK(FieldDescriptor::CPPTYPE_MESSAGE,
670 TYPE_CHECK(FieldDescriptor::CPPTYPE_MESSAGE,
808 case ::PROTOBUF_NAMESPACE_ID::FieldDescriptor::CPPTYPE_MESSAGE:
Dgenerated_message_reflection.cc282 case FieldDescriptor::CPPTYPE_MESSAGE: in SpaceUsedLong()
343 case FieldDescriptor::CPPTYPE_MESSAGE: in SpaceUsedLong()
392 case FieldDescriptor::CPPTYPE_MESSAGE: in SwapField()
423 case FieldDescriptor::CPPTYPE_MESSAGE: in SwapField()
523 case FieldDescriptor::CPPTYPE_MESSAGE: in SwapOneofField()
554 case FieldDescriptor::CPPTYPE_MESSAGE: in SwapOneofField()
586 case FieldDescriptor::CPPTYPE_MESSAGE: in SwapOneofField()
777 case FieldDescriptor::CPPTYPE_MESSAGE: in FieldSize()
856 case FieldDescriptor::CPPTYPE_MESSAGE: in ClearField()
897 case FieldDescriptor::CPPTYPE_MESSAGE: { in ClearField()
[all …]
Dextension_set.cc427 case WireFormatLite::CPPTYPE_MESSAGE: in MutableRawRepeatedField()
599 GOOGLE_DCHECK_EQ(cpp_type(extension->type), WireFormatLite::CPPTYPE_MESSAGE); in MutableMessage()
632 GOOGLE_DCHECK_EQ(cpp_type(extension->type), WireFormatLite::CPPTYPE_MESSAGE); in SetAllocatedMessage()
676 GOOGLE_DCHECK_EQ(cpp_type(extension->type), WireFormatLite::CPPTYPE_MESSAGE); in UnsafeArenaSetAllocatedMessage()
770 GOOGLE_DCHECK_EQ(cpp_type(extension->type), WireFormatLite::CPPTYPE_MESSAGE); in AddMessage()
830 case WireFormatLite::CPPTYPE_MESSAGE: in RemoveLast()
840 GOOGLE_DCHECK(cpp_type(extension->type) == WireFormatLite::CPPTYPE_MESSAGE); in ReleaseLast()
877 case WireFormatLite::CPPTYPE_MESSAGE: in SwapElements()
966 case WireFormatLite::CPPTYPE_MESSAGE: in InternalExtensionMergeFrom()
1012 case WireFormatLite::CPPTYPE_MESSAGE: { in InternalExtensionMergeFrom()
[all …]
Dtext_format.cc298 if (field->cpp_type() == FieldDescriptor::CPPTYPE_MESSAGE) { in ParseField()
548 if (field->cpp_type() == FieldDescriptor::CPPTYPE_MESSAGE) { in ConsumeField()
572 if (field->cpp_type() == FieldDescriptor::CPPTYPE_MESSAGE) { in ConsumeField()
584 } else if (field->cpp_type() == FieldDescriptor::CPPTYPE_MESSAGE) { in ConsumeField()
823 case FieldDescriptor::CPPTYPE_MESSAGE: { in ConsumeFieldValue()
2164 case FieldDescriptor::CPPTYPE_MESSAGE: in CopyKey()
2202 case FieldDescriptor::CPPTYPE_MESSAGE: { in CopyValue()
2236 field->cpp_type() != FieldDescriptor::CPPTYPE_MESSAGE) { in PrintField()
2264 if (field->cpp_type() == FieldDescriptor::CPPTYPE_MESSAGE) { in PrintField()
2410 case FieldDescriptor::CPPTYPE_MESSAGE: in PrintFieldValue()
Dmessage.h1304 message, field, FieldDescriptor::CPPTYPE_MESSAGE, -1, nullptr)); in GetRepeatedPtrFieldInternal()
1311 message, field, FieldDescriptor::CPPTYPE_MESSAGE, -1, nullptr)); in MutableRepeatedPtrFieldInternal()
1318 GetRawRepeatedField(message, field, FieldDescriptor::CPPTYPE_MESSAGE, -1, in GetRepeatedPtrFieldInternal()
1326 MutableRawRepeatedField(message, field, FieldDescriptor::CPPTYPE_MESSAGE, in MutableRepeatedPtrFieldInternal()
/third_party/protobuf/python/google/protobuf/internal/
Dpython_message.py284 return value_type.cpp_type == _FieldDescriptor.CPPTYPE_MESSAGE
341 field_descriptor.cpp_type != _FieldDescriptor.CPPTYPE_MESSAGE):
356 elif field_descriptor.cpp_type == _FieldDescriptor.CPPTYPE_MESSAGE:
443 if field.cpp_type == _FieldDescriptor.CPPTYPE_MESSAGE:
458 if field.cpp_type == _FieldDescriptor.CPPTYPE_MESSAGE:
536 if field.cpp_type == _FieldDescriptor.CPPTYPE_MESSAGE: # Composite
555 elif field.cpp_type == _FieldDescriptor.CPPTYPE_MESSAGE:
624 elif field.cpp_type == _FieldDescriptor.CPPTYPE_MESSAGE:
823 elif item[0].cpp_type == _FieldDescriptor.CPPTYPE_MESSAGE:
855 if (is_proto3 and field.cpp_type != _FieldDescriptor.CPPTYPE_MESSAGE and
[all …]
Dextension_dict.py89 elif extension_handle.cpp_type == FieldDescriptor.CPPTYPE_MESSAGE:
156 extension_handle.cpp_type == FieldDescriptor.CPPTYPE_MESSAGE):
208 if extension_handle.cpp_type == FieldDescriptor.CPPTYPE_MESSAGE:
/third_party/protobuf/src/google/protobuf/compiler/cpp/
Dcpp_field.cc145 case FieldDescriptor::CPPTYPE_MESSAGE: in MakeGenerator()
161 case FieldDescriptor::CPPTYPE_MESSAGE: in MakeGenerator()
172 case FieldDescriptor::CPPTYPE_MESSAGE: in MakeGenerator()
Dcpp_message.cc173 field->cpp_type() == FieldDescriptor::CPPTYPE_MESSAGE); in CanBeManipulatedAsRawBytes()
217 } else if (field->cpp_type() == FieldDescriptor::CPPTYPE_MESSAGE) { in EmitFieldNonDefaultCondition()
245 return field->cpp_type() == FieldDescriptor::CPPTYPE_MESSAGE || in HasHasMethod()
258 case FieldDescriptor::CPPTYPE_MESSAGE: in CollectMapInfo()
809 if (field->cpp_type() == FieldDescriptor::CPPTYPE_MESSAGE && in GenerateSingularFieldHasBits()
824 } else if (field->cpp_type() == FieldDescriptor::CPPTYPE_MESSAGE) { in GenerateSingularFieldHasBits()
1649 if (field->cpp_type() == FieldDescriptor::CPPTYPE_MESSAGE || in GenerateExtraDefaultFields()
1805 if (field->cpp_type() == FieldDescriptor::CPPTYPE_MESSAGE) { in GenerateFieldMetadata()
1865 if (field->cpp_type() == FieldDescriptor::CPPTYPE_MESSAGE) { in GenerateFieldMetadata()
1972 field->cpp_type() == FieldDescriptor::CPPTYPE_MESSAGE && in GenerateDefaultInstanceInitializer()
[all …]
Dcpp_extension.cc78 case FieldDescriptor::CPPTYPE_MESSAGE: in ExtensionGenerator()
/third_party/protobuf/src/google/protobuf/util/
Dfield_mask_util.cc156 field->cpp_type() == FieldDescriptor::CPPTYPE_MESSAGE) { in GetFieldDescriptors()
373 (field_descriptor->cpp_type() != FieldDescriptor::CPPTYPE_MESSAGE && in RemovePath()
393 if (field_descriptor->cpp_type() == FieldDescriptor::CPPTYPE_MESSAGE) { in RemovePath()
470 field->cpp_type() != FieldDescriptor::CPPTYPE_MESSAGE) { in MergeMessage()
503 case FieldDescriptor::CPPTYPE_MESSAGE: { in MergeMessage()
539 case FieldDescriptor::CPPTYPE_MESSAGE: { in MergeMessage()
570 if (field->cpp_type() == FieldDescriptor::CPPTYPE_MESSAGE) { in AddRequiredFieldPath()
573 } else if (field->cpp_type() == FieldDescriptor::CPPTYPE_MESSAGE) { in AddRequiredFieldPath()
610 if (field->cpp_type() == FieldDescriptor::CPPTYPE_MESSAGE) { in TrimMessage()
Dmessage_differencer.cc361 GOOGLE_CHECK_EQ(FieldDescriptor::CPPTYPE_MESSAGE, field->cpp_type()) in TreatAsMap()
395 GOOGLE_CHECK_EQ(FieldDescriptor::CPPTYPE_MESSAGE, field->cpp_type()) in TreatAsMapWithMultipleFieldPathsAsKey()
409 GOOGLE_CHECK_EQ(FieldDescriptor::CPPTYPE_MESSAGE, parent_field->cpp_type()) in TreatAsMapWithMultipleFieldPathsAsKey()
882 if (repeated_field->cpp_type() != FieldDescriptor::CPPTYPE_MESSAGE) { in IsMatch()
1082 if (field->cpp_type() == FieldDescriptor::CPPTYPE_MESSAGE && in CompareFieldValueUsingParentFields()
1670 FieldDescriptor::CPPTYPE_MESSAGE) { in MatchRepeatedFieldIndices()
1808 if (field->cpp_type() == FieldDescriptor::CPPTYPE_MESSAGE) { in PrintValue()
1900 FieldDescriptor::CPPTYPE_MESSAGE) { in ReportModified()
/third_party/protobuf/python/google/protobuf/pyext/
Dextension_dict.cc144 descriptor->cpp_type() != FieldDescriptor::CPPTYPE_MESSAGE) { in subscript()
156 descriptor->cpp_type() == FieldDescriptor::CPPTYPE_MESSAGE) { in subscript()
168 if (descriptor->cpp_type() == FieldDescriptor::CPPTYPE_MESSAGE) { in subscript()
222 descriptor->cpp_type() == FieldDescriptor::CPPTYPE_MESSAGE) { in ass_subscript()
Dmessage.cc876 if (existing_field->cpp_type() != FieldDescriptor::CPPTYPE_MESSAGE) { in MaybeReleaseOverlappingOneofField()
895 if (descriptor->cpp_type() == FieldDescriptor::CPPTYPE_MESSAGE && in FixupMessageAfterMerge()
1070 if (field_descriptor->cpp_type() != FieldDescriptor::CPPTYPE_MESSAGE) { in DeleteRepeatedField()
1129 if (value_descriptor->cpp_type() == FieldDescriptor::CPPTYPE_MESSAGE) { in InitAttributes()
1161 if (descriptor->cpp_type() == FieldDescriptor::CPPTYPE_MESSAGE) { in InitAttributes()
1223 } else if (descriptor->cpp_type() == FieldDescriptor::CPPTYPE_MESSAGE) { in InitAttributes()
1586 field_descriptor->cpp_type() != FieldDescriptor::CPPTYPE_MESSAGE) { in InternalReleaseFieldByDescriptor()
1593 field_descriptor->cpp_type() == FieldDescriptor::CPPTYPE_MESSAGE) { in InternalReleaseFieldByDescriptor()
2621 field_descriptor->cpp_type() != FieldDescriptor::CPPTYPE_MESSAGE) { in GetFieldValue()
2629 if (value_type->cpp_type() == FieldDescriptor::CPPTYPE_MESSAGE) { in GetFieldValue()
[all …]
/third_party/grpc/third_party/upb/upbc/
Dprotoc-gen-upb.cc77 protobuf::FieldDescriptor::CPPTYPE_MESSAGE) { in SortedSubmessages()
102 case protobuf::FieldDescriptor::CPPTYPE_MESSAGE: { in CTypeInternal()
133 case protobuf::FieldDescriptor::CPPTYPE_MESSAGE: in SizeLg2()
161 case protobuf::FieldDescriptor::CPPTYPE_MESSAGE: in FieldDefault()
404 if (field->cpp_type() == protobuf::FieldDescriptor::CPPTYPE_MESSAGE) { in GenerateMessageInHeader()
464 if (field->cpp_type() == protobuf::FieldDescriptor::CPPTYPE_MESSAGE && in GenerateMessageInHeader()
536 if (field->cpp_type() == protobuf::FieldDescriptor::CPPTYPE_MESSAGE && in WriteHeader()
760 if (field->cpp_type() == protobuf::FieldDescriptor::CPPTYPE_MESSAGE) { in TryFillTableEntry()
875 if (field->cpp_type() == protobuf::FieldDescriptor::CPPTYPE_MESSAGE) { in WriteSource()
Dgenerator.cc160 protobuf::FieldDescriptor::CPPTYPE_MESSAGE) { in SortedSubmessages()
205 case protobuf::FieldDescriptor::CPPTYPE_MESSAGE: { in CTypeInternal()
236 case protobuf::FieldDescriptor::CPPTYPE_MESSAGE: in UpbType()
264 case protobuf::FieldDescriptor::CPPTYPE_MESSAGE: in FieldDefault()
511 if (field->cpp_type() == protobuf::FieldDescriptor::CPPTYPE_MESSAGE) { in GenerateMessageInHeader()
573 if (field->cpp_type() == protobuf::FieldDescriptor::CPPTYPE_MESSAGE && in GenerateMessageInHeader()
644 if (field->cpp_type() == protobuf::FieldDescriptor::CPPTYPE_MESSAGE && in WriteHeader()
748 if (field->cpp_type() == protobuf::FieldDescriptor::CPPTYPE_MESSAGE) { in WriteSource()
Dmessage_layout.cc43 case protobuf::FieldDescriptor::CPPTYPE_MESSAGE: in SizeOfUnwrapped()
85 case protobuf::FieldDescriptor::CPPTYPE_MESSAGE: in FieldLayoutRank()
/third_party/protobuf/python/google/protobuf/
Djson_format.py259 field.cpp_type == descriptor.FieldDescriptor.CPPTYPE_MESSAGE) or
284 if field.cpp_type == descriptor.FieldDescriptor.CPPTYPE_MESSAGE:
543 if (field.cpp_type == descriptor.FieldDescriptor.CPPTYPE_MESSAGE
560 if field.cpp_type == descriptor.FieldDescriptor.CPPTYPE_MESSAGE:
578 elif field.cpp_type == descriptor.FieldDescriptor.CPPTYPE_MESSAGE:
697 if value_field.cpp_type == descriptor.FieldDescriptor.CPPTYPE_MESSAGE:
/third_party/protobuf/src/google/protobuf/compiler/php/
Dphp_generator.h81 return descriptor->cpp_type() == FieldDescriptor::CPPTYPE_MESSAGE && in IsWrapperType()
/third_party/protobuf/src/google/protobuf/compiler/js/
Djs_generator.cc255 GOOGLE_CHECK(field->cpp_type() == FieldDescriptor::CPPTYPE_MESSAGE); in SubmessageTypeRef()
869 case FieldDescriptor::CPPTYPE_MESSAGE: in JSFieldDefault()
963 case FieldDescriptor::CPPTYPE_MESSAGE: in JSTypeName()
982 if (field->cpp_type() == FieldDescriptor::CPPTYPE_MESSAGE && in ReturnsNullWhenUnset()
1005 field->cpp_type() != FieldDescriptor::CPPTYPE_MESSAGE) { in DeclaredReturnTypeIsNullable()
1239 field->cpp_type() == FieldDescriptor::CPPTYPE_MESSAGE); in RelativeTypeName()
1960 } else if (field->cpp_type() == FieldDescriptor::CPPTYPE_MESSAGE) { in FindRequiresForField()
2346 if (value_field->cpp_type() == FieldDescriptor::CPPTYPE_MESSAGE) { in GenerateClassFieldToObject()
2356 } else if (field->cpp_type() == FieldDescriptor::CPPTYPE_MESSAGE) { in GenerateClassFieldToObject()
2494 } else if (field->cpp_type() == FieldDescriptor::CPPTYPE_MESSAGE) { in GenerateClassFieldFromObject()
[all …]
/third_party/protobuf/src/google/protobuf/compiler/ruby/
Druby_generator.cc186 if (value_field->cpp_type() == FieldDescriptor::CPPTYPE_MESSAGE) { in GenerateField()
208 if (field->cpp_type() == FieldDescriptor::CPPTYPE_MESSAGE) { in GenerateField()
468 if ((field->cpp_type() == FieldDescriptor::CPPTYPE_MESSAGE && in UsesTypeFromFile()

123