Home
last modified time | relevance | path

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

/llvm-project/lldb/source/Plugins/ScriptInterpreter/Python/
H A DPythonDataObjects.cpp159 if (PythonList::Check(m_py_obj)) in GetObjectType()
282 return PythonList(PyRefType::Borrowed, m_py_obj).CreateStructuredArray(); in CreateStructuredObject()
523 // PythonList in CreateStructuredBoolean()
525 PythonList::PythonList(PyInitialValue value) {
527 *this = Take<PythonList>(PyList_New(0)); in PythonList() function in PythonList
530 PythonList::PythonList(int list_size) { in PythonList()
531 *this = Take<PythonList>(PyList_New(list_size));
534 bool PythonList in PythonList()
532 PythonList::PythonList(int list_size) { PythonList() function in PythonList
[all...]
H A DPythonDataObjects.h69 class PythonList; variable
515 class PythonList : public TypedPythonObject<PythonList> {
519 PythonList() : TypedPythonObject() {} // MSVC requires this for some reason
521 explicit PythonList(PyInitialValue value);
522 explicit PythonList(int list_size);
571 PythonList GetKeys() const;
H A DScriptInterpreterPython.cpp1492 PythonList result_list(PyRefType::Borrowed, py_return.get()); in GetRecognizedArguments()
2946 PythonList py_return = unwrapOrSetPythonException( in GetArgumentsForCommandObject()
2947 As<PythonList>(implementor.CallMethod(callee_name))); in GetArgumentsForCommandObject()
/llvm-project/lldb/unittests/ScriptInterpreter/Python/
H A DPythonDataObjectsTests.cpp115 EXPECT_TRUE(PythonList::Check(sys_path.get())); in TEST_F()
146 EXPECT_TRUE(PythonList::Check(sys_path.get())); in TEST_F()
308 // Python API behaves correctly when wrapped by a PythonList. in TEST_F()
314 EXPECT_TRUE(PythonList::Check(py_list)); in TEST_F()
315 PythonList list(PyRefType::Owned, py_list); in TEST_F()
342 // Test that manipulation of a PythonList behaves correctly when in TEST_F()
348 PythonList list(PyInitialValue::Empty); in TEST_F()
374 PythonList list(PyInitialValue::Empty); in TEST_F()
574 EXPECT_TRUE(PythonList::Check(result.get())); in TEST_F()
575 auto list_result = result.AsType<PythonList>(); in TEST_F()
[all...]
/llvm-project/lldb/bindings/python/
H A Dpython-typemaps.swig17 if (PythonList::Check($input)) {
18 PythonList list(PyRefType::Borrowed, $input);
43 if (PythonList::Check($input)) {
44 PythonList list(PyRefType::Borrowed, $input);
149 PythonList list(len);
642 if (PythonList::Check($input)) {
643 PythonList list(PyRefType::Borrowed, $input);
/llvm-project/lldb/bindings/interface/
H A DSBTargetExtensions.i5 if (PythonList::Check($input)) {
6 PythonList list(PyRefType::Borrowed, $input);
/llvm-project/lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/
H A DScriptedPythonInterface.cpp33 python::PythonList result_list(python::PyRefType::Borrowed, p.get()); in ExtractValueFromPythonObject()