Home
last modified time | relevance | path

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

12345678910>>...12

/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.java647 Derived d = new Derived(); in constructDerived() local
648 return d.intField + d.doubleField; in constructDerived()
672 Derived d = new Derived(intValue); in constructDerived() local
673 return d.intField + d.doubleField; in constructDerived()
689 Derived d = new Derived(0); in constructDerivedWith0() local
690 return d.intField + d.doubleField; in constructDerivedWith0()
708 Derived d = new Derived(stringValue); in constructDerived() local
709 return d.stringField; in constructDerived()
733 Derived d = new Derived(doubleValue); in constructDerived() local
734 return d.intField + d.doubleField; in constructDerived()
[all …]
/art/test/567-checker-builder-intrinsics/src/
DTestFpAbs.java44 private static double $opt$noinline$absDP(double d) { in $opt$noinline$absDP() argument
45 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/530-checker-peel-unroll/smali/
DPeelUnroll.smali20 ## CHECK-DAG: <<Array:l\d+>> ParameterValue loop:none
21 ## CHECK-DAG: <<Const0:i\d+>> IntConstant 0 loop:none
22 ## CHECK-DAG: <<Const1:i\d+>> IntConstant 1 loop:none
23 ## CHECK-DAG: <<Const2:i\d+>> IntConstant 2 loop:none
24 ## CHECK-DAG: <<Const128:i\d+>> IntConstant 128 loop:none
25 ## CHECK-DAG: <<Limit:i\d+>> IntConstant 4094 loop:none
26 ## CHECK-DAG: <<PhiI:i\d+>> Phi [<<Const0>>,{{i\d+}}] loop:<<Loop:B\d+>> outer_…
27 ## CHECK-DAG: <<PhiS:i\d+>> Phi [<<Const128>>,{{i\d+}}] loop:<<Loop>> outer_…
28 ## CHECK-DAG: <<AddI:i\d+>> Add [<<PhiI>>,<<Const1>>] loop:<<Loop>> outer_…
29 ## CHECK-DAG: <<Check:z\d+>> GreaterThanOrEqual [<<PhiI>>,<<Limit>>] loop:<<Loop>> outer_…
[all …]
/art/test/593-checker-boolean-2-integral-conv/smali/
DSmaliTests.smali34 ## CHECK: <<Arg:z\d+>> ParameterValue
35 ## CHECK-DAG: <<Zero:i\d+>> IntConstant 0
36 ## CHECK-DAG: <<One:i\d+>> IntConstant 1
37 ## CHECK-DAG: <<Cond:z\d+>> Equal [<<Arg>>,<<Zero>>]
39 ## CHECK-DAG: <<Phi:i\d+>> Phi [<<One>>,<<Zero>>]
40 ## CHECK-DAG: <<IToS:b\d+>> TypeConversion [<<Phi>>]
44 ## CHECK: <<Arg:z\d+>> ParameterValue
45 ## CHECK-DAG: <<Zero:i\d+>> IntConstant 0
46 ## CHECK-DAG: <<One:i\d+>> IntConstant 1
47 ## CHECK-DAG: <<Sel:i\d+>> Select [<<Zero>>,<<One>>,<<Arg>>]
[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/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/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/565-checker-doublenegbitwise/smali/
DSmaliTests.smali23 ## CHECK-DAG: <<P1:i\d+>> ParameterValue
24 ## CHECK-DAG: <<P2:i\d+>> ParameterValue
25 ## CHECK-DAG: <<Not1:i\d+>> Not [<<P1>>]
26 ## CHECK-DAG: <<Not2:i\d+>> Not [<<P2>>]
27 ## CHECK-DAG: <<And:i\d+>> And [<<Not1>>,<<Not2>>]
31 ## CHECK-DAG: <<P1:i\d+>> ParameterValue
32 ## CHECK-DAG: <<P2:i\d+>> ParameterValue
33 ## CHECK-DAG: <<Or:i\d+>> Or [<<P1>>,<<P2>>]
34 ## CHECK-DAG: <<Not:i\d+>> Not [<<Or>>]
64 ## CHECK-DAG: <<P1:z\d+>> ParameterValue
[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/463-checker-boolean-simplifier/smali/
DMain2.smali35 ## CHECK-DAG: <<Param:z\d+>> ParameterValue
36 ## CHECK-DAG: <<Const0:i\d+>> IntConstant 0
37 ## CHECK-DAG: <<Const1:i\d+>> IntConstant 1
39 ## CHECK-DAG: <<Phi:i\d+>> Phi [<<Const1>>,<<Const0>>]
49 ## CHECK-DAG: <<Param:z\d+>> ParameterValue
50 ## CHECK-DAG: <<Const0:i\d+>> IntConstant 0
51 ## CHECK-DAG: <<Const1:i\d+>> IntConstant 1
52 ## CHECK-DAG: <<NotParam:i\d+>> Select [<<Const1>>,<<Const0>>,<<Param>>]
90 ## CHECK-DAG: <<ParamX:i\d+>> ParameterValue
91 ## CHECK-DAG: <<ParamY:i\d+>> ParameterValue
[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/586-checker-null-array-get/smali/
DSmaliTests.smali19 ## CHECK-DAG: <<Null:l\d+>> NullConstant
20 ## CHECK-DAG: <<BoundType:l\d+>> BoundType [<<Null>>]
21 ## CHECK-DAG: <<CheckL:l\d+>> NullCheck [<<BoundType>>]
22 ## CHECK-DAG: <<GetL0:l\d+>> ArrayGet [<<CheckL>>,{{i\d+}}]
23 ## CHECK-DAG: <<GetL1:l\d+>> ArrayGet [<<CheckL>>,{{i\d+}}]
24 ## CHECK-DAG: <<GetL2:l\d+>> ArrayGet [<<CheckL>>,{{i\d+}}]
25 ## CHECK-DAG: <<GetL3:l\d+>> ArrayGet [<<CheckL>>,{{i\d+}}]
26 ## CHECK-DAG: <<CheckJ:l\d+>> NullCheck [<<Null>>]
27 ## CHECK-DAG: <<GetJ0:j\d+>> ArrayGet [<<CheckJ>>,{{i\d+}}]
28 ## CHECK-DAG: <<GetJ1:j\d+>> ArrayGet [<<CheckJ>>,{{i\d+}}]
[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/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/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/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/624-checker-stringops/smali/
DSmali.smali20 ## CHECK-DAG: <<New:l\d+>> NewInstance
21 ## CHECK-DAG: <<String1:l\d+>> LoadString
22 ## CHECK-DAG: <<Append1:l\d+>> InvokeVirtual [<<New>>,<<String1>>] intrinsic:StringBufferAppend
23 ## CHECK-DAG: <<String2:l\d+>> LoadString
24 ## CHECK-DAG: <<Append2:l\d+>> InvokeVirtual [<<Append1>>,<<String2>>] intrinsic:StringBufferAppend
48 ## CHECK-DAG: <<New:l\d+>> NewInstance
49 ## CHECK-DAG: <<String1:l\d+>> LoadString
50 ## CHECK-DAG: <<Append1:l\d+>> InvokeVirtual [<<New>>,<<String1>>] intrinsic:StringBuilderAppen…
51 ## CHECK-DAG: <<String2:l\d+>> LoadString
52 ## CHECK-DAG: <<Append2:l\d+>> InvokeVirtual [<<Append1>>,<<String2>>] intrinsic:StringBuilderAppen…
[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/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/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/2036-structural-subclass-shadow/src-art/art/
DRedefinition.java70 for (CommonClassDefinition d : defs) { in doMultiClassRedefinition()
71 classes.add(d.target); in doMultiClassRedefinition()
72 class_files.add(d.class_file_bytes); in doMultiClassRedefinition()
73 dex_files.add(d.dex_file_bytes); in doMultiClassRedefinition()
81 for (CommonClassDefinition d : defs) { in addMultiTransformationResults()
82 addCommonTransformationResult(d.target.getCanonicalName(), in addMultiTransformationResults()
83 d.class_file_bytes, in addMultiTransformationResults()
84 d.dex_file_bytes); in addMultiTransformationResults()
104 for (CommonClassDefinition d : defs) { in doMultiStructuralClassRedefinition()
105 classes.add(d.target); in doMultiStructuralClassRedefinition()
[all …]
/art/test/946-obsolete-throw/src/art/
DRedefinition.java70 for (CommonClassDefinition d : defs) { in doMultiClassRedefinition()
71 classes.add(d.target); in doMultiClassRedefinition()
72 class_files.add(d.class_file_bytes); in doMultiClassRedefinition()
73 dex_files.add(d.dex_file_bytes); in doMultiClassRedefinition()
81 for (CommonClassDefinition d : defs) { in addMultiTransformationResults()
82 addCommonTransformationResult(d.target.getCanonicalName(), in addMultiTransformationResults()
83 d.class_file_bytes, in addMultiTransformationResults()
84 d.dex_file_bytes); in addMultiTransformationResults()
104 for (CommonClassDefinition d : defs) { in doMultiStructuralClassRedefinition()
105 classes.add(d.target); in doMultiStructuralClassRedefinition()
[all …]
/art/test/942-private-recursive/src/art/
DRedefinition.java70 for (CommonClassDefinition d : defs) { in doMultiClassRedefinition()
71 classes.add(d.target); in doMultiClassRedefinition()
72 class_files.add(d.class_file_bytes); in doMultiClassRedefinition()
73 dex_files.add(d.dex_file_bytes); in doMultiClassRedefinition()
81 for (CommonClassDefinition d : defs) { in addMultiTransformationResults()
82 addCommonTransformationResult(d.target.getCanonicalName(), in addMultiTransformationResults()
83 d.class_file_bytes, in addMultiTransformationResults()
84 d.dex_file_bytes); in addMultiTransformationResults()
104 for (CommonClassDefinition d : defs) { in doMultiStructuralClassRedefinition()
105 classes.add(d.target); in doMultiStructuralClassRedefinition()
[all …]

12345678910>>...12