/external/angle/third_party/vulkan-deps/spirv-headers/src/tools/buildHeaders/ |
D | jsonToSpirv.cpp | 455 const std::string& enumName, spv::OperandClass operandClass, in jsonToSpirv() 460 OperandClassParams[operandClass].set(enumName, enumValues, bitEnum); in jsonToSpirv() 465 const std::string enumName = operandEnum["kind"].asString(); in jsonToSpirv() local 467 if (enumName == "SourceLanguage") { in jsonToSpirv() 468 … establishOperandClass(enumName, OperandSource, &SourceLanguageParams, operandEnum, category); in jsonToSpirv() 469 } else if (enumName == "Decoration") { in jsonToSpirv() 470 … establishOperandClass(enumName, OperandDecoration, &DecorationParams, operandEnum, category); in jsonToSpirv() 471 } else if (enumName == "ExecutionMode") { in jsonToSpirv() 472 …establishOperandClass(enumName, OperandExecutionMode, &ExecutionModeParams, operandEnum, category); in jsonToSpirv() 473 } else if (enumName == "Capability") { in jsonToSpirv() [all …]
|
D | jsonToSpirv.h | 228 void set(const std::string& enumName, EnumValues* enumValuesArg, bool mask = false) 230 codeName = enumName;
|
/external/swiftshader/third_party/SPIRV-Headers/tools/buildHeaders/ |
D | jsonToSpirv.cpp | 415 const std::string& enumName, spv::OperandClass operandClass, in jsonToSpirv() 420 OperandClassParams[operandClass].set(enumName, enumValues, bitEnum); in jsonToSpirv() 425 const std::string enumName = operandEnum["kind"].asString(); in jsonToSpirv() local 427 if (enumName == "SourceLanguage") { in jsonToSpirv() 428 … establishOperandClass(enumName, OperandSource, &SourceLanguageParams, operandEnum, category); in jsonToSpirv() 429 } else if (enumName == "Decoration") { in jsonToSpirv() 430 … establishOperandClass(enumName, OperandDecoration, &DecorationParams, operandEnum, category); in jsonToSpirv() 431 } else if (enumName == "ExecutionMode") { in jsonToSpirv() 432 …establishOperandClass(enumName, OperandExecutionMode, &ExecutionModeParams, operandEnum, category); in jsonToSpirv() 433 } else if (enumName == "Capability") { in jsonToSpirv() [all …]
|
D | jsonToSpirv.h | 223 void set(const std::string& enumName, EnumValues* enumValuesArg, bool mask = false) 225 codeName = enumName;
|
/external/deqp-deps/SPIRV-Headers/tools/buildHeaders/ |
D | jsonToSpirv.cpp | 415 const std::string& enumName, spv::OperandClass operandClass, in jsonToSpirv() 420 OperandClassParams[operandClass].set(enumName, enumValues, bitEnum); in jsonToSpirv() 425 const std::string enumName = operandEnum["kind"].asString(); in jsonToSpirv() local 427 if (enumName == "SourceLanguage") { in jsonToSpirv() 428 … establishOperandClass(enumName, OperandSource, &SourceLanguageParams, operandEnum, category); in jsonToSpirv() 429 } else if (enumName == "Decoration") { in jsonToSpirv() 430 … establishOperandClass(enumName, OperandDecoration, &DecorationParams, operandEnum, category); in jsonToSpirv() 431 } else if (enumName == "ExecutionMode") { in jsonToSpirv() 432 …establishOperandClass(enumName, OperandExecutionMode, &ExecutionModeParams, operandEnum, category); in jsonToSpirv() 433 } else if (enumName == "Capability") { in jsonToSpirv() [all …]
|
D | jsonToSpirv.h | 225 void set(const std::string& enumName, EnumValues* enumValuesArg, bool mask = false) 227 codeName = enumName;
|
/external/shaderc/spirv-headers/tools/buildHeaders/ |
D | jsonToSpirv.cpp | 378 const std::string& enumName, spv::OperandClass operandClass, in jsonToSpirv() 383 OperandClassParams[operandClass].set(enumName, enumValues, bitEnum); in jsonToSpirv() 388 const std::string enumName = operandEnum["kind"].asString(); in jsonToSpirv() local 390 if (enumName == "SourceLanguage") { in jsonToSpirv() 391 … establishOperandClass(enumName, OperandSource, &SourceLanguageParams, operandEnum, category); in jsonToSpirv() 392 } else if (enumName == "Decoration") { in jsonToSpirv() 393 … establishOperandClass(enumName, OperandDecoration, &DecorationParams, operandEnum, category); in jsonToSpirv() 394 } else if (enumName == "ExecutionMode") { in jsonToSpirv() 395 …establishOperandClass(enumName, OperandExecutionMode, &ExecutionModeParams, operandEnum, category); in jsonToSpirv() 396 } else if (enumName == "Capability") { in jsonToSpirv() [all …]
|
D | jsonToSpirv.h | 208 void set(const std::string& enumName, EnumValues* enumValuesArg, bool mask = false) 210 codeName = enumName;
|
/external/llvm-project/mlir/tools/mlir-tblgen/ |
D | EnumsGen.cpp | 40 static void emitEnumClass(const Record &enumDef, StringRef enumName, in emitEnumClass() argument 45 os << "enum class " << enumName; in emitEnumClass() 63 static void emitDenseMapInfo(StringRef enumName, std::string underlyingType, in emitDenseMapInfo() argument 66 std::string(formatv("{0}::{1}", cppNamespace, enumName)); in emitDenseMapInfo() 137 StringRef enumName = enumAttr.getEnumClassName(); in emitOperators() local 139 os << formatv("inline {0} operator|({0} lhs, {0} rhs) {{\n", enumName) in emitOperators() 142 enumName, underlyingType) in emitOperators() 144 os << formatv("inline {0} operator&({0} lhs, {0} rhs) {{\n", enumName) in emitOperators() 147 enumName, underlyingType) in emitOperators() 152 enumName, underlyingType) in emitOperators() [all …]
|
D | OpenMPCommonGen.cpp | 51 const auto enumName = c.getEnumName(); in emitDecls() local 52 assert(enumName.size() != 0 && "enumClauseValue field not set."); in emitDecls() 61 std::string cvDef{(enumName + llvm::Twine(name)).str()}; in emitDecls() 66 os << "def " << enumName << ": StrEnumAttr<\n"; in emitDecls() 67 os << " \"Clause" << enumName << "\",\n"; in emitDecls() 68 os << " \"" << enumName << " Clause\",\n"; in emitDecls()
|
D | SPIRVUtilsGen.cpp | 307 StringRef enumName = enumAttr.getEnumClassName(); in emitAvailabilityQueryForIntEnum() local 326 enumName); in emitAvailabilityQueryForIntEnum() 332 os << formatv(" case {0}::{1}: { {2} return {3}({4}); }\n", enumName, in emitAvailabilityQueryForIntEnum() 348 StringRef enumName = enumAttr.getEnumClassName(); in emitAvailabilityQueryForBitEnum() local 368 enumName); in emitAvailabilityQueryForBitEnum() 379 os << formatv(" case {0}::{1}: { {2} return {3}({4}); }\n", enumName, in emitAvailabilityQueryForBitEnum() 392 StringRef enumName = enumAttr.getEnumClassName(); in emitEnumDecl() local 413 enumName); in emitEnumDecl() 1148 auto enumName = enumAttr.getEnumClassName(); in emitEnumGetAttrNameFnDefn() local 1150 enumName); in emitEnumGetAttrNameFnDefn() [all …]
|
/external/deqp/scripts/khr_util/ |
D | gen_str_util.py | 136 for enumName, enumQueryNumOutputs in groupQueries: 137 if enumName in allEnums: 138 yield "case %s:\treturn %s;" % (enumName, enumQueryNumOutputs) 140 print("Warning: %s not defined, skipping" % enumName) 164 for enumName, enumQueryNumOutputs in groupQueries: 165 if enumName in allEnums: 166 yield "case %s:\treturn %s;" % (enumName, enumQueryNumOutputs) 168 print("Warning: %s not defined, skipping" % enumName)
|
D | registry.py | 261 for enumName in eComponent.xpath('enum/@name'): 262 modify(self.enums, enumName) 308 def createEnum(enumName): argument 309 info('Add enum %s', enumName) 310 return parseEnum(registry.enums[enumName, api])
|
/external/protobuf/objectivec/Tests/ |
D | GPBDescriptorTests.m | 152 NSString *enumName = [descriptor enumNameForValue:1]; 153 XCTAssertNotNil(enumName); 161 enumName = [descriptor enumNameForValue:2]; 162 XCTAssertNotNil(enumName); 167 enumName = [descriptor enumNameForValue:3]; 168 XCTAssertNotNil(enumName); 174 enumName = [descriptor textFormatNameForValue:1]; 175 XCTAssertNotNil(enumName); 181 enumName = [descriptor enumNameForValue:0]; 182 XCTAssertNil(enumName); [all …]
|
/external/icu/icu4c/source/test/cintltst/ |
D | stdnmtst.c | 174 const char *enumName, *testName; in doTestNames() local 193 enumName = uenum_next(myEnum, &len, &err); in doTestNames() 195 if (uprv_strcmp(enumName, testName) != 0 || U_FAILURE(err) in doTestNames() 199 idx, enumName, testName, len, u_errorName(err)); in doTestNames() 201 log_verbose("%s\n", enumName); in doTestNames() 206 enumName = uenum_next(myEnum, &len, &err); in doTestNames() 207 if (enumName != NULL || len != 0 || U_FAILURE(err)) { in doTestNames() 247 const UChar *enumName = uenum_unext(myEnum, &len, &err); in doTestUCharNames() local 249 if (u_strcmp(enumName, testName) != 0 || U_FAILURE(err) in doTestUCharNames() 253 idx, enumName, testName, len, u_errorName(err)); in doTestUCharNames()
|
/external/catch2/include/internal/ |
D | catch_enum_values_registry.cpp | 54 …std::unique_ptr<EnumInfo> makeEnumInfo( StringRef enumName, StringRef allValueNames, std::vector<i… in makeEnumInfo() argument 56 enumInfo->m_name = enumName; in makeEnumInfo() 68 …EnumInfo const& EnumValuesRegistry::registerEnum( StringRef enumName, StringRef allValueNames, std… in registerEnum() argument 69 m_enumInfos.push_back(makeEnumInfo(enumName, allValueNames, values)); in registerEnum()
|
D | catch_interfaces_enum_values_registry.h | 31 …virtual Detail::EnumInfo const& registerEnum( StringRef enumName, StringRef allEnums, std::vector<… 34 …Detail::EnumInfo const& registerEnum( StringRef enumName, StringRef allEnums, std::initializer_lis… in registerEnum() 40 return registerEnum( enumName, allEnums, intValues ); in registerEnum()
|
D | catch_enum_values_registry.h | 20 …std::unique_ptr<EnumInfo> makeEnumInfo( StringRef enumName, StringRef allValueNames, std::vector<i… 26 …EnumInfo const& registerEnum( StringRef enumName, StringRef allEnums, std::vector<int> const& valu…
|
D | catch_tostring.h | 652 #define INTERNAL_CATCH_REGISTER_ENUM( enumName, ... ) \ 654 template<> struct StringMaker<enumName> { \ 655 static std::string convert( enumName value ) { \ 656 …::getMutableRegistryHub().getMutableEnumValuesRegistry().registerEnum( #enumName, #__VA_ARGS__, { … 662 #define CATCH_REGISTER_ENUM( enumName, ... ) INTERNAL_CATCH_REGISTER_ENUM( enumName, __VA_ARGS__ )
|
/external/icu/icu4j/tools/misc/src/com/ibm/icu/dev/tool/layout/ |
D | OpenTypeTagBuilder.java | 217 private static void dumpTags(String enumName, String[] tags) in dumpTags() argument 219 System.out.println("enum LE" + enumName + "Tags {"); in dumpTags() 224 System.out.println(" LE_" + tagLabel(tag) + "_" + enumName.toUpperCase() + in dumpTags()
|
/external/icu/icu4j/tools/build/src/com/ibm/icu/dev/tool/docs/ |
D | DeprecatedAPIChecker.java | 189 String enumName = clsNameMap.get(enumPath); in checkEnum() local 192 if (enumName != null) { in checkEnum() 193 api = findEnumInfo(apiInfoSet, enumName); in checkEnum() 196 pw.println("## Error ## Enum " + enumName + " is not found in the API signature data."); in checkEnum() 201 …compareDeprecated(isAPIDeprecated(api), cls.isAnnotationPresent(Deprecated.class), enumName, null,… in checkEnum() local 209 api = findEnumConstantInfo(apiInfoSet, enumName, ecName); in checkEnum() 211 pw.println("## Error ## Enum constant " + enumName + "." + ecName in checkEnum() 217 …compareDeprecated(isAPIDeprecated(api), ec.isAnnotationPresent(Deprecated.class), enumName, ecName, in checkEnum() local 230 api = findMethodInfo(apiInfoSet, enumName, mtdName, paramNames); in checkEnum() 233 … pw.println("## Error ## Method " + enumName + "#" + mtdName + formatParams(paramNames) in checkEnum() [all …]
|
/external/perfetto/infra/perfetto.dev/src/ |
D | gen_proto_reference.js | 92 for (const enumName of Object.keys(pType.values)) { 93 const enumVal = pType.values[enumName]; 94 const comment = singleLineComment(pType.comments[enumName]); 95 md += `${enumName} | ${enumVal} | ${comment}\n`
|
/external/protobuf/ruby/src/main/java/com/google/protobuf/jruby/ |
D | RubyDescriptorPool.java | 129 String enumName = Utils.unescapeIdentifier(enumDescriptor.getName()); in buildFileDescriptor() local 131 throw runtime.newTypeError("Enum definition " + enumName in buildFileDescriptor() 134 ((RubyEnumDescriptor) symtab.get(runtime.newString(enumName))) in buildFileDescriptor()
|
/external/deqp/framework/opengl/ |
D | gluShaderLibrary.hpp | 111 deUint32 enumName; member 125 , enumName (enumName_) in RequiredCapability()
|
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javaparser_new_src/javaparser-core/com/github/javaparser/ast/ |
D | CompilationUnit.java | 396 public EnumDeclaration getEnumByName(String enumName) { in getEnumByName() argument 397 return (EnumDeclaration) getTypes().stream().filter(type -> type.getName().equals(enumName) in getEnumByName()
|