Lines Matching refs:itemsize
422 sd = view->itemsize; in _IsFortranContiguous()
449 sd = view->itemsize; in _IsCContiguous()
531 Py_ssize_t itemsize = -1; in PyBuffer_SizeFromFormat() local
535 return itemsize; in PyBuffer_SizeFromFormat()
553 itemsize = PyLong_AsSsize_t(res); in PyBuffer_SizeFromFormat()
554 if (itemsize < 0) { in PyBuffer_SizeFromFormat()
563 return itemsize; in PyBuffer_SizeFromFormat()
606 elements = len / view->itemsize; in PyBuffer_FromContiguous()
609 memcpy(ptr, src, view->itemsize); in PyBuffer_FromContiguous()
610 src += view->itemsize; in PyBuffer_FromContiguous()
680 memcpy(dptr, sptr, view_src.itemsize); in PyObject_CopyData()
690 Py_ssize_t *strides, int itemsize, in PyBuffer_FillContiguousStrides() argument
696 sd = itemsize; in PyBuffer_FillContiguousStrides()
735 view->itemsize = 1; in PyBuffer_FillInfo()
745 view->strides = &(view->itemsize); in PyBuffer_FillInfo()