Searched refs:outArray (Results 1 – 9 of 9) sorted by relevance
/cts/tests/tests/renderscript/src/android/renderscript/cts/ |
D | AllocationCopyPaddedTest.java | 31 byte[] outArray = new byte[arr_len]; in test_AllocationPadded_Byte3_1D() 39 alloc.copyTo(outArray); in test_AllocationPadded_Byte3_1D() 43 if (inArray[i] != outArray[i]) { in test_AllocationPadded_Byte3_1D() 60 byte[] outArray = new byte[arr_len]; in test_AllocationPadded_Byte3_2D() 68 alloc.copyTo(outArray); in test_AllocationPadded_Byte3_2D() 72 if (inArray[i] != outArray[i]) { in test_AllocationPadded_Byte3_2D() 90 byte[] outArray = new byte[arr_len]; in test_AllocationPadded_Byte3_3D() 98 alloc.copyTo(outArray); in test_AllocationPadded_Byte3_3D() 102 if (inArray[i] != outArray[i]) { in test_AllocationPadded_Byte3_3D() 118 short[] outArray = new short[arr_len]; in test_AllocationPadded_Short3_1D_Helper() local [all …]
|
D | AllocationCopyToTest.java | 41 byte[] outArray = new byte[arr_len]; in test_Allocationcopy1DRangeTo_Byte() 50 alloc.copy1DRangeTo(offset, count, outArray); in test_Allocationcopy1DRangeTo_Byte() 54 if (inArray[i] != outArray[i]) { in test_Allocationcopy1DRangeTo_Byte() 60 if (outArray[i] != 0) { in test_Allocationcopy1DRangeTo_Byte() 75 short[] outArray = new short[arr_len]; in test_Allocationcopy1DRangeTo_Short_Helper() local 88 alloc.copy1DRangeTo(offset, count, outArray); in test_Allocationcopy1DRangeTo_Short_Helper() 91 alloc.copy1DRangeTo(offset, count, (Object) outArray); in test_Allocationcopy1DRangeTo_Short_Helper() 96 if (inArray[i] != outArray[i]) { in test_Allocationcopy1DRangeTo_Short_Helper() 102 if (outArray[i] != 0) { in test_Allocationcopy1DRangeTo_Short_Helper() 123 int[] outArray = new int[arr_len]; in test_Allocationcopy1DRangeTo_Int() local [all …]
|
D | RsAllocationCopyTest.java | 35 byte[] outArray = new byte[arr_len]; in test_RsAllocationCopy1D_Byte() 43 aOut.copyFrom(outArray); in test_RsAllocationCopy1D_Byte() 52 aOut.copyTo(outArray); in test_RsAllocationCopy1D_Byte() 57 if (inArray[i] != outArray[i]) { in test_RsAllocationCopy1D_Byte() 62 if (outArray[i] != 0) { in test_RsAllocationCopy1D_Byte() 80 short[] outArray = new short[arr_len]; in test_RsAllocationCopy1D_Short() local 90 aOut.copyFrom(outArray); in test_RsAllocationCopy1D_Short() 99 aOut.copyTo(outArray); in test_RsAllocationCopy1D_Short() 104 if (inArray[i] != outArray[i]) { in test_RsAllocationCopy1D_Short() 109 if (outArray[i] != 0) { in test_RsAllocationCopy1D_Short() [all …]
|
D | SendToClient.java | 38 int outArray[] = new int[4]; field in SendToClient 43 outArray[0] = mID; 44 outArray[1] = mData[0]; 45 outArray[2] = mData[1]; 46 outArray[3] = mData[2]; 78 assertEquals(createErrorMsgF(i, inArray[i], outArray[i]), in testSendToClient() 79 inArray[i], outArray[i]); in testSendToClient() local 87 outArray[0] = 0; in testSendToClient1() 102 assertEquals(createErrorMsgF(1, Id, outArray[0]), Id, outArray[0]); in testSendToClient1()
|
D | RsPackColorTo8888Test.java | 78 byte[] outArray = new byte[INPUTSIZE * 4]; in float3input() 86 mAllocationOut.copyTo(outArray); in float3input() 87 for (int i = 0; i < outArray.length; i += 4) { in float3input() 96 assertEquals(refArray[i+j] & 0xff, outArray[i+j] & 0xff); in float3input() 108 byte[] outArray = new byte[INPUTSIZE * 4]; in float4input() 116 mAllocationOut.copyTo(outArray); in float4input() 117 for (int i = 0; i < outArray.length; i += 4) { in float4input() 126 assertEquals(refArray[i+j] & 0xff, outArray[i+j] & 0xff); in float4input()
|
D | DebugContext.java | 143 byte[] outArray = new byte[ArrLen]; in SetupAllocationCopyTests() 145 aOut.copyFrom(outArray); in SetupAllocationCopyTests() 152 short[] outArray = new short[ArrLen]; in SetupAllocationCopyTests() local 154 aOut.copyFrom(outArray); in SetupAllocationCopyTests() 200 byte[] outArray = new byte[AC.ArrLen]; in testDebugContextRsAllocationCopy1D_Byte_Normal() 202 AC.aOut.copyTo(outArray); in testDebugContextRsAllocationCopy1D_Byte_Normal() 205 if (inArray[i] != outArray[i]) { in testDebugContextRsAllocationCopy1D_Byte_Normal() 210 if (outArray[i] != 0) { in testDebugContextRsAllocationCopy1D_Byte_Normal() 249 short[] outArray = new short[AC.ArrLen]; in testDebugContextRsAllocationCopy2D_Short_Normal() local 251 AC.aOut.copyTo(outArray); in testDebugContextRsAllocationCopy2D_Short_Normal() [all …]
|
D | RsUnpackColor8888Test.java | 46 float[] outArray = new float[INPUTSIZE * 4]; in testRsUnpackColor8888RGB() local 57 mAllocationOut.copyTo(outArray); in testRsUnpackColor8888RGB() 59 for (int i = 0; i < outArray.length; i += 4) { in testRsUnpackColor8888RGB() 67 assertEquals(refArray[i+j], outArray[i+j]); in testRsUnpackColor8888RGB()
|
D | AllocationResize.java | 47 int[] outArray = new int[INPUTSIZE]; in testResize() local 59 mOut.copyTo(outArray); in testResize() 61 assertEquals("Incorrect value @ idx = " + i + " | ", inArray[i], outArray[i]); in testResize()
|
D | AllocationCopy2DRangeTest.java | 36 int[] outArray = new int[width * height]; in testAllocationCopy2DRange() local 55 mOutAllocation.copyTo(outArray); in testAllocationCopy2DRange() 57 compareTwoArrays(inArray, outArray, width*height)); in testAllocationCopy2DRange()
|