Home
last modified time | relevance | path

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

123

/external/protobuf/src/google/protobuf/
Dmap_type_handler.h141 class MapTypeHandler<WireFormatLite::TYPE_MESSAGE, Type> {
145 typedef typename MapWireFieldTypeTraits<WireFormatLite::TYPE_MESSAGE,
148 typedef typename MapWireFieldTypeTraits<WireFormatLite::TYPE_MESSAGE,
152 MapWireFieldTypeTraits<WireFormatLite::TYPE_MESSAGE, Type>::kWireType;
155 MapWireFieldTypeTraits<WireFormatLite::TYPE_MESSAGE, Type>::kIsMessage;
158 MapWireFieldTypeTraits<WireFormatLite::TYPE_MESSAGE, Type>::kIsEnum;
270 MapTypeHandler<WireFormatLite::TYPE_MESSAGE, Type>::ByteSize(
313 MapTypeHandler<WireFormatLite::TYPE_MESSAGE, Type>::GetCachedSize(
357 inline void MapTypeHandler<WireFormatLite::TYPE_MESSAGE, Type>::Write(
365 MapTypeHandler<WireFormatLite::TYPE_MESSAGE, Type>::WriteToArray(
[all …]
Dextension_set_heavy.cc450 case WireFormatLite::TYPE_MESSAGE: in SerializeFieldWithCachedSizesToArray()
511 case FieldDescriptor::TYPE_MESSAGE: in SerializeFieldWithCachedSizesToArray()
527 if (type != WireFormatLite::TYPE_MESSAGE || is_repeated) { in SerializeMessageSetItemWithCachedSizesToArray()
675 if (type != WireFormatLite::TYPE_MESSAGE || is_repeated) { in SerializeMessageSetItemWithCachedSizes()
706 if (type != WireFormatLite::TYPE_MESSAGE || is_repeated) { in MessageSetItemByteSize()
Dextension_set.cc134 GOOGLE_CHECK_NE(type, WireFormatLite::TYPE_MESSAGE); in RegisterExtension()
169 GOOGLE_CHECK(type == WireFormatLite::TYPE_MESSAGE || in RegisterMessageExtension()
1219 case WireFormatLite::TYPE_MESSAGE: in ParseFieldWithExtensionInfo()
1305 case WireFormatLite::TYPE_MESSAGE: { in ParseFieldWithExtensionInfo()
1307 AddMessage(number, WireFormatLite::TYPE_MESSAGE, in ParseFieldWithExtensionInfo()
1309 MutableMessage(number, WireFormatLite::TYPE_MESSAGE, in ParseFieldWithExtensionInfo()
1467 case WireFormatLite::TYPE_MESSAGE: in SerializeFieldWithCachedSizes()
1527 case WireFormatLite::TYPE_MESSAGE: in SerializeFieldWithCachedSizes()
1579 case WireFormatLite::TYPE_MESSAGE: in ByteSize()
1652 case WireFormatLite::TYPE_MESSAGE: { in ByteSize()
Ddescriptor_unittest.cc559 FieldDescriptorProto::TYPE_MESSAGE) in SetUp()
596 FieldDescriptorProto::TYPE_MESSAGE) in SetUp()
831 EXPECT_EQ(FieldDescriptor::TYPE_MESSAGE, baz_->type()); in TEST_F()
931 FieldDescriptorProto::TYPE_MESSAGE); in SetUp()
1744 FieldDescriptorProto::TYPE_MESSAGE) in SetUp()
1807 EXPECT_EQ(FieldDescriptor::TYPE_MESSAGE, bar_->extension(0)->type()); in TEST_F()
1991 if (type == FieldDescriptor::TYPE_MESSAGE || in GetFieldDescriptorOfType()
2057 EXPECT_STREQ("message" , GetTypeNameForFieldType(FD::TYPE_MESSAGE )); in TEST_F()
2082 EXPECT_STREQ("message" , FD::TypeName(FD::TYPE_MESSAGE )); in TEST_F()
2107 EXPECT_EQ(FD::CPPTYPE_MESSAGE, GetCppTypeForFieldType(FD::TYPE_MESSAGE )); in TEST_F()
[all …]
/external/nanopb-c/generator/google/protobuf/internal/
Dtype_checkers.py184 _FieldDescriptor.TYPE_MESSAGE: wire_format.MessageByteSize,
207 _FieldDescriptor.TYPE_MESSAGE: encoder.MessageEncoder,
230 _FieldDescriptor.TYPE_MESSAGE: encoder.MessageSizer,
253 _FieldDescriptor.TYPE_MESSAGE: decoder.MessageDecoder,
276 _FieldDescriptor.TYPE_MESSAGE:
Dwire_format.py254 descriptor.FieldDescriptor.TYPE_MESSAGE,
/external/protobuf/src/google/protobuf/util/
Dtype_resolver_util_test.cc196 Field::TYPE_MESSAGE, "optional_nested_message", 18)); in TEST_F()
198 Field::TYPE_MESSAGE, "optional_foreign_message", 19)); in TEST_F()
252 Field::TYPE_MESSAGE, "repeated_nested_message", 48)); in TEST_F()
254 Field::TYPE_MESSAGE, "repeated_foreign_message", 49)); in TEST_F()
299 Field::TYPE_MESSAGE, "oneof_nested_message", 112)); in TEST_F()
315 Field::TYPE_MESSAGE, "map_int32_int32", 1)); in TEST_F()
/external/protobuf/src/google/protobuf/compiler/javanano/
Djavanano_map_field.cc73 GOOGLE_CHECK_EQ(FieldDescriptor::TYPE_MESSAGE, descriptor->type()); in KeyField()
80 GOOGLE_CHECK_EQ(FieldDescriptor::TYPE_MESSAGE, descriptor->type()); in ValueField()
106 value->type() == FieldDescriptor::TYPE_MESSAGE in SetMapVariables()
Djavanano_extension.cc68 case FieldDescriptor::TYPE_MESSAGE : return "TYPE_MESSAGE" ; in GetTypeConstantName()
Djavanano_helpers.cc332 case FieldDescriptor::TYPE_MESSAGE: in GetJavaType()
580 if (field->type() == FieldDescriptor::TYPE_MESSAGE && in HasMapField()
/external/protobuf/src/google/protobuf/compiler/csharp/
Dcsharp_field_base.cc159 case FieldDescriptor::TYPE_MESSAGE: in type_name()
214 case FieldDescriptor::TYPE_MESSAGE: in has_default_value()
271 case FieldDescriptor::TYPE_MESSAGE: in is_nullable_type()
312 case FieldDescriptor::TYPE_MESSAGE: in default_value()
386 case FieldDescriptor::TYPE_MESSAGE: in capitalized_type_name()
Dcsharp_helpers.cc99 case FieldDescriptor::TYPE_MESSAGE: in GetCSharpType()
402 case FieldDescriptor::TYPE_MESSAGE : return -1; in GetFixedSize()
458 case FieldDescriptor::TYPE_MESSAGE: in CreateFieldGenerator()
Dcsharp_helpers.h124 return descriptor->type() == FieldDescriptor::TYPE_MESSAGE && in IsWrapperType()
/external/protobuf/python/google/protobuf/internal/
Dtype_checkers.py250 _FieldDescriptor.TYPE_MESSAGE: wire_format.MessageByteSize,
273 _FieldDescriptor.TYPE_MESSAGE: encoder.MessageEncoder,
296 _FieldDescriptor.TYPE_MESSAGE: encoder.MessageSizer,
319 _FieldDescriptor.TYPE_MESSAGE: decoder.MessageDecoder,
342 _FieldDescriptor.TYPE_MESSAGE:
Dwire_format.py254 descriptor.FieldDescriptor.TYPE_MESSAGE,
/external/protobuf/src/google/protobuf/compiler/java/
Djava_helpers.cc298 case FieldDescriptor::TYPE_MESSAGE: in GetJavaType()
368 case FieldDescriptor::TYPE_MESSAGE : return "MESSAGE"; in FieldTypeName()
643 case FieldDescriptor::TYPE_MESSAGE : return "Message"; in GetCapitalizedType()
676 case FieldDescriptor::TYPE_MESSAGE : return -1; 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()
Djava_message_builder_lite.cc74 GOOGLE_CHECK_EQ(FieldDescriptor::TYPE_MESSAGE, value_field->type()); in MapValueImmutableClassdName()
/external/protobuf/javanano/src/main/java/com/google/protobuf/nano/
DExtension.java68 public static final int TYPE_MESSAGE = InternalNano.TYPE_MESSAGE; field in Extension
229 case TYPE_MESSAGE: in readData()
272 case TYPE_MESSAGE: in writeSingularData()
324 case TYPE_MESSAGE: in computeSingularSerializedSize()
DInternalNano.java61 public static final int TYPE_MESSAGE = 11; field in InternalNano
366 case TYPE_MESSAGE: in primitiveDefaultValue()
412 if (valueType == TYPE_MESSAGE) { in mergeMapEntry()
/external/protobuf/src/google/protobuf/compiler/javamicro/
Djavamicro_primitive_field.cc114 case FieldDescriptor::TYPE_MESSAGE : return "Message" ; in GetCapitalizedType()
147 case FieldDescriptor::TYPE_MESSAGE : return -1; in FixedSize()
/external/protobuf/src/google/protobuf/compiler/cpp/
Dcpp_message_field.cc501 if (descriptor_->type() == FieldDescriptor::TYPE_MESSAGE) { in GenerateMergeFromCodedStream()
1009 if (descriptor_->type() == FieldDescriptor::TYPE_MESSAGE) { in GenerateMergeFromCodedStream()
/external/nanopb-c/generator/google/protobuf/
Ddescriptor.py372 TYPE_MESSAGE = 11 variable in FieldDescriptor
415 TYPE_MESSAGE: CPPTYPE_MESSAGE,
Ddescriptor_pool.py397 field_proto.type = descriptor.FieldDescriptor.TYPE_MESSAGE
404 if (field_proto.type == descriptor.FieldDescriptor.TYPE_MESSAGE

123