• Home
  • Raw
  • Download

Lines Matching refs:arrayobject

18 struct arrayobject; /* Forward */
27 PyObject * (*getitem)(struct arrayobject *, Py_ssize_t);
28 int (*setitem)(struct arrayobject *, Py_ssize_t, PyObject *);
31 typedef struct arrayobject { struct
37 } arrayobject; argument
45 array_resize(arrayobject *self, Py_ssize_t newsize) in array_resize()
105 c_getitem(arrayobject *ap, Py_ssize_t i) in c_getitem()
111 c_setitem(arrayobject *ap, Py_ssize_t i, PyObject *v) in c_setitem()
122 b_getitem(arrayobject *ap, Py_ssize_t i) in b_getitem()
131 b_setitem(arrayobject *ap, Py_ssize_t i, PyObject *v) in b_setitem()
155 BB_getitem(arrayobject *ap, Py_ssize_t i) in BB_getitem()
162 BB_setitem(arrayobject *ap, Py_ssize_t i, PyObject *v) in BB_setitem()
175 u_getitem(arrayobject *ap, Py_ssize_t i) in u_getitem()
181 u_setitem(arrayobject *ap, Py_ssize_t i, PyObject *v) in u_setitem()
200 h_getitem(arrayobject *ap, Py_ssize_t i) in h_getitem()
206 h_setitem(arrayobject *ap, Py_ssize_t i, PyObject *v) in h_setitem()
218 HH_getitem(arrayobject *ap, Py_ssize_t i) in HH_getitem()
224 HH_setitem(arrayobject *ap, Py_ssize_t i, PyObject *v) in HH_setitem()
247 i_getitem(arrayobject *ap, Py_ssize_t i) in i_getitem()
253 i_setitem(arrayobject *ap, Py_ssize_t i, PyObject *v) in i_setitem()
265 II_getitem(arrayobject *ap, Py_ssize_t i) in II_getitem()
272 II_setitem(arrayobject *ap, Py_ssize_t i, PyObject *v) in II_setitem()
304 l_getitem(arrayobject *ap, Py_ssize_t i) in l_getitem()
310 l_setitem(arrayobject *ap, Py_ssize_t i, PyObject *v) in l_setitem()
321 LL_getitem(arrayobject *ap, Py_ssize_t i) in LL_getitem()
327 LL_setitem(arrayobject *ap, Py_ssize_t i, PyObject *v) in LL_setitem()
359 f_getitem(arrayobject *ap, Py_ssize_t i) in f_getitem()
365 f_setitem(arrayobject *ap, Py_ssize_t i, PyObject *v) in f_setitem()
376 d_getitem(arrayobject *ap, Py_ssize_t i) in d_getitem()
382 d_setitem(arrayobject *ap, Py_ssize_t i, PyObject *v) in d_setitem()
418 arrayobject *op; in newarrayobject()
431 op = (arrayobject *) type->tp_alloc(type, 0); in newarrayobject()
455 register arrayobject *ap; in getarrayitem()
457 ap = (arrayobject *)op; in getarrayitem()
463 ins1(arrayobject *self, Py_ssize_t where, PyObject *v) in ins1()
495 array_dealloc(arrayobject *op) in array_dealloc()
507 arrayobject *va, *wa; in array_richcompare()
518 va = (arrayobject *)v; in array_richcompare()
519 wa = (arrayobject *)w; in array_richcompare()
591 array_length(arrayobject *a) in array_length()
597 array_item(arrayobject *a, Py_ssize_t i) in array_item()
607 array_slice(arrayobject *a, Py_ssize_t ilow, Py_ssize_t ihigh) in array_slice()
609 arrayobject *np; in array_slice()
620 np = (arrayobject *) newarrayobject(&Arraytype, ihigh - ilow, a->ob_descr); in array_slice()
631 array_copy(arrayobject *a, PyObject *unused) in array_copy()
642 array_concat(arrayobject *a, PyObject *bb) in array_concat()
645 arrayobject *np; in array_concat()
652 #define b ((arrayobject *)bb) in array_concat()
661 np = (arrayobject *) newarrayobject(&Arraytype, size, a->ob_descr); in array_concat()
677 array_repeat(arrayobject *a, Py_ssize_t n) in array_repeat()
681 arrayobject *np; in array_repeat()
690 np = (arrayobject *) newarrayobject(&Arraytype, size, a->ob_descr); in array_repeat()
705 array_ass_slice(arrayobject *a, Py_ssize_t ilow, Py_ssize_t ihigh, PyObject *v) in array_ass_slice()
710 #define b ((arrayobject *)v) in array_ass_slice()
780 array_ass_item(arrayobject *a, Py_ssize_t i, PyObject *v) in array_ass_item()
796 return array_ass_item((arrayobject *)a, i, v); in setarrayitem()
800 array_iter_extend(arrayobject *self, PyObject *bb) in array_iter_extend()
823 array_do_extend(arrayobject *self, PyObject *bb) in array_do_extend()
830 #define b ((arrayobject *)bb) in array_do_extend()
861 array_inplace_concat(arrayobject *self, PyObject *bb) in array_inplace_concat()
876 array_inplace_repeat(arrayobject *self, Py_ssize_t n) in array_inplace_repeat()
919 ins(arrayobject *self, Py_ssize_t where, PyObject *v) in ins()
928 array_count(arrayobject *self, PyObject *v) in array_count()
951 array_index(arrayobject *self, PyObject *v) in array_index()
975 array_contains(arrayobject *self, PyObject *v) in array_contains()
989 array_remove(arrayobject *self, PyObject *v) in array_remove()
1017 array_pop(arrayobject *self, PyObject *args) in array_pop()
1048 array_extend(arrayobject *self, PyObject *bb) in array_extend()
1062 array_insert(arrayobject *self, PyObject *args) in array_insert()
1078 array_buffer_info(arrayobject *self, PyObject *unused) in array_buffer_info()
1113 array_append(arrayobject *self, PyObject *v) in array_append()
1125 array_byteswap(arrayobject *self, PyObject *unused) in array_byteswap()
1182 array_reverse(arrayobject *self, PyObject *unused) in array_reverse()
1214 array_fromfile(arrayobject *self, PyObject *args) in array_fromfile()
1276 array_fromfile_as_read(arrayobject *self, PyObject *args) in array_fromfile_as_read()
1286 array_tofile(arrayobject *self, PyObject *f) in array_tofile()
1315 array_tofile_as_write(arrayobject *self, PyObject *f) in array_tofile_as_write()
1325 array_fromlist(arrayobject *self, PyObject *list) in array_fromlist()
1373 array_tolist(arrayobject *self, PyObject *unused) in array_tolist()
1398 array_fromstring(arrayobject *self, PyObject *args) in array_fromstring()
1445 array_tostring(arrayobject *self, PyObject *unused) in array_tostring()
1465 array_fromunicode(arrayobject *self, PyObject *args) in array_fromunicode()
1509 array_tounicode(arrayobject *self, PyObject *unused) in array_tounicode()
1530 array_reduce(arrayobject *array) in array_reduce()
1563 array_sizeof(arrayobject *self, PyObject *unused) in array_sizeof()
1576 array_get_typecode(arrayobject *a, void *closure) in array_get_typecode()
1583 array_get_itemsize(arrayobject *a, void *closure) in array_get_itemsize()
1655 array_repr(arrayobject *a) in array_repr()
1687 array_subscr(arrayobject* self, PyObject* item) in array_subscr()
1701 arrayobject* ar; in array_subscr()
1718 memcpy(((arrayobject *)result)->ob_item, in array_subscr()
1727 ar = (arrayobject*)result; in array_subscr()
1747 array_ass_subscr(arrayobject* self, PyObject* item, PyObject* value) in array_ass_subscr()
1750 arrayobject* other; in array_ass_subscr()
1792 other = (arrayobject *)value; in array_ass_subscr()
1901 array_buffer_getreadbuf(arrayobject *self, Py_ssize_t index, const void **ptr) in array_buffer_getreadbuf()
1915 array_buffer_getwritebuf(arrayobject *self, Py_ssize_t index, const void **ptr) in array_buffer_getwritebuf()
1929 array_buffer_getsegcount(arrayobject *self, Py_ssize_t *lenp) in array_buffer_getsegcount()
2034 v = array_fromstring((arrayobject *)a, in array_new()
2046 arrayobject *self = (arrayobject *)a; in array_new()
2062 if (array_iter_extend((arrayobject *)a, it) == -1) { in array_new()
2142 static PyObject *array_iter(arrayobject *ao);
2147 sizeof(arrayobject),
2169 offsetof(arrayobject, weakreflist), /* tp_weaklistoffset */
2192 arrayobject *ao;
2193 PyObject * (*getitem)(struct arrayobject *, Py_ssize_t);
2201 array_iter(arrayobject *ao) in array_iter()