Lines Matching defs:PythonList
159 if (PythonList::Check(m_py_obj))
282 return PythonList(PyRefType::Borrowed, m_py_obj).CreateStructuredArray();
523 // PythonList
525 PythonList::PythonList(PyInitialValue value) {
527 *this = Take<PythonList>(PyList_New(0));
530 PythonList::PythonList(int list_size) {
531 *this = Take<PythonList>(PyList_New(list_size));
534 bool PythonList::Check(PyObject *py_obj) {
540 uint32_t PythonList::GetSize() const {
546 PythonObject PythonList::GetItemAtIndex(uint32_t index) const {
552 void PythonList::SetItemAtIndex(uint32_t index, const PythonObject &object) {
561 void PythonList::AppendItem(const PythonObject &object) {
569 StructuredData::ArraySP PythonList::CreateStructuredArray() const {
684 PythonList PythonDictionary::GetKeys() const {
686 return PythonList(PyRefType::Owned, PyDict_Keys(m_py_obj));
687 return PythonList(PyInitialValue::Invalid);
752 PythonList keys(GetKeys());