| /llvm-project-15.0.7/lldb/source/Plugins/ScriptInterpreter/Python/ |
| H A D | PythonDataObjects.h | 66 class PythonObject; variable 212 class PythonObject { 214 PythonObject() = default; 226 PythonObject(const PythonObject &rhs) 229 PythonObject(PythonObject &&rhs) { 255 PythonObject &operator=(PythonObject other) { 392 PythonObject::operator=(PythonObject(type, py_obj)); 543 PythonObject GetItemForKey(const PythonObject &key) const; // DEPRECATED 547 llvm::Expected<PythonObject> GetItem(const PythonObject &key) const; 549 llvm::Error SetItem(const PythonObject &key, const PythonObject &value) const; [all …]
|
| H A D | PythonDataObjects.cpp | 81 void PythonObject::Reset() { in Reset() 199 PythonObject 215 PythonObject PythonObject::ResolveName(llvm::StringRef name) const { in ResolveName() 237 return PythonObject(); in ResolveName() 250 PythonObject PythonObject::GetAttributeValue(llvm::StringRef attr) const { in GetAttributeValue() 252 return PythonObject(); in GetAttributeValue() 256 return PythonObject(); in GetAttributeValue() 527 return PythonObject(); in GetItemAtIndex() 606 return PythonObject(); in GetItemAtIndex() 654 PythonObject PythonDictionary::GetItemForKey(const PythonObject &key) const { in GetItemForKey() [all …]
|
| H A D | ScriptedPythonInterface.h | 32 T ExtractValueFromPythonObject(python::PythonObject &p, Status &error) { in ExtractValueFromPythonObject() 52 PythonObject implementor(PyRefType::Borrowed, in Dispatch() 59 PythonObject pmeth( in Dispatch() 91 PythonObject py_return( in Dispatch() 132 python::PythonObject &p, Status &error); 137 StructuredData::DictionarySP>(python::PythonObject &p, Status &error); 141 python::PythonObject &p, Status &error); 146 python::PythonObject &p, Status &error); 151 llvm::Optional<MemoryRegionInfo>>(python::PythonObject &p, Status &error);
|
| H A D | SWIGPythonBridge.h | 58 python::PythonObject LLDBSwigPythonCreateScriptedProcess( 63 python::PythonObject LLDBSwigPythonCreateScriptedThread( 85 python::PythonObject 90 python::PythonObject 95 python::PythonObject LLDBSwigPythonCreateScriptedThreadPlan( 104 python::PythonObject LLDBSwigPythonCreateScriptedBreakpointResolver( 112 python::PythonObject LLDBSwigPythonCreateScriptedStopHook( 152 python::PythonObject 157 python::PythonObject
|
| H A D | ScriptedPythonInterface.cpp | 40 python::PythonObject &p, Status &error) { in ExtractValueFromPythonObject() 48 StructuredData::DictionarySP>(python::PythonObject &p, Status &error) { in ExtractValueFromPythonObject() 55 python::PythonObject &p, Status &error) { in ExtractValueFromPythonObject() 68 python::PythonObject &p, Status &error) { in ExtractValueFromPythonObject() 84 llvm::Optional<MemoryRegionInfo>>(python::PythonObject &p, Status &error) { in ExtractValueFromPythonObject()
|
| H A D | ScriptInterpreterPython.cpp | 865 PythonObject pargs( in ExecuteOneLine() 1460 PythonObject py_return( in GetRecognizedArguments() 1521 PythonObject pmeth(PyRefType::Owned, in OSPlugin_RegisterInfo() 1541 PythonObject py_return( in OSPlugin_RegisterInfo() 1576 PythonObject pmeth(PyRefType::Owned, in OSPlugin_ThreadsInfo() 1596 PythonObject py_return( in OSPlugin_ThreadsInfo() 1634 PythonObject pmeth(PyRefType::Owned, in OSPlugin_RegisterContextData() 1653 PythonObject py_return( in OSPlugin_RegisterContextData() 2469 PythonObject py_return( in GetSyntheticTypeName() 3011 PythonObject py_return( in GetShortHelpForCommandObject() [all …]
|
| H A D | ScriptInterpreterPythonImpl.h | 395 python::PythonObject &save_file, const char *mode); 397 python::PythonObject m_saved_stdin; 398 python::PythonObject m_saved_stdout; 399 python::PythonObject m_saved_stderr; 403 python::PythonObject m_run_one_line_function; 404 python::PythonObject m_run_one_line_str_global;
|
| H A D | ScriptedThreadPythonInterface.cpp | 44 PythonObject ret_val; in CreatePluginObject() 51 ret_val = PythonObject(PyRefType::Borrowed, in CreatePluginObject()
|
| H A D | ScriptedProcessPythonInterface.cpp | 45 PythonObject ret_val = LLDBSwigPythonCreateScriptedProcess( in CreatePluginObject()
|
| /llvm-project-15.0.7/lldb/bindings/python/ |
| H A D | python-swigsafecast.swig | 4 PythonObject ToSWIGHelper(void *obj, swig_type_info *info) { 10 template <typename T> class ScopedPythonObject : PythonObject { 13 : PythonObject(ToSWIGHelper(sb, info)), m_sb(sb) {} 24 const PythonObject &obj() const { return *this; } 34 PythonObject ToSWIGWrapper(lldb::ValueObjectSP value_sp) { 38 PythonObject ToSWIGWrapper(lldb::TargetSP target_sp) { 43 PythonObject ToSWIGWrapper(lldb::ProcessSP process_sp) { 70 PythonObject ToSWIGWrapper(lldb::ThreadSP thread_sp) { 75 PythonObject ToSWIGWrapper(lldb::StackFrameSP frame_sp) { 80 PythonObject ToSWIGWrapper(lldb::DebuggerSP debugger_sp) { [all …]
|
| H A D | python-wrapper.swig | 84 PythonObject result = 136 PythonObject result; 160 return PythonObject(); 184 return PythonObject(); 288 return PythonObject(); 360 PythonObject result; 405 PythonObject result = 416 return PythonObject(); 484 PythonObject result = 513 return PythonObject(); [all …]
|
| H A D | python-typemaps.swig | 70 PythonObject obj = Retain<PythonObject>($input); 78 PythonObject obj = Retain<PythonObject>($input);
|
| /llvm-project-15.0.7/lldb/unittests/ScriptInterpreter/Python/ |
| H A D | PythonTestSuite.cpp | 80 return python::PythonObject(); in LLDBSwigPythonCreateSyntheticProvider() 86 return python::PythonObject(); in LLDBSwigPythonCreateCommandObject() 93 return python::PythonObject(); in LLDBSwigPythonCreateScriptedThreadPlan() 103 python::PythonObject 107 return python::PythonObject(); in LLDBSwigPythonCreateScriptedBreakpointResolver() 189 python::PythonObject 193 return python::PythonObject(); in LLDBSWIGPythonCreateOSPlugin() 200 return python::PythonObject(); in LLDBSwigPythonCreateScriptedProcess() 207 return python::PythonObject(); in LLDBSwigPythonCreateScriptedThread() 212 return python::PythonObject(); in LLDBSWIGPython_CreateFrameRecognizer() [all …]
|
| H A D | PythonDataObjectsTests.cpp | 58 PythonObject owned_long(PyRefType::Owned, obj); in TEST_F() 62 PythonObject strong_ref(owned_long); in TEST_F() 111 PythonObject version_info_type(PyRefType::Owned, in TEST_F() 294 PythonObject list_items[list_size]; in TEST_F() 305 PythonObject chk_value1 = list.GetItemAtIndex(0); in TEST_F() 440 PythonObject py_keys[dict_entries]; in TEST_F() 441 PythonObject py_values[dict_entries]; in TEST_F() 481 PythonObject values[dict_entries]; in TEST_F() 533 PythonObject none(PyRefType::Borrowed, Py_None); in TEST_F() 546 PythonObject result = list({tuple_to_convert}); in TEST_F() [all …]
|