Lines Matching refs:property
31 Property property(definition); in Initialize() local
32 assert(property.IsValid()); in Initialize()
33 m_name_to_index.Append(ConstString(property.GetName()), m_properties.size()); in Initialize()
34 property.GetValue()->SetParent(shared_from_this()); in Initialize()
35 m_properties.push_back(property); in Initialize()
42 Property *property = ProtectedGetPropertyAtIndex(property_idx); in SetValueChangedCallback() local
43 if (property) in SetValueChangedCallback()
44 property->SetValueChangedCallback(std::move(callback)); in SetValueChangedCallback()
51 Property property(name.GetStringRef(), desc.GetStringRef(), is_global, in AppendProperty() local
54 m_properties.push_back(property); in AppendProperty()
214 const Property *property = GetPropertyAtIndex(exe_ctx, false, idx); in GetPropertyAtIndexAsOptionValueArch() local
215 if (property) in GetPropertyAtIndexAsOptionValueArch()
216 return property->GetValue()->GetAsArch(); in GetPropertyAtIndexAsOptionValueArch()
223 const Property *property = GetPropertyAtIndex(exe_ctx, false, idx); in GetPropertyAtIndexAsOptionValueLanguage() local
224 if (property) in GetPropertyAtIndexAsOptionValueLanguage()
225 return property->GetValue()->GetAsLanguage(); in GetPropertyAtIndexAsOptionValueLanguage()
231 const Property *property = GetPropertyAtIndex(exe_ctx, true, idx); in SetPropertyAtIndexAsLanguage() local
232 if (property) { in SetPropertyAtIndexAsLanguage()
233 OptionValue *value = property->GetValue().get(); in SetPropertyAtIndexAsLanguage()
242 const Property *property = GetPropertyAtIndex(exe_ctx, false, idx); in GetPropertyAtIndexAsArgs() local
243 if (!property) in GetPropertyAtIndexAsArgs()
246 OptionValue *value = property->GetValue().get(); in GetPropertyAtIndexAsArgs()
267 const Property *property = GetPropertyAtIndex(exe_ctx, true, idx); in SetPropertyAtIndexFromArgs() local
268 if (!property) in SetPropertyAtIndexFromArgs()
271 OptionValue *value = property->GetValue().get(); in SetPropertyAtIndexFromArgs()
292 const Property *property = GetPropertyAtIndex(exe_ctx, false, idx); in GetPropertyAtIndexAsBoolean() local
293 if (property) { in GetPropertyAtIndexAsBoolean()
294 OptionValue *value = property->GetValue().get(); in GetPropertyAtIndexAsBoolean()
303 const Property *property = GetPropertyAtIndex(exe_ctx, true, idx); in SetPropertyAtIndexAsBoolean() local
304 if (property) { in SetPropertyAtIndexAsBoolean()
305 OptionValue *value = property->GetValue().get(); in SetPropertyAtIndexAsBoolean()
317 const Property *property = GetPropertyAtIndex(exe_ctx, false, idx); in GetPropertyAtIndexAsOptionValueDictionary() local
318 if (property) in GetPropertyAtIndexAsOptionValueDictionary()
319 return property->GetValue()->GetAsDictionary(); in GetPropertyAtIndexAsOptionValueDictionary()
325 const Property *property = GetPropertyAtIndex(exe_ctx, false, idx); in GetPropertyAtIndexAsEnumeration() local
326 if (property) { in GetPropertyAtIndexAsEnumeration()
327 OptionValue *value = property->GetValue().get(); in GetPropertyAtIndexAsEnumeration()
336 const Property *property = GetPropertyAtIndex(exe_ctx, true, idx); in SetPropertyAtIndexAsEnumeration() local
337 if (property) { in SetPropertyAtIndexAsEnumeration()
338 OptionValue *value = property->GetValue().get(); in SetPropertyAtIndexAsEnumeration()
348 const Property *property = GetPropertyAtIndex(exe_ctx, true, idx); in GetPropertyAtIndexAsFormatEntity() local
349 if (property) { in GetPropertyAtIndexAsFormatEntity()
350 OptionValue *value = property->GetValue().get(); in GetPropertyAtIndexAsFormatEntity()
360 const Property *property = GetPropertyAtIndex(exe_ctx, false, idx); in GetPropertyAtIndexAsOptionValueFileSpec() local
361 if (property) { in GetPropertyAtIndexAsOptionValueFileSpec()
362 OptionValue *value = property->GetValue().get(); in GetPropertyAtIndexAsOptionValueFileSpec()
371 const Property *property = GetPropertyAtIndex(exe_ctx, false, idx); in GetPropertyAtIndexAsFileSpec() local
372 if (property) { in GetPropertyAtIndexAsFileSpec()
373 OptionValue *value = property->GetValue().get(); in GetPropertyAtIndexAsFileSpec()
383 const Property *property = GetPropertyAtIndex(exe_ctx, true, idx); in SetPropertyAtIndexAsFileSpec() local
384 if (property) { in SetPropertyAtIndexAsFileSpec()
385 OptionValue *value = property->GetValue().get(); in SetPropertyAtIndexAsFileSpec()
395 const Property *property = GetPropertyAtIndex(exe_ctx, false, idx); in GetPropertyAtIndexAsOptionValueRegex() local
396 if (property) { in GetPropertyAtIndexAsOptionValueRegex()
397 OptionValue *value = property->GetValue().get(); in GetPropertyAtIndexAsOptionValueRegex()
406 const Property *property = GetPropertyAtIndex(exe_ctx, false, idx); in GetPropertyAtIndexAsOptionValueSInt64() local
407 if (property) { in GetPropertyAtIndexAsOptionValueSInt64()
408 OptionValue *value = property->GetValue().get(); in GetPropertyAtIndexAsOptionValueSInt64()
417 const Property *property = GetPropertyAtIndex(exe_ctx, false, idx); in GetPropertyAtIndexAsOptionValueUInt64() local
418 if (property) { in GetPropertyAtIndexAsOptionValueUInt64()
419 OptionValue *value = property->GetValue().get(); in GetPropertyAtIndexAsOptionValueUInt64()
428 const Property *property = GetPropertyAtIndex(exe_ctx, false, idx); in GetPropertyAtIndexAsSInt64() local
429 if (property) { in GetPropertyAtIndexAsSInt64()
430 OptionValue *value = property->GetValue().get(); in GetPropertyAtIndexAsSInt64()
439 const Property *property = GetPropertyAtIndex(exe_ctx, true, idx); in SetPropertyAtIndexAsSInt64() local
440 if (property) { in SetPropertyAtIndexAsSInt64()
441 OptionValue *value = property->GetValue().get(); in SetPropertyAtIndexAsSInt64()
451 const Property *property = GetPropertyAtIndex(exe_ctx, false, idx); in GetPropertyAtIndexAsString() local
452 if (property) { in GetPropertyAtIndexAsString()
453 OptionValue *value = property->GetValue().get(); in GetPropertyAtIndexAsString()
462 const Property *property = GetPropertyAtIndex(exe_ctx, true, idx); in SetPropertyAtIndexAsString() local
463 if (property) { in SetPropertyAtIndexAsString()
464 OptionValue *value = property->GetValue().get(); in SetPropertyAtIndexAsString()
481 const Property *property = GetPropertyAtIndex(exe_ctx, false, idx); in GetPropertyAtIndexAsUInt64() local
482 if (property) { in GetPropertyAtIndexAsUInt64()
483 OptionValue *value = property->GetValue().get(); in GetPropertyAtIndexAsUInt64()
492 const Property *property = GetPropertyAtIndex(exe_ctx, true, idx); in SetPropertyAtIndexAsUInt64() local
493 if (property) { in SetPropertyAtIndexAsUInt64()
494 OptionValue *value = property->GetValue().get(); in SetPropertyAtIndexAsUInt64()
536 const Property *property = GetPropertyAtIndex(exe_ctx, false, i); in DumpValue() local
537 if (property) { in DumpValue()
538 OptionValue *option_value = property->GetValue().get(); in DumpValue()
541 property->Dump(exe_ctx, strm, dump_mask); in DumpValue()
585 for (auto &property : props_value_ptr->m_properties) { in DeepCopy() local
588 if (!property.IsGlobal()) { in DeepCopy()
589 auto value_sp = property.GetValue()->DeepCopy(copy_sp); in DeepCopy()
590 property.SetOptionValue(value_sp); in DeepCopy()
598 const Property *property = nullptr; in GetPropertyAtPath() local
611 property = GetProperty(exe_ctx, will_modify, key); in GetPropertyAtPath()
612 if (sub_name.empty() || !property) in GetPropertyAtPath()
613 return property; in GetPropertyAtPath()
617 property->GetValue()->GetAsProperties(); in GetPropertyAtPath()
630 const Property *property = ProtectedGetPropertyAtIndex(i); in DumpAllDescriptions() local
631 if (property) in DumpAllDescriptions()
632 max_name_len = std::max<size_t>(property->GetName().size(), max_name_len); in DumpAllDescriptions()
635 const Property *property = ProtectedGetPropertyAtIndex(i); in DumpAllDescriptions() local
636 if (property) in DumpAllDescriptions()
637 property->DumpDescription(interpreter, strm, max_name_len, false); in DumpAllDescriptions()
647 const Property *property = ProtectedGetPropertyAtIndex(i); in Apropos() local
648 if (property) { in Apropos()
650 property->GetValue()->GetAsProperties(); in Apropos()
655 llvm::StringRef name = property->GetName(); in Apropos()
659 llvm::StringRef desc = property->GetDescription(); in Apropos()
664 matching_properties.push_back(property); in Apropos()