Home
last modified time | relevance | path

Searched refs:enumName (Results 1 – 25 of 40) sorted by relevance

12

/external/angle/third_party/spirv-headers/src/tools/buildHeaders/
DjsonToSpirv.cpp406 const std::string& enumName, spv::OperandClass operandClass, in jsonToSpirv()
411 OperandClassParams[operandClass].set(enumName, enumValues, bitEnum); in jsonToSpirv()
416 const std::string enumName = operandEnum["kind"].asString(); in jsonToSpirv() local
418 if (enumName == "SourceLanguage") { in jsonToSpirv()
419 … establishOperandClass(enumName, OperandSource, &SourceLanguageParams, operandEnum, category); in jsonToSpirv()
420 } else if (enumName == "Decoration") { in jsonToSpirv()
421 … establishOperandClass(enumName, OperandDecoration, &DecorationParams, operandEnum, category); in jsonToSpirv()
422 } else if (enumName == "ExecutionMode") { in jsonToSpirv()
423 …establishOperandClass(enumName, OperandExecutionMode, &ExecutionModeParams, operandEnum, category); in jsonToSpirv()
424 } else if (enumName == "Capability") { in jsonToSpirv()
[all …]
DjsonToSpirv.h220 void set(const std::string& enumName, EnumValues* enumValuesArg, bool mask = false)
222 codeName = enumName;
/external/deqp-deps/SPIRV-Headers/tools/buildHeaders/
DjsonToSpirv.cpp406 const std::string& enumName, spv::OperandClass operandClass, in jsonToSpirv()
411 OperandClassParams[operandClass].set(enumName, enumValues, bitEnum); in jsonToSpirv()
416 const std::string enumName = operandEnum["kind"].asString(); in jsonToSpirv() local
418 if (enumName == "SourceLanguage") { in jsonToSpirv()
419 … establishOperandClass(enumName, OperandSource, &SourceLanguageParams, operandEnum, category); in jsonToSpirv()
420 } else if (enumName == "Decoration") { in jsonToSpirv()
421 … establishOperandClass(enumName, OperandDecoration, &DecorationParams, operandEnum, category); in jsonToSpirv()
422 } else if (enumName == "ExecutionMode") { in jsonToSpirv()
423 …establishOperandClass(enumName, OperandExecutionMode, &ExecutionModeParams, operandEnum, category); in jsonToSpirv()
424 } else if (enumName == "Capability") { in jsonToSpirv()
[all …]
DjsonToSpirv.h220 void set(const std::string& enumName, EnumValues* enumValuesArg, bool mask = false)
222 codeName = enumName;
/external/shaderc/spirv-headers/tools/buildHeaders/
DjsonToSpirv.cpp378 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 …]
DjsonToSpirv.h208 void set(const std::string& enumName, EnumValues* enumValuesArg, bool mask = false)
210 codeName = enumName;
/external/swiftshader/third_party/SPIRV-Headers/tools/buildHeaders/
DjsonToSpirv.cpp394 const std::string& enumName, spv::OperandClass operandClass, in jsonToSpirv()
399 OperandClassParams[operandClass].set(enumName, enumValues, bitEnum); in jsonToSpirv()
404 const std::string enumName = operandEnum["kind"].asString(); in jsonToSpirv() local
406 if (enumName == "SourceLanguage") { in jsonToSpirv()
407 … establishOperandClass(enumName, OperandSource, &SourceLanguageParams, operandEnum, category); in jsonToSpirv()
408 } else if (enumName == "Decoration") { in jsonToSpirv()
409 … establishOperandClass(enumName, OperandDecoration, &DecorationParams, operandEnum, category); in jsonToSpirv()
410 } else if (enumName == "ExecutionMode") { in jsonToSpirv()
411 …establishOperandClass(enumName, OperandExecutionMode, &ExecutionModeParams, operandEnum, category); in jsonToSpirv()
412 } else if (enumName == "Capability") { in jsonToSpirv()
[all …]
DjsonToSpirv.h215 void set(const std::string& enumName, EnumValues* enumValuesArg, bool mask = false)
217 codeName = enumName;
/external/deqp/scripts/khr_util/
Dgen_str_util.py136 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)
Dregistry.py261 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/
DGPBDescriptorTests.m152 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/
Dstdnmtst.c174 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/icu/icu4j/tools/build/src/com/ibm/icu/dev/tool/docs/
DDeprecatedAPIChecker.java189 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/icu/icu4j/tools/misc/src/com/ibm/icu/dev/tool/layout/
DOpenTypeTagBuilder.java217 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/perfetto/infra/perfetto.dev/src/
Dgen_proto_reference.js74 for (const enumName of Object.keys(pType.values)) {
75 const enumVal = pType.values[enumName];
76 const comment = singleLineComment(pType.comments[enumName]);
77 md += `${enumName} | ${enumVal} | ${comment}\n`
/external/protobuf/ruby/src/main/java/com/google/protobuf/jruby/
DRubyDescriptorPool.java129 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/
DgluShaderLibrary.hpp111 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/
DCompilationUnit.java396 public EnumDeclaration getEnumByName(String enumName) { in getEnumByName() argument
397 return (EnumDeclaration) getTypes().stream().filter(type -> type.getName().equals(enumName) in getEnumByName()
/external/skqp/tools/bookmaker/
DincludeWriter.cpp39 void IncludeWriter::checkEnumLengths(const Definition& child, string enumName, ItemLength* length) … in checkEnumLengths() argument
40 const Definition* enumItem = this->matchMemberName(enumName, child); in checkEnumLengths()
346 string enumName(start, len); in enumHeaderOut() local
348 child.fChildren[0]->fName = enumName; in enumHeaderOut()
350 fullName = root->fName + "::" + enumName; in enumHeaderOut()
351 enumDef = root->find(enumName, RootDefinition::AllowParens::kNo); in enumHeaderOut()
356 auto mapEntry = fBmhParser->fEnumMap.find(enumName); in enumHeaderOut()
361 if (!enumDef && enumName == root->fName) { in enumHeaderOut()
370 string enumName(root->fName); in enumHeaderOut() local
371 enumName += "::_anonymous"; in enumHeaderOut()
[all …]
/external/javapoet/src/main/java/com/squareup/javapoet/
DTypeSpec.java170 void emit(CodeWriter codeWriter, String enumName, Set<Modifier> implicitModifiers) in emit() argument
178 if (enumName != null) { in emit()
181 codeWriter.emit("$L", enumName); in emit()
321 if (enumName == null && anonymousTypeArguments == null) { in emit()
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javaparser_new_src/expected_output/
Dcom_github_javaparser_ast_CompilationUnit.txt90 …Line 397) getTypes().stream().filter(type -> type.getName().equals(enumName) && type instanceof En…
91 …Line 397) getTypes().stream().filter(type -> type.getName().equals(enumName) && type instanceof En…
92 …Line 397) getTypes().stream().filter(type -> type.getName().equals(enumName) && type instanceof En…
95 Line 397) type.getName().equals(enumName) ==> java.lang.String.equals(java.lang.Object)
/external/golang-protobuf/proto/
Dlib.go479 func UnmarshalJSONEnum(m map[string]int32, data []byte, enumName string) (int32, error) {
488 return 0, fmt.Errorf("unrecognized enum %s value %q", enumName, repr)
495 return 0, fmt.Errorf("cannot unmarshal %#q into enum %s", data, enumName)
/external/doclava/src/com/google/doclava/
DPackageInfo.java388 public ClassInfo getEnum(String enumName) { in getEnum() argument
389 return mEnumsMap.get(enumName); in getEnum()
/external/vulkan-validation-layers/layers/
Dstateless_validation.h625 …validate_ranged_enum(const char *apiName, const ParameterName &parameterName, const char *enumName, in validate_ranged_enum() argument
634 apiName, parameterName.get_name().c_str(), value, enumName); in validate_ranged_enum()
663 … const char *enumName, const std::vector<T> &valid_values, uint32_t count, const T *array, in validate_ranged_enum_array() argument
677 … apiName, arrayName.get_name().c_str(), i, array[i], enumName); in validate_ranged_enum_array()
/external/clang/utils/TableGen/
DClangDiagnosticsEmitter.cpp592 SmallString<256> enumName = llvm::StringRef("DiagCat_"); in getDiagCategoryEnum() local
594 enumName += isalnum(*I) ? *I : '_'; in getDiagCategoryEnum()
595 return enumName.str(); in getDiagCategoryEnum()

12