• Home
  • Raw
  • Download

Lines Matching refs:PyListObject

25 list_resize(PyListObject *self, Py_ssize_t newsize)  in list_resize()
97 static PyListObject *free_list[PyList_MAXFREELIST];
103 PyListObject *op; in PyList_Fini()
115 PyListObject *op; in PyList_New()
142 op = PyObject_GC_New(PyListObject, &PyList_Type); in PyList_New()
195 return ((PyListObject *)op) -> ob_item[i]; in PyList_GetItem()
215 p = ((PyListObject *)op) -> ob_item + i; in PyList_SetItem()
223 ins1(PyListObject *self, Py_ssize_t where, PyObject *v) in ins1()
262 return ins1((PyListObject *)op, where, newitem); in PyList_Insert()
266 app1(PyListObject *self, PyObject *v) in app1()
289 return app1((PyListObject *)op, newitem); in PyList_Append()
297 list_dealloc(PyListObject *op) in list_dealloc()
321 list_print(PyListObject *op, FILE *fp, int flags) in list_print()
362 list_repr(PyListObject *v) in list_repr()
432 list_length(PyListObject *a) in list_length()
438 list_contains(PyListObject *a, PyObject *el) in list_contains()
450 list_item(PyListObject *a, Py_ssize_t i) in list_item()
467 list_slice(PyListObject *a, Py_ssize_t ilow, Py_ssize_t ihigh) in list_slice()
469 PyListObject *np; in list_slice()
481 np = (PyListObject *) PyList_New(len); in list_slice()
502 return list_slice((PyListObject *)a, ilow, ihigh); in PyList_GetSlice()
506 list_concat(PyListObject *a, PyObject *bb) in list_concat()
511 PyListObject *np; in list_concat()
518 #define b ((PyListObject *)bb) in list_concat()
522 np = (PyListObject *) PyList_New(size); in list_concat()
545 list_repeat(PyListObject *a, Py_ssize_t n) in list_repeat()
549 PyListObject *np; in list_repeat()
559 np = (PyListObject *) PyList_New(size); in list_repeat()
585 list_clear(PyListObject *a) in list_clear()
614 list_ass_slice(PyListObject *a, Py_ssize_t ilow, Py_ssize_t ihigh, PyObject *v) in list_ass_slice()
633 #define b ((PyListObject *)v) in list_ass_slice()
721 return list_ass_slice((PyListObject *)a, ilow, ihigh, v); in PyList_SetSlice()
725 list_inplace_repeat(PyListObject *self, Py_ssize_t n) in list_inplace_repeat()
764 list_ass_item(PyListObject *a, Py_ssize_t i, PyObject *v) in list_ass_item()
782 listinsert(PyListObject *self, PyObject *args) in listinsert()
794 listappend(PyListObject *self, PyObject *v) in listappend()
802 listextend(PyListObject *self, PyObject *b) in listextend()
911 _PyList_Extend(PyListObject *self, PyObject *b) in _PyList_Extend()
917 list_inplace_concat(PyListObject *self, PyObject *other) in list_inplace_concat()
930 listpop(PyListObject *self, PyObject *args) in listpop()
2047 listsort(PyListObject *self, PyObject *args, PyObject *kwds) in listsort()
2225 v = listsort((PyListObject *)v, (PyObject *)NULL, (PyObject *)NULL); in PyList_Sort()
2233 listreverse(PyListObject *self) in listreverse()
2243 PyListObject *self = (PyListObject *)v; in PyList_Reverse()
2269 q = ((PyListObject *)v)->ob_item; in PyList_AsTuple()
2280 listindex(PyListObject *self, PyObject *args) in listindex()
2325 listcount(PyListObject *self, PyObject *v) in listcount()
2341 listremove(PyListObject *self, PyObject *v) in listremove()
2361 list_traverse(PyListObject *o, visitproc visit, void *arg) in list_traverse()
2373 PyListObject *vl, *wl; in list_richcompare()
2381 vl = (PyListObject *)v; in list_richcompare()
2382 wl = (PyListObject *)w; in list_richcompare()
2443 list_init(PyListObject *self, PyObject *args, PyObject *kw) in list_init()
2471 list_sizeof(PyListObject *self) in list_sizeof()
2480 static PyObject *list_reversed(PyListObject* seq, PyObject* unused);
2511 static PyObject *list_subscript(PyListObject*, PyObject*);
2548 list_subscript(PyListObject* self, PyObject* item) in list_subscript()
2581 dest = ((PyListObject *)result)->ob_item; in list_subscript()
2601 list_ass_subscript(PyListObject* self, PyObject* item, PyObject* value) in list_ass_subscript()
2699 if (self == (PyListObject*)value) { in list_ass_subscript()
2700 seq = list_slice((PyListObject*)value, 0, in list_ass_subscript()
2772 sizeof(PyListObject),
2818 PyListObject *it_seq; /* Set to NULL when iterator is exhausted */
2882 it->it_seq = (PyListObject *)seq; in list_iter()
2905 PyListObject *seq; in listiter_next()
2942 PyListObject *it_seq; /* Set to NULL when iterator is exhausted */
2945 static PyObject *list_reversed(PyListObject *, PyObject *);
2990 list_reversed(PyListObject *seq, PyObject *unused) in list_reversed()
3025 PyListObject *seq; in listreviter_next()