Searched refs:PythonObject (Results 1 – 7 of 7) sorted by relevance
| /freebsd-12-stable/contrib/llvm-project/lldb/source/Plugins/ScriptInterpreter/Python/ |
| D | PythonDataObjects.h | 66 class PythonObject; variable 225 T, typename std::enable_if<std::is_base_of<PythonObject, T>::value>::type> { 230 class PythonObject { 232 PythonObject() = default; 234 PythonObject(PyRefType type, PyObject *py_obj) { 244 PythonObject(const PythonObject &rhs) 245 : PythonObject(PyRefType::Borrowed, rhs.m_py_obj) {} 247 PythonObject(PythonObject &&rhs) { 252 ~PythonObject() { Reset(); } 277 PythonObject &operator=(PythonObject other) { [all …]
|
| D | PythonDataObjects.cpp | 37 template <> Expected<bool> python::As<bool>(Expected<PythonObject> &&obj) { in As() 44 Expected<long long> python::As<long long>(Expected<PythonObject> &&obj) { in As() 52 python::As<unsigned long long>(Expected<PythonObject> &&obj) { in As() 59 Expected<std::string> python::As<std::string>(Expected<PythonObject> &&obj) { in As() 72 Expected<long long> PythonObject::AsLongLong() const { in AsLongLong() 88 Expected<long long> PythonObject::AsUnsignedLongLong() const { in AsUnsignedLongLong() 105 Expected<unsigned long long> PythonObject::AsModuloUnsignedLongLong() const { in AsModuloUnsignedLongLong() 127 void PythonObject::Dump(Stream &strm) const { in Dump() 147 PyObjectType PythonObject::GetObjectType() const { in GetObjectType() 178 PythonString PythonObject::Repr() const { in Repr() [all …]
|
| D | ScriptedProcessPythonInterface.cpp | 89 PythonObject implementor(PyRefType::Borrowed, in GetStatusFromMethod() 95 PythonObject pmeth( in GetStatusFromMethod() 114 PythonObject py_return(PyRefType::Owned, in GetStatusFromMethod() 153 PythonObject implementor(PyRefType::Borrowed, in GetGenericInteger() 159 PythonObject pmeth( in GetGenericInteger() 178 PythonObject py_return(PyRefType::Owned, in GetGenericInteger() 238 PythonObject implementor(PyRefType::Borrowed, in ReadMemoryAtAddress() 244 PythonObject pmeth(PyRefType::Owned, in ReadMemoryAtAddress() 262 PythonObject py_return(PyRefType::Owned, in ReadMemoryAtAddress()
|
| D | ScriptInterpreterPython.cpp | 737 PythonObject &save_file, in SetStdHandle() 855 PythonObject &main_module = GetMainModule(); in GetSessionDictionary() 890 auto pfunc = PythonObject::ResolveNameWithDictionary<PythonCallable>( in GetMaxPositionalArgumentsForCallable() 923 PythonObject module(PyRefType::Borrowed, in GetEmbeddedInterpreterModuleObjects() 994 PythonObject pargs( in ExecuteOneLine() 998 PythonObject return_value( in ExecuteOneLine() 1109 Expected<PythonObject> maybe_py_return = in ExecuteOneLineWithReturn() 1128 PythonObject py_return = std::move(maybe_py_return.get()); in ExecuteOneLineWithReturn() 1233 Expected<PythonObject> return_value = in ExecuteMultipleLines() 1570 PythonObject implementor(PyRefType::Borrowed, in GetRecognizedArguments() [all …]
|
| D | ScriptInterpreterPythonImpl.h | 396 python::PythonObject &save_file, const char *mode); 398 python::PythonObject m_saved_stdin; 399 python::PythonObject m_saved_stdout; 400 python::PythonObject m_saved_stderr; 404 python::PythonObject m_run_one_line_function; 405 python::PythonObject m_run_one_line_str_global;
|
| /freebsd-12-stable/contrib/llvm-project/lldb/bindings/python/ |
| D | python-wrapper.swig | 70 … auto pfunc = PythonObject::ResolveNameWithDictionary<PythonCallable>(python_function_name, dict); 78 PythonObject frame_arg(PyRefType::Owned, SBTypeToSWIGWrapper(sb_frame)); 79 PythonObject bp_loc_arg(PyRefType::Owned, SBTypeToSWIGWrapper(sb_bp_loc)); 81 auto result = [&] () -> Expected<PythonObject> { 87 PythonObject args_arg(PyRefType::Owned, SBTypeToSWIGWrapper(args_value)); 125 … auto pfunc = PythonObject::ResolveNameWithDictionary<PythonCallable>(python_function_name, dict); 130 PythonObject frame_arg(PyRefType::Owned, SBTypeToSWIGWrapper(sb_frame)); 131 PythonObject wp_arg(PyRefType::Owned, SBTypeToSWIGWrapper(sb_wp)); 132 PythonObject result = pfunc(frame_arg, wp_arg, dict); 183 pfunc = PythonObject::ResolveNameWithDictionary<PythonCallable>(python_function_name, dict); [all …]
|
| D | python-typemaps.swig | 69 PythonObject obj = Retain<PythonObject>($input); 77 PythonObject obj = Retain<PythonObject>($input);
|