HomeSort by relevance Sort by last modified time
    Searched refs:enum (Results 1 - 25 of 317) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /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/deqp/scripts/opengl/
gen_call_log_wrapper.py 32 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("TransformFeedbackTarget")})
    [all...]
gen_enums.py 28 def enumDefinition (enum):
29 return "#define %s\t%s" % (enum.name, normalizeConstant(enum.value))
  /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',
host_states.py 11 from autotest_lib.client.common_lib import enum
13 Status = enum.Enum('Verifying', 'Running', 'Ready', 'Repairing',
host_queue_entry_states.py 8 from autotest_lib.client.common_lib import enum
15 Status = enum.Enum(*Status_list, string_values=True)
25 IntStatus = enum.Enum(*Status_list)
host_protections.py 2 from autotest_lib.client.common_lib import enum, global_config
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
  /external/antlr/antlr-3.4/runtime/Ruby/test/functional/parser/
predicates.rb 14 /* With this true, enum is seen as a keyword. False, it's an identifier */
32 enumAsKeyword : {@enable_enum}? 'enum' ;
34 enumAsID : {!@enable_enum}? 'enum' ;
52 example "'enum' is a keyword" do
53 lexer = TestHoist::Lexer.new 'enum'
59 example "'enum' is an ID" do
60 lexer = TestHoist::Lexer.new 'enum'
  /external/deqp/scripts/egl/
enums.py 42 def enumValue (enum, typePrefix = ""):
43 if enum.name in TYPED_VALUES:
44 return enum.value.replace("(EGL", "(%sEGL" % typePrefix)
46 return normalizeConstant(enum.value)
48 def enumDefinition (enum):
49 return "#define %s\t%s" % (enum.name, enumValue(enum, "eglw::"))
call_log_wrapper.py 35 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/mesa3d/src/mapi/glapi/gen/
gl_enums.py 69 * \param a Pointer to the desired enum name.
78 * Compare a key enum value to an element in the \c all_enums array.
84 * \param a Pointer to the desired enum name.
135 /* Get the name of an enum given that it is a primitive type. Avoids
177 for enum in keys:
179 for [name, pri] in self.enum_table[ enum ]:
180 name_table.append( [name, enum] )
184 enum_table[enum] = name
192 for [name, enum] in name_table:
203 for [name, enum] in name_table
    [all...]
  /external/flatbuffers/tests/namespace_test/NamespaceA/NamespaceB/
EnumInNestedNS.cs 6 public enum EnumInNestedNS : sbyte
  /external/vulkan-validation-layers/layers/
spec.py 23 # errors keep the same enum identifier while also making sure that new errors get a unique_id that continues on
45 # Dict of new enum values that should be forced to remap to old handles, explicitly set by -remap option
59 print "\nIf '-remap' option is specified it supplies forced remapping from new enum ids to old enum ids. This should only be specified along with -update"
65 self.val_error_dict = {} # string for enum is key that references 'error_msg' and 'api'
174 file_contents.append('\n// enum values for unique validation error codes')
175 file_contents.append('// Corresponding validation error message for each enum is given in the mapping table below')
176 file_contents.append('// When a given error occurs, these enum values should be passed to the as the messageCode')
178 enum_decl = ['enum UNIQUE_VALIDATION_ERROR_CODE {']
180 for enum in sorted(self.val_error_dict)
    [all...]
  /external/flatbuffers/tests/MyGame/Example/
Any.cs 6 public enum Any : byte
Color.cs 6 public enum Color : sbyte
  /prebuilts/go/darwin-x86/src/runtime/
proc_runtime_test.go 17 enum := ord.start(uint32(co))
20 x := enum.position()
22 println("procs:", procs, "inc:", enum.inc)
26 enum.next()
28 if !enum.done() {
  /prebuilts/go/linux-x86/src/runtime/
proc_runtime_test.go 17 enum := ord.start(uint32(co))
20 x := enum.position()
22 println("procs:", procs, "inc:", enum.inc)
26 enum.next()
28 if !enum.done() {
  /external/libmojo/mojo/public/tools/bindings/pylib/mojom/generate/
constant_resolver.py 18 named_value.enum.fields), None)
21 'Unable to get computed value for field %s of enum %s' %
22 (named_value.name, named_value.enum.name))
24 ResolveEnum(named_value.enum)
45 def ResolveEnum(enum):
46 def ResolveEnumField(enum, field, default_value):
50 raise RuntimeError('Circular dependency for enum: %s' % enum.name)
66 for field in enum.fields:
67 ResolveEnumField(enum, field, current_value
    [all...]
  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/
test_enumerate.py 66 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(I(''))
118 enum = MyEnum variable in class:SubclassTestCase
232 enum = lambda self, i: enumerate(i, start=11) variable in class:TestStart
238 enum = lambda self, i: enumerate(i, start=sys.maxint+1) variable in class:TestLongStart
    [all...]
  /prebuilts/gdb/darwin-x86/lib/python2.7/test/
test_enumerate.py 66 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(I('')
118 enum = MyEnum variable in class:SubclassTestCase
232 enum = lambda self, i: enumerate(i, start=11) variable in class:TestStart
238 enum = lambda self, i: enumerate(i, start=sys.maxint+1) variable in class:TestLongStart
    [all...]
  /prebuilts/gdb/linux-x86/lib/python2.7/test/
test_enumerate.py 66 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(I('')
118 enum = MyEnum variable in class:SubclassTestCase
232 enum = lambda self, i: enumerate(i, start=11) variable in class:TestStart
238 enum = lambda self, i: enumerate(i, start=sys.maxint+1) variable in class:TestLongStart
    [all...]
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/
test_enumerate.py 66 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(I('')
118 enum = MyEnum variable in class:SubclassTestCase
232 enum = lambda self, i: enumerate(i, start=11) variable in class:TestStart
238 enum = lambda self, i: enumerate(i, start=sys.maxint+1) variable in class:TestLongStart
    [all...]
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/
test_enumerate.py 66 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(I('')
118 enum = MyEnum variable in class:SubclassTestCase
232 enum = lambda self, i: enumerate(i, start=11) variable in class:TestStart
238 enum = lambda self, i: enumerate(i, start=sys.maxint+1) variable in class:TestLongStart
    [all...]
  /prebuilts/go/darwin-x86/misc/cgo/errors/
issue11097a.go 8 //enum test { foo, bar };
issue11097b.go 8 //enum test { foo, bar };

Completed in 639 milliseconds

1 2 3 4 5 6 7 8 91011>>