Lines Matching refs:NDArrayObject
66 (((NDArrayObject *)nd)->head == &((NDArrayObject *)nd)->staticbuf)
105 } NDArrayObject; typedef
178 ndbuf_push(NDArrayObject *nd, ndbuf_t *elt) in ndbuf_push()
187 ndbuf_delete(NDArrayObject *nd, ndbuf_t *elt) in ndbuf_delete()
201 ndbuf_pop(NDArrayObject *nd) in ndbuf_pop()
210 NDArrayObject *nd; in ndarray_new()
212 nd = PyObject_New(NDArrayObject, &NDArray_Type); in ndarray_new()
222 ndarray_dealloc(NDArrayObject *self) in ndarray_dealloc()
243 ndarray_init_staticbuf(PyObject *exporter, NDArrayObject *nd, int flags) in ndarray_init_staticbuf()
658 ndarray_as_list(NDArrayObject *nd) in ndarray_as_list()
1264 ndarray_push_base(NDArrayObject *nd, PyObject *items, in ndarray_push_base()
1282 NDArrayObject *nd = (NDArrayObject *)self; in ndarray_init()
1348 NDArrayObject *nd = (NDArrayObject *)self; in ndarray_push()
1390 NDArrayObject *nd = (NDArrayObject *)self; in ndarray_pop()
1417 ndarray_getbuf(NDArrayObject *self, Py_buffer *view, int flags) in ndarray_getbuf()
1535 ndarray_releasebuf(NDArrayObject *self, Py_buffer *view) in ndarray_releasebuf()
1588 ndarray_item(NDArrayObject *self, Py_ssize_t index) in ndarray_item()
1607 NDArrayObject *nd; in ndarray_item()
1610 nd = (NDArrayObject *)ndarray_new(&NDArray_Type, NULL, NULL); in ndarray_item()
1780 ndarray_subscript(NDArrayObject *self, PyObject *key) in ndarray_subscript()
1782 NDArrayObject *nd; in ndarray_subscript()
1806 nd = (NDArrayObject *)ndarray_new(&NDArray_Type, NULL, NULL); in ndarray_subscript()
1865 ndarray_ass_subscript(NDArrayObject *self, PyObject *key, PyObject *value) in ndarray_ass_subscript()
1867 NDArrayObject *nd; in ndarray_ass_subscript()
1910 nd = (NDArrayObject *)ndarray_subscript(self, key); in ndarray_ass_subscript()
2004 ndarray_get_flags(NDArrayObject *self, void *closure) in ndarray_get_flags()
2010 ndarray_get_offset(NDArrayObject *self, void *closure) in ndarray_get_offset()
2017 ndarray_get_obj(NDArrayObject *self, void *closure) in ndarray_get_obj()
2029 ndarray_get_nbytes(NDArrayObject *self, void *closure) in ndarray_get_nbytes()
2036 ndarray_get_readonly(NDArrayObject *self, void *closure) in ndarray_get_readonly()
2043 ndarray_get_itemsize(NDArrayObject *self, void *closure) in ndarray_get_itemsize()
2050 ndarray_get_format(NDArrayObject *self, void *closure) in ndarray_get_format()
2058 ndarray_get_ndim(NDArrayObject *self, void *closure) in ndarray_get_ndim()
2065 ndarray_get_shape(NDArrayObject *self, void *closure) in ndarray_get_shape()
2072 ndarray_get_strides(NDArrayObject *self, void *closure) in ndarray_get_strides()
2079 ndarray_get_suboffsets(NDArrayObject *self, void *closure) in ndarray_get_suboffsets()
2088 NDArrayObject *nd = (NDArrayObject *)self; in ndarray_c_contig()
2102 NDArrayObject *nd = (NDArrayObject *)self; in ndarray_fortran_contig()
2116 NDArrayObject *nd = (NDArrayObject *)self; in ndarray_contig()
2152 return ndarray_as_list((NDArrayObject *)self); in ndarray_tolist()
2158 ndbuf_t *ndbuf = ((NDArrayObject *)self)->head; in ndarray_tobytes()
2198 NDArrayObject *nd = (NDArrayObject *)self; in ndarray_add_suboffsets()
2234 const NDArrayObject *nd = (NDArrayObject *)self; in ndarray_memoryview_from_buffer()
2248 ndbuf = ((NDArrayObject *)view->obj)->head; in ndarray_memoryview_from_buffer()
2586 base = &((NDArrayObject *)obj)->head->base; in is_contiguous()
2607 const NDArrayObject *nd = (NDArrayObject *)self; in ndarray_hash()
2646 sizeof(NDArrayObject), /* Basic object size */