Home
last modified time | relevance | path

Searched refs:radius (Results 1 – 3 of 3) sorted by relevance

/art/test/530-checker-lse-ctor-fences/src/
DMain.java21 Circle(double radius) { in Circle() argument
22 this.radius = radius; in Circle()
25 return radius; in getRadius()
28 return radius * radius * Math.PI; in getArea()
32 return 2 * Math.PI * radius; in getCircumference()
35 private final double radius; field in Circle
92 static double calcCircleArea(double radius) { in calcCircleArea() argument
93 return new Circle(radius).getArea(); in calcCircleArea()
123 static double calcCircleAreaOrCircumference(double radius, boolean area_or_circumference) { in calcCircleAreaOrCircumference() argument
131 calc.value = Math.PI * Math.PI * radius; in calcCircleAreaOrCircumference()
[all …]
/art/test/530-checker-lse/src/
DMain.java20 Circle(double radius) { in Circle() argument
21 this.radius = radius; in Circle()
24 return radius; in getRadius()
27 return radius * radius * Math.PI; in getArea()
29 private double radius; field in Circle
95 static double calcCircleArea(double radius) { in calcCircleArea() argument
96 return new Circle(radius).getArea(); in calcCircleArea()
821 private static double getCircleArea(double radius, boolean b) { in getCircleArea() argument
824 area = new Circle(radius).getArea(); in getCircleArea()
841 private static double testDeoptimize(int[] iarr, double[] darr, double radius) { in testDeoptimize() argument
[all …]
/art/test/530-checker-lse-ctor-fences/smali/
DSmali.smali42 # calc.value = Math.PI * Math.PI * radius;
45 # calc.value = 2 * Math.PI * radius;
52 # tmp = Math.PI * Math.PI * radius;
55 # tmp = 2 * Math.PI * radius;