Lines Matching defs:ScriptInterpreterPythonImpl
25 #include "ScriptInterpreterPythonImpl.h"
82 static ScriptInterpreterPythonImpl *GetPythonInterpreter(Debugger &debugger) {
85 return static_cast<ScriptInterpreterPythonImpl *>(script_interpreter);
358 ScriptInterpreterPythonImpl::CreateInstance);
359 ScriptInterpreterPythonImpl::Initialize();
365 ScriptInterpreterPythonImpl::Locker::Locker(
366 ScriptInterpreterPythonImpl *py_interpreter, uint16_t on_entry,
380 bool ScriptInterpreterPythonImpl::Locker::DoAcquireLock() {
396 bool ScriptInterpreterPythonImpl::Locker::DoInitSession(uint16_t on_entry_flags,
404 bool ScriptInterpreterPythonImpl::Locker::DoFreeLock() {
413 bool ScriptInterpreterPythonImpl::Locker::DoTearDownSession() {
420 ScriptInterpreterPythonImpl::Locker::~Locker() {
426 ScriptInterpreterPythonImpl::ScriptInterpreterPythonImpl(Debugger &debugger)
481 ScriptInterpreterPythonImpl::~ScriptInterpreterPythonImpl() {
492 void ScriptInterpreterPythonImpl::IOHandlerActivated(IOHandler &io_handler,
521 void ScriptInterpreterPythonImpl::IOHandlerInputComplete(IOHandler &io_handler,
548 ScriptInterpreterPythonImpl::BreakpointCallbackFunction, baton_sp);
571 ScriptInterpreterPythonImpl::WatchpointCallbackFunction, baton_sp);
585 ScriptInterpreterPythonImpl::CreateInstance(Debugger &debugger) {
586 return std::make_shared<ScriptInterpreterPythonImpl>(debugger);
589 void ScriptInterpreterPythonImpl::LeaveSession() {
592 log->PutCString("ScriptInterpreterPythonImpl::LeaveSession()");
624 bool ScriptInterpreterPythonImpl::SetStdHandle(FileSP file_sp,
651 bool ScriptInterpreterPythonImpl::EnterSession(uint16_t on_entry_flags,
660 "ScriptInterpreterPythonImpl::EnterSession(on_entry_flags=0x%" PRIx16
668 "ScriptInterpreterPythonImpl::EnterSession(on_entry_flags=0x%" PRIx16 ")",
734 PythonModule &ScriptInterpreterPythonImpl::GetMainModule() {
740 PythonDictionary &ScriptInterpreterPythonImpl::GetSessionDictionary() {
758 PythonDictionary &ScriptInterpreterPythonImpl::GetSysModuleDictionary() {
767 ScriptInterpreterPythonImpl::GetMaxPositionalArgumentsForCallable(
808 bool ScriptInterpreterPythonImpl::GetEmbeddedInterpreterModuleObjects() {
829 bool ScriptInterpreterPythonImpl::ExecuteOneLine(
921 void ScriptInterpreterPythonImpl::ExecuteInterpreterLoop() {
941 bool ScriptInterpreterPythonImpl::Interrupt() {
969 "ScriptInterpreterPythonImpl::Interrupt() sending "
976 "ScriptInterpreterPythonImpl::Interrupt() python code not running, "
982 bool ScriptInterpreterPythonImpl::ExecuteOneLineWithReturn(
1106 Status ScriptInterpreterPythonImpl::ExecuteMultipleLines(
1157 void ScriptInterpreterPythonImpl::CollectDataForBreakpointCommandCallback(
1165 void ScriptInterpreterPythonImpl::CollectDataForWatchpointCommandCallback(
1172 Status ScriptInterpreterPythonImpl::SetBreakpointCommandCallbackFunction(
1214 Status ScriptInterpreterPythonImpl::SetBreakpointCommandCallback(
1228 ScriptInterpreterPythonImpl::BreakpointCallbackFunction, baton_sp);
1232 Status ScriptInterpreterPythonImpl::SetBreakpointCommandCallback(
1240 Status ScriptInterpreterPythonImpl::SetBreakpointCommandCallback(
1258 ScriptInterpreterPythonImpl::BreakpointCallbackFunction, baton_sp);
1265 void ScriptInterpreterPythonImpl::SetWatchpointCommandCallback(
1283 ScriptInterpreterPythonImpl::WatchpointCallbackFunction, baton_sp);
1287 Status ScriptInterpreterPythonImpl::ExportFunctionDefinitionToInterpreter(
1298 Status ScriptInterpreterPythonImpl::GenerateFunction(const char *signature,
1336 return Status("ScriptInterpreterPythonImpl::GenerateFunction(is_callback="
1377 bool ScriptInterpreterPythonImpl::GenerateTypeScriptFunction(
1405 bool ScriptInterpreterPythonImpl::GenerateScriptAliasFunction(
1430 bool ScriptInterpreterPythonImpl::GenerateTypeSynthClass(
1475 ScriptInterpreterPythonImpl::CreateFrameRecognizer(const char *class_name) {
1487 lldb::ValueObjectListSP ScriptInterpreterPythonImpl::GetRecognizedArguments(
1532 ScriptInterpreterPythonImpl::CreateScriptedProcessInterface() {
1537 ScriptInterpreterPythonImpl::CreateScriptedThreadInterface() {
1542 ScriptInterpreterPythonImpl::CreateScriptedThreadPlanInterface() {
1547 ScriptInterpreterPythonImpl::CreateOperatingSystemInterface() {
1552 ScriptInterpreterPythonImpl::CreateStructuredDataFromScriptObject(
1563 ScriptInterpreterPythonImpl::CreateScriptedBreakpointResolver(
1574 ScriptInterpreterPythonImpl *python_interpreter =
1592 bool ScriptInterpreterPythonImpl::ScriptedBreakpointResolverSearchCallback(
1610 ScriptInterpreterPythonImpl::ScriptedBreakpointResolverSearchDepth(
1631 StructuredData::GenericSP ScriptInterpreterPythonImpl::CreateScriptedStopHook(
1645 ScriptInterpreterPythonImpl *python_interpreter =
1664 bool ScriptInterpreterPythonImpl::ScriptedStopHookHandleStop(
1682 ScriptInterpreterPythonImpl::LoadPluginModule(const FileSpec &file_spec,
1700 StructuredData::DictionarySP ScriptInterpreterPythonImpl::GetDynamicSettings(
1729 ScriptInterpreterPythonImpl::CreateSyntheticScriptedProvider(
1744 ScriptInterpreterPythonImpl *python_interpreter =
1760 ScriptInterpreterPythonImpl::CreateScriptCommandObject(const char *class_name) {
1781 bool ScriptInterpreterPythonImpl::GenerateTypeScriptFunction(
1788 bool ScriptInterpreterPythonImpl::GenerateTypeSynthClass(
1795 Status ScriptInterpreterPythonImpl::GenerateBreakpointCommandCallbackData(
1825 bool ScriptInterpreterPythonImpl::GenerateWatchpointCommandCallbackData(
1847 bool ScriptInterpreterPythonImpl::GetScriptedSummary(
1898 bool ScriptInterpreterPythonImpl::FormatterCallbackFunction(
1906 bool ScriptInterpreterPythonImpl::BreakpointCallbackFunction(
1922 ScriptInterpreterPythonImpl *python_interpreter =
1971 bool ScriptInterpreterPythonImpl::WatchpointCallbackFunction(
1987 ScriptInterpreterPythonImpl *python_interpreter =
2017 size_t ScriptInterpreterPythonImpl::CalculateNumChildren(
2039 lldb::ValueObjectSP ScriptInterpreterPythonImpl::GetChildAtIndex(
2073 int ScriptInterpreterPythonImpl::GetIndexOfChildWithName(
2096 bool ScriptInterpreterPythonImpl::UpdateSynthProviderInstance(
2120 bool ScriptInterpreterPythonImpl::MightHaveChildrenSynthProviderInstance(
2144 lldb::ValueObjectSP ScriptInterpreterPythonImpl::GetSyntheticValue(
2179 ConstString ScriptInterpreterPythonImpl::GetSyntheticTypeName(
2212 bool ScriptInterpreterPythonImpl::RunScriptFormatKeyword(
2237 bool ScriptInterpreterPythonImpl::RunScriptFormatKeyword(
2262 bool ScriptInterpreterPythonImpl::RunScriptFormatKeyword(
2287 bool ScriptInterpreterPythonImpl::RunScriptFormatKeyword(
2312 bool ScriptInterpreterPythonImpl::RunScriptFormatKeyword(
2348 bool ScriptInterpreterPythonImpl::LoadScriptingModule(
2479 ScriptInterpreterPythonImpl::eScriptReturnTypeBool, &does_contain, exc_options);
2529 bool ScriptInterpreterPythonImpl::IsReservedWord(const char *word) {
2555 ScriptInterpreterPythonImpl::SynchronicityHandler::SynchronicityHandler(
2565 ScriptInterpreterPythonImpl::SynchronicityHandler::~SynchronicityHandler() {
2570 bool ScriptInterpreterPythonImpl::RunScriptBasedCommand(
2615 bool ScriptInterpreterPythonImpl::RunScriptBasedCommand(
2660 bool ScriptInterpreterPythonImpl::RunScriptBasedParsedCommand(
2712 ScriptInterpreterPythonImpl::GetRepeatCommandForScriptedCommand(
2742 bool ScriptInterpreterPythonImpl::GetDocumentationForItem(const char *item,
2773 bool ScriptInterpreterPythonImpl::GetShortHelpForCommandObject(
2808 uint32_t ScriptInterpreterPythonImpl::GetFlagsForCommandObject(
2858 ScriptInterpreterPythonImpl::GetOptionsForCommandObject(
2906 ScriptInterpreterPythonImpl::GetArgumentsForCommandObject(
2954 ScriptInterpreterPythonImpl::OptionParsingStartedForCommandObject(
3002 ScriptInterpreterPythonImpl::SetOptionValueForCommandObject(
3056 bool ScriptInterpreterPythonImpl::GetLongHelpForCommandObject(
3093 ScriptInterpreterPythonImpl::AcquireInterpreterLock() {
3100 void ScriptInterpreterPythonImpl::Initialize() {
3151 void ScriptInterpreterPythonImpl::AddToSysPath(AddLocation location,
3175 // ScriptInterpreterPythonImpl::Terminate. So if we call Py_Finalize here, we
3182 // void ScriptInterpreterPythonImpl::Terminate() { Py_Finalize (); }