Home
last modified time | relevance | path

Searched refs:PythonObject (Results 1 – 10 of 10) sorted by relevance

/freebsd-14.2/contrib/llvm-project/lldb/source/Plugins/ScriptInterpreter/Python/
H A DSWIGPythonBridge.h46 template <typename T> class ScopedPythonObject : PythonObject {
49 : PythonObject(ToSWIGHelper(sb, info)), m_sb(sb) {} in ScopedPythonObject()
60 const PythonObject &obj() const { return *this; } in obj()
88 static PythonObject ToSWIGWrapper(const Status &status);
105 static PythonObject
107 static PythonObject
109 static PythonObject
139 static python::PythonObject
144 static python::PythonObject
220 static python::PythonObject
[all …]
H A DPythonDataObjects.h66 class PythonObject; variable
225 class PythonObject {
227 PythonObject() = default;
239 PythonObject(const PythonObject &rhs)
242 PythonObject(PythonObject &&rhs) {
268 PythonObject &operator=(PythonObject other) {
414 PythonObject::operator=(PythonObject(type, py_obj));
571 PythonObject GetItemForKey(const PythonObject &key) const; // DEPRECATED
575 llvm::Expected<PythonObject> GetItem(const PythonObject &key) const;
577 llvm::Error SetItem(const PythonObject &key, const PythonObject &value) const;
[all …]
H A DPythonDataObjects.cpp83 void PythonObject::Reset() { in Reset()
202 PythonObject
218 PythonObject PythonObject::ResolveName(llvm::StringRef name) const { in ResolveName()
240 return PythonObject(); in ResolveName()
253 PythonObject PythonObject::GetAttributeValue(llvm::StringRef attr) const { in GetAttributeValue()
255 return PythonObject(); in GetAttributeValue()
259 return PythonObject(); in GetAttributeValue()
551 return PythonObject(); in GetItemAtIndex()
630 return PythonObject(); in GetItemAtIndex()
692 PythonObject PythonDictionary::GetItemForKey(const PythonObject &key) const { in GetItemForKey()
[all …]
H A DScriptInterpreterPython.cpp739 PythonObject &main_module = GetMainModule(); in GetSessionDictionary()
807 PythonObject module(PyRefType::Borrowed, in GetEmbeddedInterpreterModuleObjects()
878 PythonObject pargs( in ExecuteOneLine()
882 PythonObject return_value( in ExecuteOneLine()
1010 Expected<PythonObject> maybe_py_return = in ExecuteOneLineWithReturn()
1134 Expected<PythonObject> return_value = in ExecuteMultipleLines()
1494 PythonObject implementor(PyRefType::Borrowed, in GetRecognizedArguments()
1500 PythonObject py_return(PyRefType::Owned, in GetRecognizedArguments()
1689 PythonObject ret_val = in CreateScriptedBreakpointResolver()
2297 PythonObject implementor(PyRefType::Borrowed, in GetSyntheticTypeName()
[all …]
H A DScriptInterpreterPythonImpl.h405 python::PythonObject &save_file, const char *mode);
407 python::PythonObject m_saved_stdin;
408 python::PythonObject m_saved_stdout;
409 python::PythonObject m_saved_stderr;
413 python::PythonObject m_run_one_line_function;
414 python::PythonObject m_run_one_line_str_global;
/freebsd-14.2/contrib/llvm-project/lldb/bindings/python/
H A Dpython-swigsafecast.swig4 PythonObject ToSWIGHelper(void *obj, swig_type_info *info) {
12 PythonObject SWIGBridge::ToSWIGWrapper(lldb::ValueObjectSP value_sp) {
16 PythonObject SWIGBridge::ToSWIGWrapper(lldb::TargetSP target_sp) {
21 PythonObject SWIGBridge::ToSWIGWrapper(lldb::ProcessSP process_sp) {
36 PythonObject SWIGBridge::ToSWIGWrapper(const Status& status) {
52 PythonObject SWIGBridge::ToSWIGWrapper(lldb::ThreadSP thread_sp) {
57 PythonObject SWIGBridge::ToSWIGWrapper(lldb::StackFrameSP frame_sp) {
62 PythonObject SWIGBridge::ToSWIGWrapper(lldb::DebuggerSP debugger_sp) {
91 PythonObject SWIGBridge::ToSWIGWrapper(const SymbolContext &sym_ctx) {
123 PythonObject SWIGBridge::ToSWIGWrapper(
[all …]
H A Dpython-wrapper.swig84 PythonObject result =
111 PythonObject result =
162 PythonObject result;
210 return PythonObject();
301 PythonObject result;
343 PythonObject result;
378 PythonObject result =
389 return PythonObject();
457 PythonObject result =
486 return PythonObject();
[all …]
H A Dpython-typemaps.swig63 PythonObject obj(PyRefType::Borrowed, $input);
76 PythonObject obj(PyRefType::Borrowed, $input);
156 PythonObject obj = Retain<PythonObject>($input);
164 PythonObject obj = Retain<PythonObject>($input);
/freebsd-14.2/contrib/llvm-project/lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/
H A DScriptedPythonInterface.h100 PythonObject result = {}; in CreatePluginObject()
103 result = PythonObject(PyRefType::Borrowed, in CreatePluginObject()
166 PythonObject object_class_mapping_proxy = in CreatePluginObject()
247 PythonObject implementor(PyRefType::Borrowed, in Dispatch()
304 python::PythonObject Transform(bool arg) { in Transform()
309 python::PythonObject Transform(Status arg) { in Transform()
321 python::PythonObject Transform(lldb::ProcessSP arg) { in Transform()
419 python::PythonObject &p, Status &error);
428 python::PythonObject &p, Status &error);
433 python::PythonObject &p, Status &error);
[all …]
H A DScriptedPythonInterface.cpp32 python::PythonObject &p, Status &error) { in ExtractValueFromPythonObject()
40 StructuredData::DictionarySP>(python::PythonObject &p, Status &error) { in ExtractValueFromPythonObject()
47 python::PythonObject &p, Status &error) { in ExtractValueFromPythonObject()
60 python::PythonObject &p, Status &error) { in ExtractValueFromPythonObject()
76 python::PythonObject &p, Status &error) { in ExtractValueFromPythonObject()
91 lldb::ProcessAttachInfoSP>(python::PythonObject &p, Status &error) { in ExtractValueFromPythonObject()
106 lldb::ProcessLaunchInfoSP>(python::PythonObject &p, Status &error) { in ExtractValueFromPythonObject()
122 std::optional<MemoryRegionInfo>>(python::PythonObject &p, Status &error) { in ExtractValueFromPythonObject()