Lines Matching refs:value_sp

116     lldb::ValueObjectSP value_sp = m_valobj_sp;  in GetSP()  local
118 Target *target = value_sp->GetTargetSP().get(); in GetSP()
124 ProcessSP process_sp(value_sp->GetProcessSP()); in GetSP()
134 ValueObjectSP dynamic_sp = value_sp->GetDynamicValue(m_use_dynamic); in GetSP()
136 value_sp = dynamic_sp; in GetSP()
140 ValueObjectSP synthetic_sp = value_sp->GetSyntheticValue(); in GetSP()
142 value_sp = synthetic_sp; in GetSP()
145 if (!value_sp) in GetSP()
148 value_sp->SetName(m_name); in GetSP()
150 return value_sp; in GetSP()
220 SBValue::SBValue(const lldb::ValueObjectSP &value_sp) { in SBValue() argument
221 LLDB_RECORD_CONSTRUCTOR(SBValue, (const lldb::ValueObjectSP &), value_sp); in SBValue()
223 SetSP(value_sp); in SBValue()
270 lldb::ValueObjectSP value_sp(GetSP(locker)); in GetError() local
271 if (value_sp) in GetError()
272 sb_error.SetError(value_sp->GetError()); in GetError()
284 lldb::ValueObjectSP value_sp(GetSP(locker)); in GetID() local
285 if (value_sp) in GetID()
286 return value_sp->GetID(); in GetID()
295 lldb::ValueObjectSP value_sp(GetSP(locker)); in GetName() local
296 if (value_sp) in GetName()
297 name = value_sp->GetName().GetCString(); in GetName()
307 lldb::ValueObjectSP value_sp(GetSP(locker)); in GetTypeName() local
308 if (value_sp) { in GetTypeName()
309 name = value_sp->GetQualifiedTypeName().GetCString(); in GetTypeName()
320 lldb::ValueObjectSP value_sp(GetSP(locker)); in GetDisplayTypeName() local
321 if (value_sp) { in GetDisplayTypeName()
322 name = value_sp->GetDisplayTypeName().GetCString(); in GetDisplayTypeName()
334 lldb::ValueObjectSP value_sp(GetSP(locker)); in GetByteSize() local
335 if (value_sp) { in GetByteSize()
336 result = value_sp->GetByteSize().getValueOr(0); in GetByteSize()
348 lldb::ValueObjectSP value_sp(GetSP(locker)); in IsInScope() local
349 if (value_sp) { in IsInScope()
350 result = value_sp->IsInScope(); in IsInScope()
361 lldb::ValueObjectSP value_sp(GetSP(locker)); in GetValue() local
362 if (value_sp) { in GetValue()
363 cstr = value_sp->GetValueAsCString(); in GetValue()
374 lldb::ValueObjectSP value_sp(GetSP(locker)); in GetValueType() local
375 if (value_sp) in GetValueType()
376 result = value_sp->GetValueType(); in GetValueType()
386 lldb::ValueObjectSP value_sp(GetSP(locker)); in GetObjectDescription() local
387 if (value_sp) { in GetObjectDescription()
388 cstr = value_sp->GetObjectDescription(); in GetObjectDescription()
399 lldb::ValueObjectSP value_sp(GetSP(locker)); in GetType() local
401 if (value_sp) { in GetType()
402 type_sp = std::make_shared<TypeImpl>(value_sp->GetTypeImpl()); in GetType()
414 lldb::ValueObjectSP value_sp(GetSP(locker)); in GetValueDidChange() local
415 if (value_sp) { in GetValueDidChange()
416 if (value_sp->UpdateValueIfNeeded(false)) in GetValueDidChange()
417 result = value_sp->GetValueDidChange(); in GetValueDidChange()
428 lldb::ValueObjectSP value_sp(GetSP(locker)); in GetSummary() local
429 if (value_sp) { in GetSummary()
430 cstr = value_sp->GetSummaryAsCString(); in GetSummary()
443 lldb::ValueObjectSP value_sp(GetSP(locker)); in GetSummary() local
444 if (value_sp) { in GetSummary()
446 if (value_sp->GetSummaryAsCString(buffer, options.ref()) && !buffer.empty()) in GetSummary()
458 lldb::ValueObjectSP value_sp(GetSP(locker)); in GetLocation() local
459 if (value_sp) { in GetLocation()
460 cstr = value_sp->GetLocationAsCString(); in GetLocation()
480 lldb::ValueObjectSP value_sp(GetSP(locker)); in SetValueFromCString() local
481 if (value_sp) { in SetValueFromCString()
482 success = value_sp->SetValueFromCString(value_str, error.ref()); in SetValueFromCString()
495 lldb::ValueObjectSP value_sp(GetSP(locker)); in GetTypeFormat() local
496 if (value_sp) { in GetTypeFormat()
497 if (value_sp->UpdateValueIfNeeded(true)) { in GetTypeFormat()
498 lldb::TypeFormatImplSP format_sp = value_sp->GetValueFormat(); in GetTypeFormat()
511 lldb::ValueObjectSP value_sp(GetSP(locker)); in GetTypeSummary() local
512 if (value_sp) { in GetTypeSummary()
513 if (value_sp->UpdateValueIfNeeded(true)) { in GetTypeSummary()
514 lldb::TypeSummaryImplSP summary_sp = value_sp->GetSummaryFormat(); in GetTypeSummary()
527 lldb::ValueObjectSP value_sp(GetSP(locker)); in GetTypeFilter() local
528 if (value_sp) { in GetTypeFilter()
529 if (value_sp->UpdateValueIfNeeded(true)) { in GetTypeFilter()
530 lldb::SyntheticChildrenSP synthetic_sp = value_sp->GetSyntheticChildren(); in GetTypeFilter()
547 lldb::ValueObjectSP value_sp(GetSP(locker)); in GetTypeSynthetic() local
548 if (value_sp) { in GetTypeSynthetic()
549 if (value_sp->UpdateValueIfNeeded(true)) { in GetTypeSynthetic()
550 lldb::SyntheticChildrenSP children_sp = value_sp->GetSyntheticChildren(); in GetTypeSynthetic()
570 lldb::ValueObjectSP value_sp(GetSP(locker)); in CreateChildAtOffset() local
572 if (value_sp) { in CreateChildAtOffset()
575 sb_value.SetSP(value_sp->GetSyntheticChildAtOffset( in CreateChildAtOffset()
588 lldb::ValueObjectSP value_sp(GetSP(locker)); in Cast() local
590 if (value_sp && type_sp) in Cast()
591 sb_value.SetSP(value_sp->Cast(type_sp->GetCompilerType(false)), in Cast()
616 lldb::ValueObjectSP value_sp(GetSP(locker)); in CreateValueFromExpression() local
618 if (value_sp) { in CreateValueFromExpression()
619 ExecutionContext exe_ctx(value_sp->GetExecutionContextRef()); in CreateValueFromExpression()
638 lldb::ValueObjectSP value_sp(GetSP(locker)); in CreateValueFromAddress() local
641 if (value_sp && type_impl_sp) { in CreateValueFromAddress()
643 ExecutionContext exe_ctx(value_sp->GetExecutionContextRef()); in CreateValueFromAddress()
660 lldb::ValueObjectSP value_sp(GetSP(locker)); in CreateValueFromData() local
662 if (value_sp && type_impl_sp) { in CreateValueFromData()
663 ExecutionContext exe_ctx(value_sp->GetExecutionContextRef()); in CreateValueFromData()
698 lldb::ValueObjectSP value_sp(GetSP(locker)); in GetChildAtIndex() local
699 if (value_sp) { in GetChildAtIndex()
701 child_sp = value_sp->GetChildAtIndex(idx, can_create); in GetChildAtIndex()
703 child_sp = value_sp->GetSyntheticArrayMember(idx, can_create); in GetChildAtIndex()
719 lldb::ValueObjectSP value_sp(GetSP(locker)); in GetIndexOfChildWithName() local
720 if (value_sp) { in GetIndexOfChildWithName()
721 idx = value_sp->GetIndexOfChildWithName(ConstString(name)); in GetIndexOfChildWithName()
751 lldb::ValueObjectSP value_sp(GetSP(locker)); in GetChildMemberWithName() local
752 if (value_sp) { in GetChildMemberWithName()
753 child_sp = value_sp->GetChildMemberWithName(str_name, true); in GetChildMemberWithName()
837 lldb::ValueObjectSP value_sp(GetSP(locker)); in IsDynamic() local
838 if (value_sp) in IsDynamic()
839 return value_sp->IsDynamic(); in IsDynamic()
847 lldb::ValueObjectSP value_sp(GetSP(locker)); in IsSynthetic() local
848 if (value_sp) in IsSynthetic()
849 return value_sp->IsSynthetic(); in IsSynthetic()
857 lldb::ValueObjectSP value_sp(GetSP(locker)); in IsSyntheticChildrenGenerated() local
858 if (value_sp) in IsSyntheticChildrenGenerated()
859 return value_sp->IsSyntheticChildrenGenerated(); in IsSyntheticChildrenGenerated()
867 lldb::ValueObjectSP value_sp(GetSP(locker)); in SetSyntheticChildrenGenerated() local
868 if (value_sp) in SetSyntheticChildrenGenerated()
869 return value_sp->SetSyntheticChildrenGenerated(is); in SetSyntheticChildrenGenerated()
878 lldb::ValueObjectSP value_sp(GetSP(locker)); in GetValueForExpressionPath() local
879 if (value_sp) { in GetValueForExpressionPath()
881 child_sp = value_sp->GetValueForExpressionPath(expr_path); in GetValueForExpressionPath()
896 lldb::ValueObjectSP value_sp(GetSP(locker)); in GetValueAsSigned() local
897 if (value_sp) { in GetValueAsSigned()
900 ret_val = value_sp->GetValueAsSigned(fail_value, &success); in GetValueAsSigned()
917 lldb::ValueObjectSP value_sp(GetSP(locker)); in GetValueAsUnsigned() local
918 if (value_sp) { in GetValueAsUnsigned()
921 ret_val = value_sp->GetValueAsUnsigned(fail_value, &success); in GetValueAsUnsigned()
936 lldb::ValueObjectSP value_sp(GetSP(locker)); in GetValueAsSigned() local
937 if (value_sp) { in GetValueAsSigned()
938 return value_sp->GetValueAsSigned(fail_value); in GetValueAsSigned()
948 lldb::ValueObjectSP value_sp(GetSP(locker)); in GetValueAsUnsigned() local
949 if (value_sp) { in GetValueAsUnsigned()
950 return value_sp->GetValueAsUnsigned(fail_value); in GetValueAsUnsigned()
960 lldb::ValueObjectSP value_sp(GetSP(locker)); in MightHaveChildren() local
961 if (value_sp) in MightHaveChildren()
962 has_children = value_sp->MightHaveChildren(); in MightHaveChildren()
972 lldb::ValueObjectSP value_sp(GetSP(locker)); in IsRuntimeSupportValue() local
973 if (value_sp) in IsRuntimeSupportValue()
974 is_support = value_sp->IsRuntimeSupportValue(); in IsRuntimeSupportValue()
991 lldb::ValueObjectSP value_sp(GetSP(locker)); in GetNumChildren() local
992 if (value_sp) in GetNumChildren()
993 num_children = value_sp->GetNumChildren(max); in GetNumChildren()
1003 lldb::ValueObjectSP value_sp(GetSP(locker)); in Dereference() local
1004 if (value_sp) { in Dereference()
1006 sb_value = value_sp->Dereference(error); in Dereference()
1023 lldb::ValueObjectSP value_sp(GetSP(locker)); in GetOpaqueType() local
1024 if (value_sp) in GetOpaqueType()
1025 return value_sp->GetCompilerType().GetOpaqueQualType(); in GetOpaqueType()
1155 lldb::ValueObjectSP value_sp(GetSP(locker)); in GetExpressionPath() local
1156 if (value_sp) { in GetExpressionPath()
1157 value_sp->GetExpressionPath(description.ref()); in GetExpressionPath()
1169 lldb::ValueObjectSP value_sp(GetSP(locker)); in GetExpressionPath() local
1170 if (value_sp) { in GetExpressionPath()
1171 value_sp->GetExpressionPath(description.ref()); in GetExpressionPath()
1182 lldb::ValueObjectSP value_sp(GetSP(locker)); in EvaluateExpression() local
1183 if (!value_sp) in EvaluateExpression()
1186 lldb::TargetSP target_sp = value_sp->GetTargetSP(); in EvaluateExpression()
1223 lldb::ValueObjectSP value_sp(GetSP(locker)); in EvaluateExpression() local
1224 if (!value_sp) { in EvaluateExpression()
1228 lldb::TargetSP target_sp = value_sp->GetTargetSP(); in EvaluateExpression()
1243 value_sp.get()); in EvaluateExpression()
1260 lldb::ValueObjectSP value_sp(GetSP(locker)); in GetDescription() local
1261 if (value_sp) in GetDescription()
1262 value_sp->Dump(strm); in GetDescription()
1273 lldb::ValueObjectSP value_sp(GetSP(locker)); in GetFormat() local
1274 if (value_sp) in GetFormat()
1275 return value_sp->GetFormat(); in GetFormat()
1283 lldb::ValueObjectSP value_sp(GetSP(locker)); in SetFormat() local
1284 if (value_sp) in SetFormat()
1285 value_sp->SetFormat(format); in SetFormat()
1293 lldb::ValueObjectSP value_sp(GetSP(locker)); in AddressOf() local
1294 if (value_sp) { in AddressOf()
1296 sb_value.SetSP(value_sp->AddressOf(error), GetPreferDynamicValue(), in AddressOf()
1308 lldb::ValueObjectSP value_sp(GetSP(locker)); in GetLoadAddress() local
1309 if (value_sp) { in GetLoadAddress()
1310 TargetSP target_sp(value_sp->GetTargetSP()); in GetLoadAddress()
1314 value = value_sp->GetAddressOf(scalar_is_load_address, &addr_type); in GetLoadAddress()
1316 ModuleSP module_sp(value_sp->GetModule()); in GetLoadAddress()
1338 lldb::ValueObjectSP value_sp(GetSP(locker)); in GetAddress() local
1339 if (value_sp) { in GetAddress()
1340 TargetSP target_sp(value_sp->GetTargetSP()); in GetAddress()
1345 value = value_sp->GetAddressOf(scalar_is_load_address, &addr_type); in GetAddress()
1347 ModuleSP module_sp(value_sp->GetModule()); in GetAddress()
1368 lldb::ValueObjectSP value_sp(GetSP(locker)); in GetPointeeData() local
1369 if (value_sp) { in GetPointeeData()
1370 TargetSP target_sp(value_sp->GetTargetSP()); in GetPointeeData()
1373 value_sp->GetPointeeData(*data_sp, item_idx, item_count); in GetPointeeData()
1387 lldb::ValueObjectSP value_sp(GetSP(locker)); in GetData() local
1388 if (value_sp) { in GetData()
1391 value_sp->GetData(*data_sp, error); in GetData()
1404 lldb::ValueObjectSP value_sp(GetSP(locker)); in SetData() local
1407 if (value_sp) { in SetData()
1416 value_sp->SetData(*data_extractor, set_error); in SetData()
1438 lldb::ValueObjectSP value_sp(GetSP(locker)); in GetDeclaration() local
1440 if (value_sp) { in GetDeclaration()
1442 if (value_sp->GetDeclaration(decl)) in GetDeclaration()
1458 lldb::ValueObjectSP value_sp(GetSP(locker)); in Watch() local
1460 if (value_sp && target_sp) { in Watch()
1483 CompilerType type(value_sp->GetCompilerType()); in Watch()
1491 if (value_sp->GetDeclaration(decl)) { in Watch()
1538 lldb::ValueObjectSP value_sp(GetSP(locker)); in Persist() local
1540 if (value_sp) { in Persist()
1541 persisted_sb.SetSP(value_sp->Persist()); in Persist()