Searched refs:dstrides (Results 1 – 3 of 3) sorted by relevance
/external/python/cpython3/Objects/ |
D | memoryobject.c | 339 char *dptr, const Py_ssize_t *dstrides, const Py_ssize_t *dsuboffsets, in copy_base() argument 357 for (i=0, p=mem; i < shape[0]; p+=itemsize, dptr+=dstrides[0], i++) { in copy_base() 369 char *dptr, const Py_ssize_t *dstrides, const Py_ssize_t *dsuboffsets, in copy_rec() argument 379 dptr, dstrides, dsuboffsets, in copy_rec() 385 for (i = 0; i < shape[0]; dptr+=dstrides[0], sptr+=sstrides[0], i++) { in copy_rec() 390 xdptr, dstrides+1, dsuboffsets ? dsuboffsets+1 : NULL, in copy_rec()
|
/external/python/cpython3/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()
|
/external/python/cpython3/Lib/test/ |
D | test_buffer.py | 334 dstrides = strides_from_shape(ndim, shape[::-1], 1, 'C') 338 to = getindex(ndim, ind[::-1], dstrides)
|