Searched refs:PyRefType (Results 1 – 12 of 12) sorted by relevance
/freebsd/contrib/llvm-project/lldb/source/Plugins/ScriptInterpreter/Python/ |
H A D | PythonDataObjects.h | 102 enum class PyRefType { enum 123 T thing(PyRefType::Owned, obj); in Take() 141 T thing(PyRefType::Borrowed, obj); in Retain() 231 PythonObject(PyRefType type, PyObject *py_obj) { 237 if (m_py_obj && Py_IsInitialized() && type == PyRefType::Borrowed) 242 : PythonObject(PyRefType::Borrowed, rhs.m_py_obj) {} 312 return T(PyRefType::Borrowed, m_py_obj); 394 return T(PyRefType::Borrowed, std::move(obj.get().get())); 412 TypedPythonObject(PyRefType type, PyObject *py_obj) { 417 else if (type == PyRefType::Owned) [all …]
|
H A D | PythonDataObjects.cpp | 190 return PythonString(PyRefType::Owned, repr); in Repr() 199 return PythonString(PyRefType::Owned, str); in Str() 261 return PythonObject(PyRefType::Owned, in GetAttributeValue() 269 return PythonDictionary(PyRefType::Borrowed, m_py_obj) in CreateStructuredObject() 272 return PythonBoolean(PyRefType::Borrowed, m_py_obj) in CreateStructuredObject() 276 PythonInteger(PyRefType::Borrowed, m_py_obj).CreateStructuredInteger(); in CreateStructuredObject() 284 return PythonList(PyRefType::Borrowed, m_py_obj).CreateStructuredArray(); in CreateStructuredObject() 286 return PythonString(PyRefType::Borrowed, m_py_obj).CreateStructuredString(); in CreateStructuredObject() 288 return PythonBytes(PyRefType::Borrowed, m_py_obj).CreateStructuredString(); in CreateStructuredObject() 290 return PythonByteArray(PyRefType::Borrowed, m_py_obj) in CreateStructuredObject() [all …]
|
H A D | ScriptInterpreterPython.cpp | 748 PythonDictionary main_dict(PyRefType::Borrowed, in GetSessionDictionary() 812 PythonObject module(PyRefType::Borrowed, in GetEmbeddedInterpreterModuleObjects() 817 PythonDictionary module_dict(PyRefType::Borrowed, in GetEmbeddedInterpreterModuleObjects() 884 PyRefType::Owned, in ExecuteOneLine() 888 PyRefType::Owned, in ExecuteOneLine() 1499 PythonObject implementor(PyRefType::Borrowed, in GetRecognizedArguments() 1505 PythonObject py_return(PyRefType::Owned, in GetRecognizedArguments() 1515 PythonList result_list(PyRefType::Borrowed, py_return.get()); in GetRecognizedArguments() 1555 PythonObject py_obj(PyRefType::Borrowed, static_cast<PyObject *>(ptr)); in CreateStructuredDataFromScriptObject() 1892 PythonObject(PyRefType::Borrowed, static_cast<PyObject *>(new_callee))); in GetScriptedSummary() [all …]
|
H A D | ScriptedPythonInterface.cpp |
|
H A D | ScriptedPythonInterface.h |
|
H A D | ScriptedThreadPythonInterface.cpp |
|
/freebsd/contrib/llvm-project/lldb/bindings/python/ |
H A D | python-typemaps.swig | 18 PythonList list(PyRefType::Borrowed, $input); 44 PythonList list(PyRefType::Borrowed, $input); 63 PythonObject obj(PyRefType::Borrowed, $input); 76 PythonObject obj(PyRefType::Borrowed, $input); 242 PythonString str(PyRefType::Borrowed, $input); 246 PythonByteArray bytearray(PyRefType::Borrowed, $input); 250 PythonBytes bytes(PyRefType::Borrowed, $input); 263 PythonString str(PyRefType::Borrowed, $input); 267 PythonByteArray bytearray(PyRefType::Borrowed, $input); 271 PythonBytes bytes(PyRefType::Borrowed, $input); [all …]
|
H A D | python-wrapper.swig | 144 PythonDictionary dict(PyRefType::Borrowed, py_dict); 148 PythonCallable pfunc(PyRefType::Borrowed, pfunc_impl); 269 PythonObject self(PyRefType::Borrowed, static_cast<PyObject *>(implementor)); 370 PythonObject self(PyRefType::Borrowed, static_cast<PyObject *>(implementor)); 407 PythonObject self(PyRefType::Borrowed, static_cast<PyObject *>(implementor)); 426 PythonObject self(PyRefType::Borrowed, implementor); 461 PythonObject self(PyRefType::Borrowed, implementor); 487 PythonObject self(PyRefType::Borrowed, implementor); 717 PythonObject self(PyRefType::Borrowed, implementor); 736 PythonObject self(PyRefType::Borrowed, implementor); [all …]
|
H A D | python-swigsafecast.swig | 5 return {PyRefType::Owned, SWIG_NewPointerObj(obj, info, SWIG_POINTER_OWN)};
|
/freebsd/contrib/llvm-project/lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/ |
H A D | ScriptedPythonInterface.cpp | 33 python::PythonList result_list(python::PyRefType::Borrowed, p.get()); in ExtractValueFromPythonObject() 41 python::PythonDictionary result_dict(python::PyRefType::Borrowed, p.get()); in ExtractValueFromPythonObject()
|
H A D | ScriptedPythonInterface.h | 103 result = PythonObject(PyRefType::Borrowed, in CreatePluginObject() 247 PythonObject implementor(PyRefType::Borrowed, in Dispatch() 367 python::PyRefType::Borrowed, transformed_arg.get()); in ReverseTransform()
|
/freebsd/contrib/llvm-project/lldb/bindings/interface/ |
H A D | SBTargetExtensions.i | 6 PythonList list(PyRefType::Borrowed, $input);
|