Lines Matching refs:ScriptInterpreterPython

60 static ScriptInterpreterPython::SWIGInitCallback g_swig_init_callback = nullptr;
61 static ScriptInterpreterPython::SWIGBreakpointCallbackFunction
63 static ScriptInterpreterPython::SWIGWatchpointCallbackFunction
65 static ScriptInterpreterPython::SWIGPythonTypeScriptCallbackFunction
67 static ScriptInterpreterPython::SWIGPythonCreateSyntheticProvider
69 static ScriptInterpreterPython::SWIGPythonCreateCommandObject
71 static ScriptInterpreterPython::SWIGPythonCalculateNumChildren
73 static ScriptInterpreterPython::SWIGPythonGetChildAtIndex
75 static ScriptInterpreterPython::SWIGPythonGetIndexOfChildWithName
77 static ScriptInterpreterPython::SWIGPythonCastPyObjectToSBValue
79 static ScriptInterpreterPython::SWIGPythonGetValueObjectSPFromSBValue
81 static ScriptInterpreterPython::SWIGPythonUpdateSynthProviderInstance
83 static ScriptInterpreterPython::SWIGPythonMightHaveChildrenSynthProviderInstance
85 static ScriptInterpreterPython::SWIGPythonGetValueSynthProviderInstance
87 static ScriptInterpreterPython::SWIGPythonCallCommand g_swig_call_command =
89 static ScriptInterpreterPython::SWIGPythonCallCommandObject
91 static ScriptInterpreterPython::SWIGPythonCallModuleInit
93 static ScriptInterpreterPython::SWIGPythonCreateOSPlugin
95 static ScriptInterpreterPython::SWIGPythonCreateFrameRecognizer
97 static ScriptInterpreterPython::SWIGPythonGetRecognizedArguments
99 static ScriptInterpreterPython::SWIGPythonScriptKeyword_Process
101 static ScriptInterpreterPython::SWIGPythonScriptKeyword_Thread
103 static ScriptInterpreterPython::SWIGPythonScriptKeyword_Target
105 static ScriptInterpreterPython::SWIGPythonScriptKeyword_Frame
107 static ScriptInterpreterPython::SWIGPythonScriptKeyword_Value
109 static ScriptInterpreterPython::SWIGPython_GetDynamicSetting g_swig_plugin_get =
111 static ScriptInterpreterPython::SWIGPythonCreateScriptedThreadPlan
113 static ScriptInterpreterPython::SWIGPythonCallThreadPlan
115 static ScriptInterpreterPython::SWIGPythonCreateScriptedBreakpointResolver
117 static ScriptInterpreterPython::SWIGPythonCallBreakpointResolver
203 ScriptInterpreterPython::Locker::Locker(ScriptInterpreterPython *py_interpreter, in Locker()
218 bool ScriptInterpreterPython::Locker::DoAcquireLock() { in DoAcquireLock()
234 bool ScriptInterpreterPython::Locker::DoInitSession(uint16_t on_entry_flags, in DoInitSession()
242 bool ScriptInterpreterPython::Locker::DoFreeLock() { in DoFreeLock()
251 bool ScriptInterpreterPython::Locker::DoTearDownSession() { in DoTearDownSession()
258 ScriptInterpreterPython::Locker::~Locker() { in ~Locker()
264 ScriptInterpreterPython::ScriptInterpreterPython( in ScriptInterpreterPython() function in ScriptInterpreterPython
283 Locker locker(this, ScriptInterpreterPython::Locker::AcquireLock, in ScriptInterpreterPython()
284 ScriptInterpreterPython::Locker::FreeAcquiredLock); in ScriptInterpreterPython()
325 ScriptInterpreterPython::~ScriptInterpreterPython() { in ~ScriptInterpreterPython()
336 void ScriptInterpreterPython::Initialize() { in Initialize()
346 void ScriptInterpreterPython::Terminate() {} in Terminate()
349 ScriptInterpreterPython::CreateInstance(CommandInterpreter &interpreter) { in CreateInstance()
350 return std::make_shared<ScriptInterpreterPython>(interpreter); in CreateInstance()
353 lldb_private::ConstString ScriptInterpreterPython::GetPluginNameStatic() { in GetPluginNameStatic()
358 const char *ScriptInterpreterPython::GetPluginDescriptionStatic() { in GetPluginDescriptionStatic()
362 void ScriptInterpreterPython::ComputePythonDirForApple( in ComputePythonDirForApple()
378 void ScriptInterpreterPython::ComputePythonDirForPosix( in ComputePythonDirForPosix()
395 void ScriptInterpreterPython::ComputePythonDirForWindows( in ComputePythonDirForWindows()
406 FileSpec ScriptInterpreterPython::GetPythonDir() { in GetPythonDir()
427 lldb_private::ConstString ScriptInterpreterPython::GetPluginName() { in GetPluginName()
431 uint32_t ScriptInterpreterPython::GetPluginVersion() { return 1; } in GetPluginVersion()
433 void ScriptInterpreterPython::IOHandlerActivated(IOHandler &io_handler) { in IOHandlerActivated()
461 void ScriptInterpreterPython::IOHandlerInputComplete(IOHandler &io_handler, in IOHandlerInputComplete()
487 ScriptInterpreterPython::BreakpointCallbackFunction, baton_sp); in IOHandlerInputComplete()
509 ScriptInterpreterPython::WatchpointCallbackFunction, baton_sp); in IOHandlerInputComplete()
522 void ScriptInterpreterPython::ResetOutputFileHandle(FILE *fh) {} in ResetOutputFileHandle()
524 void ScriptInterpreterPython::SaveTerminalState(int fd) { in SaveTerminalState()
532 void ScriptInterpreterPython::RestoreTerminalState() { in RestoreTerminalState()
540 void ScriptInterpreterPython::LeaveSession() { in LeaveSession()
575 bool ScriptInterpreterPython::SetStdHandle(File &file, const char *py_name, in SetStdHandle()
595 bool ScriptInterpreterPython::EnterSession(uint16_t on_entry_flags, FILE *in, in EnterSession()
684 PythonObject &ScriptInterpreterPython::GetMainModule() { in GetMainModule()
690 PythonDictionary &ScriptInterpreterPython::GetSessionDictionary() { in GetSessionDictionary()
708 PythonDictionary &ScriptInterpreterPython::GetSysModuleDictionary() { in GetSysModuleDictionary()
735 bool ScriptInterpreterPython::GetEmbeddedInterpreterModuleObjects() { in GetEmbeddedInterpreterModuleObjects()
765 bool ScriptInterpreterPython::ExecuteOneLine( in ExecuteOneLine()
859 ScriptInterpreterPython::Locker::AcquireLock | in ExecuteOneLine()
860 ScriptInterpreterPython::Locker::InitSession | in ExecuteOneLine()
862 ? ScriptInterpreterPython::Locker::InitGlobals in ExecuteOneLine()
865 ScriptInterpreterPython::Locker::FreeAcquiredLock | in ExecuteOneLine()
866 ScriptInterpreterPython::Locker::TearDownSession, in ExecuteOneLine()
930 ScriptInterpreterPython *python) in IOHandlerPythonInterpreter()
956 ScriptInterpreterPython::Locker locker( in Run()
957 m_python, ScriptInterpreterPython::Locker::AcquireLock | in Run()
958 ScriptInterpreterPython::Locker::InitSession | in Run()
959 ScriptInterpreterPython::Locker::InitGlobals, in Run()
960 ScriptInterpreterPython::Locker::FreeAcquiredLock | in Run()
961 ScriptInterpreterPython::Locker::TearDownSession); in Run()
995 ScriptInterpreterPython *m_python;
998 void ScriptInterpreterPython::ExecuteInterpreterLoop() { in ExecuteInterpreterLoop()
1019 bool ScriptInterpreterPython::Interrupt() { in Interrupt()
1042 bool ScriptInterpreterPython::ExecuteOneLineWithReturn( in ExecuteOneLineWithReturn()
1046 Locker locker(this, ScriptInterpreterPython::Locker::AcquireLock | in ExecuteOneLineWithReturn()
1047 ScriptInterpreterPython::Locker::InitSession | in ExecuteOneLineWithReturn()
1049 ? ScriptInterpreterPython::Locker::InitGlobals in ExecuteOneLineWithReturn()
1052 ScriptInterpreterPython::Locker::FreeAcquiredLock | in ExecuteOneLineWithReturn()
1053 ScriptInterpreterPython::Locker::TearDownSession); in ExecuteOneLineWithReturn()
1198 Status ScriptInterpreterPython::ExecuteMultipleLines( in ExecuteMultipleLines()
1202 Locker locker(this, ScriptInterpreterPython::Locker::AcquireLock | in ExecuteMultipleLines()
1203 ScriptInterpreterPython::Locker::InitSession | in ExecuteMultipleLines()
1205 ? ScriptInterpreterPython::Locker::InitGlobals in ExecuteMultipleLines()
1208 ScriptInterpreterPython::Locker::FreeAcquiredLock | in ExecuteMultipleLines()
1209 ScriptInterpreterPython::Locker::TearDownSession); in ExecuteMultipleLines()
1259 void ScriptInterpreterPython::CollectDataForBreakpointCommandCallback( in CollectDataForBreakpointCommandCallback()
1267 void ScriptInterpreterPython::CollectDataForWatchpointCommandCallback( in CollectDataForWatchpointCommandCallback()
1273 void ScriptInterpreterPython::SetBreakpointCommandCallbackFunction( in SetBreakpointCommandCallbackFunction()
1283 Status ScriptInterpreterPython::SetBreakpointCommandCallback( in SetBreakpointCommandCallback()
1294 bp_options->SetCallback(ScriptInterpreterPython::BreakpointCallbackFunction, in SetBreakpointCommandCallback()
1300 Status ScriptInterpreterPython::SetBreakpointCommandCallback( in SetBreakpointCommandCallback()
1315 bp_options->SetCallback(ScriptInterpreterPython::BreakpointCallbackFunction, in SetBreakpointCommandCallback()
1323 void ScriptInterpreterPython::SetWatchpointCommandCallback( in SetWatchpointCommandCallback()
1339 wp_options->SetCallback(ScriptInterpreterPython::WatchpointCallbackFunction, in SetWatchpointCommandCallback()
1346 Status ScriptInterpreterPython::ExportFunctionDefinitionToInterpreter( in ExportFunctionDefinitionToInterpreter()
1357 Status ScriptInterpreterPython::GenerateFunction(const char *signature, in GenerateFunction()
1414 bool ScriptInterpreterPython::GenerateTypeScriptFunction( in GenerateTypeScriptFunction()
1441 bool ScriptInterpreterPython::GenerateScriptAliasFunction( in GenerateScriptAliasFunction()
1465 bool ScriptInterpreterPython::GenerateTypeSynthClass(StringList &user_input, in GenerateTypeSynthClass()
1510 StructuredData::GenericSP ScriptInterpreterPython::CreateFrameRecognizer( in CreateFrameRecognizer()
1527 lldb::ValueObjectListSP ScriptInterpreterPython::GetRecognizedArguments( in GetRecognizedArguments()
1566 StructuredData::GenericSP ScriptInterpreterPython::OSPlugin_CreatePluginObject( in OSPlugin_CreatePluginObject()
1586 StructuredData::DictionarySP ScriptInterpreterPython::OSPlugin_RegisterInfo( in OSPlugin_RegisterInfo()
1641 StructuredData::ArraySP ScriptInterpreterPython::OSPlugin_ThreadsInfo( in OSPlugin_ThreadsInfo()
1726 StructuredData::StringSP ScriptInterpreterPython::OSPlugin_RegisterContextData( in OSPlugin_RegisterContextData()
1782 StructuredData::DictionarySP ScriptInterpreterPython::OSPlugin_CreateThread( in OSPlugin_CreateThread()
1841 StructuredData::ObjectSP ScriptInterpreterPython::CreateScriptedThreadPlan( in CreateScriptedThreadPlan()
1852 ScriptInterpreterPython *python_interpreter = in CreateScriptedThreadPlan()
1853 static_cast<ScriptInterpreterPython *>(script_interpreter); in CreateScriptedThreadPlan()
1872 bool ScriptInterpreterPython::ScriptedThreadPlanExplainsStop( in ScriptedThreadPlanExplainsStop()
1889 bool ScriptInterpreterPython::ScriptedThreadPlanShouldStop( in ScriptedThreadPlanShouldStop()
1906 bool ScriptInterpreterPython::ScriptedThreadPlanIsStale( in ScriptedThreadPlanIsStale()
1923 lldb::StateType ScriptInterpreterPython::ScriptedThreadPlanGetRunState( in ScriptedThreadPlanGetRunState()
1944 ScriptInterpreterPython::CreateScriptedBreakpointResolver( in CreateScriptedBreakpointResolver()
1958 ScriptInterpreterPython *python_interpreter = in CreateScriptedBreakpointResolver()
1959 static_cast<ScriptInterpreterPython *>(script_interpreter); in CreateScriptedBreakpointResolver()
1979 ScriptInterpreterPython::ScriptedBreakpointResolverSearchCallback( in ScriptedBreakpointResolverSearchCallback()
1999 ScriptInterpreterPython::ScriptedBreakpointResolverSearchDepth( in ScriptedBreakpointResolverSearchDepth()
2022 ScriptInterpreterPython::LoadPluginModule(const FileSpec &file_spec, in LoadPluginModule()
2038 StructuredData::DictionarySP ScriptInterpreterPython::GetDynamicSettings( in GetDynamicSettings()
2061 ScriptInterpreterPython::CreateSyntheticScriptedProvider( in CreateSyntheticScriptedProvider()
2078 ScriptInterpreterPython *python_interpreter = in CreateSyntheticScriptedProvider()
2079 (ScriptInterpreterPython *)script_interpreter; in CreateSyntheticScriptedProvider()
2097 ScriptInterpreterPython::CreateScriptCommandObject(const char *class_name) { in CreateScriptCommandObject()
2119 bool ScriptInterpreterPython::GenerateTypeScriptFunction( in GenerateTypeScriptFunction()
2126 bool ScriptInterpreterPython::GenerateTypeSynthClass(const char *oneliner, in GenerateTypeSynthClass()
2134 Status ScriptInterpreterPython::GenerateBreakpointCommandCallbackData( in GenerateBreakpointCommandCallbackData()
2159 bool ScriptInterpreterPython::GenerateWatchpointCommandCallbackData( in GenerateWatchpointCommandCallbackData()
2181 bool ScriptInterpreterPython::GetScriptedSummary( in GetScriptedSummary()
2229 void ScriptInterpreterPython::Clear() { in Clear()
2232 Locker locker(this, ScriptInterpreterPython::Locker::AcquireLock, in Clear()
2233 ScriptInterpreterPython::Locker::FreeAcquiredLock); in Clear()
2242 bool ScriptInterpreterPython::BreakpointCallbackFunction( in BreakpointCallbackFunction()
2260 ScriptInterpreterPython *python_interpreter = in BreakpointCallbackFunction()
2261 (ScriptInterpreterPython *)script_interpreter; in BreakpointCallbackFunction()
2293 bool ScriptInterpreterPython::WatchpointCallbackFunction( in WatchpointCallbackFunction()
2311 ScriptInterpreterPython *python_interpreter = in WatchpointCallbackFunction()
2312 (ScriptInterpreterPython *)script_interpreter; in WatchpointCallbackFunction()
2341 size_t ScriptInterpreterPython::CalculateNumChildren( in CalculateNumChildren()
2366 lldb::ValueObjectSP ScriptInterpreterPython::GetChildAtIndex( in GetChildAtIndex()
2402 int ScriptInterpreterPython::GetIndexOfChildWithName( in GetIndexOfChildWithName()
2428 bool ScriptInterpreterPython::UpdateSynthProviderInstance( in UpdateSynthProviderInstance()
2454 bool ScriptInterpreterPython::MightHaveChildrenSynthProviderInstance( in MightHaveChildrenSynthProviderInstance()
2480 lldb::ValueObjectSP ScriptInterpreterPython::GetSyntheticValue( in GetSyntheticValue()
2517 ConstString ScriptInterpreterPython::GetSyntheticTypeName( in GetSyntheticTypeName()
2583 bool ScriptInterpreterPython::RunScriptFormatKeyword(const char *impl_function, in RunScriptFormatKeyword()
2612 bool ScriptInterpreterPython::RunScriptFormatKeyword(const char *impl_function, in RunScriptFormatKeyword()
2641 bool ScriptInterpreterPython::RunScriptFormatKeyword(const char *impl_function, in RunScriptFormatKeyword()
2670 bool ScriptInterpreterPython::RunScriptFormatKeyword(const char *impl_function, in RunScriptFormatKeyword()
2699 bool ScriptInterpreterPython::RunScriptFormatKeyword(const char *impl_function, in RunScriptFormatKeyword()
2740 bool ScriptInterpreterPython::LoadScriptingModule( in LoadScriptingModule()
2826 ScriptInterpreterPython::eScriptReturnTypeBool, &does_contain, in LoadScriptingModule()
2890 bool ScriptInterpreterPython::IsReservedWord(const char *word) { in IsReservedWord()
2915 ScriptInterpreterPython::SynchronicityHandler::SynchronicityHandler( in SynchronicityHandler()
2925 ScriptInterpreterPython::SynchronicityHandler::~SynchronicityHandler() { in ~SynchronicityHandler()
2930 bool ScriptInterpreterPython::RunScriptBasedCommand( in RunScriptBasedCommand()
2979 bool ScriptInterpreterPython::RunScriptBasedCommand( in RunScriptBasedCommand()
3031 bool ScriptInterpreterPython::GetDocumentationForItem(const char *item, in GetDocumentationForItem()
3058 bool ScriptInterpreterPython::GetShortHelpForCommandObject( in GetShortHelpForCommandObject()
3114 uint32_t ScriptInterpreterPython::GetFlagsForCommandObject( in GetFlagsForCommandObject()
3168 bool ScriptInterpreterPython::GetLongHelpForCommandObject( in GetLongHelpForCommandObject()
3227 ScriptInterpreterPython::AcquireInterpreterLock() { in AcquireInterpreterLock()
3234 void ScriptInterpreterPython::InitializeInterpreter( in InitializeInterpreter()
3298 void ScriptInterpreterPython::InitializePrivate() { in InitializePrivate()
3337 void ScriptInterpreterPython::AddToSysPath(AddLocation location, in AddToSysPath()