Lines Matching refs:instance
209 Instance instance = in RegisterPlugin() local
211 m_instances.push_back(instance); in RegisterPlugin()
230 if (Instance *instance = GetInstanceAtIndex(idx)) in GetCallbackAtIndex() local
231 return instance->create_callback; in GetCallbackAtIndex()
236 if (Instance *instance = GetInstanceAtIndex(idx)) in GetDescriptionAtIndex() local
237 return instance->description; in GetDescriptionAtIndex()
242 if (Instance *instance = GetInstanceAtIndex(idx)) in GetNameAtIndex() local
243 return instance->name; in GetNameAtIndex()
250 for (auto &instance : m_instances) { in GetCallbackForName() local
251 if (name == instance.name) in GetCallbackForName()
252 return instance.create_callback; in GetCallbackForName()
258 for (auto &instance : m_instances) { in PerformDebuggerCallback() local
259 if (instance.debugger_init_callback) in PerformDebuggerCallback()
260 instance.debugger_init_callback(debugger); in PerformDebuggerCallback()
685 for (auto &instance : instances) { in GetObjectFileCreateMemoryCallbackForPluginName() local
686 if (instance.name == name) in GetObjectFileCreateMemoryCallbackForPluginName()
687 return instance.create_memory_callback; in GetObjectFileCreateMemoryCallbackForPluginName()
708 for (auto &instance : instances) { in SaveCore() local
709 if (plugin_name.empty() || instance.name == plugin_name) { in SaveCore()
710 if (instance.save_core && in SaveCore()
711 instance.save_core(process_sp, outfile, core_style, error)) in SaveCore()
811 for (const auto &instance : GetPlatformInstances().GetInstances()) { in AutoCompletePlatformName() local
812 if (instance.name.startswith(name)) in AutoCompletePlatformName()
813 request.AddCompletion(instance.name); in AutoCompletePlatformName()
859 for (const auto &instance : GetProcessInstances().GetInstances()) { in AutoCompleteProcessName() local
860 if (instance.name.startswith(name)) in AutoCompleteProcessName()
861 request.AddCompletion(instance.name, instance.description); in AutoCompleteProcessName()
909 for (const auto &instance : instances) { in GetScriptInterpreterForLanguage() local
910 if (instance.language == lldb::eScriptLanguageNone) in GetScriptInterpreterForLanguage()
911 none_instance = instance.create_callback; in GetScriptInterpreterForLanguage()
913 if (script_lang == instance.language) in GetScriptInterpreterForLanguage()
914 return instance.create_callback(debugger); in GetScriptInterpreterForLanguage()
1081 for (const TraceInstance &instance : GetTracePluginInstances().GetInstances()) in GetTraceCreateCallbackForLiveProcess() local
1082 if (instance.name == plugin_name) in GetTraceCreateCallbackForLiveProcess()
1083 return instance.create_callback_for_live_process; in GetTraceCreateCallbackForLiveProcess()
1088 for (const TraceInstance &instance : GetTracePluginInstances().GetInstances()) in GetTraceSchema() local
1089 if (instance.name == plugin_name) in GetTraceSchema()
1090 return instance.schema; in GetTraceSchema()
1095 if (TraceInstance *instance = in GetTraceSchema() local
1097 return instance->schema; in GetTraceSchema()
1144 if (TraceExporterInstance *instance = in GetThreadTraceExportCommandCreatorAtIndex() local
1146 return instance->create_thread_trace_export_command; in GetThreadTraceExportCommandCreatorAtIndex()