Home
last modified time | relevance | path

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

/freebsd-13.1/contrib/llvm-project/lldb/source/Plugins/ScriptInterpreter/Python/
H A DScriptedProcessPythonInterface.cpp89 PythonObject implementor(PyRefType::Borrowed, in GetStatusFromMethod()
96 PyRefType::Owned, in GetStatusFromMethod()
114 PythonObject py_return(PyRefType::Owned, in GetStatusFromMethod()
153 PythonObject implementor(PyRefType::Borrowed, in GetGenericInteger()
160 PyRefType::Owned, 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()
H A DPythonDataObjects.cpp184 return PythonString(PyRefType::Owned, repr); in Repr()
193 return PythonString(PyRefType::Owned, str); in Str()
255 return PythonObject(PyRefType::Owned, in GetAttributeValue()
406 if (type == PyRefType::Owned) in Convert()
410 if (type == PyRefType::Owned) in Convert()
413 type = PyRefType::Owned; in Convert()
514 if (type == PyRefType::Owned) in Convert()
518 if (type == PyRefType::Owned) in Convert()
521 type = PyRefType::Owned; in Convert()
960 return PythonObject(PyRefType::Owned, in operator ()()
[all …]
H A DPythonDataObjects.h114 enum class PyRefType { enum
135 T thing(PyRefType::Owned, obj); in Take()
153 T thing(PyRefType::Borrowed, obj); in Retain()
234 PythonObject(PyRefType type, PyObject *py_obj) {
245 : PythonObject(PyRefType::Borrowed, rhs.m_py_obj) {}
319 return T(PyRefType::Borrowed, m_py_obj);
392 return T(PyRefType::Borrowed, std::move(obj.get().get()));
414 TypedPythonObject(PyRefType type, PyObject *py_obj) {
420 else if (type == PyRefType::Owned)
472 static void Convert(PyRefType &type, PyObject *&py_obj);
[all …]
H A DScriptInterpreterPython.cpp995 PyRefType::Owned, in ExecuteOneLine()
999 PyRefType::Owned, in ExecuteOneLine()
1641 PythonObject pmeth(PyRefType::Owned, in OSPlugin_RegisterInfo()
1662 PyRefType::Owned, in OSPlugin_RegisterInfo()
1696 PythonObject pmeth(PyRefType::Owned, in OSPlugin_ThreadsInfo()
1717 PyRefType::Owned, in OSPlugin_ThreadsInfo()
1754 PythonObject pmeth(PyRefType::Owned, in OSPlugin_RegisterContextData()
1774 PyRefType::Owned, in OSPlugin_RegisterContextData()
2600 PyRefType::Owned, in GetSyntheticTypeName()
3145 PyRefType::Owned, in GetShortHelpForCommandObject()
[all …]
/freebsd-13.1/contrib/llvm-project/lldb/bindings/python/
H A Dpython-wrapper.swig78 PythonObject frame_arg(PyRefType::Owned, SBTypeToSWIGWrapper(sb_frame));
131 PythonObject wp_arg(PyRefType::Owned, SBTypeToSWIGWrapper(sb_wp));
175 PythonDictionary dict(PyRefType::Borrowed, py_dict);
179 PythonCallable pfunc(PyRefType::Borrowed, pfunc_impl);
238 PythonObject val_arg(PyRefType::Owned, SBTypeToSWIGWrapper(sb_value));
652 PythonObject sb_stream_arg(PyRefType::Owned,
712 PythonObject self(PyRefType::Borrowed, implementor);
752 PythonObject self(PyRefType::Borrowed, implementor);
782 PythonObject self(PyRefType::Borrowed, implementor);
978 PythonObject self(PyRefType::Borrowed, implementor);
[all …]
H A Dpython-typemaps.swig12 PythonList list(PyRefType::Borrowed, $input);
39 PythonList list(PyRefType::Borrowed, $input);
155 PythonString str(PyRefType::Borrowed, $input);
165 PythonBytes bytes(PyRefType::Borrowed, $input);
178 PythonString str(PyRefType::Borrowed, $input);
188 PythonBytes bytes(PyRefType::Borrowed, $input);
384 PythonFile py_file(PyRefType::Borrowed, $input);
396 PythonFile py_file(PyRefType::Borrowed, $input);
408 PythonFile py_file(PyRefType::Borrowed, $input);
420 PythonFile py_file(PyRefType::Borrowed, $input);
[all …]
/freebsd-13.1/contrib/llvm-project/lldb/bindings/interface/
H A DSBTarget.i591 PythonList list(PyRefType::Borrowed, $input);