Lines Matching refs:instance

208     Instance instance =  in RegisterPlugin()  local
210 m_instances.push_back(instance); in RegisterPlugin()
229 if (Instance *instance = GetInstanceAtIndex(idx)) in GetCallbackAtIndex() local
230 return instance->create_callback; in GetCallbackAtIndex()
235 if (Instance *instance = GetInstanceAtIndex(idx)) in GetDescriptionAtIndex() local
236 return instance->description; in GetDescriptionAtIndex()
241 if (Instance *instance = GetInstanceAtIndex(idx)) in GetNameAtIndex() local
242 return instance->name; in GetNameAtIndex()
249 for (auto &instance : m_instances) { in GetCallbackForName() local
250 if (name == instance.name) in GetCallbackForName()
251 return instance.create_callback; in GetCallbackForName()
257 for (auto &instance : m_instances) { in PerformDebuggerCallback() local
258 if (instance.debugger_init_callback) in PerformDebuggerCallback()
259 instance.debugger_init_callback(debugger); in PerformDebuggerCallback()
684 for (auto &instance : instances) { in GetObjectFileCreateMemoryCallbackForPluginName() local
685 if (instance.name == name) in GetObjectFileCreateMemoryCallbackForPluginName()
686 return instance.create_memory_callback; in GetObjectFileCreateMemoryCallbackForPluginName()
707 for (auto &instance : instances) { in SaveCore() local
708 if (plugin_name.empty() || instance.name == plugin_name) { in SaveCore()
709 if (instance.save_core && in SaveCore()
710 instance.save_core(process_sp, outfile, core_style, error)) in SaveCore()
823 for (const auto &instance : GetPlatformInstances().GetInstances()) { in AutoCompletePlatformName() local
824 if (instance.name.starts_with(name)) in AutoCompletePlatformName()
825 request.AddCompletion(instance.name); in AutoCompletePlatformName()
871 for (const auto &instance : GetProcessInstances().GetInstances()) { in AutoCompleteProcessName() local
872 if (instance.name.starts_with(name)) in AutoCompleteProcessName()
873 request.AddCompletion(instance.name, instance.description); in AutoCompleteProcessName()
960 for (const auto &instance : instances) { in GetScriptInterpreterForLanguage() local
961 if (instance.language == lldb::eScriptLanguageNone) in GetScriptInterpreterForLanguage()
962 none_instance = instance.create_callback; in GetScriptInterpreterForLanguage()
964 if (script_lang == instance.language) in GetScriptInterpreterForLanguage()
965 return instance.create_callback(debugger); in GetScriptInterpreterForLanguage()
1142 for (auto &instance : instances) { in LocateExecutableObjectFile() local
1143 if (instance.locate_executable_object_file) { in LocateExecutableObjectFile()
1145 instance.locate_executable_object_file(module_spec); in LocateExecutableObjectFile()
1156 for (auto &instance : instances) { in LocateExecutableSymbolFile() local
1157 if (instance.locate_executable_symbol_file) { in LocateExecutableSymbolFile()
1158 std::optional<FileSpec> result = instance.locate_executable_symbol_file( in LocateExecutableSymbolFile()
1172 for (auto &instance : instances) { in DownloadObjectAndSymbolFile() local
1173 if (instance.download_object_symbol_file) { in DownloadObjectAndSymbolFile()
1174 if (instance.download_object_symbol_file(module_spec, error, force_lookup, in DownloadObjectAndSymbolFile()
1186 for (auto &instance : instances) { in FindSymbolFileInBundle() local
1187 if (instance.find_symbol_file_in_bundle) { in FindSymbolFileInBundle()
1189 instance.find_symbol_file_in_bundle(symfile_bundle, uuid, arch); in FindSymbolFileInBundle()
1246 for (const TraceInstance &instance : GetTracePluginInstances().GetInstances()) in GetTraceCreateCallbackForLiveProcess() local
1247 if (instance.name == plugin_name) in GetTraceCreateCallbackForLiveProcess()
1248 return instance.create_callback_for_live_process; in GetTraceCreateCallbackForLiveProcess()
1253 for (const TraceInstance &instance : GetTracePluginInstances().GetInstances()) in GetTraceSchema() local
1254 if (instance.name == plugin_name) in GetTraceSchema()
1255 return instance.schema; in GetTraceSchema()
1260 if (TraceInstance *instance = in GetTraceSchema() local
1262 return instance->schema; in GetTraceSchema()
1309 if (TraceExporterInstance *instance = in GetThreadTraceExportCommandCreatorAtIndex() local
1311 return instance->create_thread_trace_export_command; in GetThreadTraceExportCommandCreatorAtIndex()