/cts/tests/tests/renderscript/src/android/renderscript/cts/ |
D | getset.rs | 34 void __attribute__((kernel)) copy1D_##ty(int idx) { \ 35 ty i = rsGetElementAt_##ty(gAlloc1DIn, idx); \ 36 rsSetElementAt_##ty(gAlloc1DOut, i, idx); \ 38 void __attribute__((kernel)) copy1D_##ty##2(int idx) { \ 39 ty##2 i = rsGetElementAt_##ty##2(gAlloc1DIn, idx); \ 40 rsSetElementAt_##ty##2(gAlloc1DOut, i, idx); \ 42 void __attribute__((kernel)) copy1D_##ty##3(int idx) { \ 43 ty##3 i = rsGetElementAt_##ty##3(gAlloc1DIn, idx); \ 44 rsSetElementAt_##ty##3(gAlloc1DOut, i, idx); \ 46 void __attribute__((kernel)) copy1D_##ty##4(int idx) { \ [all …]
|
D | SampleTest.java | 40 int idx = 0; in createAlloc() local 47 tmp[idx++] = 0x0000ffff; in createAlloc() 51 tmp[idx++] = 0x00ff00ff; in createAlloc() 55 tmp[idx++] = 0x00ffff00; in createAlloc() 59 tmp[idx++] = 0xffffff00; in createAlloc()
|
D | reduce.rs | 51 int idx; 60 accum->min.idx = -1; 62 accum->max.idx = -1; 68 me.idx = x; 86 result->x = val->min.idx; 87 result->y = val->max.idx; 134 for (uint32_t idx = 0; idx < len; ++idx) { 135 const half val = rsGetElementAt_half(in, idx); 215 for (uint32_t idx = 0; idx < len; ++idx) { 216 const half2 val = rsGetElementAt_half2(in, idx);
|
D | ReduceTest.java | 170 for (int idx = 0; idx < input.length; ++idx) in addint() 171 rslt += input[idx]; in addint() 207 for (int idx = 0; idx < input.length; ++idx) { in findMinAndMax() 208 if (input[idx] < minVal) { in findMinAndMax() 209 minVal = input[idx]; in findMinAndMax() 210 minIdx = idx; in findMinAndMax() 212 if (input[idx] > maxVal) { in findMinAndMax() 213 maxVal = input[idx]; in findMinAndMax() 214 maxIdx = idx; in findMinAndMax() 476 for (int idx = 0; idx < input1.length; ++idx) in sumXor() [all …]
|
/cts/tests/tests/graphics/src/android/graphics/cts/ |
D | SweepGradientTest.java | 92 int idx; in checkColors() local 94 for (idx = 0; idx < positions.length; idx++) { in checkColors() 95 if (positions[idx] > relPos) { in checkColors() 99 if (idx == 0) { in checkColors() 102 } else if (idx == positions.length) { in checkColors() 107 int i1 = idx - 1; // index of next lower color and position in checkColors() 108 int i2 = idx; // index of next higher color and position in checkColors()
|
D | YuvImageTest.java | 312 int idx = row * width + col; in convertArgbsToYuvs() local 313 argb2yuv(argb[idx], yuvColor); in convertArgbsToYuvs() 314 yuv[idx] = yuvColor[0]; in convertArgbsToYuvs() 327 int idx = row * width + col; in convertArgbsToYuvs() local 328 argb2yuv(argb[idx], yuvColor0); in convertArgbsToYuvs() 329 argb2yuv(argb[idx + 1], yuvColor1); in convertArgbsToYuvs() 330 int offset = idx / 2 * 4; in convertArgbsToYuvs() 363 int idx = row * width + col; in compareBitmaps() local 364 mse += distance(expColors[idx], actualColors[idx]); in compareBitmaps()
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/aget_short/d/ |
D | T_aget_short_1.java | 20 public short run(short[] arr, int idx) { in run() argument 21 return arr[idx]; in run()
|
D | T_aget_short_8.java | 20 public short run(short[] arr, float idx) { in run() argument
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/aget_boolean/d/ |
D | T_aget_boolean_1.java | 20 public boolean run(boolean[] arr, int idx) { in run() argument 21 return arr[idx]; in run()
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/aget_byte/d/ |
D | T_aget_byte_1.java | 20 public byte run(byte[] arr, int idx) { in run() argument 21 return arr[idx]; in run()
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/aget_wide/d/ |
D | T_aget_wide_1.java | 21 public long run(long[] arr, int idx) { in run() argument 22 return arr[idx]; in run()
|
D | T_aget_wide_2.java | 21 public double run(double[] arr, int idx) { in run() argument 22 return arr[idx]; in run()
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/aget/d/ |
D | T_aget_1.java | 20 public int run(int[] arr, int idx) { in run() argument 21 return arr[idx]; in run()
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/aget_char/d/ |
D | T_aget_char_1.java | 20 public char run(char[] arr, int idx) { in run() argument 21 return arr[idx]; in run()
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/aput_byte/d/ |
D | T_aput_byte_1.java | 20 public void run(byte[] arr, int idx, byte value) { in run() argument 21 arr[idx] = value; in run()
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/aput_char/d/ |
D | T_aput_char_1.java | 20 public void run(char[] arr, int idx, char value) { in run() argument 21 arr[idx] = value; in run()
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/aput_short/d/ |
D | T_aput_short_1.java | 20 public void run(short[] arr, int idx, short value) { in run() argument 21 arr[idx] = value; in run()
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/aput/d/ |
D | T_aput_1.java | 20 public void run(int[] arr, int idx, int value) { in run() argument 21 arr[idx] = value; in run()
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/aput_boolean/d/ |
D | T_aput_boolean_1.java | 20 public void run(boolean[] arr, int idx, boolean value) { in run() argument 21 arr[idx] = value; in run()
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/aput_wide/d/ |
D | T_aput_wide_1.java | 21 public void run(long[] arr, int idx, long value) { in run() argument 22 arr[idx] = value; in run()
|
D | T_aput_wide_2.java | 21 public void run(double[] arr, int idx, double value) { in run() argument 22 arr[idx] = value; in run()
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/aget_object/d/ |
D | T_aget_object_1.java | 21 public String run(String [] arr, int idx) { in run() argument 22 return arr[idx]; in run()
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/aput_object/d/ |
D | T_aput_object_1.java | 21 public void run(String[] arr, int idx, String value) { in run() argument 22 arr[idx] = value; in run()
|
D | T_aput_object_2.java | 21 public void run(Integer[] arr, int idx, Integer value) { in run() argument 22 arr[idx] = value; in run()
|
/cts/tests/tests/voiceinteraction/service/src/android/voiceinteraction/service/ |
D | MainInteractionSession.java | 98 for (int idx = 0; idx < commands.length; idx++) { in onGetSupportedCommands() 99 results[idx] = Utils.TEST_COMMAND.equals(commands[idx]); in onGetSupportedCommands() 100 Log.i(TAG, "command " + commands[idx] + ", support = " + results[idx]); in onGetSupportedCommands()
|