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.c36 list_resize(PyListObject *self, Py_ssize_t newsize) in list_resize() function
264 if (list_resize(self, n+1) < 0) in ins1()
304 if (list_resize(self, n+1) < 0) in app1()
672 if (list_resize(a, Py_SIZE(a) + d) < 0) { in list_ass_slice()
681 if (list_resize(a, k+d) < 0) in list_ass_slice()
736 if (list_resize(self, size*n) < 0) in list_inplace_repeat()
871 if (list_resize(self, m + n) < 0) { in list_extend()
913 if (list_resize(self, mn) < 0) in list_extend()
946 if (list_resize(self, Py_SIZE(self)) < 0) in list_extend()
1008 status = list_resize(self, Py_SIZE(self) - 1); in list_pop_impl()
[all …]