Searched refs:enumDef (Results 1 – 4 of 4) sorted by relevance
/external/llvm-project/mlir/tools/mlir-tblgen/ |
D | EnumsGen.cpp | 40 static void emitEnumClass(const Record &enumDef, StringRef enumName, in emitEnumClass() argument 97 static void emitMaxValueFn(const Record &enumDef, raw_ostream &os) { in emitMaxValueFn() argument 98 EnumAttr enumAttr(enumDef); in emitMaxValueFn() 135 static void emitOperators(const Record &enumDef, raw_ostream &os) { in emitOperators() argument 136 EnumAttr enumAttr(enumDef); in emitOperators() 156 static void emitSymToStrFnForIntEnum(const Record &enumDef, raw_ostream &os) { in emitSymToStrFnForIntEnum() argument 157 EnumAttr enumAttr(enumDef); in emitSymToStrFnForIntEnum() 177 static void emitSymToStrFnForBitEnum(const Record &enumDef, raw_ostream &os) { in emitSymToStrFnForBitEnum() argument 178 EnumAttr enumAttr(enumDef); in emitSymToStrFnForBitEnum() 182 StringRef separator = enumDef.getValueAsString("separator"); in emitSymToStrFnForBitEnum() [all …]
|
D | SPIRVUtilsGen.cpp | 304 static void emitAvailabilityQueryForIntEnum(const Record &enumDef, in emitAvailabilityQueryForIntEnum() argument 306 EnumAttr enumAttr(enumDef); in emitAvailabilityQueryForIntEnum() 345 static void emitAvailabilityQueryForBitEnum(const Record &enumDef, in emitAvailabilityQueryForBitEnum() argument 347 EnumAttr enumAttr(enumDef); in emitAvailabilityQueryForBitEnum() 390 static void emitEnumDecl(const Record &enumDef, raw_ostream &os) { in emitEnumDecl() argument 391 EnumAttr enumAttr(enumDef); in emitEnumDecl() 431 static void emitEnumDef(const Record &enumDef, raw_ostream &os) { in emitEnumDef() argument 432 EnumAttr enumAttr(enumDef); in emitEnumDef() 442 emitAvailabilityQueryForBitEnum(enumDef, os); in emitEnumDef() 444 emitAvailabilityQueryForIntEnum(enumDef, os); in emitEnumDef()
|
/external/protobuf/ruby/src/main/java/com/google/protobuf/jruby/ |
D | RubyBuilder.java | 118 …RubyEnumDescriptor enumDef = (RubyEnumDescriptor) cEnumDescriptor.newInstance(context, Block.NULL_… in addEnum() local 119 IRubyObject ctx = cEnumBuilderContext.newInstance(context, enumDef, Block.NULL_BLOCK); in addEnum() 120 enumDef.setName(context, name); in addEnum() 132 this.pendingList.add(enumDef); in addEnum()
|
/external/skqp/tools/bookmaker/ |
D | includeWriter.cpp | 326 const Definition* enumDef = nullptr; in enumHeaderOut() local 351 enumDef = root->find(enumName, RootDefinition::AllowParens::kNo); in enumHeaderOut() 352 if (!enumDef) { in enumHeaderOut() 353 enumDef = root->find(fullName, RootDefinition::AllowParens::kNo); in enumHeaderOut() 355 if (!enumDef) { in enumHeaderOut() 358 enumDef = &mapEntry->second; in enumHeaderOut() 361 if (!enumDef && enumName == root->fName) { in enumHeaderOut() 362 enumDef = root; in enumHeaderOut() 364 SkASSERT(enumDef); in enumHeaderOut() 375 enumDef = root->find(enumName, RootDefinition::AllowParens::kNo); in enumHeaderOut() [all …]
|