Lines Matching refs:arrayobject

23 struct arrayobject; /* Forward */
32 PyObject * (*getitem)(struct arrayobject *, Py_ssize_t);
33 int (*setitem)(struct arrayobject *, Py_ssize_t, PyObject *);
40 typedef struct arrayobject { struct
47 } arrayobject; argument
54 arrayobject *ao;
55 PyObject* (*getitem)(struct arrayobject *, Py_ssize_t);
112 array_resize(arrayobject *self, Py_ssize_t newsize) in array_resize()
186 b_getitem(arrayobject *ap, Py_ssize_t i) in b_getitem()
195 b_setitem(arrayobject *ap, Py_ssize_t i, PyObject *v) in b_setitem()
219 BB_getitem(arrayobject *ap, Py_ssize_t i) in BB_getitem()
226 BB_setitem(arrayobject *ap, Py_ssize_t i, PyObject *v) in BB_setitem()
238 u_getitem(arrayobject *ap, Py_ssize_t i) in u_getitem()
244 u_setitem(arrayobject *ap, Py_ssize_t i, PyObject *v) in u_setitem()
263 h_getitem(arrayobject *ap, Py_ssize_t i) in h_getitem()
270 h_setitem(arrayobject *ap, Py_ssize_t i, PyObject *v) in h_setitem()
282 HH_getitem(arrayobject *ap, Py_ssize_t i) in HH_getitem()
288 HH_setitem(arrayobject *ap, Py_ssize_t i, PyObject *v) in HH_setitem()
311 i_getitem(arrayobject *ap, Py_ssize_t i) in i_getitem()
317 i_setitem(arrayobject *ap, Py_ssize_t i, PyObject *v) in i_setitem()
329 II_getitem(arrayobject *ap, Py_ssize_t i) in II_getitem()
347 II_setitem(arrayobject *ap, Py_ssize_t i, PyObject *v) in II_setitem()
384 l_getitem(arrayobject *ap, Py_ssize_t i) in l_getitem()
390 l_setitem(arrayobject *ap, Py_ssize_t i, PyObject *v) in l_setitem()
401 LL_getitem(arrayobject *ap, Py_ssize_t i) in LL_getitem()
407 LL_setitem(arrayobject *ap, Py_ssize_t i, PyObject *v) in LL_setitem()
436 q_getitem(arrayobject *ap, Py_ssize_t i) in q_getitem()
442 q_setitem(arrayobject *ap, Py_ssize_t i, PyObject *v) in q_setitem()
453 QQ_getitem(arrayobject *ap, Py_ssize_t i) in QQ_getitem()
460 QQ_setitem(arrayobject *ap, Py_ssize_t i, PyObject *v) in QQ_setitem()
489 f_getitem(arrayobject *ap, Py_ssize_t i) in f_getitem()
495 f_setitem(arrayobject *ap, Py_ssize_t i, PyObject *v) in f_setitem()
506 d_getitem(arrayobject *ap, Py_ssize_t i) in d_getitem()
512 d_setitem(arrayobject *ap, Py_ssize_t i, PyObject *v) in d_setitem()
578 arrayobject *op; in newarrayobject()
591 op = (arrayobject *) type->tp_alloc(type, 0); in newarrayobject()
616 arrayobject *ap; in getarrayitem()
618 ap = (arrayobject *)op; in getarrayitem()
624 ins1(arrayobject *self, Py_ssize_t where, PyObject *v) in ins1()
656 array_dealloc(arrayobject *op) in array_dealloc()
668 arrayobject *va, *wa; in array_richcompare()
677 va = (arrayobject *)v; in array_richcompare()
678 wa = (arrayobject *)w; in array_richcompare()
778 array_length(arrayobject *a) in array_length()
784 array_item(arrayobject *a, Py_ssize_t i) in array_item()
794 array_slice(arrayobject *a, Py_ssize_t ilow, Py_ssize_t ihigh) in array_slice()
796 arrayobject *np; in array_slice()
807 np = (arrayobject *) newarrayobject(&Arraytype, ihigh - ilow, a->ob_descr); in array_slice()
825 array_array___copy___impl(arrayobject *self) in array_array___copy___impl()
841 array_array___deepcopy__(arrayobject *self, PyObject *unused) in array_array___deepcopy__()
848 array_concat(arrayobject *a, PyObject *bb) in array_concat()
851 arrayobject *np; in array_concat()
858 #define b ((arrayobject *)bb) in array_concat()
867 np = (arrayobject *) newarrayobject(&Arraytype, size, a->ob_descr); in array_concat()
883 array_repeat(arrayobject *a, Py_ssize_t n) in array_repeat()
886 arrayobject *np; in array_repeat()
894 np = (arrayobject *) newarrayobject(&Arraytype, size, a->ob_descr); in array_repeat()
917 array_del_slice(arrayobject *a, Py_ssize_t ilow, Py_ssize_t ihigh) in array_del_slice()
952 array_ass_item(arrayobject *a, Py_ssize_t i, PyObject *v) in array_ass_item()
968 return array_ass_item((arrayobject *)a, i, v); in setarrayitem()
972 array_iter_extend(arrayobject *self, PyObject *bb) in array_iter_extend()
995 array_do_extend(arrayobject *self, PyObject *bb) in array_do_extend()
1001 #define b ((arrayobject *)bb) in array_do_extend()
1028 array_inplace_concat(arrayobject *self, PyObject *bb) in array_inplace_concat()
1043 array_inplace_repeat(arrayobject *self, Py_ssize_t n) in array_inplace_repeat()
1073 ins(arrayobject *self, Py_ssize_t where, PyObject *v) in ins()
1090 array_array_count(arrayobject *self, PyObject *v) in array_array_count()
1124 array_array_index(arrayobject *self, PyObject *v) in array_array_index()
1149 array_contains(arrayobject *self, PyObject *v) in array_contains()
1174 array_array_remove(arrayobject *self, PyObject *v) in array_array_remove()
1212 array_array_pop_impl(arrayobject *self, Py_ssize_t i) in array_array_pop_impl()
1248 array_array_extend(arrayobject *self, PyObject *bb) in array_array_extend()
1267 array_array_insert_impl(arrayobject *self, Py_ssize_t i, PyObject *v) in array_array_insert_impl()
1283 array_array_buffer_info_impl(arrayobject *self) in array_array_buffer_info_impl()
1319 array_array_append(arrayobject *self, PyObject *v) in array_array_append()
1335 array_array_byteswap_impl(arrayobject *self) in array_array_byteswap_impl()
1392 array_array_reverse_impl(arrayobject *self) in array_array_reverse_impl()
1429 array_array_fromfile_impl(arrayobject *self, PyObject *f, Py_ssize_t n) in array_array_fromfile_impl()
1486 array_array_tofile(arrayobject *self, PyObject *f) in array_array_tofile()
1531 array_array_fromlist(arrayobject *self, PyObject *list) in array_array_fromlist()
1571 array_array_tolist_impl(arrayobject *self) in array_array_tolist_impl()
1593 frombytes(arrayobject *self, Py_buffer *buffer) in frombytes()
1640 array_array_fromstring_impl(arrayobject *self, Py_buffer *buffer) in array_array_fromstring_impl()
1659 array_array_frombytes_impl(arrayobject *self, Py_buffer *buffer) in array_array_frombytes_impl()
1672 array_array_tobytes_impl(arrayobject *self) in array_array_tobytes_impl()
1692 array_array_tostring_impl(arrayobject *self) in array_array_tostring_impl()
1715 array_array_fromunicode_impl(arrayobject *self, const Py_UNICODE *ustr, in array_array_fromunicode_impl()
1750 array_array_tounicode_impl(arrayobject *self) in array_array_tounicode_impl()
1770 array_array___sizeof___impl(arrayobject *self) in array_array___sizeof___impl()
2177 array_array___reduce_ex__(arrayobject *self, PyObject *value) in array_array___reduce_ex__()
2258 array_get_typecode(arrayobject *a, void *closure) in array_get_typecode()
2265 array_get_itemsize(arrayobject *a, void *closure) in array_get_itemsize()
2307 array_repr(arrayobject *a) in array_repr()
2334 array_subscr(arrayobject* self, PyObject* item) in array_subscr()
2348 arrayobject* ar; in array_subscr()
2365 memcpy(((arrayobject *)result)->ob_item, in array_subscr()
2374 ar = (arrayobject*)result; in array_subscr()
2394 array_ass_subscr(arrayobject* self, PyObject* item, PyObject* value) in array_ass_subscr()
2397 arrayobject* other; in array_ass_subscr()
2439 other = (arrayobject *)value; in array_ass_subscr()
2559 array_buffer_getbuf(arrayobject *self, Py_buffer *view, int flags) in array_buffer_getbuf()
2600 array_buffer_relbuf(arrayobject *self, Py_buffer *view) in array_buffer_relbuf()
2643 ((arrayobject*)initial)->ob_descr->typecode == 'u') { in array_new()
2656 && c == ((arrayobject*)initial)->ob_descr->typecode))) { in array_new()
2705 v = array_array_frombytes((arrayobject *)a, in array_new()
2726 arrayobject *self = (arrayobject *)a; in array_new()
2741 arrayobject *self = (arrayobject *)a; in array_new()
2742 arrayobject *other = (arrayobject *)initial; in array_new()
2746 if (array_iter_extend((arrayobject *)a, it) == -1) { in array_new()
2827 static PyObject *array_iter(arrayobject *ao);
2832 sizeof(arrayobject),
2854 offsetof(arrayobject, weakreflist), /* tp_weaklistoffset */
2880 array_iter(arrayobject *ao) in array_iter()
2904 arrayobject *ao; in arrayiter_next()