Lines Matching defs:ScriptInterpreterPythonImpl

21 #include "ScriptInterpreterPythonImpl.h"
76 static ScriptInterpreterPythonImpl *GetPythonInterpreter(Debugger &debugger) {
79 return static_cast<ScriptInterpreterPythonImpl *>(script_interpreter);
337 ScriptInterpreterPythonImpl::CreateInstance);
338 ScriptInterpreterPythonImpl::Initialize();
344 ScriptInterpreterPythonImpl::Locker::Locker(
345 ScriptInterpreterPythonImpl *py_interpreter, uint16_t on_entry,
359 bool ScriptInterpreterPythonImpl::Locker::DoAcquireLock() {
375 bool ScriptInterpreterPythonImpl::Locker::DoInitSession(uint16_t on_entry_flags,
383 bool ScriptInterpreterPythonImpl::Locker::DoFreeLock() {
392 bool ScriptInterpreterPythonImpl::Locker::DoTearDownSession() {
399 ScriptInterpreterPythonImpl::Locker::~Locker() {
405 ScriptInterpreterPythonImpl::ScriptInterpreterPythonImpl(Debugger &debugger)
461 ScriptInterpreterPythonImpl::~ScriptInterpreterPythonImpl() {
472 void ScriptInterpreterPythonImpl::IOHandlerActivated(IOHandler &io_handler,
501 void ScriptInterpreterPythonImpl::IOHandlerInputComplete(IOHandler &io_handler,
528 ScriptInterpreterPythonImpl::BreakpointCallbackFunction, baton_sp);
551 ScriptInterpreterPythonImpl::WatchpointCallbackFunction, baton_sp);
565 ScriptInterpreterPythonImpl::CreateInstance(Debugger &debugger) {
566 return std::make_shared<ScriptInterpreterPythonImpl>(debugger);
569 void ScriptInterpreterPythonImpl::LeaveSession() {
572 log->PutCString("ScriptInterpreterPythonImpl::LeaveSession()");
604 bool ScriptInterpreterPythonImpl::SetStdHandle(FileSP file_sp,
631 bool ScriptInterpreterPythonImpl::EnterSession(uint16_t on_entry_flags,
640 "ScriptInterpreterPythonImpl::EnterSession(on_entry_flags=0x%" PRIx16
648 "ScriptInterpreterPythonImpl::EnterSession(on_entry_flags=0x%" PRIx16 ")",
714 PythonModule &ScriptInterpreterPythonImpl::GetMainModule() {
720 PythonDictionary &ScriptInterpreterPythonImpl::GetSessionDictionary() {
738 PythonDictionary &ScriptInterpreterPythonImpl::GetSysModuleDictionary() {
747 ScriptInterpreterPythonImpl::GetMaxPositionalArgumentsForCallable(
786 bool ScriptInterpreterPythonImpl::GetEmbeddedInterpreterModuleObjects() {
807 bool ScriptInterpreterPythonImpl::ExecuteOneLine(
899 void ScriptInterpreterPythonImpl::ExecuteInterpreterLoop() {
919 bool ScriptInterpreterPythonImpl::Interrupt() {
947 "ScriptInterpreterPythonImpl::Interrupt() sending "
954 "ScriptInterpreterPythonImpl::Interrupt() python code not running, "
960 bool ScriptInterpreterPythonImpl::ExecuteOneLineWithReturn(
1084 Status ScriptInterpreterPythonImpl::ExecuteMultipleLines(
1135 void ScriptInterpreterPythonImpl::CollectDataForBreakpointCommandCallback(
1143 void ScriptInterpreterPythonImpl::CollectDataForWatchpointCommandCallback(
1150 Status ScriptInterpreterPythonImpl::SetBreakpointCommandCallbackFunction(
1192 Status ScriptInterpreterPythonImpl::SetBreakpointCommandCallback(
1206 ScriptInterpreterPythonImpl::BreakpointCallbackFunction, baton_sp);
1210 Status ScriptInterpreterPythonImpl::SetBreakpointCommandCallback(
1218 Status ScriptInterpreterPythonImpl::SetBreakpointCommandCallback(
1236 ScriptInterpreterPythonImpl::BreakpointCallbackFunction, baton_sp);
1243 void ScriptInterpreterPythonImpl::SetWatchpointCommandCallback(
1260 ScriptInterpreterPythonImpl::WatchpointCallbackFunction, baton_sp);
1264 Status ScriptInterpreterPythonImpl::ExportFunctionDefinitionToInterpreter(
1274 Status ScriptInterpreterPythonImpl::GenerateFunction(const char *signature,
1313 "ScriptInterpreterPythonImpl::GenerateFunction(is_callback="
1354 bool ScriptInterpreterPythonImpl::GenerateTypeScriptFunction(
1382 bool ScriptInterpreterPythonImpl::GenerateScriptAliasFunction(
1407 bool ScriptInterpreterPythonImpl::GenerateTypeSynthClass(
1452 ScriptInterpreterPythonImpl::CreateFrameRecognizer(const char *class_name) {
1464 lldb::ValueObjectListSP ScriptInterpreterPythonImpl::GetRecognizedArguments(
1508 bool ScriptInterpreterPythonImpl::ShouldHide(
1538 ScriptInterpreterPythonImpl::CreateScriptedProcessInterface() {
1543 ScriptInterpreterPythonImpl::CreateScriptedStopHookInterface() {
1548 ScriptInterpreterPythonImpl::CreateScriptedThreadInterface() {
1553 ScriptInterpreterPythonImpl::CreateScriptedThreadPlanInterface() {
1558 ScriptInterpreterPythonImpl::CreateOperatingSystemInterface() {
1563 ScriptInterpreterPythonImpl::CreateStructuredDataFromScriptObject(
1574 ScriptInterpreterPythonImpl::CreateScriptedBreakpointResolver(
1585 ScriptInterpreterPythonImpl *python_interpreter =
1603 bool ScriptInterpreterPythonImpl::ScriptedBreakpointResolverSearchCallback(
1621 ScriptInterpreterPythonImpl::ScriptedBreakpointResolverSearchDepth(
1643 ScriptInterpreterPythonImpl::LoadPluginModule(const FileSpec &file_spec,
1661 StructuredData::DictionarySP ScriptInterpreterPythonImpl::GetDynamicSettings(
1690 ScriptInterpreterPythonImpl::CreateSyntheticScriptedProvider(
1705 ScriptInterpreterPythonImpl *python_interpreter =
1721 ScriptInterpreterPythonImpl::CreateScriptCommandObject(const char *class_name) {
1742 bool ScriptInterpreterPythonImpl::GenerateTypeScriptFunction(
1749 bool ScriptInterpreterPythonImpl::GenerateTypeSynthClass(
1756 Status ScriptInterpreterPythonImpl::GenerateBreakpointCommandCallbackData(
1786 bool ScriptInterpreterPythonImpl::GenerateWatchpointCommandCallbackData(
1808 bool ScriptInterpreterPythonImpl::GetScriptedSummary(
1859 bool ScriptInterpreterPythonImpl::FormatterCallbackFunction(
1867 bool ScriptInterpreterPythonImpl::BreakpointCallbackFunction(
1883 ScriptInterpreterPythonImpl *python_interpreter =
1932 bool ScriptInterpreterPythonImpl::WatchpointCallbackFunction(
1948 ScriptInterpreterPythonImpl *python_interpreter =
1978 size_t ScriptInterpreterPythonImpl::CalculateNumChildren(
2000 lldb::ValueObjectSP ScriptInterpreterPythonImpl::GetChildAtIndex(
2034 int ScriptInterpreterPythonImpl::GetIndexOfChildWithName(
2058 bool ScriptInterpreterPythonImpl::UpdateSynthProviderInstance(
2082 bool ScriptInterpreterPythonImpl::MightHaveChildrenSynthProviderInstance(
2106 lldb::ValueObjectSP ScriptInterpreterPythonImpl::GetSyntheticValue(
2141 ConstString ScriptInterpreterPythonImpl::GetSyntheticTypeName(
2174 bool ScriptInterpreterPythonImpl::RunScriptFormatKeyword(
2199 bool ScriptInterpreterPythonImpl::RunScriptFormatKeyword(
2224 bool ScriptInterpreterPythonImpl::RunScriptFormatKeyword(
2249 bool ScriptInterpreterPythonImpl::RunScriptFormatKeyword(
2274 bool ScriptInterpreterPythonImpl::RunScriptFormatKeyword(
2310 bool ScriptInterpreterPythonImpl::LoadScriptingModule(
2444 ScriptInterpreterPythonImpl::eScriptReturnTypeBool, &does_contain,
2495 bool ScriptInterpreterPythonImpl::IsReservedWord(const char *word) {
2521 ScriptInterpreterPythonImpl::SynchronicityHandler::SynchronicityHandler(
2531 ScriptInterpreterPythonImpl::SynchronicityHandler::~SynchronicityHandler() {
2536 bool ScriptInterpreterPythonImpl::RunScriptBasedCommand(
2581 bool ScriptInterpreterPythonImpl::RunScriptBasedCommand(
2626 bool ScriptInterpreterPythonImpl::RunScriptBasedParsedCommand(
2678 ScriptInterpreterPythonImpl::GetRepeatCommandForScriptedCommand(
2706 ScriptInterpreterPythonImpl::HandleArgumentCompletionForScriptedCommand(
2726 ScriptInterpreterPythonImpl::HandleOptionArgumentCompletionForScriptedCommand(
2748 bool ScriptInterpreterPythonImpl::GetDocumentationForItem(const char *item,
2778 bool ScriptInterpreterPythonImpl::GetShortHelpForCommandObject(
2813 uint32_t ScriptInterpreterPythonImpl::GetFlagsForCommandObject(
2863 ScriptInterpreterPythonImpl::GetOptionsForCommandObject(
2911 ScriptInterpreterPythonImpl::GetArgumentsForCommandObject(
2958 void ScriptInterpreterPythonImpl::OptionParsingStartedForCommandObject(
3004 bool ScriptInterpreterPythonImpl::SetOptionValueForCommandObject(
3058 bool ScriptInterpreterPythonImpl::GetLongHelpForCommandObject(
3095 ScriptInterpreterPythonImpl::AcquireInterpreterLock() {
3102 void ScriptInterpreterPythonImpl::Initialize() {
3153 void ScriptInterpreterPythonImpl::AddToSysPath(AddLocation location,
3177 // ScriptInterpreterPythonImpl::Terminate. So if we call Py_Finalize here, we
3184 // void ScriptInterpreterPythonImpl::Terminate() { Py_Finalize (); }