Home
last modified time | relevance | path

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

12345678910>>...17

/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-stdout.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/411-checker-hdiv-hrem-const/src/
DRemTest.java293 int c = 0; in $noinline$UnsignedIntRem01() local
295 c = v % 6; in $noinline$UnsignedIntRem01()
297 c = $noinline$Negate(v); // This is to prevent from using Select. in $noinline$UnsignedIntRem01()
299 return c; in $noinline$UnsignedIntRem01()
315 int c = 0; in $noinline$UnsignedIntRem02() local
317 c = v % 6; in $noinline$UnsignedIntRem02()
319 c = $noinline$Negate(v); // This is to prevent from using Select. in $noinline$UnsignedIntRem02()
321 return c; in $noinline$UnsignedIntRem02()
337 int c = 0; in $noinline$UnsignedIntRem03() local
339 c = v % 6; in $noinline$UnsignedIntRem03()
[all …]
DDivTest.java285 int c = 0; in $noinline$UnsignedIntDiv01() local
287 c = v / 6; in $noinline$UnsignedIntDiv01()
289 c = $noinline$Negate(v); // This is to prevent from using Select. in $noinline$UnsignedIntDiv01()
291 return c; in $noinline$UnsignedIntDiv01()
305 int c = 0; in $noinline$UnsignedIntDiv02() local
307 c = v / 6; in $noinline$UnsignedIntDiv02()
309 c = $noinline$Negate(v); // This is to prevent from using Select. in $noinline$UnsignedIntDiv02()
311 return c; in $noinline$UnsignedIntDiv02()
325 int c = 0; in $noinline$UnsignedIntDiv03() local
327 c = v / 6; in $noinline$UnsignedIntDiv03()
[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.java42 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/
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/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/442-checker-constant-folding/src/
DMain.java229 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/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/173-missing-field-type/src-art/
DMain.java22 Class<?> c = Class.forName("BadField"); in main() local
25 c.getMethod("storeStaticNull").invoke(null); in main()
26 c.getMethod("storeInstanceNull").invoke(null); in main()
29 testStoreObject(c, "storeStaticObject"); in main()
30 testStoreObject(c, "storeInstanceObject"); in main()
33 c = Class.forName("BadFieldGet"); in main()
34 testLoadObject(c, "loadStatic"); in main()
37 public static void testLoadObject(Class<?> c, String methodName) throws Throwable { in testLoadObject() argument
38 c.getMethod(methodName).invoke(null); in testLoadObject()
41 public static void testStoreObject(Class<?> c, String methodName) throws Throwable { in testStoreObject() argument
[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/libdexfile/dex/
Ddescriptors_names.cc31 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/
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/compiler/utils/
Dassembler_thumb_test_expected.cc.inc6 " c: 1d 91 str r1, [sp, #116]\n"
12 " 1c: 08 98 ldr r0, [sp, #32]\n"
18 " 2c: 0d f5 80 5c add.w r12, sp, #4096\n"
22 " 3c: 08 90 str r0, [sp, #32]\n"
28 " 4c: 4d f8 04 5d str r5, [sp, #-4]!\n"
32 " 5c: 4f f0 ff 0c mov.w r12, #255\n"
34 " 64: 6f f0 7f 4c mvn r12, #4278190080\n"
36 " 6c: cd f8 30 c0 str.w r12, [sp, #48]\n"
38 " 74: 0c 90 str r0, [sp, #48]\n"
41 " 7e: 0d f5 80 5c add.w r12, sp, #4096\n"
[all …]
/art/test/686-get-this/src/
DMain.java23 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/912-classes/src-art/art/
DTest912.java128 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/
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/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

12345678910>>...17