Home
last modified time | relevance | path

Searched refs:d (Results 1 – 25 of 199) sorted by relevance

12345678

/art/test/123-inline-execute2/src/
DMain.java22 double d = i * (Math.PI / 180.0); in main() local
23 System.out.println("Math.sin(" + d + ") = " in main()
24 + String.format(Locale.US, "%.12f", Math.sin(d))); in main()
26 System.out.println("Math.sinh(" + d + ") = " in main()
27 + String.format(Locale.US, "%.12f", Math.sinh(d))); in main()
28 System.out.println("Math.asin(" + d + ") = " in main()
29 + String.format(Locale.US, "%.12f", Math.asin(d))); in main()
30 System.out.println("Math.cos(" + d + ") = " in main()
31 + String.format(Locale.US, "%.12f", Math.cos(d))); in main()
32 System.out.println("Math.cosh(" + d + ") = " in main()
[all …]
/art/test/569-checker-pattern-replacement/src/
DMain.java635 Derived d = new Derived(); in constructDerived() local
636 return d.intField + d.doubleField; in constructDerived()
659 Derived d = new Derived(intValue); in constructDerived() local
660 return d.intField + d.doubleField; in constructDerived()
675 Derived d = new Derived(0); in constructDerivedWith0() local
676 return d.intField + d.doubleField; in constructDerivedWith0()
693 Derived d = new Derived(stringValue); in constructDerived() local
694 return d.stringField; in constructDerived()
717 Derived d = new Derived(doubleValue); in constructDerived() local
718 return d.intField + d.doubleField; in constructDerived()
[all …]
/art/test/631-checker-fp-abs/src/
DMain.java44 private static double $opt$noinline$absDP(double d) { in $opt$noinline$absDP() argument
48 return Math.abs(d); in $opt$noinline$absDP()
93 for (double d = -100.0; d < 0.0; d += 0.5) { in main()
94 expectEqualsDP(-d, $opt$noinline$absDP(d)); in main()
96 for (double d = 0.0; d <= 100.0; d += 0.5) { in main()
97 expectEqualsDP(d, $opt$noinline$absDP(d)); in main()
99 for (double d = -1.5d; d <= -1.49999999999d; d = Math.nextAfter(d, Double.POSITIVE_INFINITY)) { in main()
100 expectEqualsDP(-d, $opt$noinline$absDP(d)); in main()
102 for (double d = 1.49999999999d; d <= 1.5; d = Math.nextAfter(d, Double.POSITIVE_INFINITY)) { in main()
103 expectEqualsDP(d, $opt$noinline$absDP(d)); in main()
[all …]
/art/test/485-checker-dce-loop-update/smali/
DTestCase.smali27 ## CHECK-DAG: <<ArgX:i\d+>> ParameterValue
28 ## CHECK-DAG: <<ArgY:z\d+>> ParameterValue
29 ## CHECK-DAG: <<Cst1:i\d+>> IntConstant 1
30 ## CHECK-DAG: <<Cst5:i\d+>> IntConstant 5
31 ## CHECK-DAG: <<Cst7:i\d+>> IntConstant 7
32 ## CHECK-DAG: <<PhiX:i\d+>> Phi [<<ArgX>>,<<Add5:i\d+>>,<<Add7:i\d+>>] loop:<<HeaderY:B\d+>>
40 ## CHECK-DAG: <<ArgX:i\d+>> ParameterValue
41 ## CHECK-DAG: <<ArgY:z\d+>> ParameterValue
42 ## CHECK-DAG: <<Cst7:i\d+>> IntConstant 7
43 ## CHECK-DAG: <<PhiX:i\d+>> Phi [<<ArgX>>,<<AddX:i\d+>>] loop:<<HeaderY:B\d+>>
[all …]
/art/test/957-methodhandle-transforms/
Dexpected.txt36 a: a, b:1, c: 2, d: 3, e: 4, f:5, g: 6.0, h: 7.0
37 a: a, b:1, c: 2, d: 3, e: 4, f:5, g: 6.0, h: 7.0
38 a: a, b:1, c: 2, d: 51, e: 52, f:53.0, g: 54.0
39 a: a, b:1, c: 2, d: 51, e: 52, f:53.0, g: 54.0
40 a: a, b:1, c: 2, d: 3, e: 4, f:5.0, g:6.0
41 a: a, b:1, c: 2, d: 3, e: 4, f:5.0, g:6.0
42 a: a, b:1, c: 2, d: 3, e: 4.0, f:5.0
43 a: a, b:1, c: 2, d: 3, e: 4.0, f:5.0
44 a: a, b:1, c: 2, d: 3.0, e: 4.0
45 a: a, b:1, c: 2, d: 3.0, e: 4.0
[all …]
/art/test/458-checker-instruct-simplification/smali/
DSmaliTests.smali19 ## CHECK-DAG: <<Arg:z\d+>> ParameterValue
20 ## CHECK-DAG: <<Const1:i\d+>> IntConstant 1
21 ## CHECK-DAG: <<Cond:z\d+>> Equal [<<Arg>>,<<Const1>>]
25 ## CHECK-DAG: <<Arg:z\d+>> ParameterValue
41 ## CHECK-DAG: <<Arg:z\d+>> ParameterValue
42 ## CHECK-DAG: <<Const1:i\d+>> IntConstant 1
43 ## CHECK-DAG: <<Cond:z\d+>> Equal [<<Const1>>,<<Arg>>]
47 ## CHECK-DAG: <<Arg:z\d+>> ParameterValue
63 ## CHECK-DAG: <<Arg:z\d+>> ParameterValue
64 ## CHECK-DAG: <<Const0:i\d+>> IntConstant 0
[all …]
/art/test/474-fp-sub-neg/src/
DMain.java38 double d = 0; in doubleTest() local
42 d -= dc; in doubleTest()
43 d = -d; in doubleTest()
48 System.out.println(d); in doubleTest()
50 System.out.println(d + 0f); in doubleTest()
51 System.out.println(d - (-0f)); in doubleTest()
52 System.out.println(-d - (-nd)); in doubleTest()
53 System.out.println(-d + (-nd)); in doubleTest()
58 float d; in bug_1() local
62 d = -f + (-a); in bug_1()
[all …]
/art/test/003-omnibus-opcodes/src/
DFloatMath.java26 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 …]
/art/test/027-arithmetic/src/
DMain.java56 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/105-invoke/src/
DMain.java31 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/510-checker-try-catch/smali/
DBuilder.smali25 ## CHECK: successors "<<BEnterTry1:B\d+>>"
26 ## CHECK-DAG: <<Minus1:i\d+>> IntConstant -1
27 ## CHECK-DAG: <<Minus2:i\d+>> IntConstant -2
28 ## CHECK-DAG: <<Minus3:i\d+>> IntConstant -3
30 ## CHECK: name "<<BTry1:B\d+>>"
32 ## CHECK: successors "<<BExitTry1:B\d+>>"
35 ## CHECK: name "<<BAdd:B\d+>>"
37 ## CHECK: successors "<<BEnterTry2:B\d+>>"
40 ## CHECK: name "<<BTry2:B\d+>>"
42 ## CHECK: successors "<<BExitTry2:B\d+>>"
[all …]
/art/test/405-optimizing-long-allocator/src/
DMain.java76 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/StaticLeafMethods/
DStaticLeafMethods.java32 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/442-checker-constant-folding/smali/
DTestCmp.smali21 ## CHECK-DAG: <<Const13:j\d+>> LongConstant 13
22 ## CHECK-DAG: <<Const7:j\d+>> LongConstant 7
23 ## CHECK-DAG: <<Cmp:i\d+>> Compare [<<Const13>>,<<Const7>>]
29 ## CHECK-DAG: <<Const1:i\d+>> IntConstant 1
44 ## CHECK-DAG: <<Const11:f\d+>> FloatConstant 11
45 ## CHECK-DAG: <<Const22:f\d+>> FloatConstant 22
46 ## CHECK-DAG: <<Cmp:i\d+>> Compare [<<Const11>>,<<Const22>>] bias:gt
52 ## CHECK-DAG: <<ConstM1:i\d+>> IntConstant -1
67 ## CHECK-DAG: <<Const33:f\d+>> FloatConstant 33
68 ## CHECK-DAG: <<Const44:f\d+>> FloatConstant 44
[all …]
/art/test/404-optimizing-allocator/src/
DMain.java70 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/NonStaticLeafMethods/
DNonStaticLeafMethods.java34 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/test/439-swap-double/src/
DMain.java28 callWithDoubles(a, b, c, d, e, f, g); in foo()
29 callWithDoubles(b, c, d, e, f, g, a); in foo()
30 callWithDoubles(c, d, e, f, g, a, b); in foo()
31 callWithDoubles(d, e, f, g, a, b, c); in foo()
35 double a, double b, double c, double d, double e, double f, double g) { in callWithDoubles() argument
36 System.out.println(a - b - c - d - e - f - g); in callWithDoubles()
42 double d = 4.0; field in Main
/art/test/919-obsolete-fields/src/art/
DRedefinition.java63 for (CommonClassDefinition d : defs) { in doMultiClassRedefinition()
64 classes.add(d.target); in doMultiClassRedefinition()
65 class_files.add(d.class_file_bytes); in doMultiClassRedefinition()
66 dex_files.add(d.dex_file_bytes); in doMultiClassRedefinition()
74 for (CommonClassDefinition d : defs) { in addMultiTransformationResults()
75 addCommonTransformationResult(d.target.getCanonicalName(), in addMultiTransformationResults()
76 d.class_file_bytes, in addMultiTransformationResults()
77 d.dex_file_bytes); in addMultiTransformationResults()
/art/test/917-fields-transformation/src/art/
DRedefinition.java63 for (CommonClassDefinition d : defs) { in doMultiClassRedefinition()
64 classes.add(d.target); in doMultiClassRedefinition()
65 class_files.add(d.class_file_bytes); in doMultiClassRedefinition()
66 dex_files.add(d.dex_file_bytes); in doMultiClassRedefinition()
74 for (CommonClassDefinition d : defs) { in addMultiTransformationResults()
75 addCommonTransformationResult(d.target.getCanonicalName(), in addMultiTransformationResults()
76 d.class_file_bytes, in addMultiTransformationResults()
77 d.dex_file_bytes); in addMultiTransformationResults()
/art/test/915-obsolete-2/src/art/
DRedefinition.java63 for (CommonClassDefinition d : defs) { in doMultiClassRedefinition()
64 classes.add(d.target); in doMultiClassRedefinition()
65 class_files.add(d.class_file_bytes); in doMultiClassRedefinition()
66 dex_files.add(d.dex_file_bytes); in doMultiClassRedefinition()
74 for (CommonClassDefinition d : defs) { in addMultiTransformationResults()
75 addCommonTransformationResult(d.target.getCanonicalName(), in addMultiTransformationResults()
76 d.class_file_bytes, in addMultiTransformationResults()
77 d.dex_file_bytes); in addMultiTransformationResults()
/art/test/916-obsolete-jit/src/art/
DRedefinition.java63 for (CommonClassDefinition d : defs) { in doMultiClassRedefinition()
64 classes.add(d.target); in doMultiClassRedefinition()
65 class_files.add(d.class_file_bytes); in doMultiClassRedefinition()
66 dex_files.add(d.dex_file_bytes); in doMultiClassRedefinition()
74 for (CommonClassDefinition d : defs) { in addMultiTransformationResults()
75 addCommonTransformationResult(d.target.getCanonicalName(), in addMultiTransformationResults()
76 d.class_file_bytes, in addMultiTransformationResults()
77 d.dex_file_bytes); in addMultiTransformationResults()
/art/test/983-source-transform-verify/src/art/
DRedefinition.java63 for (CommonClassDefinition d : defs) { in doMultiClassRedefinition()
64 classes.add(d.target); in doMultiClassRedefinition()
65 class_files.add(d.class_file_bytes); in doMultiClassRedefinition()
66 dex_files.add(d.dex_file_bytes); in doMultiClassRedefinition()
74 for (CommonClassDefinition d : defs) { in addMultiTransformationResults()
75 addCommonTransformationResult(d.target.getCanonicalName(), in addMultiTransformationResults()
76 d.class_file_bytes, in addMultiTransformationResults()
77 d.dex_file_bytes); in addMultiTransformationResults()
/art/test/984-obsolete-invoke/src/art/
DRedefinition.java63 for (CommonClassDefinition d : defs) { in doMultiClassRedefinition()
64 classes.add(d.target); in doMultiClassRedefinition()
65 class_files.add(d.class_file_bytes); in doMultiClassRedefinition()
66 dex_files.add(d.dex_file_bytes); in doMultiClassRedefinition()
74 for (CommonClassDefinition d : defs) { in addMultiTransformationResults()
75 addCommonTransformationResult(d.target.getCanonicalName(), in addMultiTransformationResults()
76 d.class_file_bytes, in addMultiTransformationResults()
77 d.dex_file_bytes); in addMultiTransformationResults()
/art/test/985-re-obsolete/src/art/
DRedefinition.java63 for (CommonClassDefinition d : defs) { in doMultiClassRedefinition()
64 classes.add(d.target); in doMultiClassRedefinition()
65 class_files.add(d.class_file_bytes); in doMultiClassRedefinition()
66 dex_files.add(d.dex_file_bytes); in doMultiClassRedefinition()
74 for (CommonClassDefinition d : defs) { in addMultiTransformationResults()
75 addCommonTransformationResult(d.target.getCanonicalName(), in addMultiTransformationResults()
76 d.class_file_bytes, in addMultiTransformationResults()
77 d.dex_file_bytes); in addMultiTransformationResults()
/art/test/948-change-annotations/src/art/
DRedefinition.java63 for (CommonClassDefinition d : defs) { in doMultiClassRedefinition()
64 classes.add(d.target); in doMultiClassRedefinition()
65 class_files.add(d.class_file_bytes); in doMultiClassRedefinition()
66 dex_files.add(d.dex_file_bytes); in doMultiClassRedefinition()
74 for (CommonClassDefinition d : defs) { in addMultiTransformationResults()
75 addCommonTransformationResult(d.target.getCanonicalName(), in addMultiTransformationResults()
76 d.class_file_bytes, in addMultiTransformationResults()
77 d.dex_file_bytes); in addMultiTransformationResults()

12345678