Home
last modified time | relevance | path

Searched refs:TYPE_ENUM (Results 1 – 22 of 22) sorted by relevance

/external/protobuf/python/google/protobuf/internal/
Dtype_checkers.py187 _FieldDescriptor.TYPE_ENUM: wire_format.EnumByteSize,
210 _FieldDescriptor.TYPE_ENUM: encoder.EnumEncoder,
233 _FieldDescriptor.TYPE_ENUM: encoder.EnumSizer,
256 _FieldDescriptor.TYPE_ENUM: decoder.EnumDecoder,
281 _FieldDescriptor.TYPE_ENUM: wire_format.WIRETYPE_VARINT,
/external/protobuf/src/google/protobuf/
Dextension_set.cc115 GOOGLE_CHECK_NE(type, WireFormatLite::TYPE_ENUM); in RegisterExtension()
139 GOOGLE_CHECK_EQ(type, WireFormatLite::TYPE_ENUM); in RegisterEnumExtension()
759 case WireFormatLite::TYPE_ENUM: in ParseField()
762 if (!WireFormatLite::ReadPrimitive<int, WireFormatLite::TYPE_ENUM>( in ParseField()
766 AddEnum(number, WireFormatLite::TYPE_ENUM, true, value, in ParseField()
813 case WireFormatLite::TYPE_ENUM: { in ParseField()
815 if (!WireFormatLite::ReadPrimitive<int, WireFormatLite::TYPE_ENUM>( in ParseField()
823 AddEnum(number, WireFormatLite::TYPE_ENUM, false, value, in ParseField()
826 SetEnum(number, WireFormatLite::TYPE_ENUM, value, in ParseField()
Dwire_format.cc483 case FieldDescriptor::TYPE_ENUM: { in ParseAndMergeField()
486 if (!WireFormatLite::ReadPrimitive<int, WireFormatLite::TYPE_ENUM>( in ParseAndMergeField()
544 case FieldDescriptor::TYPE_ENUM: { in ParseAndMergeField()
546 if (!WireFormatLite::ReadPrimitive<int, WireFormatLite::TYPE_ENUM>( in ParseAndMergeField()
817 case FieldDescriptor::TYPE_ENUM: { in SerializeFieldWithCachedSizes()
994 case FieldDescriptor::TYPE_ENUM: { in FieldDataOnlyByteSize()
Ddescriptor_unittest.cc409 FieldDescriptorProto::TYPE_ENUM) in SetUp()
587 EXPECT_EQ(FieldDescriptor::TYPE_ENUM , bar_->type()); in TEST_F()
1391 FieldDescriptorProto::TYPE_ENUM) in SetUp()
1459 EXPECT_EQ(FieldDescriptor::TYPE_ENUM , foo_file_->extension(1)->type()); in TEST_F()
1536 } else if (type == FieldDescriptor::TYPE_ENUM) { in GetCppTypeForFieldType()
1572 EXPECT_EQ(FD::CPPTYPE_ENUM , GetCppTypeForFieldType(FD::TYPE_ENUM )); in TEST_F()
1614 AddField(message_proto, "enum", 10, label, FD::TYPE_ENUM); in TEST_F()
1633 AddField(message_proto, "implicit_enum" , 30, label, FD::TYPE_ENUM) in TEST_F()
1832 ASSERT_EQ(FieldDescriptor::TYPE_ENUM, qux_field_->type()); in TEST_F()
1864 EXPECT_EQ(FieldDescriptorProto::TYPE_ENUM, proto.type()); in TEST_F()
Dwire_format_lite.cc198 int, WireFormatLite::TYPE_ENUM>(input, &value)) { in ReadPackedEnumNoInline()
Ddescriptor.proto115 TYPE_ENUM = 14; enumerator
135 // are set, this must be either TYPE_ENUM or TYPE_MESSAGE.
Dwire_format_lite.h112 TYPE_ENUM = 14, enumerator
Ddescriptor.h316 TYPE_ENUM = 14, // Enum, varint on the wire enumerator
Dwire_format_lite_inl.h160 inline bool WireFormatLite::ReadPrimitive<int, WireFormatLite::TYPE_ENUM>(
Ddescriptor.cc1690 case TYPE_ENUM: in DebugString()
3425 bool expecting_enum = (proto.type() == FieldDescriptorProto::TYPE_ENUM) || in CrossLinkField()
3445 field->type_ = FieldDescriptor::TYPE_ENUM; in CrossLinkField()
Ddescriptor.pb.cc2182 const FieldDescriptorProto_Type FieldDescriptorProto::TYPE_ENUM; member in google::protobuf::FieldDescriptorProto
2394 int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>( in MergePartialFromCodedStream()
2415 int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>( in MergePartialFromCodedStream()
4294 int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>( in MergePartialFromCodedStream()
5114 int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>( in MergePartialFromCodedStream()
Ddescriptor.pb.h759 static const Type TYPE_ENUM = FieldDescriptorProto_Type_TYPE_ENUM; variable
/external/protobuf/src/google/protobuf/compiler/java/
Djava_primitive_field.cc112 case FieldDescriptor::TYPE_ENUM : return "Enum" ; in GetCapitalizedType()
142 case FieldDescriptor::TYPE_ENUM : return -1; in FixedSize()
Djava_extension.cc64 case FieldDescriptor::TYPE_ENUM : return "ENUM"; in TypeName()
Djava_helpers.cc217 case FieldDescriptor::TYPE_ENUM: in GetJavaType()
/external/protobuf/src/google/protobuf/compiler/javamicro/
Djavamicro_primitive_field.cc112 case FieldDescriptor::TYPE_ENUM : return "Enum" ; in GetCapitalizedType()
142 case FieldDescriptor::TYPE_ENUM : return -1; in FixedSize()
Djavamicro_helpers.cc289 case FieldDescriptor::TYPE_ENUM: in GetJavaType()
/external/protobuf/src/google/protobuf/compiler/cpp/
Dcpp_primitive_field.cc68 case FieldDescriptor::TYPE_ENUM : return -1; in FixedSize()
Dcpp_helpers.cc229 case FieldDescriptor::TYPE_ENUM : return "Enum"; in DeclaredTypeMethodName()
/external/protobuf/python/google/protobuf/
Ddescriptor.py341 TYPE_ENUM = 14 variable in FieldDescriptor
Dtext_format.py259 elif field.type == descriptor.FieldDescriptor.TYPE_ENUM:
/external/protobuf/src/google/protobuf/compiler/
Dparser.cc624 case FieldDescriptorProto::TYPE_ENUM: in ParseDefaultAssignment()