Home
last modified time | relevance | path

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

/cts/tests/tests/renderscript/src/android/renderscript/cts/
DAllocationCopyPaddedTest.java28 int arr_len = width * 3; in test_AllocationPadded_Byte3_1D() local
30 byte[] inArray = new byte[arr_len]; in test_AllocationPadded_Byte3_1D()
31 byte[] outArray = new byte[arr_len]; in test_AllocationPadded_Byte3_1D()
42 for (int i = 0; i < arr_len; i++) { in test_AllocationPadded_Byte3_1D()
57 int arr_len = width * height * 3; in test_AllocationPadded_Byte3_2D() local
59 byte[] inArray = new byte[arr_len]; in test_AllocationPadded_Byte3_2D()
60 byte[] outArray = new byte[arr_len]; in test_AllocationPadded_Byte3_2D()
71 for (int i = 0; i < arr_len; i++) { in test_AllocationPadded_Byte3_2D()
87 int arr_len = w * d * h * 3; in test_AllocationPadded_Byte3_3D() local
89 byte[] inArray = new byte[arr_len]; in test_AllocationPadded_Byte3_3D()
[all …]
DAllocationCopyToTest.java38 int arr_len = width; in test_Allocationcopy1DRangeTo_Byte() local
40 byte[] inArray = new byte[arr_len]; in test_Allocationcopy1DRangeTo_Byte()
41 byte[] outArray = new byte[arr_len]; in test_Allocationcopy1DRangeTo_Byte()
47 int offset = random.nextInt(arr_len); in test_Allocationcopy1DRangeTo_Byte()
48 int count = arr_len - offset; in test_Allocationcopy1DRangeTo_Byte()
59 for (int i = count; i < arr_len; i++) { in test_Allocationcopy1DRangeTo_Byte()
72 int arr_len = width; in test_Allocationcopy1DRangeTo_Short_Helper() local
74 short[] inArray = new short[arr_len]; in test_Allocationcopy1DRangeTo_Short_Helper()
75 short[] outArray = new short[arr_len]; in test_Allocationcopy1DRangeTo_Short_Helper()
77 for (int i = 0; i < arr_len; i++) { in test_Allocationcopy1DRangeTo_Short_Helper()
[all …]
DRsAllocationCopyTest.java30 int arr_len = width; in test_RsAllocationCopy1D_Byte() local
31 int offset = random.nextInt(arr_len); in test_RsAllocationCopy1D_Byte()
32 int count = random.nextInt(arr_len - offset); in test_RsAllocationCopy1D_Byte()
34 byte[] inArray = new byte[arr_len]; in test_RsAllocationCopy1D_Byte()
35 byte[] outArray = new byte[arr_len]; in test_RsAllocationCopy1D_Byte()
55 for (int i = 0; i < arr_len; i++) { in test_RsAllocationCopy1D_Byte()
75 int arr_len = width; in test_RsAllocationCopy1D_Short() local
76 int offset = random.nextInt(arr_len); in test_RsAllocationCopy1D_Short()
77 int count = random.nextInt(arr_len - offset); in test_RsAllocationCopy1D_Short()
79 short[] inArray = new short[arr_len]; in test_RsAllocationCopy1D_Short()
[all …]
DDebugContext.java438 int arr_len = width * height; in testDebugContextRsAllocationCopy2D_Short_WrongD() local