Home
last modified time | relevance | path

Searched refs:enum_type (Results 1 – 16 of 16) sorted by relevance

/freebsd/contrib/llvm-project/lldb/include/lldb/Interpreter/
H A DOptionValueEnumeration.h25 typedef int64_t enum_type; typedef
27 enum_type value;
33 OptionValueEnumeration(const OptionEnumValues &enumerators, enum_type value);
58 enum_type operator=(enum_type value) {
63 enum_type GetCurrentValue() const { return m_current_value; } in GetCurrentValue()
65 enum_type GetDefaultValue() const { return m_default_value; } in GetDefaultValue()
67 void SetCurrentValue(enum_type value) { m_current_value = value; } in SetCurrentValue()
69 void SetDefaultValue(enum_type value) { m_default_value = value; } in SetDefaultValue()
74 enum_type m_current_value;
75 enum_type m_default_value;
/freebsd/contrib/llvm-project/lldb/source/Target/
H A DRegisterFlags.cpp32 const FieldEnum *enum_type) in Field() argument
34 m_enum_type(enum_type) { in Field()
293 const FieldEnum *enum_type = field.GetEnum(); in DumpEnums() local
294 if (!enum_type) in DumpEnums()
297 const FieldEnum::Enumerators &enumerators = enum_type->GetEnumerators(); in DumpEnums()
321 if (const FieldEnum *enum_type = field.GetEnum()) { in EnumsToXML() local
322 const std::string &id = enum_type->GetID(); in EnumsToXML()
324 enum_type->ToXML(strm, GetSize()); in EnumsToXML()
417 if (const FieldEnum *enum_type = GetEnum()) in ToXML() local
418 strm << " type=\"" << enum_type->GetID() << "\""; in ToXML()
/freebsd/usr.sbin/bsnmpd/tools/libbsnmptools/
H A Dbsnmptools.h66 struct enum_type { struct
72 SLIST_ENTRY(enum_type) link; argument
75 SLIST_HEAD(snmp_enum_tc, enum_type);
262 struct enum_type *snmp_enumtc_init(char *);
263 void snmp_enumtc_free(struct enum_type *);
264 void snmp_enumtc_insert(struct snmp_toolinfo *, struct enum_type *);
265 struct enum_type *snmp_enumtc_lookup(struct snmp_toolinfo *, char *);
H A Dbsnmpmap.c161 struct enum_type *t; in snmp_enumtc_listfree()
547 struct enum_type *
550 struct enum_type *enum_tc; in snmp_enumtc_init()
552 if ((enum_tc = calloc(1, sizeof(struct enum_type))) == NULL) { in snmp_enumtc_init()
567 snmp_enumtc_free(struct enum_type *tc) in snmp_enumtc_free()
577 snmp_enumtc_insert(struct snmp_toolinfo *snmptoolctx, struct enum_type *entry) in snmp_enumtc_insert()
585 struct enum_type *
588 struct enum_type *temp; in snmp_enumtc_lookup()
H A Dbsnmpimport.c336 struct enum_type *t; in gettoken()
589 struct enum_type *t; in parse_type()
884 struct enum_type *t; in snmp_import_top()
/freebsd/contrib/llvm-project/lldb/source/Plugins/RegisterTypeBuilder/
H A DRegisterTypeBuilderClang.cpp71 if (const FieldEnum *enum_type = field.GetEnum()) { in GetRegisterType() local
72 const FieldEnum::Enumerators &enumerators = enum_type->GetEnumerators(); in GetRegisterType()
79 enum_type->GetID() + "_" + in GetRegisterType()
/freebsd/contrib/llvm-project/lldb/source/Plugins/SymbolFile/PDB/
H A DPDBASTParser.cpp473 auto enum_type = llvm::dyn_cast<PDBSymbolTypeEnum>(&type); in CreateLLDBTypeFromPDBType() local
474 assert(enum_type); in CreateLLDBTypeFromPDBType()
477 std::string(MSVCUndecoratedNameParser::DropScope(enum_type->getName())); in CreateLLDBTypeFromPDBType()
479 uint64_t bytes = enum_type->getLength(); in CreateLLDBTypeFromPDBType()
485 auto underlying_type_up = enum_type->getUnderlyingType(); in CreateLLDBTypeFromPDBType()
493 auto first_child = enum_type->findOneChild<PDBSymbolData>(); in CreateLLDBTypeFromPDBType()
516 auto enum_values = enum_type->findAllChildren<PDBSymbolData>(); in CreateLLDBTypeFromPDBType()
529 if (enum_type->isConstType()) in CreateLLDBTypeFromPDBType()
532 if (enum_type->isVolatileType()) in CreateLLDBTypeFromPDBType()
1152 bool PDBASTParser::AddEnumValue(CompilerType enum_type, in AddEnumValue() argument
[all …]
H A DPDBASTParser.h83 bool AddEnumValue(lldb_private::CompilerType enum_type,
H A DSymbolFilePDB.cpp1491 if (auto enum_type = llvm::dyn_cast<PDBSymbolTypeEnum>(result.get())) in FindTypesByRegex() local
1492 type_name = enum_type->getName(); in FindTypesByRegex()
/freebsd/contrib/llvm-project/lldb/include/lldb/DataFormatters/
H A DTypeFormat.h200 void SetTypeName(ConstString enum_type) { m_enum_type = enum_type; } in SetTypeName() argument
/freebsd/contrib/llvm-project/lldb/source/Interpreter/
H A DOptionValueEnumeration.cpp17 const OptionEnumValues &enumerators, enum_type value) in OptionValueEnumeration()
/freebsd/contrib/llvm-project/lldb/include/lldb/Target/
H A DRegisterFlags.h69 const FieldEnum *enum_type);
/freebsd/contrib/llvm-project/lldb/source/Plugins/SymbolFile/CTF/
H A DSymbolFileCTF.cpp461 CompilerType enum_type = m_ast->CreateEnumerationType( in CreateEnum() local
469 enum_type, value_decl, value.name.data(), value.value, ctf_enum.size); in CreateEnum()
471 TypeSystemClang::CompleteTagDeclarationDefinition(enum_type); in CreateEnum()
474 Type::eEncodingIsUID, decl, enum_type, in CreateEnum()
/freebsd/contrib/llvm-project/lldb/source/Plugins/TypeSystem/Clang/
H A DTypeSystemClang.cpp2633 const clang::EnumType *enum_type = in GetCompleteEnumType() local
2636 auto *tag_decl = enum_type->getAsTagDecl(); in GetCompleteEnumType()
2641 return enum_type; in GetCompleteEnumType()
2656 return enum_type; in GetCompleteEnumType()
3221 const clang::EnumType *enum_type = llvm::dyn_cast<clang::EnumType>( in IsEnumerationType() local
3224 if (enum_type) { in IsEnumerationType()
3225 IsIntegerType(enum_type->getDecl()->getIntegerType().getAsOpaquePtr(), in IsEnumerationType()
3237 const clang::EnumType *enum_type = llvm::dyn_cast<clang::EnumType>( in IsScopedEnumerationType() local
3240 if (enum_type) { in IsScopedEnumerationType()
3241 return enum_type->isScopedEnumeralType(); in IsScopedEnumerationType()
[all …]
H A DTypeSystemClang.h1028 const CompilerType &enum_type, const Declaration &decl, const char *name,
1031 const CompilerType &enum_type, const Declaration &decl, const char *name,
/freebsd/contrib/llvm-project/lldb/source/Plugins/Process/gdb-remote/
H A DProcessGDBRemote.cpp4384 const FieldEnum *enum_type = nullptr; in ParseFlagsFields() local
4388 enum_type = found->second.get(); in ParseFlagsFields()
4393 for (const auto &enumerator : enum_type->GetEnumerators()) { in ParseFlagsFields()
4395 enum_type = nullptr; in ParseFlagsFields()
4416 RegisterFlags::Field(name->str(), *start, *end, enum_type)); in ParseFlagsFields()
4542 for (const auto &enum_type : registers_enum_types) in ParseRegisters() local
4543 enum_type.second->DumpToLog(log); in ParseRegisters()