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()
131 static_cast<void *>(value_sp.get())); in GetSP()
137 ValueObjectSP dynamic_sp = value_sp->GetDynamicValue(m_use_dynamic); in GetSP()
139 value_sp = dynamic_sp; in GetSP()
143 ValueObjectSP synthetic_sp = value_sp->GetSyntheticValue(m_use_synthetic); in GetSP()
145 value_sp = synthetic_sp; in GetSP()
148 if (!value_sp) in GetSP()
151 value_sp->SetName(m_name); in GetSP()
153 return value_sp; in GetSP()
223 SBValue::SBValue(const lldb::ValueObjectSP &value_sp) { SetSP(value_sp); } in SBValue() argument
250 lldb::ValueObjectSP value_sp(GetSP(locker)); in GetError() local
251 if (value_sp) in GetError()
252 sb_error.SetError(value_sp->GetError()); in GetError()
262 lldb::ValueObjectSP value_sp(GetSP(locker)); in GetID() local
263 if (value_sp) in GetID()
264 return value_sp->GetID(); in GetID()
271 lldb::ValueObjectSP value_sp(GetSP(locker)); in GetName() local
272 if (value_sp) in GetName()
273 name = value_sp->GetName().GetCString(); in GetName()
279 static_cast<void *>(value_sp.get()), name); in GetName()
282 static_cast<void *>(value_sp.get())); in GetName()
292 lldb::ValueObjectSP value_sp(GetSP(locker)); in GetTypeName() local
293 if (value_sp) { in GetTypeName()
294 name = value_sp->GetQualifiedTypeName().GetCString(); in GetTypeName()
300 static_cast<void *>(value_sp.get()), name); in GetTypeName()
303 static_cast<void *>(value_sp.get())); in GetTypeName()
313 lldb::ValueObjectSP value_sp(GetSP(locker)); in GetDisplayTypeName() local
314 if (value_sp) { in GetDisplayTypeName()
315 name = value_sp->GetDisplayTypeName().GetCString(); in GetDisplayTypeName()
321 static_cast<void *>(value_sp.get()), name); in GetDisplayTypeName()
324 static_cast<void *>(value_sp.get())); in GetDisplayTypeName()
335 lldb::ValueObjectSP value_sp(GetSP(locker)); in GetByteSize() local
336 if (value_sp) { in GetByteSize()
337 result = value_sp->GetByteSize(); in GetByteSize()
342 static_cast<void *>(value_sp.get()), in GetByteSize()
352 lldb::ValueObjectSP value_sp(GetSP(locker)); in IsInScope() local
353 if (value_sp) { in IsInScope()
354 result = value_sp->IsInScope(); in IsInScope()
360 static_cast<void *>(value_sp.get()), result); in IsInScope()
370 lldb::ValueObjectSP value_sp(GetSP(locker)); in GetValue() local
371 if (value_sp) { in GetValue()
372 cstr = value_sp->GetValueAsCString(); in GetValue()
377 static_cast<void *>(value_sp.get()), cstr); in GetValue()
380 static_cast<void *>(value_sp.get())); in GetValue()
389 lldb::ValueObjectSP value_sp(GetSP(locker)); in GetValueType() local
390 if (value_sp) in GetValueType()
391 result = value_sp->GetValueType(); in GetValueType()
398 static_cast<void *>(value_sp.get())); in GetValueType()
402 static_cast<void *>(value_sp.get())); in GetValueType()
406 static_cast<void *>(value_sp.get())); in GetValueType()
410 static_cast<void *>(value_sp.get())); in GetValueType()
414 static_cast<void *>(value_sp.get())); in GetValueType()
418 static_cast<void *>(value_sp.get())); in GetValueType()
422 static_cast<void *>(value_sp.get())); in GetValueType()
426 static_cast<void *>(value_sp.get())); in GetValueType()
431 static_cast<void *>(value_sp.get())); in GetValueType()
442 lldb::ValueObjectSP value_sp(GetSP(locker)); in GetObjectDescription() local
443 if (value_sp) { in GetObjectDescription()
444 cstr = value_sp->GetObjectDescription(); in GetObjectDescription()
449 static_cast<void *>(value_sp.get()), cstr); in GetObjectDescription()
452 static_cast<void *>(value_sp.get())); in GetObjectDescription()
461 lldb::ValueObjectSP value_sp(GetSP(locker)); in GetTypeValidatorResult() local
462 if (value_sp) { in GetTypeValidatorResult()
463 const auto &validation(value_sp->GetValidationStatus()); in GetTypeValidatorResult()
474 static_cast<void *>(value_sp.get()), cstr); in GetTypeValidatorResult()
477 static_cast<void *>(value_sp.get())); in GetTypeValidatorResult()
486 lldb::ValueObjectSP value_sp(GetSP(locker)); in GetType() local
488 if (value_sp) { in GetType()
489 type_sp.reset(new TypeImpl(value_sp->GetTypeImpl())); in GetType()
495 static_cast<void *>(value_sp.get()), in GetType()
499 static_cast<void *>(value_sp.get())); in GetType()
508 lldb::ValueObjectSP value_sp(GetSP(locker)); in GetValueDidChange() local
509 if (value_sp) { in GetValueDidChange()
510 if (value_sp->UpdateValueIfNeeded(false)) in GetValueDidChange()
511 result = value_sp->GetValueDidChange(); in GetValueDidChange()
515 static_cast<void *>(value_sp.get()), result); in GetValueDidChange()
524 lldb::ValueObjectSP value_sp(GetSP(locker)); in GetSummary() local
525 if (value_sp) { in GetSummary()
526 cstr = value_sp->GetSummaryAsCString(); in GetSummary()
531 static_cast<void *>(value_sp.get()), cstr); in GetSummary()
534 static_cast<void *>(value_sp.get())); in GetSummary()
543 lldb::ValueObjectSP value_sp(GetSP(locker)); in GetSummary() local
544 if (value_sp) { in GetSummary()
546 if (value_sp->GetSummaryAsCString(buffer, options.ref()) && !buffer.empty()) in GetSummary()
553 static_cast<void *>(value_sp.get()), cstr); in GetSummary()
556 static_cast<void *>(value_sp.get())); in GetSummary()
565 lldb::ValueObjectSP value_sp(GetSP(locker)); in GetLocation() local
566 if (value_sp) { in GetLocation()
567 cstr = value_sp->GetLocationAsCString(); in GetLocation()
572 static_cast<void *>(value_sp.get()), cstr); in GetLocation()
575 static_cast<void *>(value_sp.get())); in GetLocation()
589 lldb::ValueObjectSP value_sp(GetSP(locker)); in SetValueFromCString() local
591 if (value_sp) { in SetValueFromCString()
592 success = value_sp->SetValueFromCString(value_str, error.ref()); in SetValueFromCString()
599 static_cast<void *>(value_sp.get()), value_str, success); in SetValueFromCString()
607 lldb::ValueObjectSP value_sp(GetSP(locker)); in GetTypeFormat() local
608 if (value_sp) { in GetTypeFormat()
609 if (value_sp->UpdateValueIfNeeded(true)) { in GetTypeFormat()
610 lldb::TypeFormatImplSP format_sp = value_sp->GetValueFormat(); in GetTypeFormat()
621 lldb::ValueObjectSP value_sp(GetSP(locker)); in GetTypeSummary() local
622 if (value_sp) { in GetTypeSummary()
623 if (value_sp->UpdateValueIfNeeded(true)) { in GetTypeSummary()
624 lldb::TypeSummaryImplSP summary_sp = value_sp->GetSummaryFormat(); in GetTypeSummary()
635 lldb::ValueObjectSP value_sp(GetSP(locker)); in GetTypeFilter() local
636 if (value_sp) { in GetTypeFilter()
637 if (value_sp->UpdateValueIfNeeded(true)) { in GetTypeFilter()
638 lldb::SyntheticChildrenSP synthetic_sp = value_sp->GetSyntheticChildren(); in GetTypeFilter()
654 lldb::ValueObjectSP value_sp(GetSP(locker)); in GetTypeSynthetic() local
655 if (value_sp) { in GetTypeSynthetic()
656 if (value_sp->UpdateValueIfNeeded(true)) { in GetTypeSynthetic()
657 lldb::SyntheticChildrenSP children_sp = value_sp->GetSyntheticChildren(); in GetTypeSynthetic()
674 lldb::ValueObjectSP value_sp(GetSP(locker)); in CreateChildAtOffset() local
676 if (value_sp) { in CreateChildAtOffset()
679 sb_value.SetSP(value_sp->GetSyntheticChildAtOffset( in CreateChildAtOffset()
688 static_cast<void *>(value_sp.get()), in CreateChildAtOffset()
692 static_cast<void *>(value_sp.get())); in CreateChildAtOffset()
700 lldb::ValueObjectSP value_sp(GetSP(locker)); in Cast() local
702 if (value_sp && type_sp) in Cast()
703 sb_value.SetSP(value_sp->Cast(type_sp->GetCompilerType(false)), in Cast()
721 lldb::ValueObjectSP value_sp(GetSP(locker)); in CreateValueFromExpression() local
723 if (value_sp) { in CreateValueFromExpression()
724 ExecutionContext exe_ctx(value_sp->GetExecutionContextRef()); in CreateValueFromExpression()
735 static_cast<void *>(value_sp.get()), name, expression, in CreateValueFromExpression()
740 static_cast<void *>(value_sp.get()), name, expression); in CreateValueFromExpression()
750 lldb::ValueObjectSP value_sp(GetSP(locker)); in CreateValueFromAddress() local
753 if (value_sp && type_impl_sp) { in CreateValueFromAddress()
755 ExecutionContext exe_ctx(value_sp->GetExecutionContextRef()); in CreateValueFromAddress()
764 static_cast<void *>(value_sp.get()), in CreateValueFromAddress()
768 static_cast<void *>(value_sp.get())); in CreateValueFromAddress()
778 lldb::ValueObjectSP value_sp(GetSP(locker)); in CreateValueFromData() local
780 if (value_sp && type_impl_sp) { in CreateValueFromData()
781 ExecutionContext exe_ctx(value_sp->GetExecutionContextRef()); in CreateValueFromData()
791 static_cast<void *>(value_sp.get()), in CreateValueFromData()
795 static_cast<void *>(value_sp.get())); in CreateValueFromData()
820 lldb::ValueObjectSP value_sp(GetSP(locker)); in GetChildAtIndex() local
821 if (value_sp) { in GetChildAtIndex()
823 child_sp = value_sp->GetChildAtIndex(idx, can_create); in GetChildAtIndex()
825 child_sp = value_sp->GetSyntheticArrayMember(idx, can_create); in GetChildAtIndex()
833 static_cast<void *>(value_sp.get()), idx, in GetChildAtIndex()
834 static_cast<void *>(value_sp.get())); in GetChildAtIndex()
842 lldb::ValueObjectSP value_sp(GetSP(locker)); in GetIndexOfChildWithName() local
843 if (value_sp) { in GetIndexOfChildWithName()
844 idx = value_sp->GetIndexOfChildWithName(ConstString(name)); in GetIndexOfChildWithName()
851 static_cast<void *>(value_sp.get()), name); in GetIndexOfChildWithName()
854 static_cast<void *>(value_sp.get()), name, idx); in GetIndexOfChildWithName()
879 lldb::ValueObjectSP value_sp(GetSP(locker)); in GetChildMemberWithName() local
880 if (value_sp) { in GetChildMemberWithName()
881 child_sp = value_sp->GetChildMemberWithName(str_name, true); in GetChildMemberWithName()
890 static_cast<void *>(value_sp.get()), name, in GetChildMemberWithName()
891 static_cast<void *>(value_sp.get())); in GetChildMemberWithName()
951 lldb::ValueObjectSP value_sp(GetSP(locker)); in IsDynamic() local
952 if (value_sp) in IsDynamic()
953 return value_sp->IsDynamic(); in IsDynamic()
959 lldb::ValueObjectSP value_sp(GetSP(locker)); in IsSynthetic() local
960 if (value_sp) in IsSynthetic()
961 return value_sp->IsSynthetic(); in IsSynthetic()
967 lldb::ValueObjectSP value_sp(GetSP(locker)); in IsSyntheticChildrenGenerated() local
968 if (value_sp) in IsSyntheticChildrenGenerated()
969 return value_sp->IsSyntheticChildrenGenerated(); in IsSyntheticChildrenGenerated()
975 lldb::ValueObjectSP value_sp(GetSP(locker)); in SetSyntheticChildrenGenerated() local
976 if (value_sp) in SetSyntheticChildrenGenerated()
977 return value_sp->SetSyntheticChildrenGenerated(is); in SetSyntheticChildrenGenerated()
984 lldb::ValueObjectSP value_sp(GetSP(locker)); in GetValueForExpressionPath() local
985 if (value_sp) { in GetValueForExpressionPath()
987 child_sp = value_sp->GetValueForExpressionPath(expr_path); in GetValueForExpressionPath()
996 static_cast<void *>(value_sp.get()), expr_path, in GetValueForExpressionPath()
997 static_cast<void *>(value_sp.get())); in GetValueForExpressionPath()
1005 lldb::ValueObjectSP value_sp(GetSP(locker)); in GetValueAsSigned() local
1006 if (value_sp) { in GetValueAsSigned()
1009 ret_val = value_sp->GetValueAsSigned(fail_value, &success); in GetValueAsSigned()
1023 lldb::ValueObjectSP value_sp(GetSP(locker)); in GetValueAsUnsigned() local
1024 if (value_sp) { in GetValueAsUnsigned()
1027 ret_val = value_sp->GetValueAsUnsigned(fail_value, &success); in GetValueAsUnsigned()
1040 lldb::ValueObjectSP value_sp(GetSP(locker)); in GetValueAsSigned() local
1041 if (value_sp) { in GetValueAsSigned()
1042 return value_sp->GetValueAsSigned(fail_value); in GetValueAsSigned()
1049 lldb::ValueObjectSP value_sp(GetSP(locker)); in GetValueAsUnsigned() local
1050 if (value_sp) { in GetValueAsUnsigned()
1051 return value_sp->GetValueAsUnsigned(fail_value); in GetValueAsUnsigned()
1060 lldb::ValueObjectSP value_sp(GetSP(locker)); in MightHaveChildren() local
1061 if (value_sp) in MightHaveChildren()
1062 has_children = value_sp->MightHaveChildren(); in MightHaveChildren()
1066 static_cast<void *>(value_sp.get()), has_children); in MightHaveChildren()
1074 lldb::ValueObjectSP value_sp(GetSP(locker)); in IsRuntimeSupportValue() local
1075 if (value_sp) in IsRuntimeSupportValue()
1076 is_support = value_sp->IsRuntimeSupportValue(); in IsRuntimeSupportValue()
1080 static_cast<void *>(value_sp.get()), is_support); in IsRuntimeSupportValue()
1091 lldb::ValueObjectSP value_sp(GetSP(locker)); in GetNumChildren() local
1092 if (value_sp) in GetNumChildren()
1093 num_children = value_sp->GetNumChildren(max); in GetNumChildren()
1097 static_cast<void *>(value_sp.get()), max, num_children); in GetNumChildren()
1105 lldb::ValueObjectSP value_sp(GetSP(locker)); in Dereference() local
1106 if (value_sp) { in Dereference()
1108 sb_value = value_sp->Dereference(error); in Dereference()
1113 static_cast<void *>(value_sp.get()), in Dereference()
1114 static_cast<void *>(value_sp.get())); in Dereference()
1124 lldb::ValueObjectSP value_sp(GetSP(locker)); in GetOpaqueType() local
1125 if (value_sp) in GetOpaqueType()
1126 return value_sp->GetCompilerType().GetOpaqueQualType(); in GetOpaqueType()
1279 lldb::ValueObjectSP value_sp(GetSP(locker)); in GetExpressionPath() local
1280 if (value_sp) { in GetExpressionPath()
1281 value_sp->GetExpressionPath(description.ref(), false); in GetExpressionPath()
1290 lldb::ValueObjectSP value_sp(GetSP(locker)); in GetExpressionPath() local
1291 if (value_sp) { in GetExpressionPath()
1292 value_sp->GetExpressionPath(description.ref(), qualify_cxx_base_classes); in GetExpressionPath()
1302 lldb::ValueObjectSP value_sp(GetSP(locker)); in GetDescription() local
1303 if (value_sp) in GetDescription()
1304 value_sp->Dump(strm); in GetDescription()
1313 lldb::ValueObjectSP value_sp(GetSP(locker)); in GetFormat() local
1314 if (value_sp) in GetFormat()
1315 return value_sp->GetFormat(); in GetFormat()
1321 lldb::ValueObjectSP value_sp(GetSP(locker)); in SetFormat() local
1322 if (value_sp) in SetFormat()
1323 value_sp->SetFormat(format); in SetFormat()
1329 lldb::ValueObjectSP value_sp(GetSP(locker)); in AddressOf() local
1330 if (value_sp) { in AddressOf()
1332 sb_value.SetSP(value_sp->AddressOf(error), GetPreferDynamicValue(), in AddressOf()
1338 static_cast<void *>(value_sp.get()), in AddressOf()
1339 static_cast<void *>(value_sp.get())); in AddressOf()
1347 lldb::ValueObjectSP value_sp(GetSP(locker)); in GetLoadAddress() local
1348 if (value_sp) { in GetLoadAddress()
1349 TargetSP target_sp(value_sp->GetTargetSP()); in GetLoadAddress()
1353 value = value_sp->GetAddressOf(scalar_is_load_address, &addr_type); in GetLoadAddress()
1355 ModuleSP module_sp(value_sp->GetModule()); in GetLoadAddress()
1371 static_cast<void *>(value_sp.get()), value); in GetLoadAddress()
1379 lldb::ValueObjectSP value_sp(GetSP(locker)); in GetAddress() local
1380 if (value_sp) { in GetAddress()
1381 TargetSP target_sp(value_sp->GetTargetSP()); in GetAddress()
1386 value = value_sp->GetAddressOf(scalar_is_load_address, &addr_type); in GetAddress()
1388 ModuleSP module_sp(value_sp->GetModule()); in GetAddress()
1402 static_cast<void *>(value_sp.get()), in GetAddress()
1413 lldb::ValueObjectSP value_sp(GetSP(locker)); in GetPointeeData() local
1414 if (value_sp) { in GetPointeeData()
1415 TargetSP target_sp(value_sp->GetTargetSP()); in GetPointeeData()
1418 value_sp->GetPointeeData(*data_sp, item_idx, item_count); in GetPointeeData()
1425 static_cast<void *>(value_sp.get()), item_idx, item_count, in GetPointeeData()
1435 lldb::ValueObjectSP value_sp(GetSP(locker)); in GetData() local
1436 if (value_sp) { in GetData()
1439 value_sp->GetData(*data_sp, error); in GetData()
1445 static_cast<void *>(value_sp.get()), in GetData()
1454 lldb::ValueObjectSP value_sp(GetSP(locker)); in SetData() local
1457 if (value_sp) { in SetData()
1463 static_cast<void *>(value_sp.get())); in SetData()
1470 value_sp->SetData(*data_extractor, set_error); in SetData()
1487 static_cast<void *>(value_sp.get()), in SetData()
1494 lldb::ValueObjectSP value_sp(GetSP(locker)); in GetDeclaration() local
1496 if (value_sp) { in GetDeclaration()
1498 if (value_sp->GetDeclaration(decl)) in GetDeclaration()
1510 lldb::ValueObjectSP value_sp(GetSP(locker)); in Watch() local
1512 if (value_sp && target_sp) { in Watch()
1535 CompilerType type(value_sp->GetCompilerType()); in Watch()
1543 if (value_sp->GetDeclaration(decl)) { in Watch()
1556 static_cast<void *>(value_sp.get()), in Watch()
1565 static_cast<void *>(value_sp.get())); in Watch()
1591 lldb::ValueObjectSP value_sp(GetSP(locker)); in Persist() local
1593 if (value_sp) { in Persist()
1594 persisted_sb.SetSP(value_sp->Persist()); in Persist()