/art/test/003-omnibus-opcodes/src/ |
D | FloatMath.java | 26 double d; in convTest() local 50 d = (double) f; in convTest() 51 Main.assertTrue(d > 1238.567 && d < 1238.568); in convTest() 54 d = 1234.5678; in convTest() 55 i = (int) d; in convTest() 58 d = -1234.5678; in convTest() 59 i = (int) d; in convTest() 63 d = 5678956789.0123; in convTest() 64 l = (long) d; in convTest() 67 d = -5678956789.0123; in convTest() [all …]
|
D | UnresTest1.java | 29 double d = stuff.wideInstField; in run() local 55 double d = UnresStuff.wideStaticField; in run() local
|
/art/test/027-arithmetic/src/ |
D | Main.java | 56 long d = 0x44; in shiftTest2() local 62 long result = ((a << 56) | (b << 48) | (c << 40) | (d << 32) | in shiftTest2() 71 double d; in convTest() local 85 d = 1234.5678; in convTest() 86 i = (int) d; in convTest() 87 System.out.println("d=" + d + " --> i=" + i); in convTest() 89 d = -1234.5678; in convTest() 90 i = (int) d; in convTest() 91 System.out.println("d=" + d + " --> i=" + i); in convTest() 94 d = 5678956789.0123; in convTest() [all …]
|
/art/test/405-optimizing-long-allocator/src/ |
D | Main.java | 76 long d = 0; in $opt$TestFourLive() local 81 d++; in $opt$TestFourLive() 83 return d; in $opt$TestFourLive() 90 long d = 0; in $opt$TestMultipleLive() local 98 d++; in $opt$TestMultipleLive() 123 long d = 0; in $opt$testSpillInIf() local 128 d += 2; in $opt$testSpillInIf() 132 return a - b - c - d - e; in $opt$testSpillInIf() 135 …public static long $opt$TestAgressiveLive1(long a, long b, long c, long d, long e, long f, long g)… in $opt$TestAgressiveLive1() argument 137 long i = c - d; in $opt$TestAgressiveLive1() [all …]
|
/art/test/105-invoke/src/ |
D | Main.java | 31 int virI_IIII(int a, int b, int c, int d) { in virI_IIII() argument 32 return a + b + c + d + 919; in virI_IIII() 35 int virI_IIIII(int a, int b, int c, int d, int e) { in virI_IIIII() argument 36 return a + b + c + d + e + 1010; in virI_IIIII() 39 int virI_IIIIII(int a, int b, int c, int d, int e, int f) { in virI_IIIIII() argument 40 return a + b + c + d + e + f + 2020; in virI_IIIIII() 55 static int statI_IIII(int a, int b, int c, int d) { in statI_IIII() argument 56 return a + b + c + d + 919; in statI_IIII() 59 static int statI_IIIII(int a, int b, int c, int d, int e) { in statI_IIIII() argument 60 return a + b + c + d + e + 1010; in statI_IIIII() [all …]
|
/art/test/404-optimizing-allocator/src/ |
D | Main.java | 70 int d = 0; in $opt$reg$TestFourLive() local 75 d++; in $opt$reg$TestFourLive() 77 return d; in $opt$reg$TestFourLive() 84 int d = 0; in $opt$reg$TestMultipleLive() local 92 d++; in $opt$reg$TestMultipleLive() 117 int d = 0; in $opt$reg$testSpillInIf() local 122 d += 2; in $opt$reg$testSpillInIf() 126 return a - b - c - d - e; in $opt$reg$testSpillInIf() 129 public static int $opt$reg$TestAgressiveLive1(int a, int b, int c, int d, int e, int f, int g) { in $opt$reg$TestAgressiveLive1() argument 131 int i = c - d; in $opt$reg$TestAgressiveLive1() [all …]
|
/art/test/StaticLeafMethods/ |
D | StaticLeafMethods.java | 32 static int sum(int a, int b, int c, int d) { in sum() argument 33 return a + b + c + d; in sum() 35 static int sum(int a, int b, int c, int d, int e) { in sum() argument 36 return a + b + c + d + e; in sum() 47 static double sum(double a, double b, double c, double d) { in sum() argument 48 return a + b + c + d; in sum() 50 static double sum(double a, double b, double c, double d, double e) { in sum() argument 51 return a + b + c + d + e; in sum()
|
/art/test/NonStaticLeafMethods/ |
D | NonStaticLeafMethods.java | 34 int sum(int a, int b, int c, int d) { in sum() argument 35 return a + b + c + d; in sum() 37 int sum(int a, int b, int c, int d, int e) { in sum() argument 38 return a + b + c + d + e; in sum() 49 double sum(double a, double b, double c, double d) { in sum() argument 50 return a + b + c + d; in sum() 52 double sum(double a, double b, double c, double d, double e) { in sum() argument 53 return a + b + c + d + e; in sum()
|
/art/runtime/ |
D | reflection_test.cc | 194 args[0].d = 0.0; in InvokeIdentityDoubleMethod() 198 args[0].d = -1.0; in InvokeIdentityDoubleMethod() 202 args[0].d = DBL_MAX; in InvokeIdentityDoubleMethod() 206 args[0].d = DBL_MIN; in InvokeIdentityDoubleMethod() 375 args[0].d = 0.0; in InvokeSumDoubleDoubleMethod() 376 args[1].d = 0.0; in InvokeSumDoubleDoubleMethod() 380 args[0].d = 1.0; in InvokeSumDoubleDoubleMethod() 381 args[1].d = 2.0; in InvokeSumDoubleDoubleMethod() 385 args[0].d = 1.0; in InvokeSumDoubleDoubleMethod() 386 args[1].d = -2.0; in InvokeSumDoubleDoubleMethod() [all …]
|
D | jvalue.h | 41 double GetD() const { return d; } in GetD() 42 void SetD(double new_d) { d = new_d; } in SetD() 72 double d; member
|
/art/runtime/mirror/ |
D | array-inl.h | 222 static inline void ArrayBackwardCopy(T* d, const T* s, int32_t count) { in ArrayBackwardCopy() argument 223 d += count; in ArrayBackwardCopy() 226 d--; in ArrayBackwardCopy() 228 *d = *s; in ArrayBackwardCopy() 235 static inline void ArrayForwardCopy(T* d, const T* s, int32_t count) { in ArrayForwardCopy() argument 237 *d = *s; in ArrayForwardCopy() 238 d++; in ArrayForwardCopy() 268 uint8_t* d = reinterpret_cast<uint8_t*>(dst_raw); in Memmove() local 270 memmove(d, s, count); in Memmove() 274 uint16_t* d = reinterpret_cast<uint16_t*>(dst_raw); in Memmove() local [all …]
|
/art/test/017-float/src/ |
D | Main.java | 23 double d = 3.1415926535; in float_017() local 27 System.out.println("base values: d=" + d + " f=" + f); in float_017() 28 System.out.println("base values: d=" + d + " f=" + f); in float_017() 29 System.out.println("base values: f=" + f + " d=" + d); in float_017()
|
/art/runtime/entrypoints/ |
D | math_entrypoints.cc | 35 extern "C" int64_t art_d2l(double d) { in art_d2l() argument 36 return art_float_to_integral<int64_t, double>(d); in art_d2l() 43 extern "C" int32_t art_d2i(double d) { in art_d2i() argument 44 return art_float_to_integral<int32_t, double>(d); in art_d2i()
|
D | math_entrypoints.h | 24 extern "C" int64_t art_d2l(double d); 25 extern "C" int32_t art_d2i(double d);
|
/art/test/027-arithmetic/ |
D | expected.txt | 3 d=1234.5678 --> i=1234 4 d=-1234.5678 --> i=-1234 5 d=5.6789567890123E9 --> l=5678956789 6 d=-5.6789567890123E9 --> l=-5678956789
|
/art/test/401-optimizing-compiler/src/ |
D | Main.java | 128 static int $opt$TestInvokeWith5Parameters(int a, int b, int c, int d, int e) { in $opt$TestInvokeWith5Parameters() argument 129 return a - b - c - d - e; in $opt$TestInvokeWith5Parameters() 132 static int $opt$TestInvokeWith7Parameters(int a, int b, int c, int d, int e, int f, int g) { in $opt$TestInvokeWith7Parameters() argument 133 return a - b - c - d - e - f - g; in $opt$TestInvokeWith7Parameters() 176 public static void printStaticMethodWith5Args(int a, int b, int c, int d, int e) { in printStaticMethodWith5Args() argument 178 + a + " " + b + " " + c + " " + d + " " + e); in printStaticMethodWith5Args() 181 public static void printStaticMethodWith7Args(int a, int b, int c, int d, int e, int f, int g) { in printStaticMethodWith7Args() argument 183 + a + " " + b + " " + c + " " + d + " " + e + " " + f + " " + g); in printStaticMethodWith7Args()
|
/art/test/017-float/ |
D | expected.txt | 1 base values: d=3.1415926535 f=3.1415927 2 base values: d=3.1415926535 f=3.1415927 3 base values: f=3.1415927 d=3.1415926535
|
/art/test/700-LoadArgRegs/ |
D | expected.txt | 24 a, b, c, d 25 a, b, c, d, e 26 a, b, c, d, e, f 27 a, b, c, d, e, f, g
|
/art/test/014-math3/src/ |
D | Main.java | 26 double d = 0.0; in math_014() local 47 try { d = 10.0 / d; } in math_014()
|
/art/compiler/dex/quick/ |
D | dex_file_method_inliner.cc | 289 #define INTRINSIC(c, n, p, o, d) \ argument 290 { { kClassCache ## c, kNameCache ## n, kProtoCache ## p }, { o, kInlineIntrinsic, { d } } } 443 return backend->GenInlinedReverseBytes(info, static_cast<OpSize>(intrinsic.d.data)); in GenIntrinsic() 445 return backend->GenInlinedReverseBits(info, static_cast<OpSize>(intrinsic.d.data)); in GenIntrinsic() 455 … return backend->GenInlinedMinMax(info, intrinsic.d.data & kIntrinsicFlagMin, false /* is_long */); in GenIntrinsic() 457 … return backend->GenInlinedMinMax(info, intrinsic.d.data & kIntrinsicFlagMin, true /* is_long */); in GenIntrinsic() 459 …return backend->GenInlinedMinMaxFP(info, intrinsic.d.data & kIntrinsicFlagMin, false /* is_double … in GenIntrinsic() 461 …return backend->GenInlinedMinMaxFP(info, intrinsic.d.data & kIntrinsicFlagMin, true /* is_double *… in GenIntrinsic() 482 info, intrinsic.d.data & kIntrinsicFlagIsEmpty); in GenIntrinsic() 484 return backend->GenInlinedIndexOf(info, intrinsic.d.data & kIntrinsicFlagBase0); in GenIntrinsic() [all …]
|
/art/test/006-args/src/ |
D | ArgsTest.java | 33 void argTest(int a, char c, double d, long j, float f) { in argTest() argument 41 System.out.println("a=" + a + " c=" + c + " d=" + d in argTest()
|
/art/test/049-show-object/src/ |
D | Main.java | 24 double d = 3.1415; in Main() local 25 System.out.println("d is " + d); in Main()
|
/art/test/302-float-conversion/src/ |
D | Main.java | 60 double d = Long.MAX_VALUE; in test3() local 61 System.out.println("max_long:" + (long)d); in test3()
|
/art/test/107-int-math2/src/ |
D | Main.java | 245 long d = 0x44; in shiftTest2() local 251 long result = ((a << 56) | (b << 48) | (c << 40) | (d << 32) | in shiftTest2() 279 double d; in convTest() local 303 d = (double) l; in convTest() 304 if (Double.doubleToRawLongBits(d) != 0x41dfffffffc00000L) { return 5; } in convTest() 307 d = (double) l; in convTest() 308 if (Double.doubleToRawLongBits(d) != 0x41efffffffe00000L) { return 6; } in convTest() 311 d = (double) l; in convTest() 312 if (Double.doubleToRawLongBits(d) != 0x43e0000000000000L) { return 7; } in convTest() 315 d = (double) l; in convTest() [all …]
|
/art/test/006-args/ |
D | expected.txt | 5 a=123 c=q d=3.343434 j=1234605616436508552 f=0.12345
|