Home
last modified time | relevance | path

Searched refs:rslice (Results 1 – 2 of 2) sorted by relevance

/external/OpenCL-CTS/test_conformance/basic/
Dtest_bufferreadwriterect.cpp177 size_t rslice = sregion[0]*sregion[1]; in copy_region() local
178 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() local
212 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() local
323 size_t sz = i / rslice; in write_region()
[all …]
/external/python/cpython3/Lib/test/
Dtest_buffer.py702 def rslice(n, allow_empty=False): function
713 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 …]