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

12

/external/autotest/client/common_lib/
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_states.py11 from autotest_lib.client.common_lib import enum namespace
13 Status = enum.Enum('Verifying', 'Running', 'Ready', 'Repairing',
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 Dhost_queue_entry_states.py8 from autotest_lib.client.common_lib import enum namespace
15 Status = enum.Enum(*Status_list, string_values=True)
25 IntStatus = enum.Enum(*Status_list)
H A Dcontrol_data.py14 from autotest_lib.client.common_lib import enum namespace
20 CONTROL_TYPE = enum.Enum('Server', 'Client', start_value=1)
21 CONTROL_TYPE_NAMES = enum.Enum(*CONTROL_TYPE.names, string_values=True)
67 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')
H A Dmodels.py19 from autotest_lib.client.common_lib import enum, error, host_protections namespace
823 TestTime = enum.Enum('SHORT', 'MEDIUM', 'LONG', start_value=1)
1855 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.py59 from autotest_lib.client.common_lib import global_config, enum namespace
82 RETURN_CODES = enum.Enum(
109 @param code1: An enum value of RETURN_CODES
110 @param code2: An enum value of RETURN_CODES
1113 @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/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/clang/docs/tools/
H A Ddump_format_style.py40 self.enum = None
46 if self.enum:
47 s += indent('\n\nPossible values:\n\n%s\n' % self.enum, 2)
111 enum = None
129 elif line.startswith('enum'):
131 name = re.sub(r'enum\s+(\w+)\s*\{', '\\1', line)
132 enum = Enum(name, comment) variable in class:read_options.State
144 raise Exception('Invalid format, expected comment, field or enum')
164 enums[enum.name] = enum
[all...]
/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/python/cpython2/Lib/test/
H A Dtest_enumerate.py66 enum = enumerate variable in class:EnumerateTestCase
70 self.assertEqual(type(self.enum(self.seq)), self.enum)
71 e = self.enum(self.seq)
73 self.assertEqual(list(self.enum(self.seq)), self.res)
74 self.enum.__doc__
77 self.assertEqual(list(self.enum(G(self.seq))), self.res)
78 e = self.enum(G(''))
82 self.assertEqual(list(self.enum(I(self.seq))), self.res)
83 e = self.enum(
118 enum = MyEnum variable in class:SubclassTestCase
231 enum = lambda self, i: enumerate(i, start=11) variable in class:TestStart
237 enum = lambda self, i: enumerate(i, start=sys.maxint+1) variable in class:TestLongStart
[all...]
/external/autotest/server/cros/dynamic_suite/
H A Dsuite.py21 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
30 _PidfileType = enum.Enum('verify', 'cleanup', 'repair', 'job', 'gather',
/external/libphonenumber/demo/war/WEB-INF/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/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 ...

Completed in 8173 milliseconds

12