Searched refs:enumType (Results 1 – 5 of 5) sorted by relevance
108 EnumDescriptor enumType = ForeignEnum.getDescriptor(); in testFileDescriptor() local109 assertEquals(enumType, file.getEnumTypes().get(0)); in testFileDescriptor()110 assertEquals(enumType, file.findEnumTypeByName("ForeignEnum")); in testFileDescriptor()180 EnumDescriptor enumType = TestAllTypes.NestedEnum.getDescriptor(); in testDescriptor() local181 assertEquals(enumType, messageType.getEnumTypes().get(0)); in testDescriptor()182 assertEquals(enumType, messageType.findEnumTypeByName("NestedEnum")); in testDescriptor()288 EnumDescriptor enumType = ForeignEnum.getDescriptor(); in testEnumDescriptor() local291 assertEquals("ForeignEnum", enumType.getName()); in testEnumDescriptor()292 assertEquals("protobuf_unittest.ForeignEnum", enumType.getFullName()); in testEnumDescriptor()293 assertEquals(UnittestProto.getDescriptor(), enumType.getFile()); in testEnumDescriptor()[all …]
44 assertEquals(Fixture.class, e.enumType()); in test_enumType()
1001 final EnumDescriptor enumType = field.getEnumType(); in mergeField() local1005 value = enumType.findValueByNumber(number); in mergeField()1008 "Enum type \"" + enumType.getFullName() + in mergeField()1013 value = enumType.findValueByName(id); in mergeField()1016 "Enum type \"" + enumType.getFullName() + in mergeField()
781 return enumType; in getEnumType()814 private EnumDescriptor enumType; field in Descriptors.FieldDescriptor985 enumType = (EnumDescriptor)typeDescriptor; in crossLink()1064 defaultValue = enumType.findValueByName(proto.getDefaultValue()); in crossLink()1090 defaultValue = enumType.getValues().get(0); in crossLink()
240 if (const EnumType *enumType = dyn_cast_or_null<EnumType>(tagType)) { in RequireCompleteDeclContext() local241 if (!enumType->getDecl()->isDefinition()) { in RequireCompleteDeclContext()