Home
last modified time | relevance | path

Searched refs:idx (Results 1 – 25 of 70) sorted by relevance

123

/cts/tests/tests/renderscript/src/android/renderscript/cts/
Dgetset.rscript34 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 …]
DSampleTest.java40 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()
DReduceTest.java176 for (int idx = 0; idx < input.length; ++idx) in addint()
177 rslt += input[idx]; in addint()
215 for (int idx = 0; idx < input.length; ++idx) { in findMinAndMax()
216 if (input[idx] < minVal) { in findMinAndMax()
217 minVal = input[idx]; in findMinAndMax()
218 minIdx = idx; in findMinAndMax()
220 if (input[idx] > maxVal) { in findMinAndMax()
221 maxVal = input[idx]; in findMinAndMax()
222 maxIdx = idx; in findMinAndMax()
495 for (int idx = 0; idx < input1.length; ++idx) in sumXor()
[all …]
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/sixdof/Renderer/RenderUtils/
DObjImporter.java121 int idx; in parse() local
126 idx = Integer.parseInt(subParts.nextToken()); in parse()
128 if (idx < 0) idx = (vertices.size() / 3) + idx; in parse()
129 else idx -= 1; in parse()
131 currObjIndexData.vertexIndices.add(idx); in parse()
133 quadvids[i - 1] = idx; in parse()
135 idx = Integer.parseInt(subParts.nextToken()); in parse()
136 if (idx < 0) idx = (texCoords.size() / 2) + idx; in parse()
137 else idx -= 1; in parse()
139 currObjIndexData.texCoordIndices.add(idx); in parse()
[all …]
/cts/hostsidetests/car/src/android/car/cts/powerpolicy/
DPowerPolicyTestAnalyzer.java115 int idx = 0; in getDiff() local
117 for (; idx < shortSize; idx++) { in getDiff()
118 if (!shortResult.get(idx).equals(longResult.get(idx))) { in getDiff()
122 for (; idx < longSize; idx++) { in getDiff()
123 diff.add(longResult.get(idx)); in getDiff()
146 for (int idx = shortSize; idx < longSize; idx++) { in getTailDiff()
147 diff.add(longResult.get(idx)); in getTailDiff()
DSilentModeInfo.java74 for (int idx = 0; idx < lines.length; idx++) { in parse()
75 String[] tokens = lines[idx].trim().split(":"); in parse()
78 "SilentModeQueryResult.parse(): malformatted attr line: " + lines[idx]); in parse()
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/aget_byte/d/
DT_aget_byte_1.java20 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_boolean/d/
DT_aget_boolean_1.java20 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_short/d/
DT_aget_short_1.java20 public short run(short[] arr, int idx) { in run() argument
21 return arr[idx]; in run()
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/aget/d/
DT_aget_1.java20 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/
DT_aget_char_1.java20 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/aget_wide/d/
DT_aget_wide_1.java21 public long run(long[] arr, int idx) { in run() argument
22 return arr[idx]; in run()
DT_aget_wide_2.java21 public double run(double[] arr, int idx) { in run() argument
22 return arr[idx]; in run()
/cts/tools/incremental-cts/
Dtarget_file_handler.py34 idx = file_name[1:].find('/')+1
35 real_file_name = file_name[1:idx].upper()+file_name[idx:]
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/aput_short/d/
DT_aput_short_1.java20 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_wide/d/
DT_aput_wide_1.java21 public void run(long[] arr, int idx, long value) { in run() argument
22 arr[idx] = value; in run()
DT_aput_wide_2.java21 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/
DT_aget_object_1.java21 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_boolean/d/
DT_aput_boolean_1.java20 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_byte/d/
DT_aput_byte_1.java20 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/d/
DT_aput_1.java20 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_char/d/
DT_aput_char_1.java20 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_object/d/
DT_aput_object_1.java21 public void run(String[] arr, int idx, String value) { in run() argument
22 arr[idx] = value; in run()
DT_aput_object_2.java21 public void run(Integer[] arr, int idx, Integer value) { in run() argument
22 arr[idx] = value; in run()
/cts/tests/tests/graphics/src/android/graphics/cts/
DSweepGradientTest.java109 int idx; in verifyColors() local
111 for (idx = 0; idx < positions.length; idx++) { in verifyColors()
112 if (positions[idx] > relPos) { in verifyColors()
116 if (idx == 0) { in verifyColors()
119 } else if (idx == positions.length) { in verifyColors()
124 int i1 = idx - 1; // index of next lower color and position in verifyColors()
125 int i2 = idx; // index of next higher color and position in verifyColors()

123