Home
last modified time | relevance | path

Searched refs:EnumVal (Results 1 – 25 of 26) sorted by relevance

12

/external/llvm/lib/DebugInfo/CodeView/
DTypeStreamMerger.cpp61 #define TYPE_RECORD(EnumName, EnumVal, Name) \ argument
63 #define MEMBER_RECORD(EnumName, EnumVal, Name) \ argument
64 TYPE_RECORD(EnumName, EnumVal, Name)
65 #define TYPE_RECORD_ALIAS(EnumName, EnumVal, Name, AliasName) argument
66 #define MEMBER_RECORD_ALIAS(EnumName, EnumVal, Name, AliasName) argument
112 #define TYPE_RECORD(EnumName, EnumVal, Name) \ argument
118 #define TYPE_RECORD_ALIAS(EnumName, EnumVal, Name, AliasName) argument
119 #define MEMBER_RECORD(EnumName, EnumVal, Name) \ argument
125 #define MEMBER_RECORD_ALIAS(EnumName, EnumVal, Name, AliasName) argument
DCVTypeVisitor.cpp44 #define TYPE_RECORD(EnumName, EnumVal, Name) \ in visitTypeRecord() argument
54 #define TYPE_RECORD_ALIAS(EnumName, EnumVal, Name, AliasName) \ in visitTypeRecord() argument
55 TYPE_RECORD(EnumVal, EnumVal, AliasName) in visitTypeRecord()
56 #define MEMBER_RECORD(EnumName, EnumVal, Name) in visitTypeRecord() argument
105 #define MEMBER_RECORD(EnumName, EnumVal, Name) \ in visitFieldList() argument
115 #define MEMBER_RECORD_ALIAS(EnumName, EnumVal, Name, AliasName) \ in visitFieldList() argument
116 MEMBER_RECORD(EnumVal, EnumVal, AliasName) in visitFieldList()
DSymbolDumper.cpp37 #define SYMBOL_RECORD(EnumName, EnumVal, Name) \ argument
39 #define SYMBOL_RECORD_ALIAS(EnumName, EnumVal, Name, AliasName) argument
/external/llvm/include/llvm/DebugInfo/CodeView/
DCVSymbolVisitor.h44 #define SYMBOL_RECORD(EnumName, EnumVal, Name) \ argument
46 #define SYMBOL_RECORD_ALIAS(EnumName, EnumVal, Name, AliasName) argument
58 #define SYMBOL_RECORD(EnumName, EnumVal, Name) \ in visitSymbolRecord() argument
67 #define SYMBOL_RECORD_ALIAS(EnumName, EnumVal, Name, AliasName) \ in visitSymbolRecord() argument
68 SYMBOL_RECORD(EnumVal, EnumVal, AliasName) in visitSymbolRecord()
DTypeVisitorCallbacks.h52 #define TYPE_RECORD(EnumName, EnumVal, Name) \ argument
54 #define MEMBER_RECORD(EnumName, EnumVal, Name) \ argument
55 TYPE_RECORD(EnumName, EnumVal, Name)
56 #define TYPE_RECORD_ALIAS(EnumName, EnumVal, Name, AliasName) argument
57 #define MEMBER_RECORD_ALIAS(EnumName, EnumVal, Name, AliasName) argument
DTypeDumper.h74 #define TYPE_RECORD(EnumName, EnumVal, Name) \ argument
76 #define MEMBER_RECORD(EnumName, EnumVal, Name) \ argument
77 TYPE_RECORD(EnumName, EnumVal, Name)
78 #define TYPE_RECORD_ALIAS(EnumName, EnumVal, Name, AliasName) argument
79 #define MEMBER_RECORD_ALIAS(EnumName, EnumVal, Name, AliasName) argument
/external/clang/test/Index/
Dindex-refs.cpp8 EnumVal = 1 enumerator
11 NS::MyInt NS::gx = EnumVal;
18 SecondVal = EnumVal
72 int ginitlist[] = {EnumVal};
/external/flatbuffers/include/flatbuffers/
Dreflection_generated.h15 struct EnumVal;
226 struct EnumVal FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table {
239 bool KeyCompareLessThan(const EnumVal *o) const { in KeyCompareLessThan()
275 fbb_.AddOffset(EnumVal::VT_NAME, name); in add_name()
278 fbb_.AddElement<int64_t>(EnumVal::VT_VALUE, value, 0); in add_value()
281 fbb_.AddOffset(EnumVal::VT_OBJECT, object); in add_object()
284 fbb_.AddOffset(EnumVal::VT_UNION_TYPE, union_type); in add_union_type()
291 flatbuffers::Offset<EnumVal> Finish() { in Finish()
293 auto o = flatbuffers::Offset<EnumVal>(end); in Finish()
294 fbb_.Required(o, EnumVal::VT_NAME); in Finish()
[all …]
Didl.h302 struct EnumVal { struct
303 EnumVal(const std::string &_name, int64_t _val) in EnumVal() function
306 Offset<reflection::EnumVal> Serialize(FlatBufferBuilder *builder) const;
317 EnumVal *ReverseLookup(int enum_idx, bool skip_union_default = true) { argument
331 SymbolTable<EnumVal> vals;
/external/flatbuffers/reflection/
Dreflection.fbs42 table EnumVal {
51 values:[EnumVal] (required); // In order of their values.
/external/llvm/lib/DebugInfo/PDB/DIA/
DDIASession.cpp163 enum SymTagEnum EnumVal = static_cast<enum SymTagEnum>(Type); in findSymbolByAddress() local
166 if (S_OK != Session->findSymbolByVA(Address, EnumVal, &Symbol)) { in findSymbolByAddress()
171 if (S_OK != Session->findSymbolByRVA(RVA, EnumVal, &Symbol)) in findSymbolByAddress()
DDIARawSymbol.cpp366 enum SymTagEnum EnumVal = static_cast<enum SymTagEnum>(Type); in findChildren() local
369 if (S_OK != Symbol->findChildrenEx(EnumVal, nullptr, nsNone, &DiaEnumerator)) in findChildren()
381 enum SymTagEnum EnumVal = static_cast<enum SymTagEnum>(Type); in findChildren() local
387 Symbol->findChildrenEx(EnumVal, Name16Str, CompareFlags, &DiaEnumerator)) in findChildren()
399 enum SymTagEnum EnumVal = static_cast<enum SymTagEnum>(Type); in findChildrenByRVA() local
405 Symbol->findChildrenExByRVA(EnumVal, Name16Str, CompareFlags, RVA, in findChildrenByRVA()
/external/clang/test/CXX/dcl.dcl/dcl.attr/dcl.attr.unused/
Dp2.cpp9 EnumVal [[maybe_unused]] enumerator
/external/llvm/utils/TableGen/
DInstrInfoEmitter.cpp322 unsigned EnumVal = 0; in emitOperandTypesEnum() local
325 OS << " " << Op->getName() << " = " << EnumVal << ",\n"; in emitOperandTypesEnum()
326 ++EnumVal; in emitOperandTypesEnum()
/external/clang/test/Sema/
Ddllimport.c11 enum __declspec(dllimport) Enum { EnumVal }; // expected-warning{{'dllimport' attribute only applie… enumerator
Ddllexport.c11 enum __declspec(dllexport) Enum { EnumVal }; // expected-warning{{'dllexport' attribute only applie… enumerator
/external/flatbuffers/src/
Didl_parser.cpp1431 if (is_union) enum_def.vals.Add("NONE", new EnumVal("NONE", 0)); in ParseEnum()
1453 auto &ev = *new EnumVal(value_name, value); in ParseEnum()
1717 static bool compareEnumVals(const EnumVal *a, const EnumVal* b) { in compareEnumVals()
2447 std::vector<Offset<reflection::EnumVal>> enumval_offsets; in Serialize()
2463 Offset<reflection::EnumVal> EnumVal::Serialize(FlatBufferBuilder *builder) const in Serialize()
Didl_gen_go.cpp98 static void EnumMember(const EnumDef &enum_def, const EnumVal ev, in EnumMember()
123 static void EnumNameMember(const EnumDef &enum_def, const EnumVal ev, in EnumNameMember()
Didl_gen_cpp.cpp115 std::string Name(const EnumVal &ev) const { in Name()
538 const EnumVal &enum_val) const { in GetEnumValUse()
553 std::string GetUnionElement(const EnumVal &ev, bool wrap, bool actual_type, in GetUnionElement()
790 const EnumVal *minv = nullptr, *maxv = nullptr; in GenEnum()
Didl_gen_python.cpp67 static void EnumMember(const EnumVal ev, std::string *code_ptr) { in EnumMember()
/external/clang/lib/ARCMigrate/
DObjCMT.cpp817 uint64_t EnumVal = Enumerator->getInitVal().getZExtValue(); in UseNSOptionsMacro() local
818 if (PowerOfTwo && EnumVal) { in UseNSOptionsMacro()
819 if (!llvm::isPowerOf2_64(EnumVal)) in UseNSOptionsMacro()
821 else if (EnumVal > MaxPowerOfTwoVal) in UseNSOptionsMacro()
822 MaxPowerOfTwoVal = EnumVal; in UseNSOptionsMacro()
824 if (AllHexdecimalEnumerator && EnumVal) { in UseNSOptionsMacro()
/external/clang/lib/Sema/
DSemaDecl.cpp14311 llvm::APSInt EnumVal(IntWidth); in CheckEnumConstant() local
14332 CheckConvertedConstantExpression(Val, EltTy, EnumVal, in CheckEnumConstant()
14340 &EnumVal).get())) { in CheckEnumConstant()
14350 if (!isRepresentableIntegerValue(Context, EnumVal, EltTy)) { in CheckEnumConstant()
14375 if (!isRepresentableIntegerValue(Context, EnumVal, Context.IntTy)) in CheckEnumConstant()
14377 << EnumVal.toString(10) << Val->getSourceRange() in CheckEnumConstant()
14378 << (EnumVal.isUnsigned() || EnumVal.isNonNegative()); in CheckEnumConstant()
14409 EnumVal = LastEnumConst->getInitVal(); in CheckEnumConstant()
14410 ++EnumVal; in CheckEnumConstant()
14414 if (EnumVal < LastEnumConst->getInitVal()) { in CheckEnumConstant()
[all …]
/external/llvm/include/llvm/Support/
DCommandLine.h582 DataType EnumVal = static_cast<DataType>(va_arg(ValueArgs, int));
585 std::make_pair(EnumVal, EnumDesc)));
/external/swiftshader/third_party/LLVM/include/llvm/Support/
DCommandLine.h463 DataType EnumVal = static_cast<DataType>(va_arg(ValueArgs, int));
466 std::make_pair(EnumVal, EnumDesc)));
/external/flatbuffers/docs/source/
DSchemas.md350 `field: EnumVal`. If a field is of integral type, you can still use
352 need to be quoted, e.g. `field: "Enum.EnumVal"`. For enums

12