Home
last modified time | relevance | path

Searched refs:value_sp (Results 1 – 25 of 35) sorted by relevance

12

/external/llvm-project/lldb/source/API/
DSBValue.cpp116 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()
[all …]
DSBFrame.cpp488 ValueObjectSP value_sp(frame->GetValueForVariableExpressionPath( in GetValueForVariablePath() local
493 sb_value.SetSP(value_sp, use_dynamic); in GetValueForVariablePath()
530 ValueObjectSP value_sp; in FindVariable() local
542 value_sp = frame->FindVariable(ConstString(name)); in FindVariable()
544 if (value_sp) in FindVariable()
545 sb_value.SetSP(value_sp, use_dynamic); in FindVariable()
583 ValueObjectSP value_sp; in FindValue() local
626 value_sp = frame->GetValueObjectForFrameVariable(variable_sp, in FindValue()
628 sb_value.SetSP(value_sp, use_dynamic); in FindValue()
644 value_sp = ValueObjectRegister::Create(frame, reg_ctx, reg_idx); in FindValue()
[all …]
DSBTypeSummary.cpp335 lldb::ValueObjectSP value_sp = value.GetSP(); in DoesPrintValue() local
336 return m_opaque_sp->DoesPrintValue(value_sp.get()); in DoesPrintValue()
/external/llvm-project/lldb/include/lldb/Interpreter/
DOptionValueArray.h57 lldb::OptionValueSP value_sp; variable
59 value_sp = m_values[idx];
60 return value_sp;
64 lldb::OptionValueSP value_sp; in GetValueAtIndex() local
66 value_sp = m_values[idx]; in GetValueAtIndex()
67 return value_sp; in GetValueAtIndex()
70 bool AppendValue(const lldb::OptionValueSP &value_sp) { in AppendValue() argument
73 if (value_sp && (m_type_mask & value_sp->GetTypeAsMask())) { in AppendValue()
74 m_values.push_back(value_sp); in AppendValue()
80 bool InsertValue(size_t idx, const lldb::OptionValueSP &value_sp) { in InsertValue() argument
[all …]
DProperty.h41 const lldb::OptionValueSP &value_sp);
50 void SetOptionValue(const lldb::OptionValueSP &value_sp) { in SetOptionValue() argument
51 m_value_sp = value_sp; in SetOptionValue()
DOptionValueDictionary.h65 const lldb::OptionValueSP &value_sp,
/external/llvm-project/lldb/include/lldb/Utility/
DStructuredData.h197 ObjectSP value_sp = GetItemAtIndex(idx); in GetItemAtIndexAsInteger() local
198 if (value_sp.get()) { in GetItemAtIndexAsInteger()
199 if (auto int_value = value_sp->GetAsInteger()) { in GetItemAtIndexAsInteger()
217 ObjectSP value_sp = GetItemAtIndex(idx); in GetItemAtIndexAsString() local
218 if (value_sp.get()) { in GetItemAtIndexAsString()
219 if (auto string_value = value_sp->GetAsString()) { in GetItemAtIndexAsString()
236 ObjectSP value_sp = GetItemAtIndex(idx); in GetItemAtIndexAsString() local
237 if (value_sp.get()) { in GetItemAtIndexAsString()
238 if (auto string_value = value_sp->GetAsString()) { in GetItemAtIndexAsString()
256 ObjectSP value_sp = GetItemAtIndex(idx); in GetItemAtIndexAsDictionary() local
[all …]
/external/llvm-project/lldb/source/Plugins/Instruction/ARM/
DEmulationStateARM.cpp283 OptionValueSP value_sp = test_data->GetValueForKey(memory_key); in LoadStateFromDictionary() local
287 if (value_sp.get() != nullptr) { in LoadStateFromDictionary()
292 OptionValueDictionary *mem_dict = value_sp->GetAsDictionary(); in LoadStateFromDictionary()
293 value_sp = mem_dict->GetValueForKey(address_key); in LoadStateFromDictionary()
294 if (value_sp.get() == nullptr) in LoadStateFromDictionary()
297 start_address = value_sp->GetUInt64Value(); in LoadStateFromDictionary()
299 value_sp = mem_dict->GetValueForKey(data_key); in LoadStateFromDictionary()
300 OptionValueArray *mem_array = value_sp->GetAsArray(); in LoadStateFromDictionary()
308 value_sp = mem_array->GetValueAtIndex(i); in LoadStateFromDictionary()
309 if (value_sp.get() == nullptr) in LoadStateFromDictionary()
[all …]
/external/llvm-project/lldb/source/Interpreter/
DOptionValueDictionary.cpp164 lldb::OptionValueSP value_sp(CreateValueFromCStringForTypeMask( in SetArgs() local
166 if (value_sp) { in SetArgs()
170 SetValueForKey(ConstString(key), value_sp, true); in SetArgs()
216 lldb::OptionValueSP value_sp; in GetSubValue() local
250 value_sp = GetValueForKey(ConstString(key)); in GetSubValue()
251 if (!value_sp) { in GetSubValue()
259 return value_sp; in GetSubValue()
260 return value_sp->GetSubValue(exe_ctx, sub_name, will_modify, error); in GetSubValue()
269 lldb::OptionValueSP value_sp(GetSubValue(exe_ctx, name, will_modify, error)); in SetSubValue() local
270 if (value_sp) in SetSubValue()
[all …]
DOptionValueProperties.cpp72 const OptionValueSP &value_sp) { in AppendProperty() argument
73 Property property(name, desc, is_global, value_sp); in AppendProperty()
76 value_sp->SetParent(shared_from_this()); in AppendProperty()
103 lldb::OptionValueSP value_sp; in GetValueForKey() local
106 value_sp = GetPropertyAtIndex(exe_ctx, will_modify, idx)->GetValue(); in GetValueForKey()
107 return value_sp; in GetValueForKey()
114 lldb::OptionValueSP value_sp; in GetSubValue() local
127 value_sp = GetValueForKey(exe_ctx, key, will_modify); in GetSubValue()
128 if (sub_name.empty() || !value_sp) in GetSubValue()
129 return value_sp; in GetSubValue()
[all …]
DOptionValueArray.cpp181 lldb::OptionValueSP value_sp(CreateValueFromCStringForTypeMask( in SetArgs() local
183 if (value_sp) { in SetArgs()
187 m_values.push_back(value_sp); in SetArgs()
189 m_values.insert(m_values.begin() + idx, value_sp); in SetArgs()
261 lldb::OptionValueSP value_sp(CreateValueFromCStringForTypeMask( in SetArgs() local
263 if (value_sp) { in SetArgs()
267 m_values[idx] = value_sp; in SetArgs()
269 m_values.push_back(value_sp); in SetArgs()
289 lldb::OptionValueSP value_sp(CreateValueFromCStringForTypeMask( in SetArgs() local
291 if (value_sp) { in SetArgs()
[all …]
DOptionValue.cpp508 lldb::OptionValueSP value_sp; in CreateValueFromCStringForTypeMask() local
511 value_sp = std::make_shared<OptionValueArch>(); in CreateValueFromCStringForTypeMask()
514 value_sp = std::make_shared<OptionValueBoolean>(false); in CreateValueFromCStringForTypeMask()
517 value_sp = std::make_shared<OptionValueChar>('\0'); in CreateValueFromCStringForTypeMask()
520 value_sp = std::make_shared<OptionValueFileSpec>(); in CreateValueFromCStringForTypeMask()
523 value_sp = std::make_shared<OptionValueFormat>(eFormatInvalid); in CreateValueFromCStringForTypeMask()
526 value_sp = std::make_shared<OptionValueFormatEntity>(nullptr); in CreateValueFromCStringForTypeMask()
529 value_sp = std::make_shared<OptionValueLanguage>(eLanguageTypeUnknown); in CreateValueFromCStringForTypeMask()
532 value_sp = std::make_shared<OptionValueSInt64>(); in CreateValueFromCStringForTypeMask()
535 value_sp = std::make_shared<OptionValueString>(); in CreateValueFromCStringForTypeMask()
[all …]
DOptionValueUInt64.cpp19 lldb::OptionValueSP value_sp(new OptionValueUInt64()); in Create() local
20 error = value_sp->SetValueFromString(value_str); in Create()
22 value_sp.reset(); in Create()
23 return value_sp; in Create()
DProperty.cpp228 bool is_global, const lldb::OptionValueSP &value_sp) in Property() argument
229 : m_name(name), m_description(desc), m_value_sp(value_sp), in Property()
/external/llvm-project/lldb/source/Plugins/ABI/PowerPC/
DABISysV_ppc64.cpp520 ValueSP value_sp; in GetValue() local
524 value_sp = GetIntegerValue(0); in GetValue()
530 value_sp = GetFloatValue(m_type, 0); in GetValue()
534 value_sp = GetPointerValue(0); in GetValue()
537 if (value_sp) { in GetValue()
539 m_thread.GetStackFrameAtIndex(0).get(), *value_sp, ConstString("")); in GetValue()
578 ValueSP value_sp(new Value); in NewScalarValue() local
579 value_sp->SetCompilerType(type); in NewScalarValue()
580 value_sp->SetValueType(Value::eValueTypeScalar); in NewScalarValue()
581 return value_sp; in NewScalarValue()
[all …]
/external/llvm-project/lldb/tools/debugserver/source/
DJSON.cpp147 auto value_sp = GetObject(key); in GetObjectAsBool() local
148 if (!value_sp) { in GetObjectAsBool()
153 if (JSONTrue::classof(value_sp.get())) { in GetObjectAsBool()
157 } else if (JSONFalse::classof(value_sp.get())) { in GetObjectAsBool()
169 auto value_sp = GetObject(key); in GetObjectAsString() local
170 if (!value_sp) { in GetObjectAsString()
175 if (!JSONString::classof(value_sp.get())) in GetObjectAsString()
178 value = static_cast<JSONString *>(value_sp.get())->GetData(); in GetObjectAsString()
493 JSONValue::SP value_sp = ParseJSONValue(); in ParseJSONObject() local
494 if (value_sp) in ParseJSONObject()
[all …]
/external/tensorflow/tensorflow/core/lib/strings/
Dproto_text_util.cc46 StringPiece value_sp; in ProtoParseStringLiteralFromScanner() local
52 .GetResult(nullptr, &value_sp)) { in ProtoParseStringLiteralFromScanner()
56 return absl::CUnescape(value_sp, value, nullptr /* error */); in ProtoParseStringLiteralFromScanner()
/external/llvm-project/lldb/source/Plugins/Language/ObjC/
DCoreMedia.cpp44 auto value_sp(valobj.GetSyntheticChildAtOffset(0, int64_ty, true)); in CMTimeSummaryProvider() local
48 if (!value_sp || !timescale_sp || !flags_sp) in CMTimeSummaryProvider()
51 auto value = value_sp->GetValueAsUnsigned(0); in CMTimeSummaryProvider()
/external/llvm-project/lldb/source/Plugins/Language/CPlusPlus/
DLibCxxUnorderedMap.cpp86 ValueObjectSP value_sp = in GetChildAtIndex() local
90 if (!hash_sp || !value_sp) { in GetChildAtIndex()
131 value_sp = node_sp->GetChildMemberWithName(ConstString("__value_"), true); in GetChildAtIndex()
133 if (!value_sp || !hash_sp) in GetChildAtIndex()
137 {value_sp.get(), hash_sp->GetValueAsUnsigned(0)}); in GetChildAtIndex()
DLibStdcppTuple.cpp75 ValueObjectSP value_sp = in Update() local
77 if (value_sp) { in Update()
80 m_members.push_back(value_sp->Clone(ConstString(name.GetString())).get()); in Update()
DLibCxxList.cpp239 ValueObjectSP value_sp = current.advance(advance); in GetItem() local
241 return value_sp; in GetItem()
/external/llvm-project/lldb/source/Core/
DDisassembler.cpp258 OptionValueSP value_sp = target_sp->GetDebugger().GetPropertyValue( in ElideMixedSourceAndDisassemblyLine() local
260 if (value_sp && value_sp->GetType() == OptionValue::eTypeRegex) { in ElideMixedSourceAndDisassemblyLine()
261 OptionValueRegex *re = value_sp->GetAsRegex(); in ElideMixedSourceAndDisassemblyLine()
775 lldb::OptionValueSP value_sp; in ReadDictionary() local
782 value_sp = ReadDictionary(in_file, out_stream); in ReadDictionary()
783 if (!value_sp) { in ReadDictionary()
790 value_sp = ReadArray(in_file, out_stream, data_type); in ReadDictionary()
791 if (!value_sp) { in ReadDictionary()
799 value_sp = std::make_shared<OptionValueUInt64>(0, 0); in ReadDictionary()
800 value_sp->SetValueFromString(value); in ReadDictionary()
[all …]
/external/llvm-project/lldb/source/Utility/
DStructuredData.cpp80 if (StructuredData::ObjectSP value_sp = ParseJSONValue(value)) in ParseJSONObject() local
81 dict_up->AddItem(key, value_sp); in ParseJSONObject()
89 if (StructuredData::ObjectSP value_sp = ParseJSONValue(value)) in ParseJSONArray() local
90 array_up->AddItem(value_sp); in ParseJSONArray()
/external/llvm-project/lldb/source/Plugins/LanguageRuntime/CPlusPlus/
DCPPLanguageRuntime.cpp385 ValueObjectSP value_sp = frame->FindVariable(g_this); in GetStepThroughTrampolinePlan() local
388 FindLibCppStdFunctionCallableInfo(value_sp); in GetStepThroughTrampolinePlan()
391 value_sp->GetValueIsValid()) { in GetStepThroughTrampolinePlan()
/external/llvm-project/lldb/source/Commands/
DCommandObjectRegister.cpp262 OptionValueSP value_sp(OptionValueUInt64::Create(option_value, error)); in SetOptionValue() local
263 if (value_sp) in SetOptionValue()
264 set_indexes.AppendValue(value_sp); in SetOptionValue()

12