Home
last modified time | relevance | path

Searched refs:abs (Results 1 – 25 of 47) sorted by relevance

12

/art/test/455-checker-gvn/src/
DMain.java63 int abs = Math.abs(mul1); in mulAndIntrinsic() local
65 return abs + mul2; in mulAndIntrinsic()
80 int abs1 = Math.abs(x); in directIntrinsic()
81 int abs2 = Math.abs(x); in directIntrinsic()
/art/test/660-checker-simd-sad-short3/src/
DMain.java50 sad += Math.abs(s[i] - param); in sadShort2IntParamRight()
81 sad += Math.abs(param - s[i]); in sadShort2IntParamLeft()
112 sad += Math.abs(s[i] - 32767); in sadShort2IntConstRight()
143 sad += Math.abs(32767 - s[i]); in sadShort2IntConstLeft()
175 sad += Math.abs(s[i] - x); in sadShort2IntInvariantRight()
207 sad += Math.abs(x - s[i]); in sadShort2IntInvariantLeft()
242 sad += Math.abs(s[i] - x); in sadShort2IntCastedExprRight()
277 sad += Math.abs(x - s[i]); in sadShort2IntCastedExprLeft()
/art/test/645-checker-abs-simd/src/
DMain.java43 x[i] = (byte) Math.abs(x[i]); in doitByte()
58 x[i] = (char) Math.abs(x[i]); in doitChar()
80 x[i] = (short) Math.abs(x[i]); in doitShort()
102 x[i] = (char) Math.abs((short) x[i]); in doitCastedChar()
124 x[i] = Math.abs(x[i]); in doitInt()
146 x[i] = Math.abs(x[i]); in doitLong()
168 x[i] = Math.abs(x[i]); in doitFloat()
190 x[i] = Math.abs(x[i]); in doitDouble()
202 expectEquals32((byte) Math.abs((byte) i), xb[i]); in main()
210 expectEquals32((char) Math.abs((char) i), xc[i]); in main()
[all …]
/art/test/032-concrete-sub/
Dexpected.txt1 calling abs.doStuff()
3 Got expected exception from abs.doStuff().
/art/test/032-concrete-sub/src/
DConcreteSub.java23 private static void callBase(AbstractBase abs) { in callBase() argument
25 abs.doStuff(); in callBase()
/art/test/574-irreducible-and-constant-area/src/
DMain.java31 Math.abs(a); in $inline$foo()
37 Math.abs(a); in $inline$foo()
/art/test/800-smali/smali/
Db_26143249.smali15 invoke-virtual {p0}, LB26143249;->abs()V
19 .method public abstract abs()V
/art/tools/dexfuzz/src/dexfuzz/rawdex/
DEncodedCatchHandler.java29 int absoluteSize = Math.abs(size); in read()
32 for (int i = 0; i < Math.abs(size); i++) { in read()
/art/test/640-checker-double-simd/src/
DMain.java102 static void abs() { in abs() method in Main
104 a[i] = Math.abs(a[i]); in abs()
169 abs(); in main()
/art/test/660-checker-sad-int/src/
DMain.java141 int e2 = Math.abs(x - y); // pure abs in main()
145 long eL1 = Math.abs(((long)x) - ((long)y)); // now, different, but abs in main()
147 long eL2 = Math.abs((long)(x - y)); // also, different, but abs in main()
/art/test/640-checker-float-simd/src/
DMain.java102 static void abs() { in abs() method in Main
104 a[i] = Math.abs(a[i]); in abs()
168 abs(); in main()
/art/test/631-checker-fp-abs/
Dinfo.txt1 Tests on floating-point Math.abs.
/art/test/645-checker-abs-simd/
Dinfo.txt1 Functional tests on abs SIMD vectorization.
/art/test/562-checker-no-intermediate/src/
DMain.java92 array[index] += Math.abs(-42); in main()
/art/test/660-checker-simd-sad-short/src/
DMain.java28 sad += Math.abs(s1[i] - s2[i]); in sadShort2Short()
83 sad += Math.abs(s1[i] - s2[i]); in sadShort2Int()
188 sad += Math.abs(x - y); in sadShort2Long()
225 sad += Math.abs(x - y); in sadShort2LongAt1()
/art/test/660-checker-simd-sad-char/src/
DMain.java30 sad += Math.abs(s1[i] - s2[i]); in sadChar2Char()
77 sad += Math.abs(s1[i] - s2[i]); in sadChar2Int()
157 sad += Math.abs(x - y); in sadChar2Long()
185 sad += Math.abs(x - y); in sadChar2LongAt1()
/art/test/660-checker-simd-sad-short2/src/
DMain.java30 sad += Math.abs(((short) s1[i]) - ((short) s2[i])); in sadCastedChar2Short()
101 sad += Math.abs(((short) s1[i]) - ((short) s2[i])); in sadCastedChar2Int()
263 sad += Math.abs(x - y); in sadCastedChar2Long()
319 sad += Math.abs(x - y); in sadCastedChar2LongAt1()
/art/test/660-checker-simd-sad-int/src/
DMain.java46 sad += Math.abs(x[i] - y[i]); in sadInt2Int()
144 sad += Math.abs(s - p); in sadInt2Long()
181 sad += Math.abs(s - p); in sadInt2LongAt1()
/art/test/660-checker-simd-sad-byte/src/
DMain.java28 sad += Math.abs(b1[i] - b2[i]); in sadByte2Byte()
61 sad += Math.abs(b1[i] - b2[i]); in sadByte2Short()
116 sad += Math.abs(b1[i] - b2[i]); in sadByte2Int()
221 sad += Math.abs(x - y); in sadByte2Long()
258 sad += Math.abs(x - y); in sadByte2LongAt1()
/art/test/988-method-trace/src/art/
DTest988Intrinsics.java81 java.lang.Math.abs(0.0); in test()
82 java.lang.Math.abs(0.0f); in test()
83 java.lang.Math.abs(0L); in test()
84 java.lang.Math.abs(0); in test()
/art/compiler/optimizing/
Dcode_generator_utils.h40 : std::abs(value); in AbsOrMin()
/art/test/445-checker-licm/src/
DMain.java151 result += (staticField / 42) + Math.abs(array[i]); in divAndIntrinsic()
169 for (int i = 0; i < Math.abs(x); i++) { in invariantBoundIntrinsic()
/art/test/002-sleep/src/
DMain.java14 long offBy = Math.abs(elapsed - millis); in main()
/art/test/660-checker-simd-sad-long/src/
DMain.java50 sad += Math.abs(x[i] - y[i]); in sadLong2Long()
149 sad += Math.abs(x[i] - y[i]); in sadLong2LongAt1()
/art/test/082-inline-execute/src/
DMain.java464 Math.abs(-1);
465 Assert.assertEquals(Math.abs(0), 0);
466 Assert.assertEquals(Math.abs(123), 123);
467 Assert.assertEquals(Math.abs(-123), 123);
468 Assert.assertEquals(Math.abs(Integer.MAX_VALUE), Integer.MAX_VALUE);
469 Assert.assertEquals(Math.abs(Integer.MIN_VALUE), Integer.MIN_VALUE);
470 Assert.assertEquals(Math.abs(Integer.MIN_VALUE - 1), Integer.MAX_VALUE);
471 Assert.assertEquals(Math.abs(Integer.MIN_VALUE + 1), Integer.MAX_VALUE);
475 Math.abs(-1L);
476 Assert.assertEquals(Math.abs(0L), 0L);
[all …]

12