Home
last modified time | relevance | path

Searched refs:OptionValue (Results 1 – 25 of 57) sorted by relevance

123

/openbsd-src/gnu/llvm/lldb/source/Interpreter/
H A DOptionValue.cpp20 uint64_t OptionValue::GetUInt64Value(uint64_t fail_value, bool *success_ptr) { in GetUInt64Value()
24 case OptionValue::eTypeBoolean: in GetUInt64Value()
26 case OptionValue::eTypeSInt64: in GetUInt64Value()
28 case OptionValue::eTypeUInt64: in GetUInt64Value()
38 Status OptionValue::SetSubValue(const ExecutionContext *exe_ctx, in SetSubValue()
46 OptionValueBoolean *OptionValue::GetAsBoolean() { in GetAsBoolean()
47 if (GetType() == OptionValue::eTypeBoolean) in GetAsBoolean()
52 const OptionValueBoolean *OptionValue::GetAsBoolean() const { in GetAsBoolean()
53 if (GetType() == OptionValue::eTypeBoolean) in GetAsBoolean()
58 const OptionValueChar *OptionValue::GetAsChar() const { in GetAsChar()
[all …]
H A DProperty.cpp26 case OptionValue::eTypeInvalid: in Property()
27 case OptionValue::eTypeProperties: in Property()
29 case OptionValue::eTypeArch: in Property()
37 case OptionValue::eTypeArgs: in Property()
42 case OptionValue::eTypeArray: in Property()
45 std::make_shared<OptionValueArray>(OptionValue::ConvertTypeToMask( in Property()
46 (OptionValue::Type)definition.default_uint_value)); in Property()
49 case OptionValue::eTypeBoolean: in Property()
63 case OptionValue::eTypeChar: { in Property()
69 case OptionValue::eTypeDictionary: in Property()
[all …]
H A DOptionValueProperties.cpp233 OptionValue *value = property->GetValue().get(); in SetPropertyAtIndexAsLanguage()
246 OptionValue *value = property->GetValue().get(); in GetPropertyAtIndexAsArgs()
277 OptionValue *value = property->GetValue().get(); in SetPropertyAtIndexFromArgs()
300 OptionValue *value = property->GetValue().get(); in GetPropertyAtIndexAsBoolean()
311 OptionValue *value = property->GetValue().get(); in SetPropertyAtIndexAsBoolean()
333 OptionValue *value = property->GetValue().get(); in GetPropertyAtIndexAsEnumeration()
344 OptionValue *value = property->GetValue().get(); in SetPropertyAtIndexAsEnumeration()
356 OptionValue *value = property->GetValue().get(); in GetPropertyAtIndexAsFormatEntity()
368 OptionValue *value = property->GetValue().get(); in GetPropertyAtIndexAsOptionValueFileSpec()
379 OptionValue *value = property->GetValue().get(); in GetPropertyAtIndexAsFileSpec()
[all …]
H A DOptionValueDictionary.cpp42 OptionValue *option_value = pos->second.get(); in DumpValue()
217 error = OptionValue::SetValueFromString(llvm::StringRef(), op); in SetArgs()
336 auto copy_sp = OptionValue::DeepCopy(new_parent); in DeepCopy()
/openbsd-src/gnu/llvm/llvm/include/llvm/Support/
H A DCommandLine.h539 template <class DataType> struct OptionValue;
546 using WrapperType = OptionValue<DataType>;
615 struct OptionValue final
617 OptionValue() = default;
619 OptionValue(const DataType &V) { this->setValue(V); }
622 template <class DT> OptionValue<DataType> &operator=(const DT &V) {
631 struct OptionValue<cl::boolOrDefault> final
635 OptionValue() = default;
637 OptionValue(const cl::boolOrDefault &V) { this->setValue(V); }
639 OptionValue<cl::boolOrDefault> &operator=(const cl::boolOrDefault &V) {
[all …]
/openbsd-src/gnu/llvm/lldb/include/lldb/Interpreter/
H A DOptionValue.h25 class OptionValue {
64 OptionValue() = default;
66 virtual ~OptionValue() = default;
131 static uint32_t ConvertTypeToMask(OptionValue::Type type) { in ConvertTypeToMask()
135 static OptionValue::Type ConvertTypeMaskToType(uint32_t type_mask) { in ConvertTypeMaskToType()
334 using TopmostBase = OptionValue;
H A DOptionValueArgs.h19 : Cloneable(OptionValue::ConvertTypeToMask(OptionValue::eTypeString)) {} in OptionValueArgs()
H A DOptionValuePathMappings.h18 : public Cloneable<OptionValuePathMappings, OptionValue> {
27 OptionValue::Type GetType() const override { return eTypePathMap; } in GetType()
H A DOptionValueUUID.h17 class OptionValueUUID : public Cloneable<OptionValueUUID, OptionValue> {
27 OptionValue::Type GetType() const override { return eTypeUUID; } in GetType()
H A DOptionValueRegex.h17 class OptionValueRegex : public Cloneable<OptionValueRegex, OptionValue> {
26 OptionValue::Type GetType() const override { return eTypeRegex; } in GetType()
H A DOptionValueChar.h16 class OptionValueChar : public Cloneable<OptionValueChar, OptionValue> {
28 OptionValue::Type GetType() const override { return eTypeChar; } in GetType()
H A DOptionValueFileColonLine.h20 public Cloneable<OptionValueFileColonLine, OptionValue> {
27 OptionValue::Type GetType() const override { return eTypeFileLineColumn; } in GetType()
H A DOptionValueFormatEntity.h18 : public Cloneable<OptionValueFormatEntity, OptionValue> {
26 OptionValue::Type GetType() const override { return eTypeFormatEntity; } in GetType()
H A DOptionValueFormat.h17 : public Cloneable<OptionValueFormat, OptionValue> {
29 OptionValue::Type GetType() const override { return eTypeFormat; } in GetType()
H A DOptionValueLanguage.h18 class OptionValueLanguage : public Cloneable<OptionValueLanguage, OptionValue> {
31 OptionValue::Type GetType() const override { return eTypeLanguage; } in GetType()
H A DOptionValueBoolean.h16 class OptionValueBoolean : public Cloneable<OptionValueBoolean, OptionValue> {
27 OptionValue::Type GetType() const override { return eTypeBoolean; } in GetType()
H A DOptionValueEnumeration.h23 : public Cloneable<OptionValueEnumeration, OptionValue> {
39 OptionValue::Type GetType() const override { return eTypeEnum; } in GetType()
H A DOptionValueFileSpecList.h20 : public Cloneable<OptionValueFileSpecList, OptionValue> {
31 OptionValue::Type GetType() const override { return eTypeFileSpecList; } in GetType()
H A DOptionValueArch.h18 class OptionValueArch : public Cloneable<OptionValueArch, OptionValue> {
36 OptionValue::Type GetType() const override { return eTypeArch; } in GetType()
H A DOptionValueUInt64.h17 class OptionValueUInt64 : public Cloneable<OptionValueUInt64, OptionValue> {
36 OptionValue::Type GetType() const override { return eTypeUInt64; } in GetType()
H A DOptionValueFileSpec.h20 class OptionValueFileSpec : public Cloneable<OptionValueFileSpec, OptionValue> {
33 OptionValue::Type GetType() const override { return eTypeFileSpec; } in GetType()
H A DOptionValueSInt64.h17 class OptionValueSInt64 : public Cloneable<OptionValueSInt64, OptionValue> {
33 OptionValue::Type GetType() const override { return eTypeSInt64; } in GetType()
H A DOptionValueDictionary.h20 : public Cloneable<OptionValueDictionary, OptionValue> {
32 OptionValue::Type GetType() const override { return eTypeDictionary; } in GetType()
H A DOptionValueArray.h18 class OptionValueArray : public Cloneable<OptionValueArray, OptionValue> {
27 OptionValue::Type GetType() const override { return eTypeArray; } in GetType()
H A DOptionValueString.h20 class OptionValueString : public Cloneable<OptionValueString, OptionValue> {
67 OptionValue::Type GetType() const override { return eTypeString; } in GetType()

123