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

1 2 3 4 5

  /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/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 22 def enumValue (enum, typePrefix = ""):
23 if enum.name in TYPED_VALUES:
24 return enum.value.replace("(EGL", "(%sEGL" % typePrefix)
26 return normalizeConstant(enum.value)
28 def enumDefinition (enum):
29 return "#define %s\t%s" % (enum.name, enumValue(enum, "eglw::"))
call_log_wrapper.py 15 def enum (group): function
29 "eglBindAPI": LogSpec({0: enum("API")}),
35 "eglGetError": LogSpec({}, returnPrint = enum("Error")),
36 "eglGetConfigAttrib": LogSpec({2: enum("ConfigAttrib")}, argOutPrints = {3: lambda n: "getConfigAttribValuePointerStr(attribute, %s)" % n}),
37 "eglGetCurrentSurface": LogSpec({0: enum("SurfaceTarget")}),
39 "eglQueryAPI": LogSpec({}, returnPrint = enum("API")),
40 "eglQueryContext": LogSpec({2: enum("ContextAttrib")}, argOutPrints = {3: lambda n: "getContextAttribValuePointerStr(attribute, %s)" % n}),
41 "eglQuerySurface": LogSpec({2: enum("SurfaceAttrib")}, argOutPrints = {3: lambda n: "getSurfaceAttribValuePointerStr(attribute, %s)" % n}),
42 "eglSurfaceAttrib": LogSpec({2: enum("SurfaceAttrib"), 3: lambda n: "getSurfaceAttribValueStr(attribute, %s)" % n}),
  /external/ltrace/testsuite/ltrace.main/
parameters.conf 9 void func_enum(enum (RED=0,GREEN=1,BLUE=2,CHARTREUSE=3,PETUNIA=4))
14 typedef color = enum (RED=0,GREEN=1,BLUE=2,CHARTREUSE=3,PETUNIA=4)
32 array(enum[long](A,B), 4) *func_short_enums(array(enum[short](A,B), 4)*);
33 enum[long](A=-1) func_negative_enum(enum[short](A=-1), enum[ushort](A=-1), enum[int](A=-1), enum[uint](A=-1), enum[long](A=-1), enum[ulong](A=-1))
    [all...]
  /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...]
  /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...]
  /external/lldb/test/
lldbutil.py 134 # Convert some enum value to its string counterpart
137 def state_type_to_str(enum):
138 """Returns the stateType string given an enum."""
139 if enum == lldb.eStateInvalid:
141 elif enum == lldb.eStateUnloaded:
143 elif enum == lldb.eStateConnected:
145 elif enum == lldb.eStateAttaching:
147 elif enum == lldb.eStateLaunching:
149 elif enum == lldb.eStateStopped:
151 elif enum == lldb.eStateRunning
    [all...]
  /system/media/camera/docs/
