Home
last modified time | relevance | path

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

/openbsd-src/gnu/llvm/lldb/bindings/python/
H A Dpython-typemaps.swig12 PythonList list(PyRefType::Borrowed, $input);
39 PythonList list(PyRefType::Borrowed, $input);
156 PythonString str(PyRefType::Borrowed, $input);
160 PythonByteArray bytearray(PyRefType::Borrowed, $input);
164 PythonBytes bytes(PyRefType::Borrowed, $input);
176 PythonString str(PyRefType::Borrowed, $input);
180 PythonByteArray bytearray(PyRefType::Borrowed, $input);
184 PythonBytes bytes(PyRefType::Borrowed, $input);
377 PythonFile py_file(PyRefType::Borrowed, $input);
389 PythonFile py_file(PyRefType::Borrowed, $input);
[all …]
H A Dpython-wrapper.swig144 PythonDictionary dict(PyRefType::Borrowed, py_dict);
148 PythonCallable pfunc(PyRefType::Borrowed, pfunc_impl);
338 PythonObject self(PyRefType::Borrowed, static_cast<PyObject *>(implementor));
407 PythonObject self(PyRefType::Borrowed, static_cast<PyObject *>(implementor));
508 PythonObject self(PyRefType::Borrowed, static_cast<PyObject *>(implementor));
545 PythonObject self(PyRefType::Borrowed, static_cast<PyObject *>(implementor));
564 PythonObject self(PyRefType::Borrowed, implementor);
599 PythonObject self(PyRefType::Borrowed, implementor);
625 PythonObject self(PyRefType::Borrowed, implementor);
795 PythonObject self(PyRefType::Borrowed, implementor);
[all …]
H A Dpython-swigsafecast.swig5 return {PyRefType::Owned, SWIG_NewPointerObj(obj, info, SWIG_POINTER_OWN)};
/openbsd-src/gnu/llvm/lldb/source/Plugins/ScriptInterpreter/Python/
H A DPythonDataObjects.h102 enum class PyRefType { enum
123 T thing(PyRefType::Owned, obj); in Take()
141 T thing(PyRefType::Borrowed, obj); in Retain()
228 PythonObject(PyRefType type, PyObject *py_obj) {
234 if (m_py_obj && Py_IsInitialized() && type == PyRefType::Borrowed)
239 : PythonObject(PyRefType::Borrowed, rhs.m_py_obj) {}
309 return T(PyRefType::Borrowed, m_py_obj);
382 return T(PyRefType::Borrowed, std::move(obj.get().get()));
400 TypedPythonObject(PyRefType type, PyObject *py_obj) {
405 else if (type == PyRefType::Owned)
[all …]
H A DPythonDataObjects.cpp186 return PythonString(PyRefType::Owned, repr); in Repr()
195 return PythonString(PyRefType::Owned, str); in Str()
257 return PythonObject(PyRefType::Owned, in GetAttributeValue()
265 return PythonDictionary(PyRefType::Borrowed, m_py_obj) in CreateStructuredObject()
268 return PythonBoolean(PyRefType::Borrowed, m_py_obj) in CreateStructuredObject()
271 return PythonInteger(PyRefType::Borrowed, m_py_obj) in CreateStructuredObject()
274 return PythonList(PyRefType::Borrowed, m_py_obj).CreateStructuredArray(); in CreateStructuredObject()
276 return PythonString(PyRefType::Borrowed, m_py_obj).CreateStructuredString(); in CreateStructuredObject()
278 return PythonBytes(PyRefType::Borrowed, m_py_obj).CreateStructuredString(); in CreateStructuredObject()
280 return PythonByteArray(PyRefType::Borrowed, m_py_obj) in CreateStructuredObject()
[all …]
H A DScriptedPythonInterface.cpp34 python::PythonList result_list(python::PyRefType::Borrowed, p.get()); in ExtractValueFromPythonObject()
42 python::PythonDictionary result_dict(python::PyRefType::Borrowed, p.get()); in ExtractValueFromPythonObject()
H A DScriptInterpreterPython.cpp734 PythonDictionary main_dict(PyRefType::Borrowed, in GetSessionDictionary()
798 PythonObject module(PyRefType::Borrowed, in GetEmbeddedInterpreterModuleObjects()
803 PythonDictionary module_dict(PyRefType::Borrowed, in GetEmbeddedInterpreterModuleObjects()
870 PyRefType::Owned, in ExecuteOneLine()
874 PyRefType::Owned, in ExecuteOneLine()
1456 PythonObject implementor(PyRefType::Borrowed, in GetRecognizedArguments()
1463 PyRefType::Owned, in GetRecognizedArguments()
1472 PythonList result_list(PyRefType::Borrowed, py_return.get()); in GetRecognizedArguments()
1515 PythonObject implementor(PyRefType::Borrowed, in OSPlugin_RegisterInfo()
1532 PythonDictionary result_dict(PyRefType::Borrowed, py_return.get()); in OSPlugin_RegisterInfo()
[all …]
H A DScriptedThreadPythonInterface.cpp53 ret_val = PythonObject(PyRefType::Borrowed, in CreatePluginObject()
H A DScriptedPythonInterface.h57 PythonObject implementor(PyRefType::Borrowed, in Dispatch()
/openbsd-src/gnu/llvm/lldb/bindings/interface/
H A DSBTarget.i597 PythonList list(PyRefType::Borrowed, $input);