Home
last modified time | relevance | path

Searched refs:enumType (Results 1 – 5 of 5) sorted by relevance

/external/protobuf/java/src/test/java/com/google/protobuf/
DDescriptorsTest.java108 EnumDescriptor enumType = ForeignEnum.getDescriptor(); in testFileDescriptor() local
109 assertEquals(enumType, file.getEnumTypes().get(0)); in testFileDescriptor()
110 assertEquals(enumType, file.findEnumTypeByName("ForeignEnum")); in testFileDescriptor()
180 EnumDescriptor enumType = TestAllTypes.NestedEnum.getDescriptor(); in testDescriptor() local
181 assertEquals(enumType, messageType.getEnumTypes().get(0)); in testDescriptor()
182 assertEquals(enumType, messageType.findEnumTypeByName("NestedEnum")); in testDescriptor()
288 EnumDescriptor enumType = ForeignEnum.getDescriptor(); in testEnumDescriptor() local
291 assertEquals("ForeignEnum", enumType.getName()); in testEnumDescriptor()
292 assertEquals("protobuf_unittest.ForeignEnum", enumType.getFullName()); in testEnumDescriptor()
293 assertEquals(UnittestProto.getDescriptor(), enumType.getFile()); in testEnumDescriptor()
[all …]
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/lang/
DEnumConstantNotPresentExceptionTest.java44 assertEquals(Fixture.class, e.enumType()); in test_enumType()
/external/protobuf/java/src/main/java/com/google/protobuf/
DTextFormat.java1001 final EnumDescriptor enumType = field.getEnumType(); in mergeField() local
1005 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()
DDescriptors.java781 return enumType; in getEnumType()
814 private EnumDescriptor enumType; field in Descriptors.FieldDescriptor
985 enumType = (EnumDescriptor)typeDescriptor; in crossLink()
1064 defaultValue = enumType.findValueByName(proto.getDefaultValue()); in crossLink()
1090 defaultValue = enumType.getValues().get(0); in crossLink()
/external/clang/lib/Sema/
DSemaCXXScopeSpec.cpp240 if (const EnumType *enumType = dyn_cast_or_null<EnumType>(tagType)) { in RequireCompleteDeclContext() local
241 if (!enumType->getDecl()->isDefinition()) { in RequireCompleteDeclContext()