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()
824 for (const auto &instance : GetPlatformInstances().GetInstances()) { in AutoCompletePlatformName() local
825 if (instance.name.startswith(name)) in AutoCompletePlatformName()
826 request.AddCompletion(instance.name); in AutoCompletePlatformName()
872 for (const auto &instance : GetProcessInstances().GetInstances()) { in AutoCompleteProcessName() local
873 if (instance.name.startswith(name)) in AutoCompleteProcessName()
874 request.AddCompletion(instance.name, instance.description); in AutoCompleteProcessName()
922 for (const auto &instance : instances) { in GetScriptInterpreterForLanguage() local
923 if (instance.language == lldb::eScriptLanguageNone) in GetScriptInterpreterForLanguage()
924 none_instance = instance.create_callback; in GetScriptInterpreterForLanguage()
926 if (script_lang == instance.language) in GetScriptInterpreterForLanguage()
927 return instance.create_callback(debugger); in GetScriptInterpreterForLanguage()
1095 for (const TraceInstance &instance : GetTracePluginInstances().GetInstances()) in GetTraceCreateCallbackForLiveProcess() local
1096 if (instance.name == plugin_name) in GetTraceCreateCallbackForLiveProcess()
1097 return instance.create_callback_for_live_process; in GetTraceCreateCallbackForLiveProcess()
1102 for (const TraceInstance &instance : GetTracePluginInstances().GetInstances()) in GetTraceSchema() local
1103 if (instance.name == plugin_name) in GetTraceSchema()
1104 return instance.schema; in GetTraceSchema()
1109 if (TraceInstance *instance = in GetTraceSchema() local
1111 return instance->schema; in GetTraceSchema()
1158 if (TraceExporterInstance *instance = in GetThreadTraceExportCommandCreatorAtIndex() local
1160 return instance->create_thread_trace_export_command; in GetThreadTraceExportCommandCreatorAtIndex()