/external/deqp/framework/opengl/ |
gluStrUtilPrototypes.inl | 82 inline tcu::Format::Enum<int, 2> getErrorStr (int value) { return tcu::Format::Enum<int, 2>(getErrorName, value); } 83 inline tcu::Format::Enum<int, 2> getTypeStr (int value) { return tcu::Format::Enum<int, 2>(getTypeName, value); } 84 inline tcu::Format::Enum<int, 2> getParamQueryStr (int value) { return tcu::Format::Enum<int, 2>(getParamQueryName, value); } 85 inline tcu::Format::Enum<int, 2> getProgramParamStr (int value) { return tcu::Format::Enum<int, 2>(getProgramParamName, value); } 86 inline tcu::Format::Enum<int, 2> getUniformParamStr (int value) { return tcu::Format::Enum<int, 2>(getUniformParamName, value); [all...] |
/external/autotest/frontend/afe/ |
model_attributes.py | 2 from autotest_lib.client.common_lib import enum 6 RebootBefore = enum.Enum('Never', 'If dirty', 'Always') 7 RebootAfter = enum.Enum('Never', 'If all tests passed', 'Always')
|
/external/clang/test/CodeGenCXX/ |
ms-integer-static-data-members-exported.cpp | 3 enum Enum { zero, one, two }; 11 static const Enum y = two;
|
/art/test/055-enum-performance/src/ |
Main.java | 11 Class<?> enumClass = Enum.class; 23 if (!iae.getMessage().equals("class java.lang.String is not an enum type.")) { 74 * This is meant to ensure that the basic enum functionality 80 System.out.println(Enum.valueOf(c, "FOUR")); 81 System.out.println(Enum.valueOf(c, "ONE")); 82 System.out.println(Enum.valueOf(c, "FOURTEEN")); 83 System.out.println(Enum.valueOf(c, "NINE")); 84 System.out.println(Enum.valueOf(c, "FIVE")); 85 System.out.println(Enum.valueOf(c, "TWELVE")); 87 System.out.println(Enum.valueOf(c, "ZERO").getClass().getName()) [all...] |
/external/deqp/framework/egl/ |
egluStrUtilPrototypes.inl | 29 inline tcu::Format::Enum<int, 2> getBooleanStr (int value) { return tcu::Format::Enum<int, 2>(getBooleanName, value); } 30 inline tcu::Format::Enum<int, 2> getBoolDontCareStr (int value) { return tcu::Format::Enum<int, 2>(getBoolDontCareName, value); } 31 inline tcu::Format::Enum<int, 2> getAPIStr (int value) { return tcu::Format::Enum<int, 2>(getAPIName, value); } 32 inline tcu::Format::Enum<int, 2> getErrorStr (int value) { return tcu::Format::Enum<int, 2>(getErrorName, value); } 33 inline tcu::Format::Enum<int, 2> getContextAttribStr (int value) { return tcu::Format::Enum<int, 2>(getContextAttribName, value); [all...] |
/tools/test/connectivity/acts/framework/acts/test_utils/bt/ |
BleEnum.py | 17 from enum import Enum 20 class ScanSettingsCallbackType(Enum): 27 class ScanSettingsMatchMode(Enum): 32 class ScanSettingsMatchNum(Enum): 38 class ScanSettingsScanResultType(Enum): 43 class ScanSettingsScanMode(Enum): 49 class ScanSettingsReportDelaySeconds(Enum): 53 class ScanSettingsPhy(Enum): 58 class AdvertiseSettingsAdvertiseType(Enum) [all...] |
BtEnum.py | 17 from enum import Enum 18 from enum import IntEnum 57 class RfcommUuid(Enum): 86 class BluetoothProfileState(Enum): 94 class BluetoothAccessLevel(Enum): 100 class BluetoothPriorityLevel(Enum):
|
/external/clang/test/SemaCXX/ |
short-enums.cpp | 5 enum E { VALUE_1 }; 10 template <E Enum> 11 struct B : A<B<Enum> > {};
|
/libcore/ojluni/src/main/java/java/lang/ |
EnumConstantNotPresentException.java | 29 * Thrown when an application tries to access an enum constant by name 30 * and the enum type contains no constant with the specified name. 44 * The type of the missing enum constant. 46 private Class<? extends Enum> enumType; 49 * The name of the missing enum constant. 57 * @param enumType the type of the missing enum constant 58 * @param constantName the name of the missing enum constant 60 public EnumConstantNotPresentException(Class<? extends Enum> enumType, 68 * Returns the type of the missing enum constant. 70 * @return the type of the missing enum constan [all...] |
JavaLangAccess.java | 38 public static <E extends Enum<E>>
|
Enum.java | 52 * @param <E> The enum type subclass 60 public abstract class Enum<E extends Enum<E>> 63 * The name of this enum constant, as declared in the enum declaration. 70 * Returns the name of this enum constant, exactly as declared in its 71 * enum declaration. 79 * @return the name of this enum constant 87 * in the enum declaration, where the initial constant is assigned 91 * for use by sophisticated enum-based data structures, such a [all...] |
/external/libcxx/test/std/utilities/meta/meta.trans/meta.trans.arr/ |
remove_all_extents.pass.cpp | 18 enum Enum {zero, one_}; 32 test_remove_all_extents<const Enum, const Enum> ();
|
remove_extent.pass.cpp | 18 enum Enum {zero, one_}; 33 test_remove_extent<const Enum, const Enum> ();
|
/prebuilts/ndk/r11/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/meta/meta.trans/meta.trans.arr/ |
remove_all_extents.pass.cpp | 16 enum Enum {zero, one_}; 30 test_remove_all_extents<const Enum, const Enum> ();
|
remove_extent.pass.cpp | 16 enum Enum {zero, one_}; 31 test_remove_extent<const Enum, const Enum> ();
|
/prebuilts/ndk/r13/sources/cxx-stl/llvm-libc++/test/std/utilities/meta/meta.trans/meta.trans.arr/ |
remove_all_extents.pass.cpp | 16 enum Enum {zero, one_}; 30 test_remove_all_extents<const Enum, const Enum> ();
|
remove_extent.pass.cpp | 16 enum Enum {zero, one_}; 31 test_remove_extent<const Enum, const Enum> ();
|
/external/autotest/client/common_lib/ |
priorities.py | 2 from autotest_lib.client.common_lib import enum 8 Priority = enum.Enum('Weekly', 'Daily', 'PostBuild', 'Default', 'Build',
|
/external/pdfium/xfa/fde/css/ |
cfde_cssenumvalue.cpp | 10 : CFDE_CSSValue(FDE_CSSPrimitiveType::Enum), value_(value) {}
|
/frameworks/compile/mclinker/include/mcld/ADT/ |
Flags.h | 14 template <typename Enum> 17 typedef Enum enum_type; 22 explicit Flags(Enum pFlag) : m_Data(pFlag) {} 34 Flags operator&(Enum pMask) const { return Flags(m_Data & pMask); } 48 Flags operator^(Enum pOther) const { return Flags(m_Data ^ pOther); } 55 Flags& operator^=(Enum pOther) { 62 Flags operator|(Enum pOther) const { return Flags(m_Data | pOther); } 69 Flags& operator|=(Enum pOther) {
|
/external/guava/guava/src/com/google/common/base/ |
Enums.java | 36 * Utility methods for working with {@link Enum} instances. 50 * {@code Description} annotation on the {@code GOLF} constant of enum {@code Sport}, use 56 public static Field getField(Enum<?> enumValue) { 66 * Returns an optional enum constant for the given type, using {@link Enum#valueOf}. If the 68 * user input or falling back to a default enum constant. For example, 73 public static <T extends Enum<T>> Optional<T> getIfPresent( 81 private static final Map<Class<? extends Enum<?>>, Map<String, WeakReference<? extends Enum<?>>>> 83 <Class<? extends Enum<?>>, Map<String, WeakReference<? extends Enum<?>>>>() [all...] |
/external/clang/test/Index/ |
print-type.c | 15 enum Enum{i}; enum Enum elaboratedEnumType(); 51 // CHECK: FunctionDecl=elaboratedEnumType:15:25 [type=enum Enum ()] [typekind=FunctionNoProto] [canonicaltype=enum Enum ()] [canonicaltypekind=FunctionNoProto] [resulttype=enum Enum] [resulttypekind=Elaborated] [isPOD=0 [all...] |
/external/clang/test/SemaTemplate/ |
enum-argument.cpp | 4 enum Enum { val = 1 }; 5 template <Enum v> struct C { 17 enum { 29 enum { e0 = 32 };
|
/libcore/ojluni/src/main/java/java/util/ |
EnumSet.java | 30 * A specialized {@link Set} implementation for use with enum types. All of 31 * the elements in an enum set must come from a single enum type that is 32 * specified, explicitly or implicitly, when the set is created. Enum sets 38 * run very quickly if their argument is also an enum set. 41 * elements in their <i>natural order</i> (the order in which the enum 53 * synchronized. If multiple threads access an enum set concurrently, and at 56 * object that naturally encapsulates the enum set. If no such object exists, 68 * constant time if their argument is also an enum set. 79 public abstract class EnumSet<E extends Enum<E>> extends AbstractSet<E [all...] |
/external/clang/test/CXX/class.access/ |
p6.cpp | 126 enum Enum { E0, E1, E2 }; // expected-note 4 {{declared private here}} 127 template <Enum> void foo(); 128 template <Enum> class bar; 131 template <A::Enum en> void A::foo() {} 132 template <A::Enum en> class A::bar {}; 134 template <A::Enum en> void foo() {} // expected-error {{'Enum' is a private member of 'test5::A'}} 135 template <A::Enum en> class bar {}; // expected-error {{'Enum' is a private member of 'test5::A'} [all...] |