/art/test/491-current-method/src/ |
D | Main.java | 23 public static void $noinline$foo(int a, int b, int c) { in $noinline$foo() argument 26 c = c / 42; in $noinline$foo() 31 "".charAt(c); in $noinline$foo() 34 c = c / 42; in $noinline$foo() 35 "".charAt(c); in $noinline$foo() 36 c = c / 42; in $noinline$foo() 37 "".charAt(c); in $noinline$foo() 38 c = c / 42; in $noinline$foo() 39 "".charAt(c); in $noinline$foo() 40 c = c / 42; in $noinline$foo() [all …]
|
/art/test/957-methodhandle-transforms/ |
D | expected.txt | 19 a: a, b:b, c: c 20 a: a, b:b, c: c 21 a: a, b:b, c: c 22 a: a, b:b, c: c 23 a: a, b:b, c: c 24 a: a, b:b, c: c 25 a: a, b:b, c: c 31 a: a, b:b, c: c 32 a: a, b:b, c: c 33 a: a, b:b, c: c [all …]
|
/art/test/055-enum-performance/src/ |
D | Main.java | 78 Class<SamePackagePublicEnum> c = SamePackagePublicEnum.class; in preTest() local 80 System.out.println(Enum.valueOf(c, "FOUR")); in preTest() 81 System.out.println(Enum.valueOf(c, "ONE")); in preTest() 82 System.out.println(Enum.valueOf(c, "FOURTEEN")); in preTest() 83 System.out.println(Enum.valueOf(c, "NINE")); in preTest() 84 System.out.println(Enum.valueOf(c, "FIVE")); in preTest() 85 System.out.println(Enum.valueOf(c, "TWELVE")); in preTest() 87 System.out.println(Enum.valueOf(c, "ZERO").getClass().getName()); in preTest() 133 Class<SamePackagePublicEnum> c = SamePackagePublicEnum.class; in test1() local 135 Enum.valueOf(c, "ZERO"); in test1() [all …]
|
/art/test/529-checker-unresolved/src/ |
D | Main.java | 27 static public void callInvokeUnresolvedVirtual(UnresolvedClass c) { in callInvokeUnresolvedVirtual() argument 28 c.virtualMethod(); in callInvokeUnresolvedVirtual() 33 static public void callInvokeUnresolvedInterface(UnresolvedInterface c) { in callInvokeUnresolvedInterface() argument 34 c.interfaceMethod(); in callInvokeUnresolvedInterface() 37 static public void callInvokeUnresolvedSuper(Main c) { in callInvokeUnresolvedSuper() argument 38 c.superMethod(); in callInvokeUnresolvedSuper() 108 static public void callUnresolvedInstanceFieldAccess(UnresolvedClass c) { in callUnresolvedInstanceFieldAccess() argument 110 c.instanceByte = (byte)1; in callUnresolvedInstanceFieldAccess() 111 c.instanceChar = '1'; in callUnresolvedInstanceFieldAccess() 112 c.instanceInt = 123456789; in callUnresolvedInstanceFieldAccess() [all …]
|
/art/test/624-checker-stringops/src/ |
D | Main.java | 42 for (char c = 'A'; c <= 'Z'; c++) { in liveIndexOf() 43 k += ABC.indexOf(c); in liveIndexOf() 45 for (char c = 'A'; c <= 'Z'; c++) { in liveIndexOf() 46 k += ABC.indexOf(c, 4); in liveIndexOf() 48 for (char c = 'A'; c <= 'Z'; c++) { in liveIndexOf() 51 for (char c = 'A'; c <= 'Z'; c++) { in liveIndexOf() 73 for (char c = 'A'; c <= 'Z'; c++) { in deadIndexOf() 74 int d = ABC.indexOf(c); in deadIndexOf() 76 for (char c = 'A'; c <= 'Z'; c++) { in deadIndexOf() 77 int d = ABC.indexOf(c, 4); in deadIndexOf() [all …]
|
/art/benchmark/string-indexof/src/ |
D | StringIndexOfBenchmark.java | 21 final char c = '0'; in timeIndexOf0() local 24 $noinline$indexOf(s, c); in timeIndexOf0() 29 final char c = '1'; in timeIndexOf1() local 32 $noinline$indexOf(s, c); in timeIndexOf1() 37 final char c = '2'; in timeIndexOf2() local 40 $noinline$indexOf(s, c); in timeIndexOf2() 45 final char c = '3'; in timeIndexOf3() local 48 $noinline$indexOf(s, c); in timeIndexOf3() 53 final char c = '4'; in timeIndexOf4() local 56 $noinline$indexOf(s, c); in timeIndexOf4() [all …]
|
/art/test/636-arm64-veneer-pool/src/ |
D | Main.java | 17 class C0 { public static void m(Context c, Binder b) { /* Defeat inlining. */ if (Main.doThrow) { t… in m() argument 18 class C1 { public static void m(Context c, Binder b) { /* Defeat inlining. */ if (Main.doThrow) { t… in m() argument 19 class C2 { public static void m(Context c, Binder b) { /* Defeat inlining. */ if (Main.doThrow) { t… in m() argument 20 class C3 { public static void m(Context c, Binder b) { /* Defeat inlining. */ if (Main.doThrow) { t… in m() argument 21 class C4 { public static void m(Context c, Binder b) { /* Defeat inlining. */ if (Main.doThrow) { t… in m() argument 23 …public static void m(Context c, Binder b) { /* Defeat inlining. */ if (Main.doThrow) { throw new E… in m() argument 24 …public static void mImpl(Context c, Binder b) { /* Defeat inlining. */ if (Main.doThrow) { throw n… in mImpl() argument 26 class C6 { public static void m(Context c, Binder b) { /* Defeat inlining. */ if (Main.doThrow) { t… in m() argument 27 class C7 { public static void m(Context c, Binder b) { /* Defeat inlining. */ if (Main.doThrow) { t… in m() argument 28 class C8 { public static void m(Context c, Binder b) { /* Defeat inlining. */ if (Main.doThrow) { t… in m() argument [all …]
|
/art/test/704-multiply-accumulate/src/ |
D | Main.java | 41 int c = 10; in test_int() local 42 int d = c; in test_int() 46 tmp = i*c; in test_int() 52 result = c*c + (result - c); in test_int() 69 result = c*c; in test_int() 76 result = c*c; in test_int() 77 ia[c] = d; // array out of bound. in test_int() 84 result = a*c + obj.ia; in test_int() 90 result = a*c; in test_int() 102 long c = 10; in test_long() local [all …]
|
/art/test/442-checker-constant-folding/src/ |
D | Main.java | 229 int a, b, c; in IntAddition1() local 232 c = a + b; in IntAddition1() 233 return c; in IntAddition1() 252 int a, b, c; in IntAddition2() local 257 c = 6; in IntAddition2() 258 b += c; in IntAddition2() 259 c = a + b; in IntAddition2() 260 return c; in IntAddition2() 277 long a, b, c; in LongAddition() local 280 c = a + b; in LongAddition() [all …]
|
/art/test/StaticLeafMethods/ |
D | StaticLeafMethods.java | 29 static int sum(int a, int b, int c) { in sum() argument 30 return a + b + c; in sum() 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() 44 static double sum(double a, double b, double c) { in sum() argument 45 return a + b + c; 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() [all …]
|
/art/test/NonStaticLeafMethods/ |
D | NonStaticLeafMethods.java | 31 int sum(int a, int b, int c) { in sum() argument 32 return a + b + c; in sum() 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() 46 double sum(double a, double b, double c) { in sum() argument 47 return a + b + c; in sum() 49 double sum(double a, double b, double c, double d) { in sum() argument 50 return a + b + c + d; in sum() [all …]
|
/art/test/105-invoke/src/ |
D | Main.java | 27 int virI_III(int a, int b, int c) { in virI_III() argument 28 return a + b + c + 432; in virI_III() 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() 51 static int statI_III(int a, int b, int c) { in statI_III() argument 52 return a + b + c + 432; in statI_III() [all …]
|
/art/test/012-math/src/ |
D | Main.java | 103 int c = 0; in math_012_numerator() local 104 c /= b; in math_012_numerator() 105 System.out.println(c); in math_012_numerator() 106 c %= b; in math_012_numerator() 107 System.out.println(c); in math_012_numerator() 108 c = a / b; in math_012_numerator() 109 System.out.println(c); in math_012_numerator() 110 c = a % b; in math_012_numerator() 111 System.out.println(c); in math_012_numerator() 112 c = c / d; in math_012_numerator() [all …]
|
/art/test/405-optimizing-long-allocator/src/ |
D | Main.java | 63 long c = 0; in $opt$TestThreeLive() local 67 c += 2; in $opt$TestThreeLive() 69 return a - b - c; in $opt$TestThreeLive() 75 long c = 0; in $opt$TestFourLive() local 80 c += 2; in $opt$TestFourLive() 89 long c = 0; in $opt$TestMultipleLive() local 97 c++; in $opt$TestMultipleLive() 122 public static long $opt$testSpillInIf(long a, long b, long c) { in $opt$testSpillInIf() argument 127 c++; in $opt$testSpillInIf() 132 return a - b - c - d - e; in $opt$testSpillInIf() [all …]
|
/art/libdexfile/dex/ |
D | descriptors_names.cc | 31 const char* c = descriptor; in AppendPrettyDescriptor() local 33 while (*c == '[') { in AppendPrettyDescriptor() 35 c++; in AppendPrettyDescriptor() 39 if (*c == 'L') { in AppendPrettyDescriptor() 41 c++; // Skip the 'L'. in AppendPrettyDescriptor() 46 switch (*c) { in AppendPrettyDescriptor() 47 case 'B': c = "byte;"; break; in AppendPrettyDescriptor() 48 case 'C': c = "char;"; break; in AppendPrettyDescriptor() 49 case 'D': c = "double;"; break; in AppendPrettyDescriptor() 50 case 'F': c = "float;"; break; in AppendPrettyDescriptor() [all …]
|
/art/test/404-optimizing-allocator/src/ |
D | Main.java | 57 int c = 0; in $opt$reg$TestThreeLive() local 61 c += 2; in $opt$reg$TestThreeLive() 63 return a - b - c; in $opt$reg$TestThreeLive() 69 int c = 0; in $opt$reg$TestFourLive() local 74 c += 2; in $opt$reg$TestFourLive() 83 int c = 0; in $opt$reg$TestMultipleLive() local 91 c++; in $opt$reg$TestMultipleLive() 116 public static int $opt$reg$testSpillInIf(int a, int b, int c) { in $opt$reg$testSpillInIf() argument 121 c++; in $opt$reg$testSpillInIf() 126 return a - b - c - d - e; in $opt$reg$testSpillInIf() [all …]
|
/art/test/042-new-instance/src/ |
D | Main.java | 36 Class<?> c = Class.forName("LocalClass"); in testClassNewInstance() local 37 Object obj = c.newInstance(); in testClassNewInstance() 46 Class<?> c = Class.forName("otherpackage.PackageAccess"); in testClassNewInstance() local 47 Object obj = c.newInstance(); in testClassNewInstance() 74 Class<?> c = Class.forName("LocalClass"); in testConstructorNewInstance() local 75 Constructor<?> cons = c.getConstructor(); in testConstructorNewInstance() 86 Class<?> c = Class.forName("LocalClass2"); in testConstructorNewInstance() local 87 Constructor<?> cons = c.getConstructor(); in testConstructorNewInstance() 97 Class<?> c = Class.forName("Main$InnerClass"); in testConstructorNewInstance() local 98 Constructor<?> cons = c.getDeclaredConstructor(Main.class); in testConstructorNewInstance() [all …]
|
/art/test/686-get-this/src/ |
D | Main.java | 23 Class<?> c = Class.forName("Test"); in main() local 24 ensureJitCompiled(c, "testEmpty"); in main() 25 ensureJitCompiled(c, "testPrimitive"); in main() 27 Method m = c.getMethod("testEmpty"); in main() 28 m.invoke(c.newInstance()); in main() 33 m = c.getMethod("testPrimitive"); in main() 34 int a = (Integer)m.invoke(c.newInstance()); in main()
|
/art/test/439-swap-double/src/ |
D | Main.java | 28 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() 41 double c = 3.0; field in Main
|
/art/test/912-classes/src-art/art/ |
D | Test912.java | 128 private static void testClassType(Class<?> c) throws Exception { in testClassType() argument 129 boolean isInterface = isInterface(c); in testClassType() 130 boolean isArray = isArrayClass(c); in testClassType() 131 boolean isModifiable = isModifiableClass(c); in testClassType() 132 System.out.println(c.getName() + " interface=" + isInterface + " array=" + isArray + in testClassType() 136 private static void testClassFields(Class<?> c) throws Exception { in testClassFields() argument 137 System.out.println(Arrays.toString(getClassFields(c))); in testClassFields() 140 private static void testClassMethods(Class<?> c) throws Exception { in testClassMethods() argument 141 System.out.println(Arrays.toString(getClassMethods(c))); in testClassMethods() 144 private static void testClassStatus(Class<?> c) { in testClassStatus() argument [all …]
|
/art/test/620-checker-bce-intrinsics/src/ |
D | Main.java | 75 static int threeArrays(int[] a, int[] b, int[] c) { in threeArrays() argument 77 for (int i = 0; i < Math.min(Math.min(a.length, b.length), c.length); i++) { in threeArrays() 78 x += a[i] + b[i] + c[i]; in threeArrays() 92 static int fourArrays(int[] a, int[] b, int[] c, int[] d) { in fourArrays() argument 94 for (int i = 0; i < Math.min(Math.min(a.length, b.length), Math.min(c.length, d.length)); i++) { in fourArrays() 95 x += a[i] + b[i] + c[i] + d[i]; in fourArrays() 154 static int threeArraysWithCleanup(int[] a, int[] b, int[] c) { in threeArraysWithCleanup() argument 156 int n = Math.min(a.length, Math.min(b.length, c.length)); in threeArraysWithCleanup() 158 x += a[i] + b[i] + c[i]; in threeArraysWithCleanup() 222 int[] c = { 1, 2, 3 }; in main() local [all …]
|
/art/test/563-checker-fakestring/src/ |
D | Main.java | 42 Class<?> c = Class.forName("TestCase"); in main() local 47 Method m = c.getMethod("vregAliasing", byte[].class); in main() 53 c.getMethod("compareNewInstance").invoke(null, (Object[]) null); in main() 58 ensureJitCompiled(c, "deoptimizeNewInstance"); in main() 59 Method m = c.getMethod("deoptimizeNewInstance", int[].class, byte[].class); in main() 72 Method m = c.getMethod("removeNewInstance", byte[].class); in main() 78 Method m = c.getMethod("irreducibleLoopAndStringInit1", byte[].class, boolean.class); in main() 85 Method m = c.getMethod("irreducibleLoopAndStringInit2", byte[].class, boolean.class); in main() 92 Method m = c.getMethod("irreducibleLoopAndStringInit3", byte[].class, boolean.class); in main() 99 Method m = c.getMethod("loopAndStringInit", byte[].class, boolean.class); in main() [all …]
|
/art/test/800-smali/smali/ |
D | b_22881413.smali | 17 .field private static unres1:La/b/c/d1; 18 .field private static unres2:La/b/c/d2; 19 .field private static unres3:La/b/c/d3; 20 .field private static unres4:La/b/c/d4; 21 .field private static unres5:La/b/c/d5; 22 .field private static unres6:La/b/c/d6; 23 .field private static unres7:La/b/c/d7; 24 .field private static unres8:La/b/c/d8; 25 .field private static unres9:La/b/c/d9; 26 .field private static unres10:La/b/c/d10; [all …]
|
/art/test/559-checker-irreducible-loop/src/ |
D | Main.java | 24 Class<?> c = Class.forName("IrreducibleLoop"); in main() local 26 Method m = c.getMethod("simpleLoop", int.class); in main() 32 Method m = c.getMethod("lse", int.class, Main.class); in main() 38 Method m = c.getMethod("dce", int.class); in main() 44 Method m = c.getMethod("liveness", int.class); in main() 50 Method m = c.getMethod("gvn"); in main() 56 Method m = c.getMethod("licm1", int.class); in main() 62 Method m = c.getMethod("licm2", int.class); in main()
|
/art/test/685-shifts/src/ |
D | Main.java | 45 Class<?> c = Class.forName("Test"); in main() local 46 Method m = c.getMethod("shlZero", long.class); in main() 50 m = c.getMethod("shrZero", long.class); in main() 54 m = c.getMethod("ushrZero", long.class); in main() 58 m = c.getMethod("shlOne", long.class); in main() 62 m = c.getMethod("shrOne", long.class); in main() 66 m = c.getMethod("ushrOne", long.class); in main() 72 m = c.getMethod("shlZero", long.class); in main() 76 m = c.getMethod("shrZero", long.class); in main() 80 m = c.getMethod("ushrZero", long.class); in main() [all …]
|