Searched refs:PyRefType (Results 1 – 7 of 7) sorted by relevance
| /freebsd-12-stable/contrib/llvm-project/lldb/bindings/python/ |
| D | python-wrapper.swig | 78 PythonObject frame_arg(PyRefType::Owned, SBTypeToSWIGWrapper(sb_frame)); 79 PythonObject bp_loc_arg(PyRefType::Owned, SBTypeToSWIGWrapper(sb_bp_loc)); 87 PythonObject args_arg(PyRefType::Owned, SBTypeToSWIGWrapper(args_value)); 130 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); 201 PythonObject value_arg(PyRefType::Owned, SBTypeToSWIGWrapper(sb_value)); 202 PythonObject options_arg(PyRefType::Owned, SBTypeToSWIGWrapper(sb_options)); 238 PythonObject val_arg(PyRefType::Owned, SBTypeToSWIGWrapper(sb_value)); [all …]
|
| D | python-typemaps.swig | 12 PythonList list(PyRefType::Borrowed, $input); 39 PythonList list(PyRefType::Borrowed, $input); 155 PythonString str(PyRefType::Borrowed, $input); 160 PythonByteArray bytearray(PyRefType::Borrowed, $input); 165 PythonBytes bytes(PyRefType::Borrowed, $input); 178 PythonString str(PyRefType::Borrowed, $input); 183 PythonByteArray bytearray(PyRefType::Borrowed, $input); 188 PythonBytes bytes(PyRefType::Borrowed, $input); 384 PythonFile py_file(PyRefType::Borrowed, $input); 396 PythonFile py_file(PyRefType::Borrowed, $input); [all …]
|
| /freebsd-12-stable/contrib/llvm-project/lldb/source/Plugins/ScriptInterpreter/Python/ |
| D | ScriptedProcessPythonInterface.cpp | 89 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()
|
| D | PythonDataObjects.cpp | 77 PythonInteger i(PyRefType::Borrowed, m_py_obj); in AsLongLong() 93 PythonInteger i(PyRefType::Borrowed, m_py_obj); in AsUnsignedLongLong() 110 PythonInteger i(PyRefType::Borrowed, m_py_obj); in AsModuloUnsignedLongLong() 184 return PythonString(PyRefType::Owned, repr); in Repr() 193 return PythonString(PyRefType::Owned, str); in Str() 255 return PythonObject(PyRefType::Owned, in GetAttributeValue() 262 return PythonDictionary(PyRefType::Borrowed, m_py_obj) in CreateStructuredObject() 265 return PythonBoolean(PyRefType::Borrowed, m_py_obj) in CreateStructuredObject() 268 return PythonInteger(PyRefType::Borrowed, m_py_obj) in CreateStructuredObject() 271 return PythonList(PyRefType::Borrowed, m_py_obj).CreateStructuredArray(); in CreateStructuredObject() [all …]
|
| D | PythonDataObjects.h | 114 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) { 240 if (m_py_obj && Py_IsInitialized() && type == PyRefType::Borrowed) 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())); 412 static void Convert(PyRefType &type, PyObject *&py_obj) {} 414 TypedPythonObject(PyRefType type, PyObject *py_obj) { [all …]
|
| D | ScriptInterpreterPython.cpp | 859 PythonDictionary main_dict(PyRefType::Borrowed, in GetSessionDictionary() 923 PythonObject module(PyRefType::Borrowed, in GetEmbeddedInterpreterModuleObjects() 928 PythonDictionary module_dict(PyRefType::Borrowed, in GetEmbeddedInterpreterModuleObjects() 995 PyRefType::Owned, in ExecuteOneLine() 999 PyRefType::Owned, in ExecuteOneLine() 1570 PythonObject implementor(PyRefType::Borrowed, in GetRecognizedArguments() 1576 PythonObject py_return(PyRefType::Owned, in GetRecognizedArguments() 1586 PythonList result_list(PyRefType::Borrowed, py_return.get()); in GetRecognizedArguments() 1635 PythonObject implementor(PyRefType::Borrowed, in OSPlugin_RegisterInfo() 1641 PythonObject pmeth(PyRefType::Owned, in OSPlugin_RegisterInfo() [all …]
|
| /freebsd-12-stable/contrib/llvm-project/lldb/bindings/interface/ |
| D | SBTarget.i | 591 PythonList list(PyRefType::Borrowed, $input);
|