Searched refs:dstrides (Results 1 – 3 of 3) sorted by relevance
/third_party/python/Objects/ |
D | memoryobject.c | 333 char *dptr, const Py_ssize_t *dstrides, const Py_ssize_t *dsuboffsets, in copy_base() argument 351 for (i=0, p=mem; i < shape[0]; p+=itemsize, dptr+=dstrides[0], i++) { in copy_base() 363 char *dptr, const Py_ssize_t *dstrides, const Py_ssize_t *dsuboffsets, in copy_rec() argument 373 dptr, dstrides, dsuboffsets, in copy_rec() 379 for (i = 0; i < shape[0]; dptr+=dstrides[0], sptr+=sstrides[0], i++) { in copy_rec() 384 xdptr, dstrides+1, dsuboffsets ? dsuboffsets+1 : NULL, in copy_rec()
|
/third_party/python/Modules/ |
D | _testbuffer.c | 474 char *dptr, const Py_ssize_t *dstrides, const Py_ssize_t *dsuboffsets, in copy_rec() argument 484 dstrides[0] == itemsize && sstrides[0] == itemsize) { in copy_rec() 494 for (i=0, p=mem; i<shape[0]; p+=itemsize, dptr+=dstrides[0], i++) { in copy_rec() 502 for (i = 0; i < shape[0]; dptr+=dstrides[0], sptr+=sstrides[0], i++) { in copy_rec() 507 xdptr, dstrides+1, dsuboffsets ? dsuboffsets+1 : NULL, in copy_rec()
|
/third_party/python/Lib/test/ |
D | test_buffer.py | 335 dstrides = strides_from_shape(ndim, shape[::-1], 1, 'C') 339 to = getindex(ndim, ind[::-1], dstrides)
|