Home
last modified time | relevance | path

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

/llvm-project-15.0.7/lldb/source/Plugins/ScriptInterpreter/Python/
H A DPythonDataObjects.cpp158 if (PythonList::Check(m_py_obj)) in GetObjectType()
503 PythonList::PythonList(PyInitialValue value) { in PythonList() function in PythonList
505 *this = Take<PythonList>(PyList_New(0)); in PythonList()
508 PythonList::PythonList(int list_size) { in PythonList() function in PythonList
509 *this = Take<PythonList>(PyList_New(list_size)); in PythonList()
512 bool PythonList::Check(PyObject *py_obj) { in Check()
518 uint32_t PythonList::GetSize() const { in GetSize()
539 void PythonList::AppendItem(const PythonObject &object) { in AppendItem()
648 PythonList PythonDictionary::GetKeys() const { in GetKeys()
651 return PythonList(PyInitialValue::Invalid); in GetKeys()
[all …]
H A DPythonDataObjects.h69 class PythonList; variable
487 class PythonList : public TypedPythonObject<PythonList> {
491 PythonList() : TypedPythonObject() {} // MSVC requires this for some reason
493 explicit PythonList(PyInitialValue value);
494 explicit PythonList(int list_size);
541 PythonList GetKeys() const;
H A DScriptedPythonInterface.cpp41 python::PythonList result_list(python::PyRefType::Borrowed, p.get()); in ExtractValueFromPythonObject()
H A DScriptInterpreterPython.cpp1470 PythonList result_list(PyRefType::Borrowed, py_return.get()); in GetRecognizedArguments()
1607 PythonList result_list(PyRefType::Borrowed, py_return.get()); in OSPlugin_ThreadsInfo()
/llvm-project-15.0.7/lldb/unittests/ScriptInterpreter/Python/
H A DPythonDataObjectsTests.cpp105 EXPECT_TRUE(PythonList::Check(sys_path.get())); in TEST_F()
136 EXPECT_TRUE(PythonList::Check(sys_path.get())); in TEST_F()
291 EXPECT_TRUE(PythonList::Check(py_list)); in TEST_F()
292 PythonList list(PyRefType::Owned, py_list); in TEST_F()
325 PythonList list(PyInitialValue::Empty); in TEST_F()
351 PythonList list(PyInitialValue::Empty); in TEST_F()
548 EXPECT_TRUE(PythonList::Check(result.get())); in TEST_F()
549 auto list_result = result.AsType<PythonList>(); in TEST_F()
/llvm-project-15.0.7/lldb/bindings/python/
H A Dpython-typemaps.swig11 if (PythonList::Check($input)) {
12 PythonList list(PyRefType::Borrowed, $input);
38 if (PythonList::Check($input)) {
39 PythonList list(PyRefType::Borrowed, $input);
63 PythonList list(len);
/llvm-project-15.0.7/lldb/bindings/interface/
H A DSBTarget.i596 if (PythonList::Check($input)) {
597 PythonList list(PyRefType::Borrowed, $input);