Home
last modified time | relevance | path

Searched refs:AddItem (Results 1 – 22 of 22) sorted by relevance

/openbsd-src/gnu/llvm/lldb/tools/debugserver/source/
H A DJSONGenerator.h128 void AddItem(ObjectSP item) { m_items.push_back(item); } in AddItem() function
260 void AddItem(std::string key, ObjectSP value) { in AddItem() function
265 AddItem(key, ObjectSP(new Integer(value))); in AddIntegerItem()
269 AddItem(key, ObjectSP(new Float(value))); in AddFloatItem()
273 AddItem(key, ObjectSP(new String(std::move(value)))); in AddStringItem()
283 AddItem(key, ObjectSP(new String(std::move(strm.str())))); in AddBytesAsHexASCIIString()
285 AddItem(key, ObjectSP(new String())); in AddBytesAsHexASCIIString()
290 AddItem(key, ObjectSP(new Boolean(value))); in AddBooleanItem()
H A DRNBRemote.cpp5470 medata_array_sp->AddItem( in GetJSONThreadsInfo()
5474 thread_dict_sp->AddItem("medata", medata_array_sp); in GetJSONThreadsInfo()
5555 thread_dict_sp->AddItem("registers", registers_dict_sp); in GetJSONThreadsInfo()
5572 memory_array_sp->AddItem(stack_memory_sp); in GetJSONThreadsInfo()
5574 thread_dict_sp->AddItem("memory", memory_array_sp); in GetJSONThreadsInfo()
5578 threads_array_sp->AddItem(thread_dict_sp); in GetJSONThreadsInfo()
/openbsd-src/gnu/llvm/lldb/source/Plugins/InstrumentationRuntime/TSan/
H A DInstrumentationRuntimeTSan.cpp221 trace_sp->AddItem(std::make_shared<StructuredData::Integer>(trace_addr)); in CreateStackTrace()
244 array_sp->AddItem(dict_sp); in ConvertToStructuredArray()
348 dict->AddItem("sleep_trace", CreateStackTrace( in RetrieveReportData()
358 dict->AddItem("trace", CreateStackTrace(o)); in RetrieveReportData()
362 dict->AddItem("stacks", stacks); in RetrieveReportData()
388 dict->AddItem("trace", CreateStackTrace(o)); in RetrieveReportData()
390 dict->AddItem("mops", mops); in RetrieveReportData()
420 dict->AddItem("trace", CreateStackTrace(o)); in RetrieveReportData()
424 dict->AddItem("locs", locs); in RetrieveReportData()
441 dict->AddItem("trace", CreateStackTrace(o)); in RetrieveReportData()
[all …]
/openbsd-src/gnu/llvm/lldb/include/lldb/Utility/
H A DStructuredData.h282 void AddItem(const ObjectSP &item) { m_items.push_back(item); } in AddItem() function
520 void AddItem(llvm::StringRef key, ObjectSP value_sp) { in AddItem() function
526 AddItem(key, std::make_shared<Integer>(value)); in AddIntegerItem()
530 AddItem(key, std::make_shared<Float>(value)); in AddFloatItem()
534 AddItem(key, std::make_shared<String>(std::move(value))); in AddStringItem()
538 AddItem(key, std::make_shared<Boolean>(value)); in AddBooleanItem()
/openbsd-src/gnu/llvm/lldb/source/Breakpoint/
H A DBreakpointResolverName.cpp198 names_sp->AddItem(StructuredData::StringSP( in SerializeToStructuredData()
200 name_masks_sp->AddItem(StructuredData::IntegerSP( in SerializeToStructuredData()
203 options_dict_sp->AddItem(GetKey(OptionNames::SymbolNameArray), names_sp); in SerializeToStructuredData()
204 options_dict_sp->AddItem(GetKey(OptionNames::NameMaskArray), name_masks_sp); in SerializeToStructuredData()
H A DBreakpointResolverFileRegex.cpp87 names_array_sp->AddItem(item); in SerializeToStructuredData()
89 options_dict_sp->AddItem(GetKey(OptionNames::LineNumber), names_array_sp); in SerializeToStructuredData()
H A DBreakpoint.cpp92 names_array_sp->AddItem( in SerializeToStructuredData()
95 breakpoint_contents_sp->AddItem(Breakpoint::GetKey(OptionNames::Names), in SerializeToStructuredData()
107 breakpoint_contents_sp->AddItem(BreakpointResolver::GetSerializationKey(), in SerializeToStructuredData()
115 breakpoint_contents_sp->AddItem(SearchFilter::GetSerializationKey(), in SerializeToStructuredData()
123 breakpoint_contents_sp->AddItem(BreakpointOptions::GetSerializationKey(), in SerializeToStructuredData()
126 breakpoint_dict_sp->AddItem(GetSerializationKey(), breakpoint_contents_sp); in SerializeToStructuredData()
H A DBreakpointOptions.cpp49 user_source_sp->AddItem(item_sp); in SerializeToStructuredData()
50 options_dict_sp->AddItem(GetKey(OptionNames::UserSource), user_source_sp); in SerializeToStructuredData()
378 options_dict_sp->AddItem( in SerializeToStructuredData()
385 options_dict_sp->AddItem(ThreadSpec::GetSerializationKey(), thread_spec_sp); in SerializeToStructuredData()
H A DBreakpointResolverScripted.cpp95 options_dict_sp->AddItem(GetKey(OptionNames::ScriptArgs), in SerializeToStructuredData()
H A DBreakpointResolver.cpp157 type_dict_sp->AddItem(GetSerializationSubclassOptionsKey(), options_dict_sp); in WrapOptionsDict()
/openbsd-src/gnu/llvm/lldb/source/Core/
H A DSearchFilter.cpp179 type_dict_sp->AddItem(GetSerializationSubclassOptionsKey(), options_dict_sp); in WrapOptionsDict()
195 module_array_sp->AddItem(std::make_shared<StructuredData::String>( in SerializeFileSpecList()
198 options_dict_sp->AddItem(GetKey(name), module_array_sp); in SerializeFileSpecList()
488 module_array_sp->AddItem( in SerializeToStructuredData()
490 options_dict_sp->AddItem(GetKey(OptionNames::ModList), module_array_sp); in SerializeToStructuredData()
/openbsd-src/gnu/llvm/lldb/source/Plugins/InstrumentationRuntime/MainThreadChecker/
H A DInstrumentationRuntimeMainThreadChecker.cpp134 trace->AddItem(StructuredData::ObjectSP(new StructuredData::Integer(PC))); in RetrieveReportData()
146 d->AddItem("trace", trace_sp); in RetrieveReportData()
/openbsd-src/gnu/llvm/lldb/source/Utility/
H A DStructuredData.cpp89 dict_up->AddItem(key, value_sp); in ParseJSONObject()
98 array_up->AddItem(value_sp); in ParseJSONArray()
/openbsd-src/gnu/llvm/lldb/source/Plugins/InstrumentationRuntime/UBSan/
H A DInstrumentationRuntimeUBSan.cpp157 trace->AddItem(StructuredData::ObjectSP(new StructuredData::Integer(PC))); in RetrieveReportData()
178 d->AddItem("trace", trace_sp); in RetrieveReportData()
/openbsd-src/gnu/llvm/lldb/source/Host/common/
H A DXML.cpp460 array_sp->AddItem(CreatePlistValue(node)); in CreatePlistValue()
478 dict_sp->AddItem(key_name, CreatePlistValue(node)); in CreatePlistValue()
/openbsd-src/gnu/llvm/lldb/source/Plugins/Platform/MacOSX/
H A DPlatformDarwin.cpp866 extended_crash_info->AddItem("Crash-Info Annotations", annotations); in FetchExtendedCrashInformation()
871 extended_crash_info->AddItem("Application Specific Information", in FetchExtendedCrashInformation()
975 array_sp->AddItem(entry_sp); in ExtractCrashInfoAnnotations()
1004 dict_sp->AddItem(key.AsCString(), arr->GetItemAtIndex(0)); in ExtractAppSpecificInfo()
/openbsd-src/gnu/llvm/lldb/source/API/
H A DSBDebugger.cpp746 dict.AddItem(name, std::move(entry_up)); in AddBoolConfigEntry()
752 array_up->AddItem(std::make_unique<StructuredData::String>(#target)); in AddLLVMTargets()
755 entry_up->AddItem("value", std::move(array_up)); in AddLLVMTargets()
757 dict.AddItem("targets", std::move(entry_up)); in AddLLVMTargets()
/openbsd-src/gnu/llvm/lldb/source/Plugins/StructuredData/DarwinLog/
H A DStructuredDataDarwinLog.cpp576 config_sp->AddItem("source-flags", source_flags_sp); in BuildConfigurationData()
593 config_sp->AddItem("filter-rules", json_filter_rules_sp); in BuildConfigurationData()
597 json_filter_rules_sp->AddItem(rule_sp->Serialize()); in BuildConfigurationData()
/openbsd-src/gnu/llvm/lldb/source/Plugins/ScriptInterpreter/Python/
H A DPythonDataObjects.cpp551 result->AddItem(obj.CreateStructuredObject()); in CreateStructuredArray()
622 result->AddItem(obj.CreateStructuredObject()); in CreateStructuredArray()
721 result->AddItem(key.Str().GetString(), structured_value); in CreateStructuredDictionary()
/openbsd-src/gnu/llvm/lldb/tools/debugserver/source/MacOSX/
H A DMachProcess.mm964 image_info_dict_sp->AddItem("mach_header", mach_header_dict_sp);
990 segments_sp->AddItem(segment_sp);
992 image_info_dict_sp->AddItem("segments", segments_sp);
994 image_infos_array_sp->AddItem(image_info_dict_sp);
998 reply_sp->AddItem("images", image_infos_array_sp);
/openbsd-src/gnu/llvm/lldb/source/Target/
H A DTarget.cpp1071 break_store_ptr->AddItem(bkpt_save_sp); in SerializeBreakpointsToFile()
1097 break_store_ptr->AddItem(bkpt_save_sp); in SerializeBreakpointsToFile()
/openbsd-src/gnu/llvm/lldb/source/Plugins/Process/gdb-remote/
H A DProcessGDBRemote.cpp3791 addresses->AddItem(addr_sp); in GetLoadedDynamicLibrariesInfos()
3794 args_dict->GetAsDictionary()->AddItem("solib_addresses", addresses); in GetLoadedDynamicLibrariesInfos()