Home
last modified time | relevance | path

Searched refs:list_resize (Results 1 – 2 of 2) sorted by relevance

/external/python/cpython2/Objects/
Dlistobject.c25 list_resize(PyListObject *self, Py_ssize_t newsize) in list_resize() function
237 if (list_resize(self, n+1) == -1) in ins1()
277 if (list_resize(self, n+1) == -1) in app1()
684 list_resize(a, Py_SIZE(a) + d); in list_ass_slice()
689 if (list_resize(a, k+d) < 0) in list_ass_slice()
744 if (list_resize(self, size*n) == -1) in list_inplace_repeat()
824 if (list_resize(self, m + n) == -1) { in listextend()
860 if (list_resize(self, mn) == -1) in listextend()
897 list_resize(self, Py_SIZE(self)); /* shrinking can't fail */ in listextend()
949 status = list_resize(self, Py_SIZE(self) - 1); in listpop()
[all …]
/external/python/cpython3/Objects/
Dlistobject.c34 list_resize(PyListObject *self, Py_ssize_t newsize) in list_resize() function
252 if (list_resize(self, n+1) < 0) in ins1()
292 if (list_resize(self, n+1) < 0) in app1()
648 if (list_resize(a, Py_SIZE(a) + d) < 0) { in list_ass_slice()
657 if (list_resize(a, k+d) < 0) in list_ass_slice()
712 if (list_resize(self, size*n) < 0) in list_inplace_repeat()
847 if (list_resize(self, m + n) < 0) { in list_extend()
889 if (list_resize(self, mn) < 0) in list_extend()
922 if (list_resize(self, Py_SIZE(self)) < 0) in list_extend()
984 status = list_resize(self, Py_SIZE(self) - 1); in list_pop_impl()
[all …]