/third_party/protobuf/php/src/Google/Protobuf/Internal/FieldDescriptorProto/ |
D | Type.php | 87 const TYPE_ENUM = 14; define in Google\\Protobuf\\Internal\\FieldDescriptorProto\\Type 123 self::TYPE_ENUM => 'TYPE_ENUM',
|
/third_party/protobuf/php/src/Google/Protobuf/Field/ |
D | Kind.php | 105 const TYPE_ENUM = 14; define in Google\\Protobuf\\Field\\Kind 146 self::TYPE_ENUM => 'TYPE_ENUM',
|
/third_party/protobuf/python/google/protobuf/internal/ |
D | type_checkers.py | 332 _FieldDescriptor.TYPE_ENUM: wire_format.EnumByteSize, 355 _FieldDescriptor.TYPE_ENUM: encoder.EnumEncoder, 378 _FieldDescriptor.TYPE_ENUM: encoder.EnumSizer, 401 _FieldDescriptor.TYPE_ENUM: decoder.EnumDecoder, 426 _FieldDescriptor.TYPE_ENUM: wire_format.WIRETYPE_VARINT,
|
/third_party/protobuf/src/google/protobuf/ |
D | extension_set_inl.h | 69 case WireFormatLite::TYPE_ENUM: in ParseFieldWithExtensionInfo() 143 case WireFormatLite::TYPE_ENUM: { in ParseFieldWithExtensionInfo() 153 AddEnum(number, WireFormatLite::TYPE_ENUM, extension.is_packed, value, in ParseFieldWithExtensionInfo() 156 SetEnum(number, WireFormatLite::TYPE_ENUM, value, in ParseFieldWithExtensionInfo()
|
D | generated_message_table_driven_lite.h | 307 (!WireFormatLite::ReadPrimitive<int, WireFormatLite::TYPE_ENUM>( in HandleEnum() 592 case WireFormatLite::TYPE_ENUM: { in MergePartialFromCodedStreamInlined() 601 case WireFormatLite::TYPE_ENUM | kRepeatedMask: { in MergePartialFromCodedStreamInlined() 610 case WireFormatLite::TYPE_ENUM | kOneofMask: { in MergePartialFromCodedStreamInlined() 787 case WireFormatLite::TYPE_ENUM: { in MergePartialFromCodedStreamInlined() 806 int, WireFormatLite::TYPE_ENUM>(input, &value)))) { in MergePartialFromCodedStreamInlined()
|
D | wire_format.cc | 180 if (!WireFormatLite::ReadPrimitive<int, WireFormatLite::TYPE_ENUM>( in ReadPackedEnumPreserveUnknowns() 482 case FieldDescriptor::TYPE_ENUM: { in ParseAndMergeField() 485 if (!WireFormatLite::ReadPrimitive<int, WireFormatLite::TYPE_ENUM>( in ParseAndMergeField() 555 case FieldDescriptor::TYPE_ENUM: { in ParseAndMergeField() 557 if (!WireFormatLite::ReadPrimitive<int, WireFormatLite::TYPE_ENUM>( in ParseAndMergeField() 859 case FieldDescriptor::TYPE_ENUM: { in _InternalParseAndMergeField() 961 case FieldDescriptor::TYPE_ENUM: { in _InternalParseAndMergeField() 1074 case FieldDescriptor::TYPE_ENUM: in SerializeMapKeyWithCachedSizes() 1374 case FieldDescriptor::TYPE_ENUM: { in InternalSerializeField() 1536 case FieldDescriptor::TYPE_ENUM: in MapKeyDataOnlyByteSize() [all …]
|
D | extension_set.cc | 140 GOOGLE_CHECK_NE(type, WireFormatLite::TYPE_ENUM); in RegisterExtension() 164 GOOGLE_CHECK_EQ(type, WireFormatLite::TYPE_ENUM); in RegisterEnumExtension() 1264 case WireFormatLite::TYPE_ENUM: in ParseFieldWithExtensionInfo() 1267 if (!WireFormatLite::ReadPrimitive<int, WireFormatLite::TYPE_ENUM>( in ParseFieldWithExtensionInfo() 1272 AddEnum(number, WireFormatLite::TYPE_ENUM, extension.is_packed, in ParseFieldWithExtensionInfo() 1323 case WireFormatLite::TYPE_ENUM: { in ParseFieldWithExtensionInfo() 1325 if (!WireFormatLite::ReadPrimitive<int, WireFormatLite::TYPE_ENUM>( in ParseFieldWithExtensionInfo() 1334 AddEnum(number, WireFormatLite::TYPE_ENUM, extension.is_packed, value, in ParseFieldWithExtensionInfo() 1337 SetEnum(number, WireFormatLite::TYPE_ENUM, value, in ParseFieldWithExtensionInfo()
|
D | generated_message_util.cc | 206 struct PrimitiveTypeHelper<WireFormatLite::TYPE_ENUM> 640 SERIALIZERS_FOR_TYPE(WireFormatLite::TYPE_ENUM); in SerializeInternal() 685 SERIALIZERS_FOR_TYPE(WireFormatLite::TYPE_ENUM); in SerializeInternalToArray()
|
D | descriptor_unittest.cc | 672 FieldDescriptorProto::TYPE_ENUM) in SetUp() 972 EXPECT_EQ(FieldDescriptor::TYPE_ENUM, bar_->type()); in TEST_F() 1877 FieldDescriptorProto::TYPE_ENUM) in SetUp() 1945 EXPECT_EQ(FieldDescriptor::TYPE_ENUM, foo_file_->extension(1)->type()); in TEST_F() 2294 } else if (type == FieldDescriptor::TYPE_ENUM) { in GetFieldDescriptorOfType() 2359 EXPECT_STREQ("enum", GetTypeNameForFieldType(FD::TYPE_ENUM)); in TEST_F() 2384 EXPECT_STREQ("enum", FD::TypeName(FD::TYPE_ENUM)); in TEST_F() 2409 EXPECT_EQ(FD::CPPTYPE_ENUM, GetCppTypeForFieldType(FD::TYPE_ENUM)); in TEST_F() 2434 EXPECT_STREQ("enum", GetCppTypeNameForFieldType(FD::TYPE_ENUM)); in TEST_F() 2476 EXPECT_TRUE(nullptr == GetMessageDescriptorForFieldType(FD::TYPE_ENUM)); in TEST_F() [all …]
|
D | type.proto | 95 TYPE_ENUM = 14; enumerator
|
/third_party/protobuf/src/google/protobuf/compiler/csharp/ |
D | csharp_field_base.cc | 212 case FieldDescriptor::TYPE_ENUM: in type_name() 268 case FieldDescriptor::TYPE_ENUM: in has_default_value() 339 case FieldDescriptor::TYPE_ENUM: in default_value() 414 case FieldDescriptor::TYPE_ENUM: in capitalized_type_name()
|
D | csharp_helpers.cc | 91 case FieldDescriptor::TYPE_ENUM: in GetCSharpType() 448 case FieldDescriptor::TYPE_ENUM : return -1; in GetFixedSize() 531 case FieldDescriptor::TYPE_ENUM: in CreateFieldGenerator() 560 case FieldDescriptor::TYPE_ENUM: in IsNullable()
|
/third_party/protobuf/src/google/protobuf/util/ |
D | type_resolver_util_test.cc | 230 EXPECT_TRUE(HasField(type, Field::CARDINALITY_OPTIONAL, Field::TYPE_ENUM, in TEST_F() 232 EXPECT_TRUE(HasField(type, Field::CARDINALITY_OPTIONAL, Field::TYPE_ENUM, in TEST_F() 291 EXPECT_TRUE(HasField(type, Field::CARDINALITY_REPEATED, Field::TYPE_ENUM, in TEST_F() 293 EXPECT_TRUE(HasField(type, Field::CARDINALITY_REPEATED, Field::TYPE_ENUM, in TEST_F()
|
/third_party/protobuf/src/google/protobuf/compiler/java/ |
D | java_helpers.cc | 350 case FieldDescriptor::TYPE_ENUM: in GetJavaType() 476 case FieldDescriptor::TYPE_ENUM: in FieldTypeName() 758 case FieldDescriptor::TYPE_ENUM: in GetCapitalizedType() 804 case FieldDescriptor::TYPE_ENUM: in FixedSize()
|
/third_party/protobuf/src/google/protobuf/util/internal/ |
D | datapiece.h | 71 TYPE_ENUM = 8, enumerator
|
D | datapiece.cc | 411 case TYPE_ENUM: in InternalCopy()
|
/third_party/protobuf/python/google/protobuf/ |
D | descriptor_pool.py | 1060 field_proto.type = descriptor.FieldDescriptor.TYPE_ENUM 1069 if field_proto.type == descriptor.FieldDescriptor.TYPE_ENUM: 1084 elif field_proto.type == descriptor.FieldDescriptor.TYPE_ENUM: 1104 elif field_proto.type == descriptor.FieldDescriptor.TYPE_ENUM:
|
D | descriptor.py | 474 TYPE_ENUM = 14 variable in FieldDescriptor 500 TYPE_ENUM: CPPTYPE_ENUM,
|
/third_party/protobuf/src/google/protobuf/compiler/cpp/ |
D | cpp_map_field.cc | 85 if (!IsProto3Field(descriptor) && val->type() == FieldDescriptor::TYPE_ENUM) { in SetMessageVariables()
|
D | cpp_primitive_field.cc | 81 case FieldDescriptor::TYPE_ENUM: in FixedSize()
|
D | cpp_helpers.cc | 618 case FieldDescriptor::TYPE_ENUM: in DeclaredTypeMethodName() 1535 if (field->type() == FieldDescriptor::TYPE_ENUM && in GenerateLengthDelim() 1568 if (val->type() == FieldDescriptor::TYPE_ENUM && in GenerateLengthDelim() 1657 if (field->type() == FieldDescriptor::TYPE_ENUM) { in GenerateFieldBody()
|
/third_party/protobuf/src/google/protobuf/compiler/ruby/ |
D | ruby_generator.cc | 107 case FieldDescriptor::TYPE_ENUM: return "enum"; in TypeName() 470 (field->type() == FieldDescriptor::TYPE_ENUM && in UsesTypeFromFile()
|
/third_party/protobuf/src/google/protobuf/compiler/objectivec/ |
D | objectivec_field.cc | 91 if (descriptor->type() == FieldDescriptor::TYPE_ENUM) { in SetCommonFieldVariables()
|
/third_party/protobuf/conformance/ |
D | binary_json_conformance_suite.cc | 158 case FieldDescriptor::TYPE_ENUM: in GetDefaultValue() 191 case FieldDescriptor::TYPE_ENUM: in GetNonDefaultValue() 332 case FieldDescriptor::TYPE_ENUM: in IsProto3Default() 1458 TestValidDataForType(FieldDescriptor::TYPE_ENUM, in RunSuiteImpl() 1507 FieldDescriptor::TYPE_ENUM); in RunSuiteImpl() 1520 TestValidDataForOneofType(FieldDescriptor::TYPE_ENUM); in RunSuiteImpl()
|
/third_party/protobuf/src/google/protobuf/compiler/php/ |
D | php_generator.cc | 317 case FieldDescriptor::TYPE_ENUM: return "0"; in DefaultForField() 453 case FieldDescriptor::TYPE_ENUM: return "enum"; in TypeName() 473 case FieldDescriptor::TYPE_ENUM: in PhpSetterTypeName() 525 case FieldDescriptor::TYPE_ENUM: return "int"; in PhpGetterTypeName()
|