camera_metadata_tags.mako 32 if entry.enum:
33 type = 'enum'
42 /** TODO: Nearly every enum in this file needs a description */
50 typedef enum camera_metadata_section {
60 * Hierarchy positions in enum space. All vendor extension tags must be
63 typedef enum camera_metadata_section_start {
71 * Main enum for defining camera metadata tags. New entries must always go
76 typedef enum camera_metadata_tag {
97 % if entry.enum:
99 typedef enum camera_metadata_enum_${csym(entry.name).lower()}
    [all...]
metadata_validate.py 119 <enum> # This is the variable el
124 </enum>
145 <enum> # This is the variable el
150 </enum>
228 # If type="enum", <enum> tag is present
229 # In <enum> for all <value id="$x">, $x is numeric
234 * If there is a type="enum" attribute, there is an <enum> child
235 * In the <enum> child, all <value id="$x"> have a numeric $
    [all...]
CameraMetadataEnums.mako 18 ## This section of enum integer definitions is inserted into
21 * The enum values below this point are generated from metadata
26 ## Generate an enum's integers
32 % for value in entry.enum.values:
60 % if entry.enum \
70 % if entry.enum \
metadata_template.mako 101 % if prop.enum:
102 enum="true"
133 % if prop.enum:
134 <enum>
135 % for value in prop.enum.values:
155 </enum>
  /external/clang/bindings/python/tests/cindex/
test_cursor.py 150 tu = get_tu('enum TEST { FOO=1, BAR=2 };')
151 enum = get_cursor(tu, 'TEST')
152 assert enum is not None
154 assert enum.kind == CursorKind.ENUM_DECL
155 enum_type = enum.enum_type
159 tu = get_tu('enum TEST : long long { FOO=1, BAR=2 };', lang="cpp")
160 enum = get_cursor(tu, 'TEST')
161 assert enum is not None
163 assert enum.kind == CursorKind.ENUM_DECL
164 assert enum.enum_type.kind == TypeKind.LONGLON
    [all...]
  /external/clang/docs/tools/
dump_format_style.py 38 self.enum = None
43 if self.enum:
44 s += indent('\n\nPossible values:\n\n%s\n' % self.enum, 2)
47 class Enum:
79 enum = None
96 elif line.startswith('enum'):
98 name = re.sub(r'enum\s+(\w+)\s*\{', '\\1', line)
99 enum = Enum(name, comment) variable in class:read_options.State
106 raise Exception('Invalid format, expected comment, field or enum')
    [all...]
  /external/nanopb-c/generator/google/protobuf/
descriptor_database.py 55 for enum in file_desc_proto.enum_type:
57 '.'.join((package, enum.name))] = file_desc_proto
  /external/protobuf/python/google/protobuf/
descriptor_database.py 72 for enum in file_desc_proto.enum_type:
74 '.'.join((package, enum.name))] = file_desc_proto
  /external/deqp/scripts/khr_util/
gen_str_util.py 39 return set(enum.name for enum in iface.enums) | \
40 set(enum.alias for enum in iface.enums if enum.alias != None)
62 yield "inline tcu::Format::Enum<int, 2>\tget%(name)sStr\t(int value)\t{ return tcu::Format::Enum<int, 2>(get%(name)sName, value); }" % {"name": groupName}
66 yield "inline tcu::Format::Enum<int, 1>\tgetBooleanStr\t(deUint8 value)\t{ return tcu::Format::Enum<int, 1>(getBooleanName, (int)value); }"
  /external/lldb/utils/vim-lldb/python-vim-lldb/
lldb_controller.py 12 # Convert some enum value to its string counterpart
16 def state_type_to_str(enum):
17 """Returns the stateType string given an enum."""
18 if enum == lldb.eStateInvalid:
20 elif enum == lldb.eStateUnloaded:
22 elif enum == lldb.eStateConnected:
24 elif enum == lldb.eStateAttaching:
26 elif enum == lldb.eStateLaunching:
28 elif enum == lldb.eStateStopped:
30 elif enum == lldb.eStateRunning
    [all...]
  /external/proguard/examples/annotations/
examples.pro 42 -keepclassmembers,allowoptimization enum * {
  /external/proguard/examples/
applets.pro 44 -keepclassmembers,allowoptimization enum * {
applications.pro 50 -keepclassmembers,allowoptimization enum * {
  /device/moto/shamu/camera/QCamera2/stack/mm-camera-test/
Android.mk 20 # mm_qcamera_main_menu.c has implicit conversion from enum to enum.
22 -Wno-error=enum-conversion \
132 # mm_qcamera_main_menu.c has implicit conversion from enum to enum.
134 -Wno-error=enum-conversion \
  /frameworks/rs/api/
rs_object_types.spec 89 enum:
96 summary: Enum for selecting cube map faces
98 An enum used to specify one the six faces of a cubemap.
103 enum:
120 enum:
162 enum:
187 enum:

Completed in 787 milliseconds

1 2 3 4 5