/external/deqp/scripts/opengl/ |
D | 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 …]
|
D | gen_enums.py | 28 def enumDefinition (enum): argument 29 return "#define %s\t%s" % (enum.name, normalizeConstant(enum.value))
|
/external/clang/test/Index/ |
D | complete-type-factors.m | 3 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/ |
D | objcmt-ns-macros.m | 18 #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 …]
|
D | objcmt-undefined-ns-macros.m | 8 enum { 19 enum { two = 1 } NumericEnum2; 21 typedef enum { three = 1 } NumericEnum3; 23 typedef enum { four = 1 } NumericEnum4;
|
/external/lldb/test/ |
D | lldbutil.py | 137 def state_type_to_str(enum): argument 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: 153 elif enum == lldb.eStateStepping: 155 elif enum == lldb.eStateCrashed: [all …]
|
/external/mesa3d/src/mapi/glapi/gen/ |
D | gl_enums.py | 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: 204 print ' { %5u, 0x%08X }, /* %s */' % (string_offsets[name], enum, name) 210 for enum in keys: 211 name = enum_table[ enum ] 212 if [name, enum] not in name_table: [all …]
|
/external/clang/test/Rewriter/ |
D | rewrite-modern-ivars-1.mm | 28 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/ltrace/testsuite/ltrace.main/ |
D | 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[ui…
|
/external/clang/test/SemaObjC/ |
D | enum-fixed-type.m | 9 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 …]
|
D | blocks.m | 77 // In C, enum constants have the type of the underlying integer type, not the 78 // enumeration they are part of. We pretend the constants have enum type if 80 enum CStyleEnum { 84 enum CStyleEnum getCSE(); 85 typedef enum CStyleEnum (^cse_block_t)(); 89 enum CStyleEnum value; 95 …a = ^{ // expected-error {{incompatible block pointer types assigning to 'cse_block_t' (aka 'enum … 110 …a = ^{ // expected-error {{incompatible block pointer types assigning to 'cse_block_t' (aka 'enum … 117 …a = ^{ // expected-error {{incompatible block pointer types assigning to 'cse_block_t' (aka 'enum … 124 …a = ^{ // expected-error {{incompatible block pointer types assigning to 'cse_block_t' (aka 'enum … [all …]
|
D | boxing-illegal.m | 47 enum MyEnum { 51 enum ForwE; 54 enum MyEnum myen; 57 …box = @(*(enum ForwE*)p); // expected-error {{incomplete type 'enum ForwE' used in a boxed express…
|
/external/deqp/scripts/egl/ |
D | enums.py | 22 def enumValue (enum, typePrefix = ""): argument 23 if enum.name in TYPED_VALUES: 24 return enum.value.replace("(EGL", "(%sEGL" % typePrefix) 26 return normalizeConstant(enum.value) 28 def enumDefinition (enum): argument 29 return "#define %s\t%s" % (enum.name, enumValue(enum, "eglw::"))
|
D | 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: "getConfigA… 37 "eglGetCurrentSurface": LogSpec({0: enum("SurfaceTarget")}), 39 "eglQueryAPI": LogSpec({}, returnPrint = enum("API")), 40 …"eglQueryContext": LogSpec({2: enum("ContextAttrib")}, argOutPrints = {3: lambda n: "getContextA… 41 …"eglQuerySurface": LogSpec({2: enum("SurfaceAttrib")}, argOutPrints = {3: lambda n: "getSurfaceA… 42 …"eglSurfaceAttrib": LogSpec({2: enum("SurfaceAttrib"), 3: lambda n: "getSurfaceAttribValueStr(at…
|
/external/clang/bindings/python/tests/cindex/ |
D | test_cursor.py | 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 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.LONGLONG 175 enum = get_cursor(tu, 'TEST') 176 assert enum is not None [all …]
|
/external/mesa3d/src/gallium/state_trackers/d3d1x/d3dapi/ |
D | d3dcommon.idl | 32 typedef enum D3D_DRIVER_TYPE 42 typedef enum D3D_FEATURE_LEVEL 52 typedef enum D3D_PRIMITIVE_TOPOLOGY 157 typedef enum D3D_PRIMITIVE 250 typedef enum D3D_SRV_DIMENSION 321 typedef enum _D3D_INCLUDE_TYPE 347 typedef enum _D3D_SHADER_VARIABLE_CLASS 369 typedef enum _D3D_SHADER_VARIABLE_FLAGS 384 typedef enum _D3D_SHADER_VARIABLE_TYPE 496 typedef enum _D3D_SHADER_INPUT_FLAGS [all …]
|
/external/antlr/antlr-3.4/runtime/ObjC/Framework/examples/hoistedPredicates/ |
D | T.g | 3 * how predicates can be used to distinguish between enum as a keyword and 16 /* With this true, enum is seen as a keyword. False, it's an identifier */ 24 stat: identifier {NSLog(@"enum is an ID");} 25 | enumAsKeyword {NSLog(@"enum is a keyword");} 33 enumAsKeyword : {enableEnum}? 'enum' ; 35 enumAsID : {!enableEnum}? 'enum' ;
|
/external/wpa_supplicant_8/wpa_supplicant/wpa_gui-qt4/ |
D | eventhistory.ui | 25 <enum>Qt::ScrollBarAlwaysOn</enum> 28 <enum>QAbstractItemView::NoSelection</enum> 35 <enum>Qt::Horizontal</enum>
|
D | userdatarequest.ui | 47 <enum>QLineEdit::Password</enum> 67 <enum>Expanding</enum> 70 <enum>Horizontal</enum>
|
/external/clang/docs/tools/ |
D | 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) 79 enum = None 99 enum = Enum(name, comment) 113 enums[enum.name] = enum 121 enum.values.append(EnumValue(line.replace(',', ''), comment)) 129 option.enum = enums[option.type]
|
/external/lldb/utils/vim-lldb/python-vim-lldb/ |
D | lldb_controller.py | 16 def state_type_to_str(enum): argument 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: 32 elif enum == lldb.eStateStepping: 34 elif enum == lldb.eStateCrashed: [all …]
|
/external/clang/test/SemaObjCXX/ |
D | boxing-illegal-types.mm | 47 enum MyEnum { 51 enum ForwE; // expected-error {{ISO C++ forbids forward references to 'enum' types}} 54 enum MyEnum myen; 57 …box = @(*(enum ForwE*)p); // expected-error {{incomplete type 'enum ForwE' used in a boxed express…
|
/external/clang/test/CodeGenObjC/ |
D | objc-fixed-enum.m | 2 // The DWARF standard says the underlying data type of an enum may be 3 // stored in an DW_AT_type entry in the enum DIE. This is useful to have 7 #define NS_ENUM(_type, _name) enum _name : _type _name; enum _name : _type 10 typedef enum { 22 typedef enum : NSInteger { 28 enum : NSInteger
|
/external/deqp/scripts/khr_util/ |
D | 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)
|
/external/protobuf/python/google/protobuf/internal/ |
D | descriptor_pool_test1.proto | 37 enum NestedEnum { 45 enum NestedEnum { 54 enum NestedEnum { 67 enum NestedEnum { 75 enum NestedEnum { 84 enum NestedEnum {
|