Home
last modified time | relevance | path

Searched refs:TYPE_MESSAGE (Results 1 – 25 of 65) sorted by relevance

123

/third_party/protobuf/src/google/protobuf/
Dmap_type_handler.h147 class MapTypeHandler<WireFormatLite::TYPE_MESSAGE, Type> {
151 typedef typename MapWireFieldTypeTraits<WireFormatLite::TYPE_MESSAGE,
155 typedef typename MapWireFieldTypeTraits<WireFormatLite::TYPE_MESSAGE,
159 MapWireFieldTypeTraits<WireFormatLite::TYPE_MESSAGE, Type>::kWireType;
162 MapWireFieldTypeTraits<WireFormatLite::TYPE_MESSAGE, Type>::kIsMessage;
165 MapWireFieldTypeTraits<WireFormatLite::TYPE_MESSAGE, Type>::kIsEnum;
275 inline size_t MapTypeHandler<WireFormatLite::TYPE_MESSAGE, Type>::ByteSize(
317 inline int MapTypeHandler<WireFormatLite::TYPE_MESSAGE, Type>::GetCachedSize(
362 inline uint8* MapTypeHandler<WireFormatLite::TYPE_MESSAGE, Type>::Write(
409 inline bool MapTypeHandler<WireFormatLite::TYPE_MESSAGE, Type>::Read(
[all …]
Dextension_set_inl.h78 case WireFormatLite::TYPE_MESSAGE: in ParseFieldWithExtensionInfo()
188 case WireFormatLite::TYPE_MESSAGE: { in ParseFieldWithExtensionInfo()
191 ? AddMessage(number, WireFormatLite::TYPE_MESSAGE, in ParseFieldWithExtensionInfo()
194 : MutableMessage(number, WireFormatLite::TYPE_MESSAGE, in ParseFieldWithExtensionInfo()
228 ? AddMessage(type_id, WireFormatLite::TYPE_MESSAGE, in ParseMessageSetItemTmpl()
231 : MutableMessage(type_id, WireFormatLite::TYPE_MESSAGE, in ParseMessageSetItemTmpl()
Dgenerated_message_util.cc402 struct SingularFieldHelper<WireFormatLite::TYPE_MESSAGE> {
477 struct RepeatedFieldHelper<WireFormatLite::TYPE_MESSAGE> {
529 struct PackedFieldHelper<WireFormatLite::TYPE_MESSAGE>
588 bool IsNull<WireFormatLite::TYPE_MESSAGE>(const void* ptr) { in IsNull()
637 SERIALIZERS_FOR_TYPE(WireFormatLite::TYPE_MESSAGE); in SerializeInternal()
682 SERIALIZERS_FOR_TYPE(WireFormatLite::TYPE_MESSAGE); in SerializeInternalToArray()
Dgenerated_message_table_driven_lite.h151 case WireFormatLite::TYPE_MESSAGE: in ClearOneofField()
656 case WireFormatLite::TYPE_MESSAGE: { in MergePartialFromCodedStreamInlined()
681 case WireFormatLite::TYPE_MESSAGE | kRepeatedMask: { in MergePartialFromCodedStreamInlined()
699 case WireFormatLite::TYPE_MESSAGE | kOneofMask: { in MergePartialFromCodedStreamInlined()
823 case WireFormatLite::TYPE_MESSAGE: in MergePartialFromCodedStreamInlined()
Dextension_set.cc141 GOOGLE_CHECK_NE(type, WireFormatLite::TYPE_MESSAGE); in RegisterExtension()
176 GOOGLE_CHECK(type == WireFormatLite::TYPE_MESSAGE || in RegisterMessageExtension()
1284 case WireFormatLite::TYPE_MESSAGE: in ParseFieldWithExtensionInfo()
1378 case WireFormatLite::TYPE_MESSAGE: { in ParseFieldWithExtensionInfo()
1381 ? AddMessage(number, WireFormatLite::TYPE_MESSAGE, in ParseFieldWithExtensionInfo()
1384 : MutableMessage(number, WireFormatLite::TYPE_MESSAGE, in ParseFieldWithExtensionInfo()
1606 case WireFormatLite::TYPE_MESSAGE: in ByteSize()
1678 case WireFormatLite::TYPE_MESSAGE: { in ByteSize()
1969 case WireFormatLite::TYPE_MESSAGE: in InternalSerializeFieldWithCachedSizesToArray()
2060 case WireFormatLite::TYPE_MESSAGE: in InternalSerializeFieldWithCachedSizesToArray()
[all …]
Dwire_format.cc403 field->type() != FieldDescriptor::TYPE_MESSAGE) { in ParseAndMergeMessageSetField()
511 case FieldDescriptor::TYPE_MESSAGE: in ParseAndMergeField()
618 case FieldDescriptor::TYPE_MESSAGE: { in ParseAndMergeField()
882 case FieldDescriptor::TYPE_MESSAGE: in _InternalParseAndMergeField()
1016 case FieldDescriptor::TYPE_MESSAGE: { in _InternalParseAndMergeField()
1072 case FieldDescriptor::TYPE_MESSAGE: in SerializeMapKeyWithCachedSizes()
1130 case FieldDescriptor::TYPE_MESSAGE: in SerializeMapValueRefWithCachedSizes()
1534 case FieldDescriptor::TYPE_MESSAGE: in MapKeyDataOnlyByteSize()
Ddescriptor_unittest.cc675 FieldDescriptorProto::TYPE_MESSAGE) in SetUp()
706 FieldDescriptorProto::TYPE_MESSAGE) in SetUp()
973 EXPECT_EQ(FieldDescriptor::TYPE_MESSAGE, baz_->type()); in TEST_F()
1087 FieldDescriptorProto::TYPE_MESSAGE); in SetUp()
1883 FieldDescriptorProto::TYPE_MESSAGE) in SetUp()
1946 EXPECT_EQ(FieldDescriptor::TYPE_MESSAGE, bar_->extension(0)->type()); in TEST_F()
2291 if (type == FieldDescriptor::TYPE_MESSAGE || in GetFieldDescriptorOfType()
2356 EXPECT_STREQ("message", GetTypeNameForFieldType(FD::TYPE_MESSAGE)); in TEST_F()
2381 EXPECT_STREQ("message", FD::TypeName(FD::TYPE_MESSAGE)); in TEST_F()
2406 EXPECT_EQ(FD::CPPTYPE_MESSAGE, GetCppTypeForFieldType(FD::TYPE_MESSAGE)); in TEST_F()
[all …]
/third_party/protobuf/src/google/protobuf/compiler/csharp/
Dcsharp_message_field.cc119 if (descriptor_->type() == FieldDescriptor::Type::TYPE_MESSAGE) { in GenerateParsingCode()
127 if (descriptor_->type() == FieldDescriptor::Type::TYPE_MESSAGE) { in GenerateSerializationCode()
146 if (descriptor_->type() == FieldDescriptor::Type::TYPE_MESSAGE) { in GenerateSerializedSizeCode()
196 if (descriptor_->type() == FieldDescriptor::Type::TYPE_MESSAGE) { in GenerateCodecCode()
271 if (descriptor_->type() == FieldDescriptor::Type::TYPE_MESSAGE) { in GenerateParsingCode()
Dcsharp_field_base.cc179 } else if (descriptor_->type() == FieldDescriptor::TYPE_MESSAGE && in AddDeprecatedFlag()
214 case FieldDescriptor::TYPE_MESSAGE: in type_name()
269 case FieldDescriptor::TYPE_MESSAGE: in has_default_value()
342 case FieldDescriptor::TYPE_MESSAGE: in default_value()
416 case FieldDescriptor::TYPE_MESSAGE: in capitalized_type_name()
Dcsharp_helpers.h153 return descriptor->type() == FieldDescriptor::TYPE_MESSAGE && in IsWrapperType()
173 descriptor->type() == FieldDescriptor::TYPE_MESSAGE) { in SupportsPresenceApi()
Dcsharp_helpers.cc99 case FieldDescriptor::TYPE_MESSAGE: in GetCSharpType()
453 case FieldDescriptor::TYPE_MESSAGE : return -1; in GetFixedSize()
509 case FieldDescriptor::TYPE_MESSAGE: in CreateFieldGenerator()
576 case FieldDescriptor::TYPE_MESSAGE: in IsNullable()
/third_party/protobuf/php/src/Google/Protobuf/Internal/FieldDescriptorProto/
DType.php73 const TYPE_MESSAGE = 11; define in Google\\Protobuf\\Internal\\FieldDescriptorProto\\Type
120 self::TYPE_MESSAGE => 'TYPE_MESSAGE',
/third_party/protobuf/php/src/Google/Protobuf/Field/
DKind.php87 const TYPE_MESSAGE = 11; define in Google\\Protobuf\\Field\\Kind
143 self::TYPE_MESSAGE => 'TYPE_MESSAGE',
/third_party/protobuf/python/google/protobuf/internal/
Dtype_checkers.py329 _FieldDescriptor.TYPE_MESSAGE: wire_format.MessageByteSize,
352 _FieldDescriptor.TYPE_MESSAGE: encoder.MessageEncoder,
375 _FieldDescriptor.TYPE_MESSAGE: encoder.MessageSizer,
398 _FieldDescriptor.TYPE_MESSAGE: decoder.MessageDecoder,
421 _FieldDescriptor.TYPE_MESSAGE:
Dwire_format.py254 descriptor.FieldDescriptor.TYPE_MESSAGE,
/third_party/protobuf/src/google/protobuf/util/
Dtype_resolver_util_test.cc219 EXPECT_TRUE(HasField(type, Field::CARDINALITY_OPTIONAL, Field::TYPE_MESSAGE, in TEST_F()
221 EXPECT_TRUE(HasField(type, Field::CARDINALITY_OPTIONAL, Field::TYPE_MESSAGE, in TEST_F()
280 EXPECT_TRUE(HasField(type, Field::CARDINALITY_REPEATED, Field::TYPE_MESSAGE, in TEST_F()
282 EXPECT_TRUE(HasField(type, Field::CARDINALITY_REPEATED, Field::TYPE_MESSAGE, in TEST_F()
322 EXPECT_TRUE(HasField(type, Field::CARDINALITY_OPTIONAL, Field::TYPE_MESSAGE, in TEST_F()
340 EXPECT_TRUE(HasField(type, Field::CARDINALITY_REPEATED, Field::TYPE_MESSAGE, in TEST_F()
/third_party/protobuf/benchmarks/util/
Ddata_proto2_to_proto3_util.h28 if (field->type() == FieldDescriptor::TYPE_MESSAGE) { in StripMessage()
/third_party/protobuf/src/google/protobuf/compiler/java/
Djava_helpers.cc354 case FieldDescriptor::TYPE_MESSAGE: in GetJavaType()
480 case FieldDescriptor::TYPE_MESSAGE: in FieldTypeName()
762 case FieldDescriptor::TYPE_MESSAGE: in GetCapitalizedType()
813 case FieldDescriptor::TYPE_MESSAGE: in FixedSize()
Djava_map_field.cc47 GOOGLE_CHECK_EQ(FieldDescriptor::TYPE_MESSAGE, descriptor->type()); in KeyField()
54 GOOGLE_CHECK_EQ(FieldDescriptor::TYPE_MESSAGE, descriptor->type()); in ValueField()
Djava_map_field_lite.cc47 GOOGLE_CHECK_EQ(FieldDescriptor::TYPE_MESSAGE, descriptor->type()); in KeyField()
54 GOOGLE_CHECK_EQ(FieldDescriptor::TYPE_MESSAGE, descriptor->type()); in ValueField()
/third_party/protobuf/python/google/protobuf/
Ddescriptor_pool.py114 field.type == descriptor.FieldDescriptor.TYPE_MESSAGE and
1058 field_proto.type = descriptor.FieldDescriptor.TYPE_MESSAGE
1065 if (field_proto.type == descriptor.FieldDescriptor.TYPE_MESSAGE
1090 elif field_proto.type == descriptor.FieldDescriptor.TYPE_MESSAGE:
1108 elif field_proto.type == descriptor.FieldDescriptor.TYPE_MESSAGE:
/third_party/protobuf/src/google/protobuf/util/internal/
Dproto_writer.cc316 field->kind() == google::protobuf::Field::TYPE_MESSAGE in ProtoElement()
331 if (field->kind() == google::protobuf::Field::TYPE_MESSAGE) { in ProtoElement()
627 field.kind() == google::protobuf::Field::TYPE_MESSAGE) { in RenderPrimitiveField()
776 return ((field->kind() == google::protobuf::Field::TYPE_MESSAGE || in LookupType()
Ddefault_value_objectwriter.cc283 if (sub_field.kind() != google::protobuf::Field::TYPE_MESSAGE) { in GetMapValueType()
349 if (field.kind() == google::protobuf::Field::TYPE_MESSAGE) { in PopulateChildren()
/third_party/protobuf/conformance/
Dbinary_json_conformance_suite.cc177 case FieldDescriptor::TYPE_MESSAGE: in GetDefaultValue()
211 case FieldDescriptor::TYPE_MESSAGE: in GetNonDefaultValue()
719 if (type == FieldDescriptor::TYPE_MESSAGE) { in TestPrematureEOFForType()
781 if (type != FieldDescriptor::TYPE_MESSAGE) { in TestValidDataForType()
935 GetFieldForType(FieldDescriptor::TYPE_MESSAGE, false, is_proto3); in TestValidDataForRepeatedScalarMessage()
1089 FieldDescriptor::TYPE_STRING, FieldDescriptor::TYPE_MESSAGE, is_proto3); in TestOverwriteMessageValueMap()
1212 GetFieldForOneofType(FieldDescriptor::TYPE_MESSAGE, is_proto3); in TestMergeOneofMessage()
1469 FieldDescriptor::TYPE_MESSAGE, in RunSuiteImpl()
1509 FieldDescriptor::TYPE_MESSAGE); in RunSuiteImpl()
1521 TestValidDataForOneofType(FieldDescriptor::TYPE_MESSAGE); in RunSuiteImpl()
/third_party/protobuf/src/google/protobuf/compiler/cpp/
Dcpp_primitive_field.cc90 case FieldDescriptor::TYPE_MESSAGE: in FixedSize()

123