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.c_str(); in GetDescriptionAtIndex()
242 if (Instance *instance = GetInstanceAtIndex(idx)) in GetNameAtIndex() local
243 return instance->name.GetCString(); 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()
679 for (auto &instance : instances) { in GetObjectFileCreateMemoryCallbackForPluginName() local
680 if (instance.name == name) in GetObjectFileCreateMemoryCallbackForPluginName()
681 return instance.create_memory_callback; in GetObjectFileCreateMemoryCallbackForPluginName()
691 for (auto &instance : instances) { in SaveCore() local
692 if (instance.save_core && in SaveCore()
693 instance.save_core(process_sp, outfile, core_style, error)) in SaveCore()
790 for (const auto &instance : GetPlatformInstances().GetInstances()) { in AutoCompletePlatformName() local
791 if (instance.name.GetStringRef().startswith(name)) in AutoCompletePlatformName()
792 request.AddCompletion(instance.name.GetCString()); in AutoCompletePlatformName()
838 for (const auto &instance : GetProcessInstances().GetInstances()) { in AutoCompleteProcessName() local
839 if (instance.name.GetStringRef().startswith(name)) in AutoCompleteProcessName()
840 request.AddCompletion(instance.name.GetCString(), instance.description); in AutoCompleteProcessName()
888 for (const auto &instance : instances) { in GetScriptInterpreterForLanguage() local
889 if (instance.language == lldb::eScriptLanguageNone) in GetScriptInterpreterForLanguage()
890 none_instance = instance.create_callback; in GetScriptInterpreterForLanguage()
892 if (script_lang == instance.language) in GetScriptInterpreterForLanguage()
893 return instance.create_callback(debugger); in GetScriptInterpreterForLanguage()
1059 for (const TraceInstance &instance : GetTracePluginInstances().GetInstances()) in GetTraceCreateCallbackForLiveProcess() local
1060 if (instance.name == plugin_name) in GetTraceCreateCallbackForLiveProcess()
1061 return instance.create_callback_for_live_process; in GetTraceCreateCallbackForLiveProcess()
1066 for (const TraceInstance &instance : GetTracePluginInstances().GetInstances()) in GetTraceSchema() local
1067 if (instance.name == plugin_name) in GetTraceSchema()
1068 return instance.schema; in GetTraceSchema()
1073 if (TraceInstance *instance = in GetTraceSchema() local
1075 return instance->schema; in GetTraceSchema()
1122 if (TraceExporterInstance *instance = in GetThreadTraceExportCommandCreatorAtIndex() local
1124 return instance->create_thread_trace_export_command; in GetThreadTraceExportCommandCreatorAtIndex()