Home
last modified time | relevance | path

Searched refs:inputArray (Results 1 – 5 of 5) sorted by relevance

/frameworks/rs/java/tests/RSTest_CompatLib/src/com/android/rs/test/
DUT_reduce_backward.java108 final int[] inputArray = createInputArrayInt(dimX * dimY, 1, 1 << 13); in addint2D() local
112 inputAllocation.copy2DRangeFrom(0, 0, dimX, dimY, inputArray); in addint2D()
114 final int javaRslt = addint(inputArray); in addint2D()
174 int[] inputArray = createInputArrayInt(inputLen, 7); in fz2() local
176 inputArray[(new Random(8)).nextInt(inputLen)] = 0; in fz2()
181 inputAllocation.copy2DRangeFrom(0, 0, dimX, dimY, inputArray); in fz2()
185 final int cellVal = inputArray[rsRslt.x + dimX * rsRslt.y]; in fz2()
199 int[] inputArray = createInputArrayInt(inputLen, 9); in fz3() local
201 inputArray[(new Random(10)).nextInt(inputLen)] = 0; in fz3()
206 inputAllocation.copy3DRangeFrom(0, 0, 0, dimX, dimY, dimZ, inputArray); in fz3()
[all …]
DUT_reduce.java108 final int[] inputArray = createInputArrayInt(dimX * dimY, 1, 1 << 13); in addint2D() local
112 inputAllocation.copy2DRangeFrom(0, 0, dimX, dimY, inputArray); in addint2D()
114 final int javaRslt = addint(inputArray); in addint2D()
174 int[] inputArray = createInputArrayInt(inputLen, 7); in fz2() local
176 inputArray[(new Random(8)).nextInt(inputLen)] = 0; in fz2()
181 inputAllocation.copy2DRangeFrom(0, 0, dimX, dimY, inputArray); in fz2()
185 final int cellVal = inputArray[rsRslt.x + dimX * rsRslt.y]; in fz2()
199 int[] inputArray = createInputArrayInt(inputLen, 9); in fz3() local
201 inputArray[(new Random(10)).nextInt(inputLen)] = 0; in fz3()
206 inputAllocation.copy3DRangeFrom(0, 0, 0, dimX, dimY, dimZ, inputArray); in fz3()
[all …]
/frameworks/rs/java/tests/RsTest/src/com/android/rs/test/
DUT_reduce_backward.java118 final int[] inputArray = createInputArrayInt(dimX * dimY, 1, 1 << 13); in addint2D() local
122 inputAllocation.copy2DRangeFrom(0, 0, dimX, dimY, inputArray); in addint2D()
124 final int javaRslt = addint(inputArray); in addint2D()
190 int[] inputArray = createInputArrayInt(inputLen, 7); in fz2() local
192 inputArray[(new Random(8)).nextInt(inputLen)] = 0; in fz2()
197 inputAllocation.copy2DRangeFrom(0, 0, dimX, dimY, inputArray); in fz2()
201 final int cellVal = inputArray[rsRslt.x + dimX * rsRslt.y]; in fz2()
215 int[] inputArray = createInputArrayInt(inputLen, 9); in fz3() local
217 inputArray[(new Random(10)).nextInt(inputLen)] = 0; in fz3()
222 inputAllocation.copy3DRangeFrom(0, 0, 0, dimX, dimY, dimZ, inputArray); in fz3()
[all …]
DUT_reduce.java259 final int[] inputArray = createInputArrayInt(size[0], seed, Integer.MAX_VALUE / size[0]); in addint1D() local
262 final int javaRslt = addint(inputArray); in addint1D()
267 Allocation inputAllocation = Allocation.createSized(RS, Element.I32(RS), inputArray.length); in addint1D()
271 inputAllocation.copyFrom(inputArray); in addint1D()
290 …final int[] inputArray = createInputArrayInt(dimX * dimY, seed, Integer.MAX_VALUE / (dimX * dimY)); in addint2D() local
293 final int javaRslt = addint(inputArray); in addint2D()
304 inputAllocation.copy2DRangeFrom(0, 0, dimX, dimY, inputArray); in addint2D()
324 …final int[] inputArray = createInputArrayInt(dimX * dimY * dimZ, seed, Integer.MAX_VALUE / (dimX *… in addint3D() local
327 final int javaRslt = addint(inputArray); in addint3D()
338 inputAllocation.copy3DRangeFrom(0, 0, 0, dimX, dimY, dimZ, inputArray); in addint3D()
[all …]
/frameworks/base/keystore/java/android/security/keystore/
DAndroidKeyStoreCipherSpiBase.java405 byte[] inputArray = new byte[inputSize]; in engineUpdate()
406 input.get(inputArray); in engineUpdate()
407 outputArray = engineUpdate(inputArray, 0, inputSize); in engineUpdate()
562 byte[] inputArray = new byte[inputSize]; in engineDoFinal()
563 input.get(inputArray); in engineDoFinal()
564 outputArray = engineDoFinal(inputArray, 0, inputSize); in engineDoFinal()