Lines Matching refs:itemsize
116 Py_ssize_t *strides, Py_ssize_t itemsize, char fort) in _strided_copy_nd() argument
122 memcpy(dest, src, itemsize); in _strided_copy_nd()
126 memcpy(dest, src, itemsize); in _strided_copy_nd()
127 dest += itemsize; in _strided_copy_nd()
138 outstride = itemsize; in _strided_copy_nd()
144 strides, itemsize, fort); in _strided_copy_nd()
156 outstride = itemsize; in _strided_copy_nd()
162 strides+1, itemsize, in _strided_copy_nd()
208 memcpy(dest, ptr, view->itemsize); in _indirect_copy_nd()
209 dest += view->itemsize; in _indirect_copy_nd()
298 view->strides, view->itemsize, fort); in PyMemoryView_GetContiguous()
336 return PyLong_FromSsize_t(self->view.itemsize); in memory_itemsize_get()
431 if (strcmp(view->format, "B") || view->itemsize != 1) { in memory_tolist()
534 ptr += view->itemsize * result; in memory_item()
541 return PyBytes_FromStringAndSize(ptr, view->itemsize); in memory_item()
596 + start * view->itemsize; in memory_subscript()
609 newview.len = slicelength * newview.itemsize; in memory_subscript()
613 newview.strides = &(newview.itemsize); in memory_subscript()
687 if (srcview.itemsize != view->itemsize) { in memory_ass_sub()
693 bytelen = len * view->itemsize; in memory_ass_sub()
700 destbuf = (char *) view->buf + start * view->itemsize; in memory_ass_sub()
736 if (vv.itemsize != ww.itemsize || vv.len != ww.len) in memory_richcompare()