Lines Matching refs:itemsize
380 sd = view->itemsize; in _IsFortranContiguous()
401 sd = view->itemsize; in _IsCContiguous()
522 elements = len / view->itemsize; in PyBuffer_ToContiguous()
525 memcpy(dest, ptr, view->itemsize); in PyBuffer_ToContiguous()
526 dest += view->itemsize; in PyBuffer_ToContiguous()
573 elements = len / view->itemsize; in PyBuffer_FromContiguous()
576 memcpy(ptr, src, view->itemsize); in PyBuffer_FromContiguous()
577 src += view->itemsize; in PyBuffer_FromContiguous()
647 memcpy(dptr, sptr, view_src.itemsize); in PyObject_CopyData()
657 Py_ssize_t *strides, int itemsize, in PyBuffer_FillContiguousStrides() argument
663 sd = itemsize; in PyBuffer_FillContiguousStrides()
697 view->itemsize = 1; in PyBuffer_FillInfo()
707 view->strides = &(view->itemsize); in PyBuffer_FillInfo()