Home
last modified time | relevance | path

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

12

/external/deqp-deps/SPIRV-Headers/tools/buildHeaders/
DjsonToSpirv.cpp361 const std::string& enumName, spv::OperandClass operandClass, in jsonToSpirv()
366 OperandClassParams[operandClass].set(enumName, enumValues, bitEnum); in jsonToSpirv()
371 const std::string enumName = operandEnum["kind"].asString(); in jsonToSpirv() local
373 if (enumName == "SourceLanguage") { in jsonToSpirv()
374 … establishOperandClass(enumName, OperandSource, &SourceLanguageParams, operandEnum, category); in jsonToSpirv()
375 } else if (enumName == "Decoration") { in jsonToSpirv()
376 … establishOperandClass(enumName, OperandDecoration, &DecorationParams, operandEnum, category); in jsonToSpirv()
377 } else if (enumName == "ExecutionMode") { in jsonToSpirv()
378 …establishOperandClass(enumName, OperandExecutionMode, &ExecutionModeParams, operandEnum, category); in jsonToSpirv()
379 } else if (enumName == "Capability") { in jsonToSpirv()
[all …]
DjsonToSpirv.h198 void set(const std::string& enumName, EnumValues* enumValuesArg, bool mask = false)
200 codeName = enumName;
/external/swiftshader/third_party/SPIRV-Headers/tools/buildHeaders/
DjsonToSpirv.cpp361 const std::string& enumName, spv::OperandClass operandClass, in jsonToSpirv()
366 OperandClassParams[operandClass].set(enumName, enumValues, bitEnum); in jsonToSpirv()
371 const std::string enumName = operandEnum["kind"].asString(); in jsonToSpirv() local
373 if (enumName == "SourceLanguage") { in jsonToSpirv()
374 … establishOperandClass(enumName, OperandSource, &SourceLanguageParams, operandEnum, category); in jsonToSpirv()
375 } else if (enumName == "Decoration") { in jsonToSpirv()
376 … establishOperandClass(enumName, OperandDecoration, &DecorationParams, operandEnum, category); in jsonToSpirv()
377 } else if (enumName == "ExecutionMode") { in jsonToSpirv()
378 …establishOperandClass(enumName, OperandExecutionMode, &ExecutionModeParams, operandEnum, category); in jsonToSpirv()
379 } else if (enumName == "Capability") { in jsonToSpirv()
[all …]
DjsonToSpirv.h198 void set(const std::string& enumName, EnumValues* enumValuesArg, bool mask = false)
200 codeName = enumName;
/external/shaderc/spirv-headers/tools/buildHeaders/
DjsonToSpirv.cpp361 const std::string& enumName, spv::OperandClass operandClass, in jsonToSpirv()
366 OperandClassParams[operandClass].set(enumName, enumValues, bitEnum); in jsonToSpirv()
371 const std::string enumName = operandEnum["kind"].asString(); in jsonToSpirv() local
373 if (enumName == "SourceLanguage") { in jsonToSpirv()
374 … establishOperandClass(enumName, OperandSource, &SourceLanguageParams, operandEnum, category); in jsonToSpirv()
375 } else if (enumName == "Decoration") { in jsonToSpirv()
376 … establishOperandClass(enumName, OperandDecoration, &DecorationParams, operandEnum, category); in jsonToSpirv()
377 } else if (enumName == "ExecutionMode") { in jsonToSpirv()
378 …establishOperandClass(enumName, OperandExecutionMode, &ExecutionModeParams, operandEnum, category); in jsonToSpirv()
379 } else if (enumName == "Capability") { in jsonToSpirv()
[all …]
DjsonToSpirv.h198 void set(const std::string& enumName, EnumValues* enumValuesArg, bool mask = false)
200 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.py256 for enumName in eComponent.xpath('enum/@name'):
257 modify(self.enums, enumName)
303 def createEnum(enumName): argument
304 info('Add enum %s', enumName)
305 return parseEnum(registry.enums[enumName, api])
/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/protobuf/objectivec/Tests/
DGPBDescriptorTests.m107 NSString *enumName = [descriptor enumNameForValue:1];
108 XCTAssertNotNil(enumName);
116 enumName = [descriptor enumNameForValue:2];
117 XCTAssertNotNil(enumName);
122 enumName = [descriptor enumNameForValue:3];
123 XCTAssertNotNil(enumName);
129 enumName = [descriptor enumNameForValue:0];
130 XCTAssertNil(enumName);
/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/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/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/skia/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 …]
DincludeWriter.h137 void checkEnumLengths(const Definition& child, string enumName, ItemLength* length) const;
/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/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/resources/javaparser_methodcalls_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/syzkaller/vendor/github.com/golang/protobuf/proto/
Dlib.go441 func UnmarshalJSONEnum(m map[string]int32, data []byte, enumName string) (int32, error) {
450 return 0, fmt.Errorf("unrecognized enum %s value %q", enumName, repr)
457 return 0, fmt.Errorf("cannot unmarshal %#q into enum %s", data, enumName)
/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/vulkan-validation-layers/layers/
Dstateless_validation.h627 …validate_ranged_enum(const char *apiName, const ParameterName &parameterName, const char *enumName, in validate_ranged_enum() argument
636 apiName, parameterName.get_name().c_str(), value, enumName); in validate_ranged_enum()
665 … const char *enumName, const std::vector<T> &valid_values, uint32_t count, const T *array, in validate_ranged_enum_array() argument
679 … apiName, arrayName.get_name().c_str(), i, array[i], enumName); in validate_ranged_enum_array()
/external/doclava/src/com/google/doclava/
DPackageInfo.java388 public ClassInfo getEnum(String enumName) { in getEnum() argument
389 return mEnumsMap.get(enumName); in getEnum()
/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