reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

gen/tools/lldb/scripts/LLDBWrapPython.cpp
 8402       PythonInteger py_int(PyRefType::Borrowed, obj1);
10543       PythonInteger py_int(PyRefType::Borrowed, obj1);
11593       PythonInteger py_int(PyRefType::Borrowed, obj1);
15593     PythonFile py_file(PyRefType::Borrowed, obj1);
15686     PythonFile py_file(PyRefType::Borrowed, obj1);
16302     PythonFile py_file(PyRefType::Borrowed, obj1);
16340     PythonFile py_file(PyRefType::Borrowed, obj1);
16382     PythonFile py_file(PyRefType::Borrowed, obj1);
16509     PythonFile py_file(PyRefType::Borrowed, obj1);
16640       PythonString py_str(PyRefType::Borrowed, obj1);
19366       PythonString str(PyRefType::Borrowed, obj2);
19371       PythonByteArray bytearray(PyRefType::Borrowed, obj2);
19376       PythonBytes bytes(PyRefType::Borrowed, obj2);
21011     PythonFile py_file(PyRefType::Borrowed, obj1);
21104     PythonFile py_file(PyRefType::Borrowed, obj1);
21197     PythonFile py_file(PyRefType::Borrowed, obj1);
21565     PythonFile py_file(PyRefType::Borrowed, obj3);
21576     PythonFile py_file(PyRefType::Borrowed, obj4);
22827       PythonInteger py_int(PyRefType::Borrowed, obj0);
22881       PythonInteger py_int(PyRefType::Borrowed, obj0);
22918       PythonInteger py_int(PyRefType::Borrowed, obj0);
22974       PythonList list(PyRefType::Borrowed, obj2);
23078       PythonString str(PyRefType::Borrowed, obj1);
23083       PythonByteArray bytearray(PyRefType::Borrowed, obj1);
23088       PythonBytes bytes(PyRefType::Borrowed, obj1);
25671       PythonString str(PyRefType::Borrowed, obj1);
25676       PythonByteArray bytearray(PyRefType::Borrowed, obj1);
25681       PythonBytes bytes(PyRefType::Borrowed, obj1);
29194     PythonFile py_file(PyRefType::Borrowed, obj0);
29284     PythonFile py_file(PyRefType::Borrowed, obj0);
29314     PythonFile py_file(PyRefType::Borrowed, obj0);
29344     PythonFile py_file(PyRefType::Borrowed, obj0);
33848     PythonFile py_file(PyRefType::Borrowed, obj1);
34527     PythonFile py_file(PyRefType::Borrowed, obj1);
34822       PythonList list(PyRefType::Borrowed, obj0);
35283       PythonList list(PyRefType::Borrowed, obj1);
35411       PythonList list(PyRefType::Borrowed, obj1);
43717       PythonString str(PyRefType::Borrowed, obj1);
43722       PythonByteArray bytearray(PyRefType::Borrowed, obj1);
43727       PythonBytes bytes(PyRefType::Borrowed, obj1);
43992     PythonFile py_file(PyRefType::Borrowed, obj2);
44225       PythonList list(PyRefType::Borrowed, obj1);
44250       PythonList list(PyRefType::Borrowed, obj2);
44422       PythonInteger py_int(PyRefType::Borrowed, obj1);
44527       PythonInteger py_int(PyRefType::Borrowed, obj1);
44610       PythonInteger py_int(PyRefType::Borrowed, obj1);
45314       PythonString str(PyRefType::Borrowed, obj2);
45319       PythonByteArray bytearray(PyRefType::Borrowed, obj2);
45324       PythonBytes bytes(PyRefType::Borrowed, obj2);
49106     PythonFile py_file(PyRefType::Borrowed, obj1);
49222     PythonFile py_file(PyRefType::Borrowed, obj1);
49601       PythonList list(PyRefType::Borrowed, obj1);
49718           PythonList list(PyRefType::Borrowed, argv[1]);
52963       PythonList list(PyRefType::Borrowed, obj2);
52988       PythonList list(PyRefType::Borrowed, obj3);
53106       PythonList list(PyRefType::Borrowed, obj1);
53131       PythonList list(PyRefType::Borrowed, obj2);
53279             PythonList list(PyRefType::Borrowed, argv[2]);
53299               PythonList list(PyRefType::Borrowed, argv[3]);
56325       PythonList list(PyRefType::Borrowed, obj1);
56417       PythonList list(PyRefType::Borrowed, obj1);
56518       PythonList list(PyRefType::Borrowed, obj1);
56605           PythonList list(PyRefType::Borrowed, argv[1]);
56649           PythonList list(PyRefType::Borrowed, argv[1]);
56699           PythonList list(PyRefType::Borrowed, argv[1]);
59171       PythonString str(PyRefType::Borrowed, obj2);
59176       PythonByteArray bytearray(PyRefType::Borrowed, obj2);
59181       PythonBytes bytes(PyRefType::Borrowed, obj2);
59248       PythonString str(PyRefType::Borrowed, obj3);
59253       PythonByteArray bytearray(PyRefType::Borrowed, obj3);
59258       PythonBytes bytes(PyRefType::Borrowed, obj3);
64348       PythonInteger py_int(PyRefType::Borrowed, obj4);
64438       PythonInteger py_int(PyRefType::Borrowed, obj4);
64500       PythonInteger py_int(PyRefType::Borrowed, obj2);
64970       PythonInteger py_int(PyRefType::Borrowed, obj1);
79663     PythonDictionary dict(PyRefType::Borrowed, py_dict);
79667     PythonCallable pfunc(PyRefType::Borrowed, pfunc_impl);
79836     PythonObject self(PyRefType::Borrowed, static_cast<PyObject*>(implementor));
79923     PythonObject self(PyRefType::Borrowed, static_cast<PyObject*>(implementor));
79974     PythonObject self(PyRefType::Borrowed, static_cast<PyObject*>(implementor));
79999     PythonObject self(PyRefType::Borrowed, implementor);
80048     PythonObject self(PyRefType::Borrowed, implementor);
80078     PythonObject self(PyRefType::Borrowed, implementor);
80241     PythonObject self(PyRefType::Borrowed, implementor);
80343     PythonObject py_module(PyRefType::Borrowed, (PyObject *)module);
tools/lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.cpp
  207     return PythonDictionary(PyRefType::Borrowed, m_py_obj)
  210     return PythonBoolean(PyRefType::Borrowed, m_py_obj)
  213     return PythonInteger(PyRefType::Borrowed, m_py_obj)
  216     return PythonList(PyRefType::Borrowed, m_py_obj).CreateStructuredArray();
  218     return PythonString(PyRefType::Borrowed, m_py_obj).CreateStructuredString();
  220     return PythonBytes(PyRefType::Borrowed, m_py_obj).CreateStructuredString();
  222     return PythonByteArray(PyRefType::Borrowed, m_py_obj)
  546     return PythonObject(PyRefType::Borrowed, PyList_GetItem(m_py_obj, index));
  604     PythonObject object(PyRefType::Borrowed, py_object);
  625     return PythonObject(PyRefType::Borrowed, PyTuple_GetItem(m_py_obj, index));
  763   return PythonModule(PyRefType::Borrowed, PyImport_AddModule(str.c_str()));
