Searched refs:PythonList (Results 1 – 6 of 6) sorted by relevance
153 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 PythonList574 *this = Take<PythonList>(PyList_New(0)); in PythonList()577 PythonList::PythonList(int list_size) { in PythonList() function in PythonList578 *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 …]
69 class PythonList; variable516 class PythonList : public TypedPythonObject<PythonList> {520 PythonList() : TypedPythonObject() {} // MSVC requires this for some reason522 explicit PythonList(PyInitialValue value);523 explicit PythonList(int list_size);570 PythonList GetKeys() const;
1535 PythonList result_list(PyRefType::Borrowed, py_return.get()); in GetRecognizedArguments()1676 PythonList result_list(PyRefType::Borrowed, py_return.get()); in OSPlugin_ThreadsInfo()
105 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()
11 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);
602 if (PythonList::Check($input)) {603 PythonList list(PyRefType::Borrowed, $input);