Home
last modified time | relevance | path

Searched refs:numberOfBits (Results 1 – 4 of 4) sorted by relevance

/cts/tests/tests/renderscriptlegacy/src/android/renderscriptlegacy/cts/
DRSUtils.java164 public static void genRandomLongs(long seed, long array[], boolean signed, int numberOfBits) { in genRandomLongs() argument
165 long positiveMask = numberOfBits == 64 ? -1 : ((1l << numberOfBits) - 1); in genRandomLongs()
187 public static void genRandomInts(long seed, int array[], boolean signed, int numberOfBits) { in genRandomInts() argument
189 genRandomLongs(seed, longs, signed, numberOfBits); in genRandomInts()
195 public static void genRandomShorts(long seed, short array[], boolean signed, int numberOfBits) { in genRandomShorts() argument
197 genRandomLongs(seed, longs, signed, numberOfBits); in genRandomShorts()
203 public static void genRandomBytes(long seed, byte array[], boolean signed, int numberOfBits) { in genRandomBytes() argument
205 genRandomLongs(seed, longs, signed, numberOfBits); in genRandomBytes()
/cts/tests/tests/renderscript/src/android/renderscript/cts/
DRSUtils.java269 public static void genRandomLongs(long seed, long array[], boolean signed, int numberOfBits) { in genRandomLongs() argument
270 long positiveMask = numberOfBits == 64 ? -1 : ((1l << numberOfBits) - 1); in genRandomLongs()
292 public static void genRandomInts(long seed, int array[], boolean signed, int numberOfBits) { in genRandomInts() argument
294 genRandomLongs(seed, longs, signed, numberOfBits); in genRandomInts()
300 public static void genRandomShorts(long seed, short array[], boolean signed, int numberOfBits) { in genRandomShorts() argument
302 genRandomLongs(seed, longs, signed, numberOfBits); in genRandomShorts()
308 public static void genRandomBytes(long seed, byte array[], boolean signed, int numberOfBits) { in genRandomBytes() argument
310 genRandomLongs(seed, longs, signed, numberOfBits); in genRandomBytes()
DTarget.java186 Floaty newNan(int numberOfBits) { in newNan() argument
187 return new Floaty(numberOfBits, new double [] { Double.NaN }); in newNan()
337 Floaty(int numberOfBits, double values[]) { in Floaty() argument
339 mNumberOfBits = numberOfBits; in Floaty()
DRSBaseCompute.java201 int size, long seed, boolean signed, int numberOfBits) { in createRandomIntegerAllocation() argument
208 RSUtils.genRandomLongs(seed, inArray, signed, numberOfBits); in createRandomIntegerAllocation()
214 RSUtils.genRandomInts(seed, inArray, signed, numberOfBits); in createRandomIntegerAllocation()
219 RSUtils.genRandomShorts(seed, inArray, signed, numberOfBits); in createRandomIntegerAllocation()
224 RSUtils.genRandomBytes(seed, inArray, signed, numberOfBits); in createRandomIntegerAllocation()