tools/lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.h
  149   T thing(PyRefType::Borrowed, obj);
  228     if (m_py_obj && Py_IsInitialized() && type == PyRefType::Borrowed)
  233       : PythonObject(PyRefType::Borrowed, rhs.m_py_obj) {}
  307     return T(PyRefType::Borrowed, m_py_obj);
  394   return T(PyRefType::Borrowed, std::move(obj.get().get()));
tools/lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
  767   PythonDictionary main_dict(PyRefType::Borrowed,
  831   PythonObject module(PyRefType::Borrowed,
  836   PythonDictionary module_dict(PyRefType::Borrowed,
 1533   PythonObject implementor(PyRefType::Borrowed,
 1549     PythonList result_list(PyRefType::Borrowed, py_return.get());
 1598   PythonObject implementor(PyRefType::Borrowed,
 1634     PythonDictionary result_dict(PyRefType::Borrowed, py_return.get());
 1653   PythonObject implementor(PyRefType::Borrowed,
 1690     PythonList result_list(PyRefType::Borrowed, py_return.get());
 1740   PythonObject implementor(PyRefType::Borrowed,
 1776     PythonBytes result(PyRefType::Borrowed, py_return.get());
 1799   PythonObject implementor(PyRefType::Borrowed,
 1835     PythonDictionary result_dict(PyRefType::Borrowed, py_return.get());
 2506   PythonObject implementor(PyRefType::Borrowed,
 2541     PythonString py_string(PyRefType::Borrowed, py_return.get());
 3014   PythonObject implementor(PyRefType::Borrowed,
 3050     PythonString py_string(PyRefType::Borrowed, py_return.get());
 3069   PythonObject implementor(PyRefType::Borrowed,
 3105     PythonInteger int_value(PyRefType::Borrowed, py_return.get());
 3124   PythonObject implementor(PyRefType::Borrowed,
 3161     PythonString str(PyRefType::Borrowed, py_return.get());
tools/lldb/unittests/ScriptInterpreter/Python/PythonDataObjectsTests.cpp
   88   PythonInteger borrowed_long(PyRefType::Borrowed, long_value.get());
  339   PythonInteger chk_int(PyRefType::Borrowed, chk_value1.get());
  340   PythonString chk_str(PyRefType::Borrowed, chk_value2.get());
  367   PythonInteger chk_int(PyRefType::Borrowed, chk_value1.get());
  368   PythonString chk_str(PyRefType::Borrowed, chk_value2.get());
  408   PythonObject none_value(PyRefType::Borrowed, Py_None);
  422   PythonObject none_value(PyRefType::Borrowed, Py_None);
  434   PythonObject none_value(PyRefType::Borrowed, Py_None);
  490   PythonInteger chk_int(PyRefType::Borrowed, chk_value1.get());
  491   PythonString chk_str(PyRefType::Borrowed, chk_value2.get());
  527   PythonInteger chk_int(PyRefType::Borrowed, chk_value1.get());
  528   PythonString chk_str(PyRefType::Borrowed, chk_value2.get());
  560   PythonObject none(PyRefType::Borrowed, Py_None);