Home
last modified time | relevance | path

Searched refs:c (Results 1 – 25 of 320) sorted by relevance

12345678910>>...13

/art/test/491-current-method/src/
DMain.java23 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/
Dexpected.txt19 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/
DMain.java78 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/
DMain.java27 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/
DMain.java41 for (char c = 'A'; c <= 'Z'; c++) { in liveIndexOf()
42 k += ABC.indexOf(c); in liveIndexOf()
44 for (char c = 'A'; c <= 'Z'; c++) { in liveIndexOf()
45 k += ABC.indexOf(c, 4); in liveIndexOf()
47 for (char c = 'A'; c <= 'Z'; c++) { in liveIndexOf()
50 for (char c = 'A'; c <= 'Z'; c++) { in liveIndexOf()
72 for (char c = 'A'; c <= 'Z'; c++) { in deadIndexOf()
73 int d = ABC.indexOf(c); in deadIndexOf()
75 for (char c = 'A'; c <= 'Z'; c++) { in deadIndexOf()
76 int d = ABC.indexOf(c, 4); in deadIndexOf()
[all …]
/art/benchmark/string-indexof/src/
DStringIndexOfBenchmark.java21 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/442-checker-constant-folding/src/
DMain.java216 int a, b, c; in IntAddition1() local
219 c = a + b; in IntAddition1()
220 return c; in IntAddition1()
242 int a, b, c; in IntAddition2() local
247 c = 6; in IntAddition2()
248 b += c; in IntAddition2()
249 c = a + b; in IntAddition2()
250 return c; in IntAddition2()
267 long a, b, c; in LongAddition() local
270 c = a + b; in LongAddition()
[all …]
/art/test/636-arm64-veneer-pool/src/
DMain.java17 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/
DMain.java41 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/StaticLeafMethods/
DStaticLeafMethods.java29 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/
DNonStaticLeafMethods.java31 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/
DMain.java27 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/
DMain.java103 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/
DMain.java63 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/test/404-optimizing-allocator/src/
DMain.java57 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/
DMain.java36 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/912-classes/src-art/art/
DTest912.java125 private static void testClassType(Class<?> c) throws Exception { in testClassType() argument
126 boolean isInterface = isInterface(c); in testClassType()
127 boolean isArray = isArrayClass(c); in testClassType()
128 boolean isModifiable = isModifiableClass(c); in testClassType()
129 System.out.println(c.getName() + " interface=" + isInterface + " array=" + isArray + in testClassType()
133 private static void testClassFields(Class<?> c) throws Exception { in testClassFields() argument
134 System.out.println(Arrays.toString(getClassFields(c))); in testClassFields()
137 private static void testClassMethods(Class<?> c) throws Exception { in testClassMethods() argument
138 System.out.println(Arrays.toString(getClassMethods(c))); in testClassMethods()
141 private static void testClassStatus(Class<?> c) { in testClassStatus() argument
[all …]
/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()
41 double c = 3.0; field in Main
/art/test/620-checker-bce-intrinsics/src/
DMain.java75 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/800-smali/smali/
Db_22881413.smali17 .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/runtime/native/
Djava_lang_reflect_Constructor.cc68 Handle<mirror::Class> c(hs.NewHandle(m->GetDeclaringClass())); in Constructor_newInstance0() local
69 if (UNLIKELY(c->IsAbstract())) { in Constructor_newInstance0()
71 c->IsInterface() ? "interface" : "abstract class", in Constructor_newInstance0()
72 c->PrettyDescriptor().c_str()); in Constructor_newInstance0()
76 if (!m->IsAccessible() && !c->IsPublic()) { in Constructor_newInstance0()
82 if (caller != nullptr && !caller->CanAccess(c.Get())) { in Constructor_newInstance0()
83 if (c->PrettyDescriptor() == "dalvik.system.DexPathList$Element") { in Constructor_newInstance0()
91 c->PrettyClass().c_str(), in Constructor_newInstance0()
97 if (!Runtime::Current()->GetClassLinker()->EnsureInitialized(soa.Self(), c, true, true)) { in Constructor_newInstance0()
102 if (!kMovingClasses && c->IsClassClass()) { in Constructor_newInstance0()
[all …]
/art/test/559-checker-irreducible-loop/src/
DMain.java24 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/457-regs/src/
DMain.java27 Class<?> c = Class.forName("PhiLiveness"); in main() local
28 Method m = c.getMethod("mergeOk", boolean.class, byte.class); in main()
31 m = c.getMethod("mergeNotOk", boolean.class, float.class); in main()
34 m = c.getMethod("mergeReferences", Main.class); in main()
37 m = c.getMethod("phiEquivalent"); in main()
40 m = c.getMethod("phiAllEquivalents", Main.class); in main()
/art/test/941-recurive-obsolete-jit/src/
DTransform.java19 public void sayHi(int recur, Consumer<String> c, Runnable r) { in sayHi() argument
20 c.accept("hello" + recur); in sayHi()
23 sayHi(recur - 1, c, r); in sayHi()
25 sayHi(recur - 1, c, r); in sayHi()
27 c.accept("goodbye" + recur); in sayHi()
/art/build/
Dcodegen.go27 func codegen(ctx android.LoadHookContext, c *codegenProperties, library bool) {
62 arch = &c.Codegen.Arm
64 arch = &c.Codegen.Arm64
66 arch = &c.Codegen.Mips
68 arch = &c.Codegen.Mips64
70 arch = &c.Codegen.X86
72 arch = &c.Codegen.X86_64
161 c := &codegenProperties{}
162 android.AddLoadHook(module, func(ctx android.LoadHookContext) { codegen(ctx, c, library) })
163 module.AddProperties(c)

12345678910>>...13