Home
last modified time | relevance | path

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

/cts/tests/tests/renderscriptlegacy/src/android/renderscriptlegacy/cts/
DRSUtils.java165 long positiveMask = numberOfBits == 64 ? -1 : ((1l << numberOfBits) - 1); in genRandomLongs() local
166 long negativeMask = ~positiveMask; in genRandomLongs()
173 l = l & positiveMask; in genRandomLongs()
180 array[r.nextInt(array.length)] = positiveMask; in genRandomLongs()
/cts/tests/tests/renderscript/src/android/renderscript/cts/
DRSUtils.java270 long positiveMask = numberOfBits == 64 ? -1 : ((1l << numberOfBits) - 1); in genRandomLongs() local
271 long negativeMask = ~positiveMask; in genRandomLongs()
278 l = l & positiveMask; in genRandomLongs()
285 array[r.nextInt(array.length)] = positiveMask; in genRandomLongs()