/libcore/luni/src/main/java/java/lang/ |
EnumConstantNotPresentException.java | 29 private final Class<? extends Enum> enumType; 38 * @param enumType 44 public EnumConstantNotPresentException(Class<? extends Enum> enumType, String constantName) { 45 super("enum constant " + enumType.getName() + "." + constantName + " is missing"); 46 this.enumType = enumType; 56 public Class<? extends Enum> enumType() { 57 return enumType;
|
/external/chromium_org/third_party/skia/src/sfnt/ |
SkTypedEnum.h | 48 #define SK_TYPED_ENUM(enumName, enumType, enumSeq, idSeq) \ 49 enum enumName : enumType { \ 55 #define SK_TYPED_ENUM_VALUES(enumType, elem) \ 56 static const enumType SK_PAIR_FIRST(elem) = SK_PAIR_SECOND(elem); 58 #define SK_TYPED_ENUM_IDS(enumType, elem) \ 59 enumType elem; 61 #define SK_TYPED_ENUM(enumName, enumType, enumSeq, idSeq) \ 62 typedef enumType enumName; \ 63 SK_SEQ_FOREACH(SK_TYPED_ENUM_VALUES, enumType, enumSeq) \ 64 SK_SEQ_FOREACH(SK_TYPED_ENUM_IDS, enumType, idSeq [all...] |
/external/skia/src/sfnt/ |
SkTypedEnum.h | 48 #define SK_TYPED_ENUM(enumName, enumType, enumSeq, idSeq) \ 49 enum enumName : enumType { \ 55 #define SK_TYPED_ENUM_VALUES(enumType, elem) \ 56 static const enumType SK_PAIR_FIRST(elem) = SK_PAIR_SECOND(elem); 58 #define SK_TYPED_ENUM_IDS(enumType, elem) \ 59 enumType elem; 61 #define SK_TYPED_ENUM(enumName, enumType, enumSeq, idSeq) \ 62 typedef enumType enumName; \ 63 SK_SEQ_FOREACH(SK_TYPED_ENUM_VALUES, enumType, enumSeq) \ 64 SK_SEQ_FOREACH(SK_TYPED_ENUM_IDS, enumType, idSeq [all...] |
/libcore/libart/src/main/java/java/lang/ |
Enum.java | 36 @Override protected Object[] create(Class<? extends Enum> enumType) { 37 if (!enumType.isEnum()) { 41 Method method = enumType.getDeclaredMethod("values", EmptyArray.CLASS); 172 * @param enumType 179 * if either {@code enumType} or {@code name} are {@code null}. 181 * if {@code enumType} is not an enumerated type or does not 184 public static <T extends Enum<T>> T valueOf(Class<T> enumType, String name) { 185 if (enumType == null) { 186 throw new NullPointerException("enumType == null"); 190 T[] values = getSharedConstants(enumType); [all...] |
/libcore/libdvm/src/main/java/java/lang/ |
Enum.java | 36 @Override protected Object[] create(Class<? extends Enum> enumType) { 37 if (!enumType.isEnum()) { 41 enumType, "values", EmptyArray.CLASS); 171 * @param enumType 178 * if either {@code enumType} or {@code name} are {@code null}. 180 * if {@code enumType} is not an enumerated type or does not 183 public static <T extends Enum<T>> T valueOf(Class<T> enumType, String name) { 184 if (enumType == null) { 185 throw new NullPointerException("enumType == null"); 189 T[] values = getSharedConstants(enumType); [all...] |
/hardware/ti/wpan/tools/FM/FmRadioIf/src/java/com/ti/core/ |
JFmUtils.java | 29 public static <V, E extends Enum<E> & IJFmEnum<V>> E getEnumConst(Class<E> enumType, 31 EnumSet<E> es = EnumSet.allOf(enumType); 44 + enumType.toString());
|
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/lang/ |
EnumConstantNotPresentExceptionTest.java | 40 * @test java.lang.EnumConstantNotPresentException#enumType() 44 assertEquals(Fixture.class, e.enumType());
|
/external/protobuf/java/src/test/java/com/google/protobuf/ |
DescriptorsTest.java | 108 EnumDescriptor enumType = ForeignEnum.getDescriptor(); 109 assertEquals(enumType, file.getEnumTypes().get(0)); 110 assertEquals(enumType, file.findEnumTypeByName("ForeignEnum")); 180 EnumDescriptor enumType = TestAllTypes.NestedEnum.getDescriptor(); 181 assertEquals(enumType, messageType.getEnumTypes().get(0)); 182 assertEquals(enumType, messageType.findEnumTypeByName("NestedEnum")); 288 EnumDescriptor enumType = ForeignEnum.getDescriptor(); 291 assertEquals("ForeignEnum", enumType.getName()); 292 assertEquals("protobuf_unittest.ForeignEnum", enumType.getFullName()); 293 assertEquals(UnittestProto.getDescriptor(), enumType.getFile()) [all...] |
/external/chromium_org/third_party/protobuf/java/src/test/java/com/google/protobuf/ |
DescriptorsTest.java | 112 EnumDescriptor enumType = ForeignEnum.getDescriptor(); 113 assertEquals(enumType, file.getEnumTypes().get(0)); 114 assertEquals(enumType, file.findEnumTypeByName("ForeignEnum")); 184 EnumDescriptor enumType = TestAllTypes.NestedEnum.getDescriptor(); 185 assertEquals(enumType, messageType.getEnumTypes().get(0)); 186 assertEquals(enumType, messageType.findEnumTypeByName("NestedEnum")); 292 EnumDescriptor enumType = ForeignEnum.getDescriptor(); 295 assertEquals("ForeignEnum", enumType.getName()); 296 assertEquals("protobuf_unittest.ForeignEnum", enumType.getFullName()); 297 assertEquals(UnittestProto.getDescriptor(), enumType.getFile()) [all...] |
/frameworks/base/core/java/android/hardware/camera2/impl/ |
CameraMetadataNative.java | 740 * @param enumType The class for an enum 745 public static <T extends Enum<T>> void registerEnumValues(Class<T> enumType, int[] values) { 746 if (enumType.getEnumConstants().length != values.length) { 749 + values.length + " for type " + enumType); 752 Log.v(TAG, "Registered enum values for type " + enumType + " values"); 755 sEnumValues.put(enumType, values); 781 * @param enumType Class of the enum we want to find 785 private static <T extends Enum<T>> T getEnumFromValue(Class<T> enumType, int value) { 788 int[] registeredValues = sEnumValues.get(enumType); 802 T[] values = enumType.getEnumConstants() [all...] |
/external/jmonkeyengine/engine/src/core/com/jme3/export/ |
InputCapsule.java | 158 public <T extends Enum<T>> T readEnum(String name, Class<T> enumType, T defVal) throws IOException;
|
/external/clang/lib/Sema/ |
SemaCXXScopeSpec.cpp | 218 const EnumType *enumType = dyn_cast_or_null<EnumType>(tagType); 219 if (!enumType || enumType->getDecl()->isCompleteDefinition()) 224 EnumDecl *ED = enumType->getDecl(); 594 } else if (isa<EnumType>(T)) { [all...] |
/libcore/luni/src/main/java/libcore/reflect/ |
AnnotationMember.java | 301 throw new EnumConstantNotPresentException(ecnpe.enumType(), ecnpe.constantName());
|
/external/chromium_org/third_party/protobuf/java/src/main/java/com/google/protobuf/ |
Descriptors.java | 808 return enumType; 841 private EnumDescriptor enumType; [all...] |
/external/protobuf/java/src/main/java/com/google/protobuf/ |
Descriptors.java | 781 return enumType; 814 private EnumDescriptor enumType; [all...] |
/external/jmonkeyengine/engine/src/core-plugins/com/jme3/export/binary/ |
BinaryInputCapsule.java | [all...] |
/external/jmonkeyengine/engine/src/xml/com/jme3/export/xml/ |
DOMInputCapsule.java | [all...] |
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/ |
org.eclipse.jdt.core_3.6.2.v_A76_R36x.jar | |
/prebuilts/sdk/10/ |
android.jar | |
/prebuilts/sdk/11/ |
android.jar | |
/prebuilts/sdk/13/ |
android.jar | |
/prebuilts/sdk/16/ |
android.jar | |
/prebuilts/sdk/5/ |
android.jar | |
/prebuilts/sdk/6/ |
android.jar | |
/prebuilts/sdk/7/ |
android.jar | |