/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/deqp/external/vulkancts/framework/vulkan/ |
D | vkBasicTypes.inl | 4 enum { VK_API_VERSION = VK_MAKE_VERSION(1, 0, 5) }; 5 enum { VK_MAX_PHYSICAL_DEVICE_NAME_SIZE = 256 }; 6 enum { VK_MAX_EXTENSION_NAME_SIZE = 256 }; 7 enum { VK_UUID_SIZE = 16 }; 8 enum { VK_MAX_MEMORY_TYPES = 32 }; 9 enum { VK_MAX_MEMORY_HEAPS = 16 }; 10 enum { VK_MAX_DESCRIPTION_SIZE = 256 }; 11 enum { VK_ATTACHMENT_UNUSED = (~0U) }; 12 enum { VK_SUBPASS_EXTERNAL = (~0U) }; 45 enum VkPipelineCacheHeaderVersion [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 …]
|
/external/deqp/scripts/egl/ |
D | enums.py | 42 def enumValue (enum, typePrefix = ""): argument 43 if enum.name in TYPED_VALUES: 44 return enum.value.replace("(EGL", "(%sEGL" % typePrefix) 46 return normalizeConstant(enum.value) 48 def enumDefinition (enum): argument 49 return "#define %s\t%s" % (enum.name, enumValue(enum, "eglw::"))
|
D | 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: "getConfigA… 57 "eglGetCurrentSurface": LogSpec({0: enum("SurfaceTarget")}), 59 "eglQueryAPI": LogSpec({}, returnPrint = enum("API")), 60 …"eglQueryContext": LogSpec({2: enum("ContextAttrib")}, argOutPrints = {3: lambda n: "getContextA… 61 …"eglQuerySurface": LogSpec({2: enum("SurfaceAttrib")}, argOutPrints = {3: lambda n: "getSurfaceA… 62 …"eglSurfaceAttrib": LogSpec({2: enum("SurfaceAttrib"), 3: lambda n: "getSurfaceAttribValueStr(at…
|
/external/clang/bindings/python/tests/cindex/ |
D | test_cursor.py | 211 enum = get_cursor(tu, 'TEST') 212 assert enum is not None 214 assert enum.kind == CursorKind.ENUM_DECL 215 enum_type = enum.enum_type 220 enum = get_cursor(tu, 'TEST') 221 assert enum is not None 223 assert enum.kind == CursorKind.ENUM_DECL 224 assert enum.enum_type.kind == TypeKind.LONGLONG 235 enum = get_cursor(tu, 'TEST') 236 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/autotest/frontend/afe/ |
D | 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') 11 ParameterTypes = enum.Enum('int', 'float', 'string', string_values=True)
|
/external/deqp/external/vulkancts/ |
D | gen_framework.py | 382 for enum in rawEnums: 383 if enum.name in bitfieldEnums: 384 bitfields.append(Bitfield(getBitfieldNameForBitEnum(enum.name), enum.values)) 386 enums.append(enum) 414 def getEnumValuePrefix (enum): argument 415 prefix = enum.name[0] 416 for i in range(1, len(enum.name)): 417 if enum.name[i].isupper() and not enum.name[i-1].isupper(): 419 prefix += enum.name[i].upper() 428 def areEnumValuesLinear (enum): argument [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/docs/tools/ |
D | dump_format_style.py | 38 self.enum = None 44 if self.enum: 45 s += indent('\n\nPossible values:\n\n%s\n' % self.enum, 2) 105 enum = None 126 enum = Enum(name, comment) 158 enums[enum.name] = enum 166 enum.values.append(EnumValue(line.replace(',', ''), comment)) 175 option.enum = enums[option.type]
|
/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/vulkan-validation-layers/ |
D | reg.py | 289 for enum in enums.findall('enum'): 290 enumInfo = EnumInfo(enum) 292 self.addElementInfo(enum, enumInfo, 'enum', self.enumdict) 338 for enum in feature.findall('require/enum'): 340 groupName = enum.get('extends') 345 enum.attrib['extnumber'] = featureInfo.number 351 gi.elem.append(enum) 354 groupName, 'for enum', enum.get('name'), 'found.') 356 elif (enum.get('value') or enum.get('bitpos')): 361 enumInfo = EnumInfo(enum) [all …]
|
/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)
|