Lines Matching refs:ob_item
36 assert(self->ob_item != NULL || newsize == 0); in list_resize()
60 items = self->ob_item; in list_resize()
69 self->ob_item = items; in list_resize()
150 op->ob_item = NULL; in PyList_New()
152 op->ob_item = (PyObject **) PyMem_MALLOC(nbytes); in PyList_New()
153 if (op->ob_item == NULL) { in PyList_New()
157 memset(op->ob_item, 0, nbytes); in PyList_New()
195 return ((PyListObject *)op) -> ob_item[i]; in PyList_GetItem()
215 p = ((PyListObject *)op) -> ob_item + i; in PyList_SetItem()
247 items = self->ob_item; in ins1()
302 if (op->ob_item != NULL) { in list_dealloc()
309 Py_XDECREF(op->ob_item[i]); in list_dealloc()
311 PyMem_FREE(op->ob_item); in list_dealloc()
340 item = op->ob_item[i]; in list_print()
386 s = PyObject_Repr(v->ob_item[i]); in list_repr()
459 Py_INCREF(a->ob_item[i]); in list_item()
460 return a->ob_item[i]; in list_item()
482 src = a->ob_item + ilow; in list_slice()
483 dest = np->ob_item; in list_slice()
523 src = a->ob_item; in list_concat()
524 dest = np->ob_item; in list_concat()
530 src = b->ob_item; in list_concat()
531 dest = np->ob_item + Py_SIZE(a); in list_concat()
560 items = np->ob_item; in list_repeat()
562 elem = a->ob_item[0]; in list_repeat()
569 p = np->ob_item; in list_repeat()
570 items = a->ob_item; in list_repeat()
585 PyObject **item = a->ob_item; in list_clear()
591 a->ob_item = NULL; in list_clear()
666 item = a->ob_item; in list_ass_slice()
685 item = a->ob_item; in list_ass_slice()
691 item = a->ob_item; in list_ass_slice()
748 items = self->ob_item; in list_inplace_repeat()
772 old_value = a->ob_item[i]; in list_ass_item()
773 a->ob_item[i] = v; in list_ass_item()
835 dest = self->ob_item + m; in listextend()
947 v = self->ob_item[i]; in listpop()
2088 saved_ob_item = self->ob_item; in listsort()
2091 self->ob_item = NULL; in listsort()
2195 final_ob_item = self->ob_item; in listsort()
2198 self->ob_item = saved_ob_item; in listsort()
2233 reverse_slice(self->ob_item, self->ob_item + Py_SIZE(self)); in listreverse()
2247 reverse_slice(self->ob_item, self->ob_item + Py_SIZE(self)); in PyList_Reverse()
2265 p = ((PyTupleObject *)w)->ob_item; in PyList_AsTuple()
2266 q = ((PyListObject *)v)->ob_item; in PyList_AsTuple()
2298 int cmp = PyObject_RichCompareBool(self->ob_item[i], v, Py_EQ); in listindex()
2328 int cmp = PyObject_RichCompareBool(self->ob_item[i], v, Py_EQ); in listcount()
2343 int cmp = PyObject_RichCompareBool(self->ob_item[i], v, Py_EQ); in listremove()
2363 Py_VISIT(o->ob_item[i]); in list_traverse()
2394 int k = PyObject_RichCompareBool(vl->ob_item[i], in list_richcompare()
2395 wl->ob_item[i], Py_EQ); in list_richcompare()
2436 return PyObject_RichCompare(vl->ob_item[i], wl->ob_item[i], op); in list_richcompare()
2451 assert(self->ob_item != NULL || in list_init()
2455 if (self->ob_item != NULL) { in list_init()
2578 src = self->ob_item; in list_subscript()
2579 dest = ((PyListObject *)result)->ob_item; in list_subscript()
2669 memmove(self->ob_item + cur - i, in list_ass_subscript()
2670 self->ob_item + cur + 1, in list_ass_subscript()
2675 memmove(self->ob_item + cur - slicelength, in list_ass_subscript()
2676 self->ob_item + cur, in list_ass_subscript()
2734 selfitems = self->ob_item; in list_ass_subscript()