Searched defs:enum (Results 1 - 25 of 25) sorted by relevance

/external/autotest/client/common_lib/
H A Dhost_states.py11 from autotest_lib.client.common_lib import enum namespace
13 Status = enum.Enum('Verifying', 'Running', 'Ready', 'Repairing',
H A Dpriorities.py2 from autotest_lib.client.common_lib import enum namespace
8 Priority = enum.Enum('Weekly', 'Daily', 'PostBuild', 'Default', 'Build',
H A Dhost_queue_entry_states.py8 from autotest_lib.client.common_lib import enum namespace
15 Status = enum.Enum(*Status_list, string_values=True)
22 IntStatus = enum.Enum(*Status_list)
H A Dhost_protections.py2 from autotest_lib.client.common_lib import enum, global_config namespace
5 # Adding a protection level to the enum requires you to append your change to
6 # the end of the enum or a database migration needs to be added to migrate
7 # older protections to match the layout of the new enum.
8 # Removing a protection level from the enum requires a database migration to
13 Protection = enum.Enum('No protection', # Repair can do anything to
H A Dcontrol_data.py12 from autotest_lib.client.common_lib import enum namespace
17 CONTROL_TYPE = enum.Enum('Server', 'Client', start_value=1)
18 CONTROL_TYPE_NAMES = enum.Enum(*CONTROL_TYPE.names, string_values=True)
28 TEST_TIME = enum.Enum(*TEST_TIME_LIST, string_values=False)
/external/autotest/frontend/afe/
H A Dmodel_attributes.py2 from autotest_lib.client.common_lib import enum namespace
6 RebootBefore = enum.Enum('Never', 'If dirty', 'Always')
7 RebootAfter = enum.Enum('Never', 'If all tests passed', 'Always')
11 ParameterTypes = enum.Enum('int', 'float', 'string', string_values=True)
H A Dmodels.py19 from autotest_lib.client.common_lib import enum, error, host_protections namespace
793 TestTime = enum.Enum('SHORT', 'MEDIUM', 'LONG', start_value=1)
2021 Task = enum.Enum('Verify', 'Cleanup', 'Repair', 'Reset', 'Provision',
/external/autotest/site_utils/
H A Djob_overhead.py9 from autotest_lib.client.common_lib import enum namespace
28 STATUS = enum.Enum(*_status_list, string_values=True)
38 @param status: One of the enum values of job_overhead.STATUS.
H A Drun_suite.py49 from autotest_lib.client.common_lib import global_config, enum namespace
71 RETURN_CODES = enum.Enum(
89 @param code1: An enum value of RETURN_CODES
90 @param code2: An enum value of RETURN_CODES
1179 @param code: An enum value of RETURN_CODES
/external/clang/test/CXX/dcl.decl/dcl.name/
H A Dp1.cpp6 enum E { e };
10 operator enum E() { return e; }
17 (void)new enum E;
19 (void)&s::operator enum E;
/external/deqp/scripts/egl/
H A Dcall_log_wrapper.py35 def enum (group): function
49 "eglBindAPI": LogSpec({0: enum("API")}),
55 "eglGetError": LogSpec({}, returnPrint = enum("Error")),
56 "eglGetConfigAttrib": LogSpec({2: enum("ConfigAttrib")}, argOutPrints = {3: lambda n: "getConfigAttribValuePointerStr(attribute, %s)" % n}),
57 "eglGetCurrentSurface": LogSpec({0: enum("SurfaceTarget")}),
59 "eglQueryAPI": LogSpec({}, returnPrint = enum("API")),
60 "eglQueryContext": LogSpec({2: enum("ContextAttrib")}, argOutPrints = {3: lambda n: "getContextAttribValuePointerStr(attribute, %s)" % n}),
61 "eglQuerySurface": LogSpec({2: enum("SurfaceAttrib")}, argOutPrints = {3: lambda n: "getSurfaceAttribValuePointerStr(attribute, %s)" % n}),
62 "eglSurfaceAttrib": LogSpec({2: enum("SurfaceAttrib"), 3: lambda n: "getSurfaceAttribValueStr(attribute, %s)" % n}),
/external/deqp/scripts/opengl/
H A Dgen_call_log_wrapper.py32 def enum (group): function
58 "glBeginQuery": LogSpec({0: enum("QueryTarget")}),
59 "glBeginTransformFeedback": LogSpec({0: enum("PrimitiveType")}),
60 "glBindBuffer": LogSpec({0: enum("BufferTarget")}),
61 "glBindBufferBase": LogSpec({0: enum("BufferTarget")}),
62 "glBindBufferRange": LogSpec({0: enum("BufferTarget")}),
63 "glBindFramebuffer": LogSpec({0: enum("FramebufferTarget")}),
64 "glBindRenderbuffer": LogSpec({0: enum("FramebufferTarget")}),
65 "glBindTexture": LogSpec({0: enum("TextureTarget")}),
66 "glBindTransformFeedback": LogSpec({0: enum("TransformFeedbackTarge
[all...]
/external/autotest/client/cros/
H A Dwebstore_test.py32 def enum(*enumNames): function
34 Creates an enum. Returns an enum object with a value for each enum
37 @param enumNames: The strings representing the values of the enum
46 TestEnv = enum('staging', 'pnl', 'prod', 'sandbox')
48 ItemType = enum(
57 InstallType = enum(
H A Dpower_status.py9 from autotest_lib.client.common_lib import error, enum namespace
12 BatteryDataReportType = enum.Enum('CHARGE', 'ENERGY')
/external/autotest/site_utils/rpm_control_system/
H A Dutils.py19 from autotest_lib.client.common_lib import enum namespace
35 POWERUNIT_TYPES = enum.Enum('POE', 'RPM', string_value=True)
/external/clang/docs/tools/
H A Ddump_format_style.py38 self.enum = None
44 if self.enum:
45 s += indent('\n\nPossible values:\n\n%s\n' % self.enum, 2)
105 enum = None
123 elif line.startswith('enum'):
125 name = re.sub(r'enum\s+(\w+)\s*\{', '\\1', line)
126 enum = Enum(name, comment) variable in class:read_options.State
138 raise Exception('Invalid format, expected comment, field or enum')
158 enums[enum.name] = enum
[all...]
/external/autotest/contrib/
H A Dgenerate_rpm_mapping.py34 from autotest_lib.client.common_lib import enum namespace
37 CHROMEOS_LABS = enum.Enum('OysterBay', 'Atlantis', 'Chaos', 'Destiny', start_value=1)
/external/autotest/frontend/server/
H A Dmodels.py11 from autotest_lib.client.common_lib import enum namespace
28 STATUS = enum.Enum(*STATUS_LIST, string_values=True)
101 ROLE = enum.Enum(*ROLE_LIST, string_values=True)
/external/libxml2/python/
H A Dgenerator.py102 elif tag == 'enum':
103 enum(attrs['type'],attrs['name'],attrs['value'])
141 def enum(type, name, value): function
1214 # Generate enum constants
1216 for type,enum in enums.items():
1218 items = enum.items()
/external/autotest/server/cros/dynamic_suite/
H A Dsuite.py19 from autotest_lib.client.common_lib import enum namespace
90 States = enum.Enum('NOT_ATTEMPTED', 'ATTEMPTED', 'RETRIED',
/external/clang/test/Preprocessor/
H A Dcxx_oper_keyword_ms_compat.cpp49 #define enum macro
134 enum
/external/autotest/scheduler/
H A Dmonitor_db_functional_test.py5 from autotest_lib.client.common_lib import enum, global_config, host_protections namespace
51 _PidfileType = enum.Enum('verify', 'cleanup', 'repair', 'job', 'gather',
/external/owasp/sanitizer/tools/findbugs/lib/
H A Dcommons-lang-2.6.jar ... lang/ org/apache/commons/lang/builder/ org/apache/commons/lang/enum/ org/apache/commons/lang/enums/ org/apache/commons/lang/exception ...
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
H A Dorg.apache.commons.el_1.0.0.v201004212143.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF.RSA META ...
/external/guice/extensions/struts2/lib/
H A Dxwork-core-2.2.1.jarMETA-INF/ META-INF/MANIFEST.MF xwork-validator-definition-1.0.dtd xwork ...

Completed in 701 milliseconds