Home
last modified time | relevance | path

Searched refs:m_current_value (Results 1 – 22 of 22) sorted by relevance

/freebsd-12.1/contrib/llvm/tools/lldb/include/lldb/Interpreter/
H A DOptionValueString.h28 : OptionValue(), m_current_value(), m_default_value(), m_options(), in OptionValueString()
32 : OptionValue(), m_current_value(), m_default_value(), m_options(), in OptionValue()
36 : OptionValue(), m_current_value(), m_default_value(), m_options(), in OptionValueString()
39 m_current_value.assign(value); in OptionValueString()
45 : OptionValue(), m_current_value(), m_default_value(), m_options(), in OptionValueString()
48 m_current_value.assign(current_value); in OptionValueString()
58 m_current_value.assign(value); in OptionValue()
68 m_current_value.assign(current_value); in OptionValue()
92 m_current_value = m_default_value; in Clear()
109 return m_current_value.c_str();
[all …]
H A DOptionValueArch.h21 OptionValueArch() : OptionValue(), m_current_value(), m_default_value() {} in OptionValueArch()
24 : OptionValue(), m_current_value(triple), m_default_value() { in OptionValueArch()
25 m_default_value = m_current_value; in OptionValueArch()
29 : OptionValue(), m_current_value(value), m_default_value(value) {} in OptionValueArch()
32 : OptionValue(), m_current_value(current_value), in OptionValueArch()
54 m_current_value = m_default_value; in Clear()
68 ArchSpec &GetCurrentValue() { return m_current_value; } in GetCurrentValue()
70 const ArchSpec &GetCurrentValue() const { return m_current_value; } in GetCurrentValue()
75 m_current_value = value; in SetCurrentValue()
83 ArchSpec m_current_value;
H A DOptionValueUInt64.h20 OptionValueUInt64() : OptionValue(), m_current_value(0), m_default_value(0) {} in OptionValueUInt64()
23 : OptionValue(), m_current_value(value), m_default_value(value) {} in OptionValueUInt64()
26 : OptionValue(), m_current_value(current_value), in OptionValueUInt64()
56 m_current_value = m_default_value; in Clear()
68 m_current_value = value;
69 return m_current_value;
72 operator uint64_t() const { return m_current_value; } in uint64_t()
74 uint64_t GetCurrentValue() const { return m_current_value; } in GetCurrentValue()
78 void SetCurrentValue(uint64_t value) { m_current_value = value; } in SetCurrentValue()
83 uint64_t m_current_value;
H A DOptionValueSInt64.h21 : OptionValue(), m_current_value(0), m_default_value(0), in OptionValueSInt64()
25 : OptionValue(), m_current_value(value), m_default_value(value), in OptionValueSInt64()
29 : OptionValue(), m_current_value(current_value), in OptionValueSInt64()
34 : OptionValue(rhs), m_current_value(rhs.m_current_value), in OptionValueSInt64()
57 m_current_value = m_default_value; in Clear()
69 m_current_value = value;
70 return m_current_value;
73 int64_t GetCurrentValue() const { return m_current_value; } in GetCurrentValue()
79 m_current_value = value; in SetCurrentValue()
102 int64_t m_current_value;
H A DOptionValueBoolean.h20 : OptionValue(), m_current_value(value), m_default_value(value) {} in OptionValueBoolean()
22 : OptionValue(), m_current_value(current_value), in OptionValueBoolean()
44 m_current_value = m_default_value; in Clear()
71 explicit operator bool() const { return m_current_value; }
74 m_current_value = b;
75 return m_current_value;
78 bool GetCurrentValue() const { return m_current_value; } in GetCurrentValue()
82 void SetCurrentValue(bool value) { m_current_value = value; } in SetCurrentValue()
89 bool m_current_value;
H A DOptionValueChar.h20 : OptionValue(), m_current_value(value), m_default_value(value) {} in OptionValueChar()
23 : OptionValue(), m_current_value(current_value), in OptionValueChar()
45 m_current_value = m_default_value; in Clear()
55 m_current_value = c;
56 return m_current_value;
59 char GetCurrentValue() const { return m_current_value; } in GetCurrentValue()
63 void SetCurrentValue(char value) { m_current_value = value; } in SetCurrentValue()
70 char m_current_value;
H A DOptionValueFileSpecList.h20 OptionValueFileSpecList() : OptionValue(), m_current_value() {} in OptionValueFileSpecList()
23 : OptionValue(), m_current_value(current_value) {} in OptionValueFileSpecList()
44 m_current_value.Clear(); in Clear()
57 FileSpecList &GetCurrentValue() { return m_current_value; } in GetCurrentValue()
59 const FileSpecList &GetCurrentValue() const { return m_current_value; } in GetCurrentValue()
61 void SetCurrentValue(const FileSpecList &value) { m_current_value = value; } in SetCurrentValue()
64 FileSpecList m_current_value;
H A DOptionValueFormat.h20 : OptionValue(), m_current_value(value), m_default_value(value) {} in OptionValueFormat()
23 : OptionValue(), m_current_value(current_value), in OptionValueFormat()
45 m_current_value = m_default_value; in Clear()
56 lldb::Format GetCurrentValue() const { return m_current_value; } in GetCurrentValue()
60 void SetCurrentValue(lldb::Format value) { m_current_value = value; } in SetCurrentValue()
65 lldb::Format m_current_value;
H A DOptionValueLanguage.h22 : OptionValue(), m_current_value(value), m_default_value(value) {} in OptionValueLanguage()
26 : OptionValue(), m_current_value(current_value), in OptionValueLanguage()
48 m_current_value = m_default_value; in Clear()
59 lldb::LanguageType GetCurrentValue() const { return m_current_value; } in GetCurrentValue()
63 void SetCurrentValue(lldb::LanguageType value) { m_current_value = value; } in SetCurrentValue()
68 lldb::LanguageType m_current_value;
H A DOptionValueEnumeration.h54 m_current_value = m_default_value; in Clear()
69 m_current_value = value;
70 return m_current_value;
73 enum_type GetCurrentValue() const { return m_current_value; } in GetCurrentValue()
77 void SetCurrentValue(enum_type value) { m_current_value = value; } in SetCurrentValue()
84 enum_type m_current_value; variable
H A DOptionValueFileSpec.h48 m_current_value = m_default_value; in Clear()
64 FileSpec &GetCurrentValue() { return m_current_value; } in GetCurrentValue()
66 const FileSpec &GetCurrentValue() const { return m_current_value; } in GetCurrentValue()
71 m_current_value = value; in SetCurrentValue()
84 FileSpec m_current_value;
/freebsd-12.1/contrib/llvm/tools/lldb/source/Interpreter/
H A DOptionValueFileSpec.cpp23 : OptionValue(), m_current_value(), m_default_value(), m_data_sp(), in OptionValueFileSpec()
29 : OptionValue(), m_current_value(value), m_default_value(value), in OptionValueFileSpec()
37 : OptionValue(), m_current_value(current_value), in OptionValueFileSpec()
50 if (m_current_value) { in DumpValue()
51 strm << '"' << m_current_value.GetPath().c_str() << '"'; in DumpValue()
77 m_current_value.SetFile(value.str(), FileSpec::Style::native); in SetValueFromString()
79 FileSystem::Instance().Resolve(m_current_value); in SetValueFromString()
112 if (m_current_value) { in GetFileContents()
113 const auto file_mod_time = FileSystem::Instance().GetModificationTime(m_current_value); in GetFileContents()
117 FileSystem::Instance().CreateDataBuffer(m_current_value.GetPath()); in GetFileContents()
H A DOptionValueString.cpp27 if (!m_current_value.empty() || m_value_was_set) { in DumpValue()
30 Args::ExpandEscapedCharacters(m_current_value.c_str(), in DumpValue()
38 strm.Printf("%s", m_current_value.c_str()); in DumpValue()
40 strm.Printf("\"%s\"", m_current_value.c_str()); in DumpValue()
80 std::string new_value(m_current_value); in SetValueFromString()
94 m_current_value.assign(new_value); in SetValueFromString()
112 Args::EncodeEscapeSequences(value_str.c_str(), m_current_value); in SetValueFromString()
132 m_current_value.assign(value); in SetCurrentValue()
139 std::string new_value(m_current_value); in AppendToCurrentValue()
144 m_current_value.assign(new_value); in AppendToCurrentValue()
[all …]
H A DOptionValueFileSpecLIst.cpp25 const uint32_t size = m_current_value.GetSize(); in DumpValue()
28 (m_current_value.GetSize() > 0 && !one_line) ? "\n" : ""); in DumpValue()
36 m_current_value.GetFileSpecAtIndex(i).Dump(&strm); in DumpValue()
61 const uint32_t count = m_current_value.GetSize(); in SetValueFromString()
70 m_current_value.Replace(idx, file); in SetValueFromString()
72 m_current_value.Append(file); in SetValueFromString()
83 m_current_value.Clear(); in SetValueFromString()
91 m_current_value.Append(file); in SetValueFromString()
105 const uint32_t count = m_current_value.GetSize(); in SetValueFromString()
115 m_current_value.Insert(idx, file); in SetValueFromString()
[all …]
H A DOptionValueChar.cpp28 if (m_current_value != '\0') in DumpValue()
29 strm.PutChar(m_current_value); in DumpValue()
48 m_current_value = char_value; in SetValueFromString()
H A DOptionValueEnumeration.cpp19 : OptionValue(), m_current_value(value), m_default_value(value), in OptionValueEnumeration()
35 if (m_enumerations.GetValueAtIndexUnchecked(i).value == m_current_value) { in DumpValue()
40 strm.Printf("%" PRIu64, (uint64_t)m_current_value); in DumpValue()
59 m_current_value = enumerator_entry->value.value; in SetValueFromString()
H A DOptionValueArch.cpp29 if (m_current_value.IsValid()) { in DumpValue()
30 const char *arch_name = m_current_value.GetArchitectureName(); in DumpValue()
49 if (m_current_value.SetTriple(value_str.c_str())) { in SetValueFromString()
H A DOptionValueLanguage.cpp27 if (m_current_value != eLanguageTypeUnknown) in DumpValue()
28 strm.PutCString(Language::GetNameForLanguageType(m_current_value)); in DumpValue()
52 m_current_value = new_type; in SetValueFromString()
H A DOptionValueFormat.cpp26 strm.PutCString(FormatManager::GetFormatAsCString(m_current_value)); in DumpValue()
45 m_current_value = new_format; in SetValueFromString()
H A DOptionValueSInt64.cpp30 strm.Printf("%" PRIi64, m_current_value); in DumpValue()
51 m_current_value = value; in SetValueFromString()
H A DOptionValueUInt64.cpp35 strm.Printf("%" PRIu64, m_current_value); in DumpValue()
55 m_current_value = value; in SetValueFromString()
H A DOptionValueBoolean.cpp30 strm.PutCString(m_current_value ? "true" : "false"); in DumpValue()
49 m_current_value = value; in SetValueFromString()