Searched refs:PyRefType (Results 1 – 7 of 7) sorted by relevance
/external/llvm-project/lldb/bindings/python/ |
D | python-wrapper.swig | 67 PythonObject frame_arg(PyRefType::Owned, SBTypeToSWIGWrapper(sb_frame)); 68 PythonObject bp_loc_arg(PyRefType::Owned, SBTypeToSWIGWrapper(sb_bp_loc)); 76 PythonObject args_arg(PyRefType::Owned, SBTypeToSWIGWrapper(args_value)); 113 PythonObject frame_arg(PyRefType::Owned, SBTypeToSWIGWrapper(sb_frame)); 114 PythonObject wp_arg(PyRefType::Owned, SBTypeToSWIGWrapper(sb_wp)); 158 PythonDictionary dict(PyRefType::Borrowed, py_dict); 162 PythonCallable pfunc(PyRefType::Borrowed, pfunc_impl); 184 PythonObject value_arg(PyRefType::Owned, SBTypeToSWIGWrapper(sb_value)); 185 PythonObject options_arg(PyRefType::Owned, SBTypeToSWIGWrapper(sb_options)); 221 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 …]
|
/external/llvm-project/lldb/unittests/ScriptInterpreter/Python/ |
D | PythonDataObjectsTests.cpp | 58 PythonObject owned_long(PyRefType::Owned, obj); in TEST_F() 84 PythonInteger long_value(PyRefType::Owned, PyLong_FromLong(3)); in TEST_F() 88 PythonInteger borrowed_long(PyRefType::Borrowed, long_value.get()); in TEST_F() 111 PythonObject version_info_type(PyRefType::Owned, in TEST_F() 172 PythonInteger python_int(PyRefType::Owned, py_int); in TEST_F() 182 PythonInteger python_long(PyRefType::Owned, py_long); in TEST_F() 200 PythonBoolean python_true(PyRefType::Owned, Py_True); in TEST_F() 205 PythonBoolean python_false(PyRefType::Owned, Py_False); in TEST_F() 211 PythonBoolean python_boolean(PyRefType::Owned, py_bool); in TEST_F() 226 PythonBytes python_bytes(PyRefType::Owned, py_bytes); in TEST_F() [all …]
|
/external/llvm-project/lldb/source/Plugins/ScriptInterpreter/Python/ |
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 | 830 PythonDictionary main_dict(PyRefType::Borrowed, in GetSessionDictionary() 894 PythonObject module(PyRefType::Borrowed, in GetEmbeddedInterpreterModuleObjects() 899 PythonDictionary module_dict(PyRefType::Borrowed, in GetEmbeddedInterpreterModuleObjects() 966 PyRefType::Owned, in ExecuteOneLine() 970 PyRefType::Owned, in ExecuteOneLine() 1519 PythonObject implementor(PyRefType::Borrowed, in GetRecognizedArguments() 1525 PythonObject py_return(PyRefType::Owned, in GetRecognizedArguments() 1535 PythonList result_list(PyRefType::Borrowed, py_return.get()); in GetRecognizedArguments() 1584 PythonObject implementor(PyRefType::Borrowed, in OSPlugin_RegisterInfo() 1590 PythonObject pmeth(PyRefType::Owned, in OSPlugin_RegisterInfo() [all …]
|
/external/llvm-project/lldb/bindings/interface/ |
D | SBTarget.i | 603 PythonList list(PyRefType::Borrowed, $input);
|