Home
last modified time | relevance | path

Searched refs:value_sp (Results 1 – 20 of 20) sorted by relevance

/external/lldb/source/API/
DSBValue.cpp118 lldb::ValueObjectSP value_sp = m_valobj_sp; in GetSP() local
120 Target *target = value_sp->GetTargetSP().get(); in GetSP()
124 ProcessSP process_sp(value_sp->GetProcessSP()); in GetSP()
130 log->Printf ("SBValue(%p)::GetSP() => error: process is running", value_sp.get()); in GetSP()
135 if (value_sp->GetDynamicValue(m_use_dynamic)) in GetSP()
136 value_sp = value_sp->GetDynamicValue(m_use_dynamic); in GetSP()
137 if (value_sp->GetSyntheticValue(m_use_synthetic)) in GetSP()
138 value_sp = value_sp->GetSyntheticValue(m_use_synthetic); in GetSP()
139 if (!value_sp) in GetSP()
142 value_sp->SetName(m_name); in GetSP()
[all …]
DSBFrame.cpp694 ValueObjectSP value_sp (frame->GetValueForVariableExpressionPath (var_path, in GetValueForVariablePath() local
699 sb_value.SetSP(value_sp, use_dynamic); in GetValueForVariablePath()
746 ValueObjectSP value_sp; in FindVariable() local
781 value_sp = frame->GetValueObjectForFrameVariable(var_sp, eNoDynamicValues); in FindVariable()
782 sb_value.SetSP(value_sp, use_dynamic); in FindVariable()
800 frame, name, value_sp.get()); in FindVariable()
833 ValueObjectSP value_sp; in FindValue() local
877value_sp = frame->GetValueObjectForFrameVariable (variable_sp, eNoDynamicValues); in FindValue()
878 sb_value.SetSP (value_sp, use_dynamic); in FindValue()
899value_sp = ValueObjectRegister::Create (frame, reg_ctx, reg_idx); in FindValue()
[all …]
DSBDebugger.cpp969 lldb::OptionValueSP value_sp (debugger_sp->GetPropertyValue (&exe_ctx, in GetInternalVariableValue() local
973 if (value_sp) in GetInternalVariableValue()
976 value_sp->DumpValue (&exe_ctx, value_strm, OptionValue::eDumpOptionValue); in GetInternalVariableValue()
/external/lldb/include/lldb/Interpreter/
DOptionValueArray.h91 lldb::OptionValueSP value_sp; variable
93 value_sp = m_values[idx];
94 return value_sp;
100 lldb::OptionValueSP value_sp; in GetValueAtIndex() local
102 value_sp = m_values[idx]; in GetValueAtIndex()
103 return value_sp; in GetValueAtIndex()
107 AppendValue (const lldb::OptionValueSP &value_sp) in AppendValue() argument
111 if (value_sp && (m_type_mask & value_sp->GetTypeAsMask())) in AppendValue()
113 m_values.push_back(value_sp); in AppendValue()
120 InsertValue (size_t idx, const lldb::OptionValueSP &value_sp) in InsertValue() argument
[all …]
DProperty.h47 const lldb::OptionValueSP &value_sp);
68 SetOptionValue (const lldb::OptionValueSP &value_sp) in SetOptionValue() argument
70 m_value_sp = value_sp; in SetOptionValue()
DOptionValueDictionary.h118 const lldb::OptionValueSP &value_sp,
DOptionValueProperties.h240 const lldb::OptionValueSP &value_sp);
/external/lldb/source/Interpreter/
DOptionValueDictionary.cpp164 … lldb::OptionValueSP value_sp (CreateValueFromCStringForTypeMask (kvp.second.data(), in SetArgs() local
167 if (value_sp) in SetArgs()
172 SetValueForKey (ConstString(key), value_sp, true); in SetArgs()
229 lldb::OptionValueSP value_sp; in GetSubValue() local
256 return value_sp; in GetSubValue()
262 return value_sp; in GetSubValue()
277 return value_sp; in GetSubValue()
282 return value_sp; in GetSubValue()
296 return value_sp; in GetSubValue()
305 value_sp = GetValueForKey (key); in GetSubValue()
[all …]
DOptionValueProperties.cpp86 const OptionValueSP &value_sp) in AppendProperty() argument
88 Property property(name, desc, is_global, value_sp); in AppendProperty()
91 value_sp->SetParent (shared_from_this()); in AppendProperty()
121 lldb::OptionValueSP value_sp; in GetValueForKey() local
124 value_sp = GetPropertyAtIndex(exe_ctx, will_modify, idx)->GetValue(); in GetValueForKey()
125 return value_sp; in GetValueForKey()
134 lldb::OptionValueSP value_sp; in GetSubValue() local
150 value_sp = GetValueForKey (exe_ctx, key, will_modify); in GetSubValue()
151 if (sub_name && value_sp) in GetSubValue()
156 return value_sp->GetSubValue (exe_ctx, sub_name + 1, will_modify, error); in GetSubValue()
[all …]
DOptionValueArray.cpp190 … lldb::OptionValueSP value_sp (CreateValueFromCStringForTypeMask (args.GetArgumentAtIndex(i), in SetArgs() local
193 if (value_sp) in SetArgs()
198 m_values.push_back(value_sp); in SetArgs()
200 m_values.insert(m_values.begin() + idx, value_sp); in SetArgs()
284 … lldb::OptionValueSP value_sp (CreateValueFromCStringForTypeMask (args.GetArgumentAtIndex(i), in SetArgs() local
287 if (value_sp) in SetArgs()
292 m_values[idx] = value_sp; in SetArgs()
294 m_values.push_back(value_sp); in SetArgs()
316 … lldb::OptionValueSP value_sp (CreateValueFromCStringForTypeMask (args.GetArgumentAtIndex(i), in SetArgs() local
319 if (value_sp) in SetArgs()
[all …]
DOptionValue.cpp545 lldb::OptionValueSP value_sp; in CreateValueFromCStringForTypeMask() local
548 case 1u << eTypeArch: value_sp.reset(new OptionValueArch()); break; in CreateValueFromCStringForTypeMask()
549 case 1u << eTypeBoolean: value_sp.reset(new OptionValueBoolean(false)); break; in CreateValueFromCStringForTypeMask()
550 case 1u << eTypeFileSpec: value_sp.reset(new OptionValueFileSpec()); break; in CreateValueFromCStringForTypeMask()
551 case 1u << eTypeFormat: value_sp.reset(new OptionValueFormat(eFormatInvalid)); break; in CreateValueFromCStringForTypeMask()
552 case 1u << eTypeSInt64: value_sp.reset(new OptionValueSInt64()); break; in CreateValueFromCStringForTypeMask()
553 case 1u << eTypeString: value_sp.reset(new OptionValueString()); break; in CreateValueFromCStringForTypeMask()
554 case 1u << eTypeUInt64: value_sp.reset(new OptionValueUInt64()); break; in CreateValueFromCStringForTypeMask()
555 case 1u << eTypeUUID: value_sp.reset(new OptionValueUUID()); break; in CreateValueFromCStringForTypeMask()
558 if (value_sp) in CreateValueFromCStringForTypeMask()
[all …]
DOptionValueUInt64.cpp25 lldb::OptionValueSP value_sp (new OptionValueUInt64()); in Create() local
26 error = value_sp->SetValueFromCString (value_cstr); in Create()
28 value_sp.reset(); in Create()
29 return value_sp; in Create()
DProperty.cpp174 const lldb::OptionValueSP &value_sp) : in Property() argument
177 m_value_sp (value_sp), in Property()
/external/lldb/source/Plugins/Instruction/ARM/
DEmulationStateARM.cpp327 OptionValueSP value_sp = test_data->GetValueForKey (memory_key); in LoadStateFromDictionary() local
331 if (value_sp.get() != NULL) in LoadStateFromDictionary()
337 OptionValueDictionary *mem_dict = value_sp->GetAsDictionary(); in LoadStateFromDictionary()
338 value_sp = mem_dict->GetValueForKey (address_key); in LoadStateFromDictionary()
339 if (value_sp.get() == NULL) in LoadStateFromDictionary()
342 start_address = value_sp->GetUInt64Value (); in LoadStateFromDictionary()
344 value_sp = mem_dict->GetValueForKey (data_key); in LoadStateFromDictionary()
345 OptionValueArray *mem_array = value_sp->GetAsArray(); in LoadStateFromDictionary()
354 value_sp = mem_array->GetValueAtIndex (i); in LoadStateFromDictionary()
355 if (value_sp.get() == NULL) in LoadStateFromDictionary()
[all …]
DEmulateInstructionARM.cpp13500 OptionValueSP value_sp = test_data->GetValueForKey (opcode_key); in TestEmulation() local
13503 if ((value_sp.get() == NULL) || (value_sp->GetType() != OptionValue::eTypeUInt64)) in TestEmulation()
13508 test_opcode = value_sp->GetUInt64Value (); in TestEmulation()
13533 value_sp = test_data->GetValueForKey (before_key); in TestEmulation()
13534 if ((value_sp.get() == NULL) || (value_sp->GetType() != OptionValue::eTypeDictionary)) in TestEmulation()
13540 OptionValueDictionary *state_dictionary = value_sp->GetAsDictionary (); in TestEmulation()
13547 value_sp = test_data->GetValueForKey (after_key); in TestEmulation()
13548 if ((value_sp.get() == NULL) || (value_sp->GetType() != OptionValue::eTypeDictionary)) in TestEmulation()
13554 state_dictionary = value_sp->GetAsDictionary (); in TestEmulation()
/external/lldb/tools/lldb-perf/lib/
DResults.cpp40 value->ForEach([&array](const Results::ResultSP &value_sp) -> bool in AddResultToArray()
42 AddResultToArray (array, value_sp.get()); in AddResultToArray()
53 … value->ForEach([&dict](const std::string &key, const Results::ResultSP &value_sp) -> bool in AddResultToArray() argument
55 AddResultToDictionary (dict, key.c_str(), value_sp.get()); in AddResultToArray()
112 value->ForEach([&array](const Results::ResultSP &value_sp) -> bool in AddResultToDictionary()
114 AddResultToArray (array, value_sp.get()); in AddResultToDictionary()
124 … value->ForEach([&dict](const std::string &key, const Results::ResultSP &value_sp) -> bool in AddResultToDictionary() argument
126 AddResultToDictionary (dict, key.c_str(), value_sp.get()); in AddResultToDictionary()
163 m_results.ForEach([&dict](const std::string &key, const ResultSP &value_sp) -> bool in Write()
165 AddResultToDictionary (dict, key.c_str(), value_sp.get()); in Write()
/external/lldb/source/Core/
DDisassembler.cpp785 lldb::OptionValueSP value_sp; in ReadDictionary() local
793 value_sp = ReadDictionary (in_file, out_stream); in ReadDictionary()
794 if (value_sp.get() == NULL) in ReadDictionary()
804 value_sp = ReadArray (in_file, out_stream, data_type); in ReadDictionary()
805 if (value_sp.get() == NULL) in ReadDictionary()
815 value_sp.reset (new OptionValueUInt64 (0, 0)); in ReadDictionary()
816 value_sp->SetValueFromCString (value.c_str()); in ReadDictionary()
823 value_sp.reset (new OptionValueString (value.c_str(), "")); in ReadDictionary()
836 option_value_sp->GetAsDictionary()->SetValueForKey (const_key, value_sp, false); in ReadDictionary()
893 OptionValueSP value_sp = data_dictionary->GetValueForKey (description_key); in TestEmulation() local
[all …]
/external/lldb/source/Commands/
DCommandObjectRegister.cpp307 OptionValueSP value_sp (OptionValueUInt64::Create (option_value, error)); in SetOptionValue() local
308 if (value_sp) in SetOptionValue()
309 set_indexes.AppendValue (value_sp); in SetOptionValue()
DCommandObjectSettings.cpp200 …lldb::OptionValueSP value_sp (m_interpreter.GetDebugger().GetPropertyValue(&m_exe_ctx, setting_var… in HandleArgumentCompletion() local
201 if (value_sp) in HandleArgumentCompletion()
203 value_sp->AutoComplete (m_interpreter, in HandleArgumentCompletion()
/external/lldb/include/lldb/API/
DSBValue.h356 SBValue (const lldb::ValueObjectSP &value_sp);