Home
last modified time | relevance | path

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

/art/test/455-checker-gvn/src/
DMain.java68 int abs = Math.abs(mul1); in mulAndIntrinsic() local
70 return abs + mul2; in mulAndIntrinsic()
85 int abs1 = Math.abs(x); in directIntrinsic()
86 int abs2 = Math.abs(x); in directIntrinsic()
/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/445-checker-licm/src/
DMain.java124 result += (staticField / 42) + Math.abs(array[i]); in divAndIntrinsic()
142 for (int i = 0; i < Math.abs(x); i++) { in invariantBoundIntrinsic()
/art/test/555-checker-regression-x86const/src/
DMain.java29 return Math.abs(f); in callAbs()
/art/test/002-sleep/src/
DMain.java14 long offBy = Math.abs(elapsed - millis); in main()
/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 …]
/art/test/003-omnibus-opcodes/src/
DFloatMath.java342 Main.assertTrue(approxEqual(Math.abs(ff), ff, 0.001f)); in jlmTests()
343 Main.assertTrue(approxEqual(Math.abs(-ff), ff, 0.001f)); in jlmTests()
347 Main.assertTrue(approxEqual(Math.abs(dd), dd, 0.001)); in jlmTests()
348 Main.assertTrue(approxEqual(Math.abs(-dd), dd, 0.001)); in jlmTests()
DIntMath.java564 Main.assertTrue(Math.abs(ii) == ii); in jlmTests()
565 Main.assertTrue(Math.abs(-ii) == ii); in jlmTests()
569 Main.assertTrue(Math.abs(ll) == ll); in jlmTests()
570 Main.assertTrue(Math.abs(-ll) == ll); in jlmTests()
/art/test/441-checker-inliner/src/
DMain.java164 return Math.abs(i); in returnAbs()
/art/test/021-string2/src/junit/framework/
DAssert.java101 if (!(Math.abs(expected-actual) <= delta)) in assertEquals()
119 if (!(Math.abs(expected - actual) <= delta)) in assertEquals()
/art/test/082-inline-execute/src/junit/framework/
DAssert.java101 if (!(Math.abs(expected-actual) <= delta)) in assertEquals()
119 if (!(Math.abs(expected - actual) <= delta)) in assertEquals()
/art/runtime/
Dutils.h105 return std::abs(value); in SafeAbs()
111 : std::abs(value); in AbsOrMin()
/art/test/510-checker-try-catch/smali/
DRegisterAllocator.smali65 ## CHECK-EVAL: abs(<<SlotA>> - <<SlotB1>>) >= 8
/art/tools/dexfuzz/src/dexfuzz/program/
DCodeTranslator.java296 for (int i = 0; i < Math.abs(encodedCatchHandler.size); i++) { in readTryBlocks()
369 for (int i = 0; i < Math.abs(encodedCatchHandler.size); i++) { in updateTryBlocks()
/art/runtime/base/
Dhistogram-inl.h224 DCHECK_LE(std::abs(out_data->perc_.back() - 1.0), 0.001); in CreateHistogram()
Dhash_set_test.cc232 size_t delta = std::abs(static_cast<ssize_t>(target_size) - in TEST_F()
/art/compiler/utils/
Dassembler_test.h150 std::vector<int64_t> imms = CreateImmediateValuesBits(abs(imm_bits), (imm_bits > 0)); in RepeatTemplatedRegistersImmBits()
199 std::vector<int64_t> imms = CreateImmediateValuesBits(abs(imm_bits), (imm_bits > 0)); in RepeatTemplatedImmBitsRegisters()
250 std::vector<int64_t> imms = CreateImmediateValuesBits(abs(imm_bits), (imm_bits > 0)); in RepeatTemplatedRegisterImmBits()
/art/test/449-checker-bce/src/
DMain.java973 mA[i][j] = Math.abs(mA[i][j]); in dynamicBCEAndIntrinsic()
/art/compiler/optimizing/
Dinduction_var_analysis.cc685 const bool cancels = (cmp == kCondLT || cmp == kCondGT) && std::abs(stride_value) == 1; in VisitTripCount()