Home
last modified time | relevance | path

Searched refs:outArray (Results 1 – 18 of 18) sorted by relevance

/frameworks/rs/tests/java_api/RSUnitTests/supportlibsrc_gen/com/android/rs/unittest/
DUT_alloc_copyPadded.java91 byte[] outArray = new byte[arr_len]; in testAllocation_Byte3_1D()
99 alloc.copyTo(outArray); in testAllocation_Byte3_1D()
103 if (inArray[i] != outArray[i]) { in testAllocation_Byte3_1D()
105 … android.util.Log.v("Alloc Padding Test", "" + i + " " + inArray[i] + " " + outArray[i]); in testAllocation_Byte3_1D()
123 byte[] outArray = new byte[arr_len]; in testAllocation_Byte3_2D()
131 alloc.copyTo(outArray); in testAllocation_Byte3_2D()
135 if (inArray[i] != outArray[i]) { in testAllocation_Byte3_2D()
137 … android.util.Log.v("Alloc Padding Test", "" + i + " " + inArray[i] + " " + outArray[i]); in testAllocation_Byte3_2D()
156 byte[] outArray = new byte[arr_len]; in testAllocation_Byte3_3D()
164 alloc.copyTo(outArray); in testAllocation_Byte3_3D()
[all …]
DUT_alloc_copy.java67 byte[] outArray = new byte[arr_len]; in allocation_copy1DRangeTo_Byte()
76 alloc.copy1DRangeTo(offset, count, outArray); in allocation_copy1DRangeTo_Byte()
80 if (inArray[i] != outArray[i]) { in allocation_copy1DRangeTo_Byte()
82 …ndroid.util.Log.v("Allocation CopyTo Test", "Failed: " + i + " " + inArray[i] + " " + outArray[i]); in allocation_copy1DRangeTo_Byte()
87 if (outArray[i] != 0) { in allocation_copy1DRangeTo_Byte()
89 …ndroid.util.Log.v("Allocation CopyTo Test", "Failed: " + i + " " + inArray[i] + " " + outArray[i]); in allocation_copy1DRangeTo_Byte()
106 short[] outArray = new short[arr_len]; in allocation_copy1DRangeTo_Short() local
118 alloc.copy1DRangeTo(offset, count, outArray); in allocation_copy1DRangeTo_Short()
122 if (inArray[i] != outArray[i]) { in allocation_copy1DRangeTo_Short()
124 …ndroid.util.Log.v("Allocation CopyTo Test", "Failed: " + i + " " + inArray[i] + " " + outArray[i]); in allocation_copy1DRangeTo_Short()
[all …]
/frameworks/rs/tests/java_api/RSUnitTests/src/com/android/rs/unittest/
DUT_alloc_copyPadded.java89 byte[] outArray = new byte[arr_len]; in testAllocation_Byte3_1D()
97 alloc.copyTo(outArray); in testAllocation_Byte3_1D()
101 if (inArray[i] != outArray[i]) { in testAllocation_Byte3_1D()
103 … android.util.Log.v("Alloc Padding Test", "" + i + " " + inArray[i] + " " + outArray[i]); in testAllocation_Byte3_1D()
121 byte[] outArray = new byte[arr_len]; in testAllocation_Byte3_2D()
129 alloc.copyTo(outArray); in testAllocation_Byte3_2D()
133 if (inArray[i] != outArray[i]) { in testAllocation_Byte3_2D()
135 … android.util.Log.v("Alloc Padding Test", "" + i + " " + inArray[i] + " " + outArray[i]); in testAllocation_Byte3_2D()
154 byte[] outArray = new byte[arr_len]; in testAllocation_Byte3_3D()
162 alloc.copyTo(outArray); in testAllocation_Byte3_3D()
[all …]
DUT_alloc_copy.java65 byte[] outArray = new byte[arr_len]; in allocation_copy1DRangeTo_Byte()
74 alloc.copy1DRangeTo(offset, count, outArray); in allocation_copy1DRangeTo_Byte()
78 if (inArray[i] != outArray[i]) { in allocation_copy1DRangeTo_Byte()
80 …ndroid.util.Log.v("Allocation CopyTo Test", "Failed: " + i + " " + inArray[i] + " " + outArray[i]); in allocation_copy1DRangeTo_Byte()
85 if (outArray[i] != 0) { in allocation_copy1DRangeTo_Byte()
87 …ndroid.util.Log.v("Allocation CopyTo Test", "Failed: " + i + " " + inArray[i] + " " + outArray[i]); in allocation_copy1DRangeTo_Byte()
104 short[] outArray = new short[arr_len]; in allocation_copy1DRangeTo_Short() local
116 alloc.copy1DRangeTo(offset, count, outArray); in allocation_copy1DRangeTo_Short()
120 if (inArray[i] != outArray[i]) { in allocation_copy1DRangeTo_Short()
122 …ndroid.util.Log.v("Allocation CopyTo Test", "Failed: " + i + " " + inArray[i] + " " + outArray[i]); in allocation_copy1DRangeTo_Short()
[all …]
/frameworks/rs/tests/java_api/RSTest_CompatLibLegacy/src/com/android/rs/test/
DUT_alloc_copyPadded.java88 byte[] outArray = new byte[arr_len]; in testAllocation_Byte3_1D()
96 alloc.copyTo(outArray); in testAllocation_Byte3_1D()
100 if (inArray[i] != outArray[i]) { in testAllocation_Byte3_1D()
102 … android.util.Log.v("Alloc Padding Test", "" + i + " " + inArray[i] + " " + outArray[i]); in testAllocation_Byte3_1D()
120 byte[] outArray = new byte[arr_len]; in testAllocation_Byte3_2D()
128 alloc.copyTo(outArray); in testAllocation_Byte3_2D()
132 if (inArray[i] != outArray[i]) { in testAllocation_Byte3_2D()
134 … android.util.Log.v("Alloc Padding Test", "" + i + " " + inArray[i] + " " + outArray[i]); in testAllocation_Byte3_2D()
153 byte[] outArray = new byte[arr_len]; in testAllocation_Byte3_3D()
161 alloc.copyTo(outArray); in testAllocation_Byte3_3D()
[all …]
DUT_alloc_copy.java63 byte[] outArray = new byte[arr_len]; in allocation_copy1DRangeTo_Byte()
72 alloc.copy1DRangeTo(offset, count, outArray); in allocation_copy1DRangeTo_Byte()
76 if (inArray[i] != outArray[i]) { in allocation_copy1DRangeTo_Byte()
78 …ndroid.util.Log.v("Allocation CopyTo Test", "Failed: " + i + " " + inArray[i] + " " + outArray[i]); in allocation_copy1DRangeTo_Byte()
83 if (outArray[i] != 0) { in allocation_copy1DRangeTo_Byte()
85 …ndroid.util.Log.v("Allocation CopyTo Test", "Failed: " + i + " " + inArray[i] + " " + outArray[i]); in allocation_copy1DRangeTo_Byte()
102 short[] outArray = new short[arr_len]; in allocation_copy1DRangeTo_Short() local
114 alloc.copy1DRangeTo(offset, count, outArray); in allocation_copy1DRangeTo_Short()
118 if (inArray[i] != outArray[i]) { in allocation_copy1DRangeTo_Short()
120 …ndroid.util.Log.v("Allocation CopyTo Test", "Failed: " + i + " " + inArray[i] + " " + outArray[i]); in allocation_copy1DRangeTo_Short()
[all …]
/frameworks/compile/slang/tests/P_reduce_general_result/
DScriptC_reduce_general_result.java.expect118 byte[] outArray = new byte[7];
119 mOut.copyTo(outArray);
122 result[Idx] = outArray[Idx] != 0;
159 byte[] outArray = new byte[7];
160 mOut.copyTo(outArray);
161 mResult = outArray;
195 byte[] outArray = new byte[14];
196 mOut.copyTo(outArray);
199 result[Idx] = new Byte2(outArray[2*Idx+0], outArray[2*Idx+1]);
236 byte[] outArray = new byte[28];
[all …]
/frameworks/compile/slang/tests/P_reduce_general_examples_halter/
DScriptC_reduce_general_examples_halter.java.expect54 int[] outArray = new int[1];
55 mOut.copyTo(outArray);
56 mResult = outArray[0];
90 int[] outArray = new int[2];
91 mOut.copyTo(outArray);
92 mResult = new Int2(outArray[0], outArray[1]);
/frameworks/compile/slang/tests/P_reduce_general_examples/
DScriptC_reduce_general_examples.java.expect60 int[] outArray = new int[256];
61 mOut.copyTo(outArray);
64 result[Idx] = ((long) ((outArray[Idx]) & 0xffffffffL));
101 float[] outArray = new float[1];
102 mOut.copyTo(outArray);
103 mResult = outArray[0];
137 int[] outArray = new int[1];
138 mOut.copyTo(outArray);
139 mResult = outArray[0];
173 int[] outArray = new int[2];
[all …]
/frameworks/compile/slang/tests/P_reduce_general_examples_backward/
DScriptC_reduce_general_examples_backward.java.expect60 int[] outArray = new int[256];
61 mOut.copyTo(outArray);
64 result[Idx] = ((long) ((outArray[Idx]) & 0xffffffffL));
101 float[] outArray = new float[1];
102 mOut.copyTo(outArray);
103 mResult = outArray[0];
137 int[] outArray = new int[1];
138 mOut.copyTo(outArray);
139 mResult = outArray[0];
173 int[] outArray = new int[2];
[all …]
/frameworks/compile/slang/tests/P_reduce_general_examples_explicit/
DScriptC_reduce_general_examples_explicit.java.expect58 int[] outArray = new int[256];
59 mOut.copyTo(outArray);
62 result[Idx] = ((long) ((outArray[Idx]) & 0xffffffffL));
99 float[] outArray = new float[1];
100 mOut.copyTo(outArray);
101 mResult = outArray[0];
135 int[] outArray = new int[1];
136 mOut.copyTo(outArray);
137 mResult = outArray[0];
/frameworks/compile/slang/tests/P_reduce_general_struct/
DScriptC_reduce_general_struct.java.expect54 int[] outArray = new int[1];
55 mOut.copyTo(outArray);
56 mResult = outArray[0];
/frameworks/compile/slang/tests/P_reduce_general_duplicate_array/
DScriptC_reduce_general_duplicate_array.java.expect52 int[] outArray = new int[4];
53 mOut.copyTo(outArray);
54 mResult = outArray;
/frameworks/base/core/jni/
Dandroid_os_Debug.cpp596 jlong* outArray = env->GetLongArrayElements(out, 0); in android_os_Debug_getMemInfo() local
597 if (outArray != NULL) { in android_os_Debug_getMemInfo()
601 outArray[i] = smi.ReadVmallocInfo() / 1024; in android_os_Debug_getMemInfo()
604 outArray[i] = mem[i]; in android_os_Debug_getMemInfo()
608 env->ReleaseLongArrayElements(out, outArray, 0); in android_os_Debug_getMemInfo()
/frameworks/base/services/core/java/com/android/server/net/
DNetworkStatsFactory.java149 String[] outArray = new String[relatedIfaces.size()]; in augmentWithStackedInterfaces() local
150 return relatedIfaces.toArray(outArray); in augmentWithStackedInterfaces()
/frameworks/compile/slang/tests/P_reduce_general_accumulator/
DScriptC_reduce_general_accumulator.java.expect52 int[] outArray = new int[1];
53 mOut.copyTo(outArray);
54 mResult = outArray[0];
/frameworks/compile/slang/tests/P_reduce_general_input/
DScriptC_reduce_general_input.java.expect120 int[] outArray = new int[1];
121 mOut.copyTo(outArray);
122 mResult = outArray[0];
/frameworks/compile/slang/tests/P_reduce_general_inputs/
DScriptC_reduce_general_inputs.java.expect92 int[] outArray = new int[1];
93 mOut.copyTo(outArray);
94 mResult = outArray[0];