Searched refs:rslice (Results 1 – 2 of 2) sorted by relevance
177 size_t rslice = sregion[0]*sregion[1]; in copy_region() local178 size_t sz = i / rslice; in copy_region()179 size_t sy = (i % rslice) / sregion[0]; in copy_region()180 size_t sx = (i % rslice) % sregion[0]; in copy_region()211 size_t rslice = sregion[0]*sregion[1]; in verify_region() local212 size_t sz = i / rslice; in verify_region()213 size_t sy = (i % rslice) / sregion[0]; in verify_region()214 size_t sx = (i % rslice) % sregion[0]; in verify_region()322 size_t rslice = sregion[0]*sregion[1]; in write_region() local323 size_t sz = i / rslice; in write_region()[all …]
702 def rslice(n, allow_empty=False): function713 yield rslice(n, allow_empty)719 yield tuple(rslice(shape[n]) for n in range(ndim))722 yield tuple(rslice(shape[n], allow_empty=True) for n in range(ndim))1791 for rslice in genslices(5):1804 rval = lst[rslice]1805 lst[lslice] = lst[rslice]1812 nd[lslice] = nd[rslice]1827 mv[lslice] = mv[rslice]3137 for rslice in genslices(n):[all …]