Lines Matching refs:value_sp
45 const OptionValueSP &value_sp) { in AppendProperty() argument
46 Property property(name, desc, is_global, value_sp); in AppendProperty()
49 value_sp->SetParent(shared_from_this()); in AppendProperty()
67 lldb::OptionValueSP value_sp; in GetSubValue() local
80 value_sp = GetValueForKey(exe_ctx, key); in GetSubValue()
81 if (sub_name.empty() || !value_sp) in GetSubValue()
82 return value_sp; in GetSubValue()
88 value_sp->GetSubValue(exe_ctx, sub_name.drop_front(), error); in GetSubValue()
94 return_val_sp = value_sp->GetSubValue( in GetSubValue()
106 return value_sp->GetSubValue(exe_ctx, sub_name, error); in GetSubValue()
109 value_sp.reset(); in GetSubValue()
112 return value_sp; in GetSubValue()
127 lldb::OptionValueSP value_sp(GetSubValue(exe_ctx, name, error)); in SetSubValue() local
128 if (value_sp) in SetSubValue()
129 error = value_sp->SetValueFromString(value, op); in SetSubValue()
168 OptionValueSP value_sp(GetPropertyValueAtIndex(idx, exe_ctx)); in GetPropertyAtIndexAsOptionValuePathMappings() local
169 if (value_sp) in GetPropertyAtIndexAsOptionValuePathMappings()
170 return value_sp->GetAsPathMappings(); in GetPropertyAtIndexAsOptionValuePathMappings()
177 OptionValueSP value_sp(GetPropertyValueAtIndex(idx, exe_ctx)); in GetPropertyAtIndexAsOptionValueFileSpecList() local
178 if (value_sp) in GetPropertyAtIndexAsOptionValueFileSpecList()
179 return value_sp->GetAsFileSpecList(); in GetPropertyAtIndexAsOptionValueFileSpecList()
284 OptionValueSP value_sp(GetPropertyValueAtIndex(idx, exe_ctx)); in GetPropertyAtIndexAsOptionValueString() local
285 if (value_sp) in GetPropertyAtIndexAsOptionValueString()
286 return value_sp->GetAsString(); in GetPropertyAtIndexAsOptionValueString()
359 lldb::OptionValueSP value_sp(GetSubValue(exe_ctx, property_path, error)); in DumpPropertyValue() local
360 if (value_sp) { in DumpPropertyValue()
361 if (!value_sp->ValueIsTransparent()) { in DumpPropertyValue()
370 llvm::formatv("{0:2}", value_sp->ToJSON(exe_ctx)).str().c_str()); in DumpPropertyValue()
372 value_sp->DumpValue(exe_ctx, strm, dump_mask); in DumpPropertyValue()
398 auto value_sp = property.GetValue()->DeepCopy(copy_sp); in DeepCopy() local
399 property.SetOptionValue(value_sp); in DeepCopy()