/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 …]
|
/external/protobuf/php/tests/proto/ |
D | test_reserved_enum_lower.proto | 5 enum abstract { ZERO1 = 0; } 6 enum and { ZERO2 = 0; } 7 enum array { ZERO3 = 0; } 8 enum as { ZERO4 = 0; } 9 enum break { ZERO5 = 0; } 10 enum callable { ZERO6 = 0; } 11 enum case { ZERO7 = 0; } 12 enum catch { ZERO8 = 0; } 13 enum class { ZERO9 = 0; } 14 enum clone { ZERO10 = 0; } [all …]
|
D | test_reserved_enum_upper.proto | 5 enum ABSTRACT { ZERO1 = 0; } 6 enum AND { ZERO2 = 0; } 7 enum ARRAY { ZERO3 = 0; } 8 enum AS { ZERO4 = 0; } 9 enum BREAK { ZERO5 = 0; } 10 enum CALLABLE { ZERO6 = 0; } 11 enum CASE { ZERO7 = 0; } 12 enum CATCH { ZERO8 = 0; } 13 enum CLASS { ZERO9 = 0; } 14 enum CLONE { ZERO10 = 0; } [all …]
|
/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/llvm-project/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/llvm-project/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 …]
|
/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 …]
|
/external/angle/extensions/ |
D | ANGLE_robust_client_memory.txt | 53 void GetBooleanvRobustANGLE(enum pname, sizei bufSize, sizei *length, boolean *data) 54 …void GetBufferParameterivRobustANGLE(enum target, enum pname, sizei bufSize, sizei *length, int *p… 55 void GetFloatvRobustANGLE(enum pname, sizei bufSize, sizei *length, float *data) 56 …void GetFramebufferAttachmentParameterivRobustANGLE(enum target, enum attachment, enum pname, size… 57 void GetIntegervRobustANGLE(enum pname, sizei bufSize, sizei *length, int *data) 58 … void GetProgramivRobustANGLE(uint program, enum pname, sizei bufSize, sizei *length, int *params) 59 …void GetRenderbufferParameterivRobustANGLE(enum target, enum pname, sizei bufSize, sizei *length, … 60 void GetShaderivRobustANGLE(uint shader, enum pname, sizei bufSize, sizei *length, int *params) 61 …void GetTexParameterfvRobustANGLE(enum target, enum pname, sizei bufSize, sizei *length, float *pa… 62 …void GetTexParameterivRobustANGLE(enum target, enum pname, sizei bufSize, sizei *length, int *para… [all …]
|
/external/libchrome/mojo/public/tools/bindings/generators/cpp_templates/ |
D | enum_macros.tmpl | 2 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/protobuf/benchmarks/datasets/google_message4/ |
D | benchmark_message4_3.proto | 8 enum UnusedEnum { 13 enum Enum2593 { 24 enum Enum2834 { 30 enum Enum2806 { 48 enum Enum2851 { 173 enum Enum2602 { 188 enum Enum3071 { 219 enum Enum3805 { 234 enum Enum3783 { 257 enum Enum3851 { [all …]
|
/external/swiftshader/third_party/llvm-10.0/configs/common/lib/IR/ |
D | AttributesCompatFunc.inc | 172 static enum Attribute::AttrKind getKind() { 177 static enum Attribute::AttrKind getKind() { 182 static enum Attribute::AttrKind getKind() { 187 static enum Attribute::AttrKind getKind() { 192 static enum Attribute::AttrKind getKind() { 197 static enum Attribute::AttrKind getKind() { 202 static enum Attribute::AttrKind getKind() { 207 static enum Attribute::AttrKind getKind() { 212 static enum Attribute::AttrKind getKind() { 217 static enum Attribute::AttrKind getKind() { [all …]
|
/external/swiftshader/third_party/llvm-10.0/configs/common/include/llvm/IR/ |
D | Attributes.inc | 172 static enum Attribute::AttrKind getKind() { 177 static enum Attribute::AttrKind getKind() { 182 static enum Attribute::AttrKind getKind() { 187 static enum Attribute::AttrKind getKind() { 192 static enum Attribute::AttrKind getKind() { 197 static enum Attribute::AttrKind getKind() { 202 static enum Attribute::AttrKind getKind() { 207 static enum Attribute::AttrKind getKind() { 212 static enum Attribute::AttrKind getKind() { 217 static enum Attribute::AttrKind getKind() { [all …]
|
/external/swiftshader/third_party/llvm-subzero/build/Fuchsia/include/llvm/IR/ |
D | Attributes.gen | 148 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/ |
D | Attributes.gen | 148 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/ |
D | Attributes.gen | 148 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/ |
D | Attributes.gen | 148 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/ |
D | Attributes.gen | 148 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/include/llvm/IR/ |
D | Attributes.inc | 148 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/llvm-project/lldb/utils/lui/ |
D | lldbutil.py | 153 def state_type_to_str(enum): argument 155 if enum == lldb.eStateInvalid: 157 elif enum == lldb.eStateUnloaded: 159 elif enum == lldb.eStateConnected: 161 elif enum == lldb.eStateAttaching: 163 elif enum == lldb.eStateLaunching: 165 elif enum == lldb.eStateStopped: 167 elif enum == lldb.eStateRunning: 169 elif enum == lldb.eStateStepping: 171 elif enum == lldb.eStateCrashed: [all …]
|
/external/python/cpython3/Lib/test/test_json/ |
D | test_enum.py | 1 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/llvm-project/clang-tools-extra/docs/clang-tidy/checks/ |
D | bugprone-suspicious-enum-usage.rst | 1 .. title:: clang-tidy - bugprone-suspicious-enum-usage 3 bugprone-suspicious-enum-usage 6 The checker detects various cases when an enum is probably misused (as a bitmask 9 1. When "ADD" or "bitwise OR" is used between two enum which come from different 13 regard the enum as a (suspicious) 16 * at most half of the elements of the enum are non pow-of-2 numbers (because of 18 * there is another non pow-of-2 number than the enum constant representing all 19 choices (the result "bitwise OR" operation of all enum elements) 20 * enum type variable/enumconstant is used as an argument of a `+` or "bitwise OR 27 3. Check only the enum value side of a `|` and `+` operator if one of them is not [all …]
|
/external/deqp/external/vulkancts/framework/vulkan/ |
D | vkBasicTypes.inl | 73 enum VkResult 122 enum VkStructureType 784 enum VkImageLayout 823 enum VkObjectType 873 enum VkVendorId 884 enum VkPipelineCacheHeaderVersion 890 enum VkSystemAllocationScope 901 enum VkInternalAllocationType 908 enum VkFormat 1194 enum VkImageTiling [all …]
|
/external/libabigail/tests/data/test-abidiff-exit/ |
D | test-decl-enum-report.txt | 6 …[C] 'function void reg1(const embodied_enum*)' at test-decl-enum-v1.c:4:1 has some indirect sub-ty… 9 in unqualified underlying type 'enum embodied_enum' at test-decl-enum-v1.c:1:1: 10 … enum type enum embodied_enum was a declaration-only enum type and is now a defined enum type 12 …[C] 'function void reg2(const disembodied_enum*)' at test-decl-enum-v1.c:5:1 has some indirect sub… 15 in unqualified underlying type 'enum disembodied_enum': 16 … enum type enum disembodied_enum was a defined enum type and is now a declaration-only enum type
|
/external/swiftshader/third_party/SPIRV-Tools/test/ |
D | operand-class-test-coverage.csv | 1 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/angle/third_party/vulkan-deps/spirv-tools/src/test/ |
D | operand-class-test-coverage.csv | 1 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 …]
|