Lines Matching refs:OptionValue
18 OptionValue::OptionValue(const OptionValue &other) { in OptionValue() function in OptionValue
27 OptionValue& OptionValue::operator=(const OptionValue &other) { in operator =()
37 Status OptionValue::SetSubValue(const ExecutionContext *exe_ctx, in SetSubValue()
45 OptionValueBoolean *OptionValue::GetAsBoolean() { in GetAsBoolean()
46 if (GetType() == OptionValue::eTypeBoolean) in GetAsBoolean()
51 const OptionValueBoolean *OptionValue::GetAsBoolean() const { in GetAsBoolean()
52 if (GetType() == OptionValue::eTypeBoolean) in GetAsBoolean()
57 const OptionValueChar *OptionValue::GetAsChar() const { in GetAsChar()
58 if (GetType() == OptionValue::eTypeChar) in GetAsChar()
63 OptionValueChar *OptionValue::GetAsChar() { in GetAsChar()
64 if (GetType() == OptionValue::eTypeChar) in GetAsChar()
69 OptionValueFileSpec *OptionValue::GetAsFileSpec() { in GetAsFileSpec()
70 if (GetType() == OptionValue::eTypeFileSpec) in GetAsFileSpec()
75 const OptionValueFileSpec *OptionValue::GetAsFileSpec() const { in GetAsFileSpec()
76 if (GetType() == OptionValue::eTypeFileSpec) in GetAsFileSpec()
81 OptionValueFileSpecList *OptionValue::GetAsFileSpecList() { in GetAsFileSpecList()
82 if (GetType() == OptionValue::eTypeFileSpecList) in GetAsFileSpecList()
87 const OptionValueFileSpecList *OptionValue::GetAsFileSpecList() const { in GetAsFileSpecList()
88 if (GetType() == OptionValue::eTypeFileSpecList) in GetAsFileSpecList()
93 OptionValueArch *OptionValue::GetAsArch() { in GetAsArch()
94 if (GetType() == OptionValue::eTypeArch) in GetAsArch()
99 const OptionValueArch *OptionValue::GetAsArch() const { in GetAsArch()
100 if (GetType() == OptionValue::eTypeArch) in GetAsArch()
105 OptionValueArray *OptionValue::GetAsArray() { in GetAsArray()
106 if (GetType() == OptionValue::eTypeArray) in GetAsArray()
111 const OptionValueArray *OptionValue::GetAsArray() const { in GetAsArray()
112 if (GetType() == OptionValue::eTypeArray) in GetAsArray()
117 OptionValueArgs *OptionValue::GetAsArgs() { in GetAsArgs()
118 if (GetType() == OptionValue::eTypeArgs) in GetAsArgs()
123 const OptionValueArgs *OptionValue::GetAsArgs() const { in GetAsArgs()
124 if (GetType() == OptionValue::eTypeArgs) in GetAsArgs()
129 OptionValueDictionary *OptionValue::GetAsDictionary() { in GetAsDictionary()
130 if (GetType() == OptionValue::eTypeDictionary) in GetAsDictionary()
135 const OptionValueDictionary *OptionValue::GetAsDictionary() const { in GetAsDictionary()
136 if (GetType() == OptionValue::eTypeDictionary) in GetAsDictionary()
141 OptionValueEnumeration *OptionValue::GetAsEnumeration() { in GetAsEnumeration()
142 if (GetType() == OptionValue::eTypeEnum) in GetAsEnumeration()
147 const OptionValueEnumeration *OptionValue::GetAsEnumeration() const { in GetAsEnumeration()
148 if (GetType() == OptionValue::eTypeEnum) in GetAsEnumeration()
153 OptionValueFormat *OptionValue::GetAsFormat() { in GetAsFormat()
154 if (GetType() == OptionValue::eTypeFormat) in GetAsFormat()
159 const OptionValueFormat *OptionValue::GetAsFormat() const { in GetAsFormat()
160 if (GetType() == OptionValue::eTypeFormat) in GetAsFormat()
165 OptionValueLanguage *OptionValue::GetAsLanguage() { in GetAsLanguage()
166 if (GetType() == OptionValue::eTypeLanguage) in GetAsLanguage()
171 const OptionValueLanguage *OptionValue::GetAsLanguage() const { in GetAsLanguage()
172 if (GetType() == OptionValue::eTypeLanguage) in GetAsLanguage()
177 OptionValueFormatEntity *OptionValue::GetAsFormatEntity() { in GetAsFormatEntity()
178 if (GetType() == OptionValue::eTypeFormatEntity) in GetAsFormatEntity()
183 const OptionValueFormatEntity *OptionValue::GetAsFormatEntity() const { in GetAsFormatEntity()
184 if (GetType() == OptionValue::eTypeFormatEntity) in GetAsFormatEntity()
189 OptionValuePathMappings *OptionValue::GetAsPathMappings() { in GetAsPathMappings()
190 if (GetType() == OptionValue::eTypePathMap) in GetAsPathMappings()
195 const OptionValuePathMappings *OptionValue::GetAsPathMappings() const { in GetAsPathMappings()
196 if (GetType() == OptionValue::eTypePathMap) in GetAsPathMappings()
201 OptionValueProperties *OptionValue::GetAsProperties() { in GetAsProperties()
202 if (GetType() == OptionValue::eTypeProperties) in GetAsProperties()
207 const OptionValueProperties *OptionValue::GetAsProperties() const { in GetAsProperties()
208 if (GetType() == OptionValue::eTypeProperties) in GetAsProperties()
213 OptionValueRegex *OptionValue::GetAsRegex() { in GetAsRegex()
214 if (GetType() == OptionValue::eTypeRegex) in GetAsRegex()
219 const OptionValueRegex *OptionValue::GetAsRegex() const { in GetAsRegex()
220 if (GetType() == OptionValue::eTypeRegex) in GetAsRegex()
225 OptionValueSInt64 *OptionValue::GetAsSInt64() { in GetAsSInt64()
226 if (GetType() == OptionValue::eTypeSInt64) in GetAsSInt64()
231 const OptionValueSInt64 *OptionValue::GetAsSInt64() const { in GetAsSInt64()
232 if (GetType() == OptionValue::eTypeSInt64) in GetAsSInt64()
237 OptionValueString *OptionValue::GetAsString() { in GetAsString()
238 if (GetType() == OptionValue::eTypeString) in GetAsString()
243 const OptionValueString *OptionValue::GetAsString() const { in GetAsString()
244 if (GetType() == OptionValue::eTypeString) in GetAsString()
249 OptionValueUInt64 *OptionValue::GetAsUInt64() { in GetAsUInt64()
250 if (GetType() == OptionValue::eTypeUInt64) in GetAsUInt64()
255 const OptionValueUInt64 *OptionValue::GetAsUInt64() const { in GetAsUInt64()
256 if (GetType() == OptionValue::eTypeUInt64) in GetAsUInt64()
261 OptionValueUUID *OptionValue::GetAsUUID() { in GetAsUUID()
262 if (GetType() == OptionValue::eTypeUUID) in GetAsUUID()
267 const OptionValueUUID *OptionValue::GetAsUUID() const { in GetAsUUID()
268 if (GetType() == OptionValue::eTypeUUID) in GetAsUUID()
273 std::optional<bool> OptionValue::GetBooleanValue() const { in GetBooleanValue()
280 bool OptionValue::SetBooleanValue(bool new_value) { in SetBooleanValue()
289 std::optional<char> OptionValue::GetCharValue() const { in GetCharValue()
296 bool OptionValue::SetCharValue(char new_value) { in SetCharValue()
305 std::optional<int64_t> OptionValue::GetEnumerationValue() const { in GetEnumerationValue()
312 bool OptionValue::SetEnumerationValue(int64_t value) { in SetEnumerationValue()
321 std::optional<FileSpec> OptionValue::GetFileSpecValue() const { in GetFileSpecValue()
328 bool OptionValue::SetFileSpecValue(FileSpec file_spec) { in SetFileSpecValue()
337 bool OptionValue::AppendFileSpecValue(FileSpec file_spec) { in AppendFileSpecValue()
346 std::optional<FileSpecList> OptionValue::GetFileSpecListValue() const { in GetFileSpecListValue()
353 std::optional<lldb::Format> OptionValue::GetFormatValue() const { in GetFormatValue()
360 bool OptionValue::SetFormatValue(lldb::Format new_value) { in SetFormatValue()
369 std::optional<lldb::LanguageType> OptionValue::GetLanguageValue() const { in GetLanguageValue()
376 bool OptionValue::SetLanguageValue(lldb::LanguageType new_language) { in SetLanguageValue()
385 const FormatEntity::Entry *OptionValue::GetFormatEntity() const { in GetFormatEntity()
392 const RegularExpression *OptionValue::GetRegexValue() const { in GetRegexValue()
399 std::optional<int64_t> OptionValue::GetSInt64Value() const { in GetSInt64Value()
406 bool OptionValue::SetSInt64Value(int64_t new_value) { in SetSInt64Value()
415 std::optional<llvm::StringRef> OptionValue::GetStringValue() const { in GetStringValue()
422 bool OptionValue::SetStringValue(llvm::StringRef new_value) { in SetStringValue()
431 std::optional<uint64_t> OptionValue::GetUInt64Value() const { in GetUInt64Value()
438 bool OptionValue::SetUInt64Value(uint64_t new_value) { in SetUInt64Value()
447 std::optional<UUID> OptionValue::GetUUIDValue() const { in GetUUIDValue()
454 bool OptionValue::SetUUIDValue(const UUID &uuid) { in SetUUIDValue()
463 std::optional<ArchSpec> OptionValue::GetArchSpecValue() const { in GetArchSpecValue()
470 bool OptionValue::SetArchSpecValue(ArchSpec arch_spec) { in SetArchSpecValue()
479 const char *OptionValue::GetBuiltinTypeAsCString(Type t) { in GetBuiltinTypeAsCString()
527 lldb::OptionValueSP OptionValue::CreateValueFromCStringForTypeMask( in CreateValueFromCStringForTypeMask()
575 bool OptionValue::DumpQualifiedName(Stream &strm) const { in DumpQualifiedName()
593 OptionValueSP OptionValue::DeepCopy(const OptionValueSP &new_parent) const { in DeepCopy()
599 void OptionValue::AutoComplete(CommandInterpreter &interpreter, in AutoComplete()
602 Status OptionValue::SetValueFromString(llvm::StringRef value, in SetValueFromString()