Home
last modified time | relevance | path

Searched refs:enum (Results 1 – 25 of 1553) sorted by relevance

12345678910>>...63

/external/deqp/scripts/opengl/
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("TransformFeedbackTarget")}),
[all …]
/external/clang/test/Index/
Dcomplete-type-factors.m3 enum Color {
7 enum Priority {
12 int func1(enum Color);
13 enum Priority func2(int);
15 enum Priority test1(enum Priority priority, enum Color color, int integer) {
17 enum Color c = color;
20 void (^block)(enum Color, int);
26 + (void)method:(enum Color)color priority:(enum Priority)priority;
27 - (void)method:(enum Color)color priority:(enum Priority)priority;
36 // CHECK-CC1: EnumConstantDecl:{ResultType enum Color}{TypedText Blue} (32)
[all …]
/external/clang/test/ARCMT/
Dobjcmt-ns-macros.m18 #define NS_ENUM(_type, _name) enum _name : _type _name; enum _name : _type
19 #define NS_OPTIONS(_type, _name) enum _name : _type _name; enum _name : _type
22 enum {
28 enum {
39 typedef enum {
47 typedef enum {
57 enum {
65 typedef enum {
72 enum {
78 enum {
[all …]
/external/libchrome/mojo/public/tools/bindings/generators/cpp_templates/
Denum_macros.tmpl2 Macro for enum definition, and the declaration of associated functions.
5 {%- macro enum_decl(enum) %}
6 {%- set enum_name = enum|get_name_for_kind(flatten_nested_kind=True) %}
7 enum class {{enum_name}} : int32_t {
8 {%- for field in enum.fields %}
15 {%- if enum.min_value is not none %}
16 kMinValue = {{enum.min_value}},
18 {%- if enum.max_value is not none %}
19 kMaxValue = {{enum.max_value}},
24 {%- if enum.fields %}
[all …]
/external/swiftshader/third_party/llvm-7.0/configs/common/lib/IR/
DAttributesCompatFunc.inc160 static enum Attribute::AttrKind getKind() {
165 static enum Attribute::AttrKind getKind() {
170 static enum Attribute::AttrKind getKind() {
175 static enum Attribute::AttrKind getKind() {
180 static enum Attribute::AttrKind getKind() {
185 static enum Attribute::AttrKind getKind() {
190 static enum Attribute::AttrKind getKind() {
195 static enum Attribute::AttrKind getKind() {
200 static enum Attribute::AttrKind getKind() {
205 static enum Attribute::AttrKind getKind() {
[all …]
/external/swiftshader/third_party/llvm-7.0/configs/common/include/llvm/IR/
DAttributes.inc160 static enum Attribute::AttrKind getKind() {
165 static enum Attribute::AttrKind getKind() {
170 static enum Attribute::AttrKind getKind() {
175 static enum Attribute::AttrKind getKind() {
180 static enum Attribute::AttrKind getKind() {
185 static enum Attribute::AttrKind getKind() {
190 static enum Attribute::AttrKind getKind() {
195 static enum Attribute::AttrKind getKind() {
200 static enum Attribute::AttrKind getKind() {
205 static enum Attribute::AttrKind getKind() {
[all …]
/external/swiftshader/third_party/llvm-subzero/include/llvm/IR/
DAttributes.inc148 static enum Attribute::AttrKind getKind() {
153 static enum Attribute::AttrKind getKind() {
158 static enum Attribute::AttrKind getKind() {
163 static enum Attribute::AttrKind getKind() {
168 static enum Attribute::AttrKind getKind() {
173 static enum Attribute::AttrKind getKind() {
178 static enum Attribute::AttrKind getKind() {
183 static enum Attribute::AttrKind getKind() {
188 static enum Attribute::AttrKind getKind() {
193 static enum Attribute::AttrKind getKind() {
[all …]
/external/swiftshader/third_party/llvm-subzero/build/Windows/include/llvm/IR/
DAttributes.gen148 static enum Attribute::AttrKind getKind() {
153 static enum Attribute::AttrKind getKind() {
158 static enum Attribute::AttrKind getKind() {
163 static enum Attribute::AttrKind getKind() {
168 static enum Attribute::AttrKind getKind() {
173 static enum Attribute::AttrKind getKind() {
178 static enum Attribute::AttrKind getKind() {
183 static enum Attribute::AttrKind getKind() {
188 static enum Attribute::AttrKind getKind() {
193 static enum Attribute::AttrKind getKind() {
[all …]
/external/swiftshader/third_party/llvm-subzero/build/Fuchsia/include/llvm/IR/
DAttributes.gen148 static enum Attribute::AttrKind getKind() {
153 static enum Attribute::AttrKind getKind() {
158 static enum Attribute::AttrKind getKind() {
163 static enum Attribute::AttrKind getKind() {
168 static enum Attribute::AttrKind getKind() {
173 static enum Attribute::AttrKind getKind() {
178 static enum Attribute::AttrKind getKind() {
183 static enum Attribute::AttrKind getKind() {
188 static enum Attribute::AttrKind getKind() {
193 static enum Attribute::AttrKind getKind() {
[all …]
/external/swiftshader/third_party/llvm-subzero/build/Linux/include/llvm/IR/
DAttributes.gen148 static enum Attribute::AttrKind getKind() {
153 static enum Attribute::AttrKind getKind() {
158 static enum Attribute::AttrKind getKind() {
163 static enum Attribute::AttrKind getKind() {
168 static enum Attribute::AttrKind getKind() {
173 static enum Attribute::AttrKind getKind() {
178 static enum Attribute::AttrKind getKind() {
183 static enum Attribute::AttrKind getKind() {
188 static enum Attribute::AttrKind getKind() {
193 static enum Attribute::AttrKind getKind() {
[all …]
/external/swiftshader/third_party/llvm-subzero/build/MacOS/include/llvm/IR/
DAttributes.gen148 static enum Attribute::AttrKind getKind() {
153 static enum Attribute::AttrKind getKind() {
158 static enum Attribute::AttrKind getKind() {
163 static enum Attribute::AttrKind getKind() {
168 static enum Attribute::AttrKind getKind() {
173 static enum Attribute::AttrKind getKind() {
178 static enum Attribute::AttrKind getKind() {
183 static enum Attribute::AttrKind getKind() {
188 static enum Attribute::AttrKind getKind() {
193 static enum Attribute::AttrKind getKind() {
[all …]
/external/swiftshader/third_party/llvm-subzero/build/Android/include/llvm/IR/
DAttributes.gen148 static enum Attribute::AttrKind getKind() {
153 static enum Attribute::AttrKind getKind() {
158 static enum Attribute::AttrKind getKind() {
163 static enum Attribute::AttrKind getKind() {
168 static enum Attribute::AttrKind getKind() {
173 static enum Attribute::AttrKind getKind() {
178 static enum Attribute::AttrKind getKind() {
183 static enum Attribute::AttrKind getKind() {
188 static enum Attribute::AttrKind getKind() {
193 static enum Attribute::AttrKind getKind() {
[all …]
/external/deqp/external/vulkancts/framework/vulkan/
DvkBasicTypes.inl62 enum VkPipelineCacheHeaderVersion
67 enum VkResult
98 enum VkStructureType
355 enum VkSystemAllocationScope
366 enum VkInternalAllocationType
373 enum VkFormat
604 enum VkImageType
613 enum VkImageTiling
621 enum VkPhysicalDeviceType
632 enum VkQueryType
[all …]
/external/python/cpython3/Lib/test/test_json/
Dtest_enum.py1 from enum import Enum, IntEnum
37 for enum in FloatNum:
38 self.assertEqual(self.dumps(enum), repr(enum.value))
39 self.assertEqual(float(self.dumps(enum)), enum)
40 self.assertEqual(self.loads(self.dumps(enum)), enum)
43 for enum, expected in zip(WierdNum, ('Infinity', '-Infinity', 'NaN')):
44 self.assertEqual(self.dumps(enum), expected)
45 if not isnan(enum):
46 self.assertEqual(float(self.dumps(enum)), enum)
47 self.assertEqual(self.loads(self.dumps(enum)), enum)
[all …]
/external/swiftshader/third_party/SPIRV-Tools/test/
Doperand-class-test-coverage.csv1 Operand class,Example instruction,Notes,example unit test,negative-enum coverage location
2 " OperandNone,",UNUSED,not in grammar,,not enum
3 " OperandId,",many,ID,too many to count,not enum
4 " OperandOptionalId,","Source, Variable",OPTIONAL_ID,OpSourceAcceptsOptionalFileId,not enum
6 " OperandVariableIds,",ExtInst,,,not enum
7 " OperandOptionalLiteral,",ExecutionMode,,AnyExecutionMode,not enum
8 " OperandOptionalLiteralString,",Source,,OpSourceAcceptsOptionalSourceText,not enum
9 " OperandVariableLiterals,",Decorate,,OpDecorateSimpleTest,not enum
10 " OperandVariableIdLiteral,",GroupMemberDecorate,,GroupMemberDecorate*,not enum
11 " OperandVariableLiteralId,",Switch,,Switch*,not enum
[all …]
/external/deqp-deps/SPIRV-Tools/test/
Doperand-class-test-coverage.csv1 Operand class,Example instruction,Notes,example unit test,negative-enum coverage location
2 " OperandNone,",UNUSED,not in grammar,,not enum
3 " OperandId,",many,ID,too many to count,not enum
4 " OperandOptionalId,","Source, Variable",OPTIONAL_ID,OpSourceAcceptsOptionalFileId,not enum
6 " OperandVariableIds,",ExtInst,,,not enum
7 " OperandOptionalLiteral,",ExecutionMode,,AnyExecutionMode,not enum
8 " OperandOptionalLiteralString,",Source,,OpSourceAcceptsOptionalSourceText,not enum
9 " OperandVariableLiterals,",Decorate,,OpDecorateSimpleTest,not enum
10 " OperandVariableIdLiteral,",GroupMemberDecorate,,GroupMemberDecorate*,not enum
11 " OperandVariableLiteralId,",Switch,,Switch*,not enum
[all …]
/external/python/cpython2/Lib/test/
Dtest_enumerate.py66 enum = enumerate variable in 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(''))
87 self.assertEqual(list(self.enum(Ig(self.seq))), self.res)
[all …]
/external/libchrome/mojo/public/tools/bindings/pylib/mojom/generate/
Dconstant_resolver.py18 named_value.enum.fields), None)
22 (named_value.name, named_value.enum.name))
24 ResolveEnum(named_value.enum)
45 def ResolveEnum(enum): argument
46 def ResolveEnumField(enum, field, default_value): argument
50 raise RuntimeError('Circular dependency for enum: %s' % enum.name)
66 for field in enum.fields:
67 ResolveEnumField(enum, field, current_value)
73 for enum in module.enums:
74 ResolveEnum(enum)
[all …]
/external/clang/test/Rewriter/
Drewrite-modern-ivars-1.mm28 enum {
32 enum e {
39 enum e E2;
69 enum {
75 enum e E2;
90 enum OUTSIDE {
96 enum INSIDE {
100 enum OUTSIDE meetoo;
102 enum {
110 enum INSIDE I1;
[all …]
/external/clang/test/SemaObjC/
Denum-fixed-type.m9 typedef enum : Integer { Enumerator1, Enumerator2 } Enumeration;
14 enum Color { Red, Green, Blue };
17 enum Color : 4;
18 enum Color field1: 4;
19 enum Other : Integer field2;
20 enum Other : Integer field3 : 4;
21 enum : Integer { Blah, Blarg } field4 : 4;
30 typedef enum : long { Foo } IntegerEnum;
36 typedef enum : long long { Bar = -1 } LongLongEnum;
39 typedef enum : Integer { BaseElem } BaseEnum;
[all …]
/external/libchrome/mojo/public/tools/bindings/generators/java_templates/
Denum_definition.tmpl1 {%- macro enum_value(enum, field, index) -%}
7 {{enum.fields[index - 1]|name}} + 1
11 {%- macro enum_def(enum, top_level) -%}
12 public {{ 'static ' if not top_level }}final class {{enum|name}} {
14 {% for field in enum.fields %}
15 public static final int {{field|name}} = {{enum_value(enum, field, loop.index0)}};
18 …private static final boolean IS_EXTENSIBLE = {% if enum.extensible %}true{% else %}false{% endif %…
21 {%- if enum.fields %}
23 {%- for enum_field in enum.fields|groupby('numeric_value') %}
36 throw new DeserializationException("Invalid enum value.");
[all …]
/external/python/cpython3/Lib/test/
Dtest_enumerate.py87 enum = enumerate variable in EnumerateTestCase
91 self.assertEqual(type(self.enum(self.seq)), self.enum)
92 e = self.enum(self.seq)
94 self.assertEqual(list(self.enum(self.seq)), self.res)
95 self.enum.__doc__
98 self.check_pickle(self.enum(self.seq), self.res)
101 self.assertEqual(list(self.enum(G(self.seq))), self.res)
102 e = self.enum(G(''))
106 self.assertEqual(list(self.enum(I(self.seq))), self.res)
107 e = self.enum(I(''))
[all …]
/external/mesa3d/src/mapi/glapi/gen/
Dgl_enums.py167 for enum in sorted_enum_values:
168 (name, pri) = self.enum_table[enum]
174 string_offsets[ enum ] = i
183 for enum in sorted_enum_values:
184 (name, pri) = self.enum_table[enum]
185 print ' { %5u, 0x%08X }, /* %s */' % (string_offsets[enum], enum, name)
229 for enum in extension.findall('require/enum'):
230 self.add_enum_provider(enum.get('name'), extension_prio)
235 for enum in xml.findall('enums/enum'):
236 name = enum.get('name')
[all …]
/external/tensorflow/tensorflow/tools/api/golden/v1/
Dtensorflow.autograph.experimental.-feature.pbtxt3 is_instance: "<enum \'Feature\'>"
6 mtype: "<enum \'Feature\'>"
10 mtype: "<enum \'Feature\'>"
14 mtype: "<enum \'Feature\'>"
18 mtype: "<enum \'Feature\'>"
22 mtype: "<enum \'Feature\'>"
26 mtype: "<enum \'Feature\'>"
30 mtype: "<enum \'Feature\'>"
34 mtype: "<enum \'Feature\'>"
/external/tensorflow/tensorflow/tools/api/golden/v2/
Dtensorflow.autograph.experimental.-feature.pbtxt3 is_instance: "<enum \'Feature\'>"
6 mtype: "<enum \'Feature\'>"
10 mtype: "<enum \'Feature\'>"
14 mtype: "<enum \'Feature\'>"
18 mtype: "<enum \'Feature\'>"
22 mtype: "<enum \'Feature\'>"
26 mtype: "<enum \'Feature\'>"
30 mtype: "<enum \'Feature\'>"
34 mtype: "<enum \'Feature\'>"

12345678910>>...63