Home
last modified time | relevance | path

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

12

/llvm-project-15.0.7/lldb/source/API/
H A DSBValue.cpp268 if (value_sp) in GetError()
282 if (value_sp) in GetID()
293 if (value_sp) in GetName()
372 if (value_sp) in GetValueType()
810 if (value_sp) in IsDynamic()
820 if (value_sp) in IsSynthetic()
830 if (value_sp) in IsSyntheticChildrenGenerated()
840 if (value_sp) in SetSyntheticChildrenGenerated()
929 if (value_sp) in MightHaveChildren()
941 if (value_sp) in IsRuntimeSupportValue()
[all …]
H A DSBFrame.cpp485 sb_value.SetSP(value_sp, use_dynamic); in GetValueForVariablePath()
520 ValueObjectSP value_sp; in FindVariable() local
534 if (value_sp) in FindVariable()
535 sb_value.SetSP(value_sp, use_dynamic); in FindVariable()
570 ValueObjectSP value_sp; in FindValue() local
615 sb_value.SetSP(value_sp, use_dynamic); in FindValue()
626 sb_value.SetSP(value_sp); in FindValue()
643 value_sp = in FindValue()
645 sb_value.SetSP(value_sp); in FindValue()
913 ValueObjectSP value_sp; in FindRegister() local
[all …]
H A DSBTypeSummary.cpp302 lldb::ValueObjectSP value_sp = value.GetSP(); in DoesPrintValue() local
303 return m_opaque_sp->DoesPrintValue(value_sp.get()); in DoesPrintValue()
/llvm-project-15.0.7/lldb/include/lldb/Interpreter/
H A DOptionValueArray.h55 lldb::OptionValueSP value_sp; variable
57 value_sp = m_values[idx];
58 return value_sp;
62 lldb::OptionValueSP value_sp; in GetValueAtIndex() local
64 value_sp = m_values[idx]; in GetValueAtIndex()
65 return value_sp; in GetValueAtIndex()
71 if (value_sp && (m_type_mask & value_sp->GetTypeAsMask())) { in AppendValue()
72 m_values.push_back(value_sp); in AppendValue()
81 if (value_sp && (m_type_mask & value_sp->GetTypeAsMask())) { in InsertValue()
94 if (value_sp && (m_type_mask & value_sp->GetTypeAsMask())) { in ReplaceValue()
[all …]
H A DProperty.h40 const lldb::OptionValueSP &value_sp);
47 void SetOptionValue(const lldb::OptionValueSP &value_sp) { in SetOptionValue() argument
48 m_value_sp = value_sp; in SetOptionValue()
H A DOptionValueDictionary.h69 const lldb::OptionValueSP &value_sp,
/llvm-project-15.0.7/lldb/include/lldb/Utility/
H A DStructuredData.h198 if (value_sp.get()) { in GetItemAtIndexAsInteger()
218 if (value_sp.get()) { in GetItemAtIndexAsString()
237 if (value_sp.get()) { in GetItemAtIndexAsString()
257 if (value_sp.get()) { in GetItemAtIndexAsDictionary()
267 if (value_sp.get()) { in GetItemAtIndexAsArray()
390 ObjectSP value_sp; in GetValueForKey() local
397 return value_sp; in GetValueForKey()
403 if (value_sp.get()) { in GetValueForKeyAsBoolean()
415 if (value_sp) { in GetValueForKeyAsInteger()
436 if (value_sp.get()) { in GetValueForKeyAsString()
[all …]
/llvm-project-15.0.7/lldb/source/Interpreter/
H A DOptionValueProperties.cpp52 value_sp); in AppendProperty()
82 lldb::OptionValueSP value_sp; in GetValueForKey() local
86 return value_sp; in GetValueForKey()
108 return value_sp; in GetSubValue()
135 value_sp.reset(); in GetSubValue()
138 return value_sp; in GetSubValue()
155 if (value_sp) in SetSubValue()
198 if (value_sp) in GetPropertyAtIndexAsOptionValuePathMappings()
207 if (value_sp) in GetPropertyAtIndexAsOptionValueFileSpecList()
474 if (value_sp) in GetPropertyAtIndexAsOptionValueString()
[all …]
H A DOptionValueDictionary.cpp176 if (value_sp) { in SetArgs()
227 lldb::OptionValueSP value_sp; in GetSubValue() local
261 value_sp = GetValueForKey(ConstString(key)); in GetSubValue()
262 if (!value_sp) { in GetSubValue()
270 return value_sp; in GetSubValue()
281 if (value_sp) in SetSubValue()
292 lldb::OptionValueSP value_sp; in GetValueForKey() local
295 value_sp = pos->second; in GetValueForKey()
296 return value_sp; in GetValueForKey()
304 if (value_sp && (m_type_mask & value_sp->GetTypeAsMask())) { in SetValueForKey()
[all …]
H A DOptionValueArray.cpp179 lldb::OptionValueSP value_sp(CreateValueFromCStringForTypeMask( in SetArgs() local
181 if (value_sp) { in SetArgs()
185 m_values.push_back(value_sp); in SetArgs()
187 m_values.insert(m_values.begin() + idx, value_sp); in SetArgs()
257 lldb::OptionValueSP value_sp(CreateValueFromCStringForTypeMask( in SetArgs() local
259 if (value_sp) { in SetArgs()
263 m_values[idx] = value_sp; in SetArgs()
265 m_values.push_back(value_sp); in SetArgs()
285 lldb::OptionValueSP value_sp(CreateValueFromCStringForTypeMask( in SetArgs() local
287 if (value_sp) { in SetArgs()
[all …]
H A DOptionValue.cpp508 lldb::OptionValueSP value_sp; in CreateValueFromCStringForTypeMask() local
511 value_sp = std::make_shared<OptionValueArch>(); in CreateValueFromCStringForTypeMask()
514 value_sp = std::make_shared<OptionValueBoolean>(false); in CreateValueFromCStringForTypeMask()
517 value_sp = std::make_shared<OptionValueChar>('\0'); in CreateValueFromCStringForTypeMask()
520 value_sp = std::make_shared<OptionValueFileSpec>(); in CreateValueFromCStringForTypeMask()
532 value_sp = std::make_shared<OptionValueSInt64>(); in CreateValueFromCStringForTypeMask()
535 value_sp = std::make_shared<OptionValueString>(); in CreateValueFromCStringForTypeMask()
538 value_sp = std::make_shared<OptionValueUInt64>(); in CreateValueFromCStringForTypeMask()
541 value_sp = std::make_shared<OptionValueUUID>(); in CreateValueFromCStringForTypeMask()
545 if (value_sp) in CreateValueFromCStringForTypeMask()
[all …]
H A DOptionValueUInt64.cpp18 lldb::OptionValueSP value_sp(new OptionValueUInt64()); in Create() local
19 error = value_sp->SetValueFromString(value_str); in Create()
21 value_sp.reset(); in Create()
22 return value_sp; in Create()
H A DProperty.cpp232 const lldb::OptionValueSP &value_sp) in Property() argument
233 : m_name(name), m_description(desc), m_value_sp(value_sp), in Property()
/llvm-project-15.0.7/lldb/source/Plugins/Instruction/ARM/
H A DEmulationStateARM.cpp304 OptionValueSP value_sp = in LoadRegistersStateFromDictionary() local
306 if (value_sp.get() == nullptr) in LoadRegistersStateFromDictionary()
327 if (value_sp.get() != nullptr) { in LoadStateFromDictionary()
334 if (value_sp.get() == nullptr) in LoadStateFromDictionary()
337 start_address = value_sp->GetUInt64Value(); in LoadStateFromDictionary()
339 value_sp = mem_dict->GetValueForKey(data_key); in LoadStateFromDictionary()
348 value_sp = mem_array->GetValueAtIndex(i); in LoadStateFromDictionary()
349 if (value_sp.get() == nullptr) in LoadStateFromDictionary()
358 if (value_sp.get() == nullptr) in LoadStateFromDictionary()
368 value_sp = reg_dict->GetValueForKey(cpsr_name); in LoadStateFromDictionary()
[all …]
/llvm-project-15.0.7/lldb/source/Plugins/ABI/PowerPC/
H A DABISysV_ppc64.cpp520 ValueSP value_sp; in GetValue() local
524 value_sp = GetIntegerValue(0); in GetValue()
534 value_sp = GetPointerValue(0); in GetValue()
537 if (value_sp) { in GetValue()
578 ValueSP value_sp(new Value); in NewScalarValue() local
579 value_sp->SetCompilerType(type); in NewScalarValue()
581 return value_sp; in NewScalarValue()
630 return value_sp; in GetIntegerValue()
662 return value_sp; in GetFloatValue()
674 value_sp->GetScalar() = raw_data; in GetPointerValue()
[all …]
/llvm-project-15.0.7/lldb/tools/debugserver/source/
H A DJSON.cpp145 auto value_sp = GetObject(key); in GetObjectAsBool() local
146 if (!value_sp) { in GetObjectAsBool()
151 if (JSONTrue::classof(value_sp.get())) { in GetObjectAsBool()
155 } else if (JSONFalse::classof(value_sp.get())) { in GetObjectAsBool()
167 auto value_sp = GetObject(key); in GetObjectAsString() local
168 if (!value_sp) { in GetObjectAsString()
173 if (!JSONString::classof(value_sp.get())) in GetObjectAsString()
492 if (value_sp) in ParseJSONObject()
493 dict_up->SetObject(key, value_sp); in ParseJSONObject()
521 if (value_sp) in ParseJSONArray()
[all …]
/llvm-project-15.0.7/lldb/source/Plugins/Language/ObjC/
H A DCoreMedia.cpp35 auto value_sp(valobj.GetSyntheticChildAtOffset(0, int64_ty, true)); in CMTimeSummaryProvider() local
39 if (!value_sp || !timescale_sp || !flags_sp) in CMTimeSummaryProvider()
42 auto value = value_sp->GetValueAsUnsigned(0); in CMTimeSummaryProvider()
/llvm-project-15.0.7/lldb/source/Plugins/Language/CPlusPlus/
H A DLibCxxUnorderedMap.cpp84 ValueObjectSP value_sp = in GetChildAtIndex() local
88 if (!hash_sp || !value_sp) { in GetChildAtIndex()
129 value_sp = node_sp->GetChildMemberWithName(ConstString("__value_"), true); in GetChildAtIndex()
131 if (!value_sp || !hash_sp) in GetChildAtIndex()
135 {value_sp.get(), hash_sp->GetValueAsUnsigned(0)}); in GetChildAtIndex()
H A DLibStdcppTuple.cpp75 ValueObjectSP value_sp = in Update() local
77 if (value_sp) { in Update()
80 m_members.push_back(value_sp->Clone(ConstString(name.GetString())).get()); in Update()
H A DLibCxxList.cpp237 ValueObjectSP value_sp = current.advance(advance); in GetItem() local
239 return value_sp; in GetItem()
/llvm-project-15.0.7/lldb/source/Core/
H A DDisassembler.cpp257 if (value_sp && value_sp->GetType() == OptionValue::eTypeRegex) { in ElideMixedSourceAndDisassemblyLine()
258 OptionValueRegex *re = value_sp->GetAsRegex(); in ElideMixedSourceAndDisassemblyLine()
808 lldb::OptionValueSP value_sp; in ReadDictionary() local
815 value_sp = ReadDictionary(in_file, out_stream); in ReadDictionary()
816 if (!value_sp) { in ReadDictionary()
824 if (!value_sp) { in ReadDictionary()
833 value_sp->SetValueFromString(value); in ReadDictionary()
907 if (!value_sp) { in TestEmulation()
913 SetDescription(value_sp->GetStringValue()); in TestEmulation()
915 value_sp = data_dictionary->GetValueForKey(triple_key); in TestEmulation()
[all …]
/llvm-project-15.0.7/lldb/source/Utility/
H A DStructuredData.cpp80 if (StructuredData::ObjectSP value_sp = ParseJSONValue(value)) in ParseJSONObject() local
81 dict_up->AddItem(key, value_sp); in ParseJSONObject()
89 if (StructuredData::ObjectSP value_sp = ParseJSONValue(value)) in ParseJSONArray() local
90 array_up->AddItem(value_sp); in ParseJSONArray()
/llvm-project-15.0.7/lldb/source/Plugins/LanguageRuntime/CPlusPlus/
H A DCPPLanguageRuntime.cpp386 ValueObjectSP value_sp = frame->FindVariable(g_this); in GetStepThroughTrampolinePlan() local
389 FindLibCppStdFunctionCallableInfo(value_sp); in GetStepThroughTrampolinePlan()
392 value_sp->GetValueIsValid()) { in GetStepThroughTrampolinePlan()
/llvm-project-15.0.7/lldb/source/Commands/
H A DCommandObjectRegister.cpp257 OptionValueSP value_sp(OptionValueUInt64::Create(option_value, error)); in SetOptionValue() local
258 if (value_sp) in SetOptionValue()
259 set_indexes.AppendValue(value_sp); in SetOptionValue()
/llvm-project-15.0.7/lldb/bindings/python/
H A Dpython-swigsafecast.swig34 PythonObject ToSWIGWrapper(lldb::ValueObjectSP value_sp) {
35 return ToSWIGWrapper(std::make_unique<lldb::SBValue>(std::move(value_sp)));

12