Home
last modified time | relevance | path

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

123

/external/protobuf/src/google/protobuf/
Dreflection_ops.cc128 case FieldDescriptor::CPPTYPE_MESSAGE: in Merge()
153 case FieldDescriptor::CPPTYPE_MESSAGE: in Merge()
195 if (field->cpp_type() == FieldDescriptor::CPPTYPE_MESSAGE) { in IsInitialized()
199 if (value_field->cpp_type() == FieldDescriptor::CPPTYPE_MESSAGE) { in IsInitialized()
247 if (field->cpp_type() == FieldDescriptor::CPPTYPE_MESSAGE) { in DiscardUnknownFields()
251 if (value_field->cpp_type() == FieldDescriptor::CPPTYPE_MESSAGE) { in DiscardUnknownFields()
320 if (field->cpp_type() == FieldDescriptor::CPPTYPE_MESSAGE) { in FindInitializationErrors()
Ddynamic_message.cc124 case FD::CPPTYPE_MESSAGE: in FieldSpaceUsed()
158 case FD::CPPTYPE_MESSAGE: in FieldSpaceUsed()
197 case FD::CPPTYPE_MESSAGE: in OneofFieldSpaceUsed()
419 case FieldDescriptor::CPPTYPE_MESSAGE: { in SharedCtor()
503 } else if (field->cpp_type() == FieldDescriptor::CPPTYPE_MESSAGE) { in ~DynamicMessage()
539 case FieldDescriptor::CPPTYPE_MESSAGE: in ~DynamicMessage()
563 } else if (field->cpp_type() == FieldDescriptor::CPPTYPE_MESSAGE) { in ~DynamicMessage()
585 if (field->cpp_type() == FieldDescriptor::CPPTYPE_MESSAGE && in CrossLinkPrototypes()
849 case FieldDescriptor::CPPTYPE_MESSAGE: { in ConstructDefaultOneofInstance()
Dmap_field.cc218 case FieldDescriptor::CPPTYPE_MESSAGE: { in AllocateMapValue()
336 case FieldDescriptor::CPPTYPE_MESSAGE: { in MergeFrom()
401 case FieldDescriptor::CPPTYPE_MESSAGE: in SyncRepeatedFieldWithMapNoLock()
434 case FieldDescriptor::CPPTYPE_MESSAGE: { in SyncRepeatedFieldWithMapNoLock()
483 case FieldDescriptor::CPPTYPE_MESSAGE: in SyncMapWithRepeatedFieldNoLock()
514 case FieldDescriptor::CPPTYPE_MESSAGE: { in SyncMapWithRepeatedFieldNoLock()
557 case FieldDescriptor::CPPTYPE_MESSAGE: { in SpaceUsedExcludingSelfNoLock()
Dmap_field.h455 case FieldDescriptor::CPPTYPE_MESSAGE:
483 case FieldDescriptor::CPPTYPE_MESSAGE:
509 case FieldDescriptor::CPPTYPE_MESSAGE:
645 TYPE_CHECK(FieldDescriptor::CPPTYPE_MESSAGE,
651 TYPE_CHECK(FieldDescriptor::CPPTYPE_MESSAGE,
789 case ::PROTOBUF_NAMESPACE_ID::FieldDescriptor::CPPTYPE_MESSAGE:
Dgenerated_message_reflection.cc283 case FieldDescriptor::CPPTYPE_MESSAGE: in SpaceUsedLong()
344 case FieldDescriptor::CPPTYPE_MESSAGE: in SpaceUsedLong()
391 case FieldDescriptor::CPPTYPE_MESSAGE: in SwapField()
422 case FieldDescriptor::CPPTYPE_MESSAGE: in SwapField()
521 case FieldDescriptor::CPPTYPE_MESSAGE: in SwapOneofField()
552 case FieldDescriptor::CPPTYPE_MESSAGE: in SwapOneofField()
584 case FieldDescriptor::CPPTYPE_MESSAGE: in SwapOneofField()
768 case FieldDescriptor::CPPTYPE_MESSAGE: in FieldSize()
846 case FieldDescriptor::CPPTYPE_MESSAGE: in ClearField()
887 case FieldDescriptor::CPPTYPE_MESSAGE: { in ClearField()
[all …]
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()
443 case FieldDescriptor::CPPTYPE_MESSAGE: in SpaceUsedExcludingSelfLong()
460 case FieldDescriptor::CPPTYPE_MESSAGE: in SpaceUsedExcludingSelfLong()
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 …]
Dmessage.h1241 message, field, FieldDescriptor::CPPTYPE_MESSAGE, -1, nullptr)); in GetRepeatedPtrField()
1248 message, field, FieldDescriptor::CPPTYPE_MESSAGE, -1, nullptr)); in MutableRepeatedPtrField()
1255 GetRawRepeatedField(message, field, FieldDescriptor::CPPTYPE_MESSAGE, -1, in GetRepeatedPtrField()
1263 MutableRawRepeatedField(message, field, FieldDescriptor::CPPTYPE_MESSAGE, in MutableRepeatedPtrField()
Dtext_format.cc312 if (field->cpp_type() == FieldDescriptor::CPPTYPE_MESSAGE) { in ParseField()
562 if (field->cpp_type() == FieldDescriptor::CPPTYPE_MESSAGE) { in ConsumeField()
586 if (field->cpp_type() == FieldDescriptor::CPPTYPE_MESSAGE) { in ConsumeField()
598 } else if (field->cpp_type() == FieldDescriptor::CPPTYPE_MESSAGE) { in ConsumeField()
824 case FieldDescriptor::CPPTYPE_MESSAGE: { in ConsumeFieldValue()
2132 case FieldDescriptor::CPPTYPE_MESSAGE: in CopyKey()
2170 case FieldDescriptor::CPPTYPE_MESSAGE: { in CopyValue()
2204 field->cpp_type() != FieldDescriptor::CPPTYPE_MESSAGE) { in PrintField()
2232 if (field->cpp_type() == FieldDescriptor::CPPTYPE_MESSAGE) { in PrintField()
2379 case FieldDescriptor::CPPTYPE_MESSAGE: in PrintFieldValue()
/external/protobuf/python/google/protobuf/internal/
Dpython_message.py277 return value_type.cpp_type == _FieldDescriptor.CPPTYPE_MESSAGE
425 if field.cpp_type == _FieldDescriptor.CPPTYPE_MESSAGE:
440 if field.cpp_type == _FieldDescriptor.CPPTYPE_MESSAGE:
518 if field.cpp_type == _FieldDescriptor.CPPTYPE_MESSAGE: # Composite
537 elif field.cpp_type == _FieldDescriptor.CPPTYPE_MESSAGE:
606 elif field.cpp_type == _FieldDescriptor.CPPTYPE_MESSAGE:
805 elif item[0].cpp_type == _FieldDescriptor.CPPTYPE_MESSAGE:
836 if (is_proto3 and field.cpp_type != _FieldDescriptor.CPPTYPE_MESSAGE and
858 if field.cpp_type == _FieldDescriptor.CPPTYPE_MESSAGE:
924 if extension_handle.cpp_type == _FieldDescriptor.CPPTYPE_MESSAGE:
[all …]
Dextension_dict.py89 elif extension_handle.cpp_type == FieldDescriptor.CPPTYPE_MESSAGE:
152 extension_handle.cpp_type == FieldDescriptor.CPPTYPE_MESSAGE):
201 if extension_handle.cpp_type == FieldDescriptor.CPPTYPE_MESSAGE:
/external/protobuf/src/google/protobuf/compiler/cpp/
Dcpp_field.cc156 case FieldDescriptor::CPPTYPE_MESSAGE: in MakeGenerator()
172 case FieldDescriptor::CPPTYPE_MESSAGE: in MakeGenerator()
183 case FieldDescriptor::CPPTYPE_MESSAGE: in MakeGenerator()
Dcpp_message.cc158 field->cpp_type() == FieldDescriptor::CPPTYPE_MESSAGE); in CanConstructByZeroing()
177 } else if (field->cpp_type() == FieldDescriptor::CPPTYPE_MESSAGE) { in EmitFieldNonDefaultCondition()
205 return field->cpp_type() == FieldDescriptor::CPPTYPE_MESSAGE; in HasHasMethod()
217 case FieldDescriptor::CPPTYPE_MESSAGE: in CollectMapInfo()
807 if (field->cpp_type() == FieldDescriptor::CPPTYPE_MESSAGE) { in GenerateSingularFieldHasBits()
1596 if (field->cpp_type() == FieldDescriptor::CPPTYPE_MESSAGE || in GenerateExtraDefaultFields()
1755 if (field->cpp_type() == FieldDescriptor::CPPTYPE_MESSAGE) { in GenerateFieldMetadata()
1815 if (field->cpp_type() == FieldDescriptor::CPPTYPE_MESSAGE) { in GenerateFieldMetadata()
1921 field->cpp_type() == FieldDescriptor::CPPTYPE_MESSAGE && in GenerateDefaultInstanceInitializer()
2271 case FieldDescriptor::CPPTYPE_MESSAGE: { in GenerateParseAuxTable()
[all …]
Dcpp_extension.cc80 case FieldDescriptor::CPPTYPE_MESSAGE: in ExtensionGenerator()
/external/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()
/external/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()
218 descriptor->cpp_type() == FieldDescriptor::CPPTYPE_MESSAGE) { in ass_subscript()
Dmessage.cc850 if (existing_field->cpp_type() != FieldDescriptor::CPPTYPE_MESSAGE) { in MaybeReleaseOverlappingOneofField()
869 if (descriptor->cpp_type() == FieldDescriptor::CPPTYPE_MESSAGE && in FixupMessageAfterMerge()
1044 if (field_descriptor->cpp_type() != FieldDescriptor::CPPTYPE_MESSAGE) { in DeleteRepeatedField()
1103 if (value_descriptor->cpp_type() == FieldDescriptor::CPPTYPE_MESSAGE) { in InitAttributes()
1135 if (descriptor->cpp_type() == FieldDescriptor::CPPTYPE_MESSAGE) { in InitAttributes()
1197 } else if (descriptor->cpp_type() == FieldDescriptor::CPPTYPE_MESSAGE) { in InitAttributes()
1420 if (field_descriptor->cpp_type() != FieldDescriptor::CPPTYPE_MESSAGE) { in CheckHasPresence()
1572 field_descriptor->cpp_type() != FieldDescriptor::CPPTYPE_MESSAGE) { in InternalReleaseFieldByDescriptor()
1579 field_descriptor->cpp_type() == FieldDescriptor::CPPTYPE_MESSAGE) { in InternalReleaseFieldByDescriptor()
2645 field_descriptor->cpp_type() != FieldDescriptor::CPPTYPE_MESSAGE) { in GetFieldValue()
[all …]
/external/libprotobuf-mutator/src/
Dmutator.cc92 field.cpp_type() != FieldDescriptor::CPPTYPE_MESSAGE && in IsProto3SimpleField()
226 if (current_field->cpp_type() != FieldDescriptor::CPPTYPE_MESSAGE) in SampleImpl()
241 if (field->cpp_type() != FieldDescriptor::CPPTYPE_MESSAGE) in SampleImpl()
249 if (field->cpp_type() != FieldDescriptor::CPPTYPE_MESSAGE) in SampleImpl()
263 if (field->cpp_type() == FieldDescriptor::CPPTYPE_MESSAGE) { in SampleImpl()
324 if (field->cpp_type() == FieldDescriptor::CPPTYPE_MESSAGE) { in SampleImpl()
338 } else if (match_.cpp_type() == FieldDescriptor::CPPTYPE_MESSAGE) { in SampleImpl()
414 if (field->cpp_type() == FieldDescriptor::CPPTYPE_MESSAGE) { in UnpackAny()
453 if (field->cpp_type() != FieldDescriptor::CPPTYPE_MESSAGE) continue; in Run()
/external/protobuf/python/google/protobuf/
Djson_format.py248 field.cpp_type == descriptor.FieldDescriptor.CPPTYPE_MESSAGE) or
273 if field.cpp_type == descriptor.FieldDescriptor.CPPTYPE_MESSAGE:
526 if (field.cpp_type == descriptor.FieldDescriptor.CPPTYPE_MESSAGE
543 if field.cpp_type == descriptor.FieldDescriptor.CPPTYPE_MESSAGE:
561 elif field.cpp_type == descriptor.FieldDescriptor.CPPTYPE_MESSAGE:
679 if value_field.cpp_type == descriptor.FieldDescriptor.CPPTYPE_MESSAGE:
/external/protobuf/src/google/protobuf/compiler/php/
Dphp_generator.h62 return descriptor->cpp_type() == FieldDescriptor::CPPTYPE_MESSAGE && in IsWrapperType()
/external/protobuf/src/google/protobuf/compiler/js/
Djs_generator.cc257 GOOGLE_CHECK(field->cpp_type() == FieldDescriptor::CPPTYPE_MESSAGE); in SubmessageTypeRef()
864 case FieldDescriptor::CPPTYPE_MESSAGE: in JSFieldDefault()
958 case FieldDescriptor::CPPTYPE_MESSAGE: in JSTypeName()
977 if (field->cpp_type() == FieldDescriptor::CPPTYPE_MESSAGE && in ReturnsNullWhenUnset()
1000 field->cpp_type() != FieldDescriptor::CPPTYPE_MESSAGE) { in DeclaredReturnTypeIsNullable()
1241 field->cpp_type() == FieldDescriptor::CPPTYPE_MESSAGE); in RelativeTypeName()
1434 return field->cpp_type() == FieldDescriptor::CPPTYPE_MESSAGE || in HasFieldPresence()
1973 } else if (field->cpp_type() == FieldDescriptor::CPPTYPE_MESSAGE) { in FindRequiresForField()
2359 if (value_field->cpp_type() == FieldDescriptor::CPPTYPE_MESSAGE) { in GenerateClassFieldToObject()
2369 } else if (field->cpp_type() == FieldDescriptor::CPPTYPE_MESSAGE) { in GenerateClassFieldToObject()
[all …]
/external/tensorflow/tensorflow/tools/proto_text/
Dgen_proto_text_functions_lib.cc226 string cpp_class = d.cpp_type() == FieldDescriptor::CPPTYPE_MESSAGE in GetCppClass()
293 case FieldDescriptor::CPPTYPE_MESSAGE: in AppendFieldValueAppend()
509 if (field->cpp_type() == FieldDescriptor::CPPTYPE_MESSAGE) { in AppendParseMessageFunction()
741 case FieldDescriptor::CPPTYPE_MESSAGE: in GetAllFileDescriptorsFromMessage()
/external/protobuf/src/google/protobuf/compiler/ruby/
Druby_generator.cc182 if (value_field->cpp_type() == FieldDescriptor::CPPTYPE_MESSAGE) { in GenerateField()
204 if (field->cpp_type() == FieldDescriptor::CPPTYPE_MESSAGE) { in GenerateField()
464 if ((field->cpp_type() == FieldDescriptor::CPPTYPE_MESSAGE && in UsesTypeFromFile()
/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()
/external/perfetto/src/trace_processor/util/
Dproto_to_json.cc116 case FieldDescriptor::CppType::CPPTYPE_MESSAGE: in FieldToJson()
266 if (field_desc->cpp_type() != FieldDescriptor::CppType::CPPTYPE_MESSAGE) in NestedMessageFieldOptionsToJson()

123