Home
last modified time | relevance | path

Searched refs:PythonList (Results 1 – 6 of 6) sorted by relevance

/external/llvm-project/lldb/source/Plugins/ScriptInterpreter/Python/
DPythonDataObjects.cpp153 if (PythonList::Check(m_py_obj)) in GetObjectType()
271 return PythonList(PyRefType::Borrowed, m_py_obj).CreateStructuredArray(); in CreateStructuredObject()
572 PythonList::PythonList(PyInitialValue value) { in PythonList() function in PythonList
574 *this = Take<PythonList>(PyList_New(0)); in PythonList()
577 PythonList::PythonList(int list_size) { in PythonList() function in PythonList
578 *this = Take<PythonList>(PyList_New(list_size)); in PythonList()
581 bool PythonList::Check(PyObject *py_obj) { in Check()
587 uint32_t PythonList::GetSize() const { in GetSize()
593 PythonObject PythonList::GetItemAtIndex(uint32_t index) const { in GetItemAtIndex()
599 void PythonList::SetItemAtIndex(uint32_t index, const PythonObject &object) { in SetItemAtIndex()
[all …]
DPythonDataObjects.h69 class PythonList; variable
516 class PythonList : public TypedPythonObject<PythonList> {
520 PythonList() : TypedPythonObject() {} // MSVC requires this for some reason
522 explicit PythonList(PyInitialValue value);
523 explicit PythonList(int list_size);
570 PythonList GetKeys() const;
DScriptInterpreterPython.cpp1535 PythonList result_list(PyRefType::Borrowed, py_return.get()); in GetRecognizedArguments()
1676 PythonList result_list(PyRefType::Borrowed, py_return.get()); in OSPlugin_ThreadsInfo()
/external/llvm-project/lldb/unittests/ScriptInterpreter/Python/
DPythonDataObjectsTests.cpp105 EXPECT_TRUE(PythonList::Check(sys_path.get())); in TEST_F()
136 EXPECT_TRUE(PythonList::Check(sys_path.get())); in TEST_F()
319 EXPECT_TRUE(PythonList::Check(py_list)); in TEST_F()
320 PythonList list(PyRefType::Owned, py_list); in TEST_F()
353 PythonList list(PyInitialValue::Empty); in TEST_F()
379 PythonList list(PyInitialValue::Empty); in TEST_F()
576 EXPECT_TRUE(PythonList::Check(result.get())); in TEST_F()
577 auto list_result = result.AsType<PythonList>(); in TEST_F()
/external/llvm-project/lldb/bindings/python/
Dpython-typemaps.swig11 if (PythonList::Check($input)) {
12 PythonList list(PyRefType::Borrowed, $input);
38 if (PythonList::Check($input)) {
39 PythonList list(PyRefType::Borrowed, $input);
62 PythonList list(len);
/external/llvm-project/lldb/bindings/interface/
DSBTarget.i602 if (PythonList::Check($input)) {
603 PythonList list(PyRefType::Borrowed, $input);