Lines Matching full:property

15 #include "lldb/Interpreter/Property.h"
28 Property property(definition); in Initialize() local
29 assert(property.IsValid()); in Initialize()
30 m_name_to_index.insert({property.GetName(), m_properties.size()}); in Initialize()
31 property.GetValue()->SetParent(shared_from_this()); in Initialize()
32 m_properties.push_back(property); in Initialize()
38 Property *property = ProtectedGetPropertyAtIndex(property_idx); in SetValueChangedCallback() local
39 if (property) in SetValueChangedCallback()
40 property->SetValueChangedCallback(std::move(callback)); in SetValueChangedCallback()
46 Property property(name, desc, is_global, value_sp); in AppendProperty() local
48 m_properties.push_back(property); in AppendProperty()
148 const Property *
159 const Property *setting = GetPropertyAtIndex(idx, exe_ctx); in GetPropertyValueAtIndex()
185 const Property *property = GetPropertyAtIndex(idx, exe_ctx); in GetPropertyAtIndexAsArgs() local
186 if (!property) in GetPropertyAtIndexAsArgs()
189 OptionValue *value = property->GetValue().get(); in GetPropertyAtIndexAsArgs()
216 const Property *property = GetPropertyAtIndex(idx, exe_ctx); in SetPropertyAtIndexFromArgs() local
217 if (!property) in SetPropertyAtIndexFromArgs()
220 OptionValue *value = property->GetValue().get(); in SetPropertyAtIndexFromArgs()
242 const Property *property = GetPropertyAtIndex(idx, exe_ctx); in GetPropertyAtIndexAsOptionValueDictionary() local
243 if (property) in GetPropertyAtIndexAsOptionValueDictionary()
244 return property->GetValue()->GetAsDictionary(); in GetPropertyAtIndexAsOptionValueDictionary()
251 const Property *property = GetPropertyAtIndex(idx, exe_ctx); in GetPropertyAtIndexAsOptionValueFileSpec() local
252 if (property) { in GetPropertyAtIndexAsOptionValueFileSpec()
253 OptionValue *value = property->GetValue().get(); in GetPropertyAtIndexAsOptionValueFileSpec()
262 const Property *property = GetPropertyAtIndex(idx, exe_ctx); in GetPropertyAtIndexAsOptionValueSInt64() local
263 if (property) { in GetPropertyAtIndexAsOptionValueSInt64()
264 OptionValue *value = property->GetValue().get(); in GetPropertyAtIndexAsOptionValueSInt64()
273 const Property *property = GetPropertyAtIndex(idx, exe_ctx); in GetPropertyAtIndexAsOptionValueUInt64() local
274 if (property) { in GetPropertyAtIndexAsOptionValueUInt64()
275 OptionValue *value = property->GetValue().get(); in GetPropertyAtIndexAsOptionValueUInt64()
325 const Property *property = GetPropertyAtIndex(i, exe_ctx); in DumpValue() local
326 if (property) { in DumpValue()
327 OptionValue *option_value = property->GetValue().get(); in DumpValue()
330 property->Dump(exe_ctx, strm, dump_mask); in DumpValue()
342 const Property *property = GetPropertyAtIndex(i, exe_ctx); in ToJSON() local
343 if (property) { in ToJSON()
344 OptionValue *option_value = property->GetValue().get(); in ToJSON()
346 json_properties.try_emplace(property->GetName(), in ToJSON()
394 for (auto &property : props_value_ptr->m_properties) { in DeepCopy() local
397 if (!property.IsGlobal()) { in DeepCopy()
398 auto value_sp = property.GetValue()->DeepCopy(copy_sp); in DeepCopy()
399 property.SetOptionValue(value_sp); in DeepCopy()
405 const Property *
411 const Property *property = nullptr; in GetPropertyAtPath() local
422 property = GetProperty(key, exe_ctx); in GetPropertyAtPath()
423 if (sub_name.empty() || !property) in GetPropertyAtPath()
424 return property; in GetPropertyAtPath()
428 property->GetValue()->GetAsProperties(); in GetPropertyAtPath()
440 const Property *property = ProtectedGetPropertyAtIndex(i); in DumpAllDescriptions() local
441 if (property) in DumpAllDescriptions()
442 max_name_len = std::max<size_t>(property->GetName().size(), max_name_len); in DumpAllDescriptions()
445 const Property *property = ProtectedGetPropertyAtIndex(i); in DumpAllDescriptions() local
446 if (property) in DumpAllDescriptions()
447 property->DumpDescription(interpreter, strm, max_name_len, false); in DumpAllDescriptions()
453 std::vector<const Property *> &matching_properties) const { in Apropos()
457 const Property *property = ProtectedGetPropertyAtIndex(i); in Apropos() local
458 if (property) { in Apropos()
460 property->GetValue()->GetAsProperties(); in Apropos()
465 llvm::StringRef name = property->GetName(); in Apropos()
469 llvm::StringRef desc = property->GetDescription(); in Apropos()
474 matching_properties.push_back(property); in Apropos()