Home
last modified time | relevance | path

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

12

/freebsd/contrib/llvm-project/lldb/source/API/
H A DSBValue.cpp272 if (value_sp) in GetError()
286 if (value_sp) in GetID()
296 if (!value_sp) in GetName()
307 if (!value_sp) in GetTypeName()
318 if (!value_sp) in GetDisplayTypeName()
357 if (!value_sp) in GetValue()
368 if (value_sp) in GetValueType()
379 if (!value_sp) in GetObjectDescription()
799 if (value_sp) in IsDynamic()
809 if (value_sp) in IsSynthetic()
[all …]
H A DSBFrame.cpp487 sb_value.SetSP(value_sp, use_dynamic); in GetValueForVariablePath()
522 ValueObjectSP value_sp; in FindVariable() local
536 if (value_sp) in FindVariable()
537 sb_value.SetSP(value_sp, use_dynamic); in FindVariable()
572 ValueObjectSP value_sp; in FindValue() local
619 sb_value.SetSP(value_sp, use_dynamic); in FindValue()
630 sb_value.SetSP(value_sp); in FindValue()
647 value_sp = in FindValue()
649 sb_value.SetSP(value_sp); in FindValue()
924 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()
/freebsd/contrib/llvm-project/lldb/include/lldb/Interpreter/
H A DOptionValueArray.h57 lldb::OptionValueSP value_sp; variable
59 value_sp = m_values[idx];
60 return value_sp;
64 lldb::OptionValueSP value_sp; in GetValueAtIndex() local
66 value_sp = m_values[idx]; in GetValueAtIndex()
67 return value_sp; in GetValueAtIndex()
73 if (value_sp && (m_type_mask & value_sp->GetTypeAsMask())) { in AppendValue()
74 m_values.push_back(value_sp); in AppendValue()
83 if (value_sp && (m_type_mask & value_sp->GetTypeAsMask())) { in InsertValue()
96 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.h70 bool SetValueForKey(llvm::StringRef key, const lldb::OptionValueSP &value_sp,
/freebsd/contrib/llvm-project/lldb/source/Interpreter/
H A DOptionValueProperties.cpp67 lldb::OptionValueSP value_sp; in GetSubValue() local
81 if (sub_name.empty() || !value_sp) in GetSubValue()
82 return value_sp; in GetSubValue()
109 value_sp.reset(); in GetSubValue()
112 return value_sp; in GetSubValue()
128 if (value_sp) in SetSubValue()
169 if (value_sp) in GetPropertyAtIndexAsOptionValuePathMappings()
178 if (value_sp) in GetPropertyAtIndexAsOptionValueFileSpecList()
285 if (value_sp) in GetPropertyAtIndexAsOptionValueString()
286 return value_sp->GetAsString(); in GetPropertyAtIndexAsOptionValueString()
[all …]
H A DOptionValueDictionary.cpp188 if (value_sp) { in SetArgs()
238 lldb::OptionValueSP value_sp; in GetSubValue() local
272 value_sp = GetValueForKey(key); in GetSubValue()
273 if (!value_sp) { in GetSubValue()
281 return value_sp; in GetSubValue()
291 if (value_sp) in SetSubValue()
302 lldb::OptionValueSP value_sp; in GetValueForKey() local
305 value_sp = pos->second; in GetValueForKey()
306 return value_sp; in GetValueForKey()
314 if (value_sp && (m_type_mask & value_sp->GetTypeAsMask())) { in SetValueForKey()
[all …]
H A DOptionValueArray.cpp185 lldb::OptionValueSP value_sp(CreateValueFromCStringForTypeMask( in SetArgs() local
187 if (value_sp) { in SetArgs()
191 m_values.push_back(value_sp); in SetArgs()
193 m_values.insert(m_values.begin() + idx, value_sp); in SetArgs()
263 lldb::OptionValueSP value_sp(CreateValueFromCStringForTypeMask( in SetArgs() local
265 if (value_sp) { in SetArgs()
269 m_values[idx] = value_sp; in SetArgs()
271 m_values.push_back(value_sp); in SetArgs()
291 lldb::OptionValueSP value_sp(CreateValueFromCStringForTypeMask( in SetArgs() local
293 if (value_sp) { in SetArgs()
[all …]
H A DOptionValue.cpp531 lldb::OptionValueSP value_sp; in CreateValueFromCStringForTypeMask() local
534 value_sp = std::make_shared<OptionValueArch>(); in CreateValueFromCStringForTypeMask()
537 value_sp = std::make_shared<OptionValueBoolean>(false); in CreateValueFromCStringForTypeMask()
540 value_sp = std::make_shared<OptionValueChar>('\0'); in CreateValueFromCStringForTypeMask()
543 value_sp = std::make_shared<OptionValueFileSpec>(); in CreateValueFromCStringForTypeMask()
555 value_sp = std::make_shared<OptionValueSInt64>(); in CreateValueFromCStringForTypeMask()
558 value_sp = std::make_shared<OptionValueString>(); in CreateValueFromCStringForTypeMask()
561 value_sp = std::make_shared<OptionValueUInt64>(); in CreateValueFromCStringForTypeMask()
564 value_sp = std::make_shared<OptionValueUUID>(); in CreateValueFromCStringForTypeMask()
568 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.cpp233 const lldb::OptionValueSP &value_sp) in Property() argument
234 : m_name(name), m_description(desc), m_value_sp(value_sp), in Property()
/freebsd/contrib/llvm-project/lldb/source/Plugins/Instruction/ARM/
H A DEmulationStateARM.cpp267 if (value_sp.get() == nullptr) in LoadRegistersStateFromDictionary()
288 if (value_sp.get() != nullptr) { in LoadStateFromDictionary()
294 value_sp = mem_dict->GetValueForKey(address_key); in LoadStateFromDictionary()
295 if (value_sp.get() == nullptr) in LoadStateFromDictionary()
300 value_sp = mem_dict->GetValueForKey(data_key); in LoadStateFromDictionary()
309 value_sp = mem_array->GetValueAtIndex(i); in LoadStateFromDictionary()
310 if (value_sp.get() == nullptr) in LoadStateFromDictionary()
318 value_sp = test_data->GetValueForKey(registers_key); in LoadStateFromDictionary()
319 if (value_sp.get() == nullptr) in LoadStateFromDictionary()
329 value_sp = reg_dict->GetValueForKey(cpsr_name); in LoadStateFromDictionary()
[all …]
/freebsd/contrib/llvm-project/lldb/source/Plugins/ABI/PowerPC/
H A DABISysV_ppc64.cpp521 ValueSP value_sp; in GetValue() local
525 value_sp = GetIntegerValue(0); in GetValue()
535 value_sp = GetPointerValue(0); in GetValue()
538 if (value_sp) { in GetValue()
579 ValueSP value_sp(new Value); in NewScalarValue() local
580 value_sp->SetCompilerType(type); in NewScalarValue()
582 return value_sp; in NewScalarValue()
631 return value_sp; in GetIntegerValue()
663 return value_sp; in GetFloatValue()
675 value_sp->GetScalar() = raw_data; in GetPointerValue()
[all …]
/freebsd/contrib/llvm-project/lldb/include/lldb/Utility/
H A DStructuredData.h425 ObjectSP value_sp = GetValueForKey(key); in GetValueForKeyAsBoolean() local
426 if (value_sp.get()) { in GetValueForKeyAsBoolean()
438 ObjectSP value_sp = GetValueForKey(key); in GetValueForKeyAsInteger() local
439 if (value_sp) { in GetValueForKeyAsInteger()
466 ObjectSP value_sp = GetValueForKey(key); in GetValueForKeyAsString() local
467 if (value_sp.get()) { in GetValueForKeyAsString()
491 ObjectSP value_sp = GetValueForKey(key); in GetValueForKeyAsDictionary() local
492 if (value_sp.get()) { in GetValueForKeyAsDictionary()
493 result = value_sp->GetAsDictionary(); in GetValueForKeyAsDictionary()
502 if (value_sp.get()) { in GetValueForKeyAsArray()
[all …]
/freebsd/contrib/llvm-project/lldb/source/Plugins/Language/CPlusPlus/
H A DLibCxxUnorderedMap.cpp111 ValueObjectSP value_sp = node_sp->GetChildMemberWithName("__value_"); in GetChildAtIndex() local
113 if (!hash_sp || !value_sp) { in GetChildAtIndex()
169 value_sp = node_sp->GetChildMemberWithName("__value_"); in GetChildAtIndex()
170 if (!value_sp) { in GetChildAtIndex()
182 value_sp = anon_union_sp->GetChildMemberWithName("__value_"); in GetChildAtIndex()
183 if (!value_sp) in GetChildAtIndex()
188 {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.cpp233 ValueObjectSP value_sp = current.advance(advance); in GetItem() local
235 return value_sp; in GetItem()
H A DLibCxx.cpp593 ValueObjectSP value_sp = cast_ptr_sp->Dereference(status); in GetChildAtIndex() local
595 return value_sp; in GetChildAtIndex()
683 auto value_sp = m_value_ptr_sp->Dereference(status); in GetChildAtIndex() local
685 return value_sp; in GetChildAtIndex()
/freebsd/contrib/llvm-project/lldb/source/Plugins/Language/ObjC/
H A DCoreMedia.cpp37 auto value_sp(valobj.GetSyntheticChildAtOffset(0, int64_ty, true)); in CMTimeSummaryProvider() local
41 if (!value_sp || !timescale_sp || !flags_sp) in CMTimeSummaryProvider()
44 auto value = value_sp->GetValueAsUnsigned(0); in CMTimeSummaryProvider()
/freebsd/contrib/llvm-project/lldb/source/Core/
H A DDisassembler.cpp253 if (value_sp && value_sp->GetType() == OptionValue::eTypeRegex) { in ElideMixedSourceAndDisassemblyLine()
254 OptionValueRegex *re = value_sp->GetAsRegex(); in ElideMixedSourceAndDisassemblyLine()
815 lldb::OptionValueSP value_sp; in ReadDictionary() local
822 value_sp = ReadDictionary(in_file, out_stream); in ReadDictionary()
823 if (!value_sp) { in ReadDictionary()
830 value_sp = ReadArray(in_file, out_stream, data_type); in ReadDictionary()
831 if (!value_sp) { in ReadDictionary()
840 value_sp->SetValueFromString(value); in ReadDictionary()
910 if (!value_sp) { in TestEmulation()
918 value_sp = data_dictionary->GetValueForKey(triple_key); in TestEmulation()
[all …]
/freebsd/contrib/llvm-project/lldb/source/Utility/
H A DStructuredData.cpp91 if (StructuredData::ObjectSP value_sp = ParseJSONValue(value)) in ParseJSONObject() local
92 dict_up->AddItem(key, value_sp); in ParseJSONObject()
100 if (StructuredData::ObjectSP value_sp = ParseJSONValue(value)) in ParseJSONArray() local
101 array_up->AddItem(value_sp); in ParseJSONArray()
/freebsd/contrib/llvm-project/lldb/source/Plugins/LanguageRuntime/CPlusPlus/
H A DCPPLanguageRuntime.cpp387 ValueObjectSP value_sp = frame->FindVariable(g_this); in GetStepThroughTrampolinePlan() local
390 FindLibCppStdFunctionCallableInfo(value_sp); in GetStepThroughTrampolinePlan()
393 value_sp->GetValueIsValid()) { in GetStepThroughTrampolinePlan()
/freebsd/contrib/llvm-project/lldb/source/Commands/
H A DCommandObjectRegister.cpp264 OptionValueSP value_sp(OptionValueUInt64::Create(option_value, error)); in SetOptionValue() local
265 if (value_sp) in SetOptionValue()
266 set_indexes.AppendValue(value_sp); in SetOptionValue()
/freebsd/contrib/llvm-project/lldb/bindings/python/
H A Dpython-swigsafecast.swig12 PythonObject SWIGBridge::ToSWIGWrapper(lldb::ValueObjectSP value_sp) {
13 return ToSWIGWrapper(std::unique_ptr<lldb::SBValue>(new lldb::SBValue(value_sp)));

12