Searched refs:sstrides (Results 1 – 3 of 3) sorted by relevance
/external/python/cpython3/Objects/ |
D | memoryobject.c | 340 char *sptr, const Py_ssize_t *sstrides, const Py_ssize_t *ssuboffsets, in copy_base() argument 353 for (i=0, p=mem; i < shape[0]; p+=itemsize, sptr+=sstrides[0], i++) { in copy_base() 370 char *sptr, const Py_ssize_t *sstrides, const Py_ssize_t *ssuboffsets, in copy_rec() argument 380 sptr, sstrides, ssuboffsets, in copy_rec() 385 for (i = 0; i < shape[0]; dptr+=dstrides[0], sptr+=sstrides[0], i++) { in copy_rec() 391 xsptr, sstrides+1, ssuboffsets ? ssuboffsets+1 : NULL, in copy_rec()
|
/external/python/cpython3/Modules/ |
D | _testbuffer.c | 475 char *sptr, const Py_ssize_t *sstrides, const Py_ssize_t *ssuboffsets, in copy_rec() argument 484 dstrides[0] == itemsize && sstrides[0] == itemsize) { in copy_rec() 490 for (i=0, p=mem; i<shape[0]; p+=itemsize, sptr+=sstrides[0], i++) { in copy_rec() 502 for (i = 0; i < shape[0]; dptr+=dstrides[0], sptr+=sstrides[0], i++) { in copy_rec() 508 xsptr, sstrides+1, ssuboffsets ? ssuboffsets+1 : NULL, in copy_rec()
|
/external/python/cpython3/Lib/test/ |
D | test_buffer.py | 333 sstrides = strides_from_shape(ndim, shape, 1, 'C') 337 fr = getindex(ndim, ind, sstrides)
|