Home
last modified time | relevance | path

Searched refs:a (Results 76 – 100 of 1121) sorted by relevance

12345678910>>...45

/art/test/437-inline/src/
DMain.java68 public static int $opt$inline$returnParameter(int a) { in $opt$inline$returnParameter() argument
69 return a; in $opt$inline$returnParameter()
72 public static int $opt$inline$returnAdd(int a, int b) { in $opt$inline$returnAdd() argument
73 return a + b; in $opt$inline$returnAdd()
76 public static int $opt$inline$returnSub(int a, int b) { in $opt$inline$returnSub() argument
77 return a - b; in $opt$inline$returnSub()
84 public static long $opt$inline$returnWideParameter(long a) { in $opt$inline$returnWideParameter() argument
85 return a; in $opt$inline$returnWideParameter()
100 public static void $opt$inline$returnVoidWithOneParameter(int a) { in $opt$inline$returnVoidWithOneParameter() argument
/art/test/436-shift-constant/src/
DMain.java31 public static void assertEquals(int a, int b) { in assertEquals() argument
32 if (a != b) { in assertEquals()
33 throw new Error("Expected " + a + ", got " + b); in assertEquals()
37 public static void assertEquals(long a, long b) { in assertEquals() argument
38 if (a != b) { in assertEquals()
39 throw new Error("Expected " + a + ", got " + b); in assertEquals()
/art/test/704-multiply-accumulate/src/
DMain.java39 int a = imax; in test_int() local
55 result = a + a*a; in test_int()
61 result = b - a*a; in test_int()
84 result = a*c + obj.ia; in test_int()
90 result = a*c; in test_int()
100 long a = lmax; in test_long() local
116 result = a + a*a; in test_long()
122 result = b - a*a; in test_long()
146 result = a*c + obj.la; in test_long()
152 result = a*c; in test_long()
/art/test/800-smali/smali/
DsameFieldNames.smali6 .field static public a:D
7 .field static public a:S
8 .field static public a:J
9 .field static public a:F
10 .field static public a:Z
11 .field static public a:I
12 .field static public a:B
13 .field static public a:C
14 .field static public a:Ljava/lang/Integer;
15 .field static public a:Ljava/lang/Long;
[all …]
Db_21869691A.smali4 # When using invoke-interface on a method id that is not from an interface class, we should throw
6 # so we can construct a class hierarchy that would have a surprising result:
9 # void a();
13 # // miranda method for a, or a implemented.
19 # Then calling invoke-interface C.a() will go wrong if there is no explicit check: a can't be found
22 # If we do this before a correct invoke-virtual C.a(), we poison the dex cache with an incorrect
45 invoke-interface {p1}, LB21869691C;->a()V
/art/tools/ahat/src/main/com/android/ahat/heapdump/
DDiff.java42 private static void heaps(List<AhatHeap> a, List<AhatHeap> b) { in heaps() argument
43 int asize = a.size(); in heaps()
52 AhatHeap aheap = a.get(i); in heaps()
76 a.add(AhatHeap.newPlaceHolderHeap(bheap.getName(), bheap)); in heaps()
142 public final List<AhatInstance> a; field in Diff.InstanceListPair
146 this.a = new ArrayList<AhatInstance>(); in InstanceListPair()
150 public InstanceListPair(List<AhatInstance> a, List<AhatInstance> b) { in InstanceListPair() argument
151 this.a = a; in InstanceListPair()
188 private static void instances(List<AhatInstance> a, List<AhatInstance> b, in instances() argument
193 deque.push(new InstanceListPair(a, b)); in instances()
[all …]
/art/test/611-checker-simplify-if/src/
DMain.java116 int a = 42; in testNonConstantInputs() local
118 a = 34; in testNonConstantInputs()
121 a = otherStaticField; in testNonConstantInputs()
123 if (a == 42) { in testNonConstantInputs()
147 int a = 42; in testGreaterCondition() local
149 a = 34; in testGreaterCondition()
152 a = 22; in testGreaterCondition()
154 if (a < 25) { in testGreaterCondition()
180 int a = 42; in testNonConstantEqual() local
183 a = 34; in testNonConstantEqual()
[all …]
/art/test/565-checker-condition-liveness/src/
DMain.java82 public static void testThrowIntoCatchBlock(int x, Object y, int[] a) { in testThrowIntoCatchBlock() argument
84 a[1] = x; in testThrowIntoCatchBlock()
128 public static void testBoundsCheck(int x, Object y, int[] a) { in testBoundsCheck() argument
129 a[1] = x; in testBoundsCheck()
164 public static void testDeoptimize(int x, Object y, int[] a) { in testDeoptimize() argument
165 a[0] = x; in testDeoptimize()
166 a[1] = x; in testDeoptimize()
/art/test/684-checker-simd-dotprod/src/other/
DTestVarious.java139 public static final int testDotProdByteToChar(char[] a, char[] b) { in testDotProdByteToChar() argument
142 int temp = ((char)((byte)(a[i] + 129))) * b[i]; in testDotProdByteToChar()
150 public static final int testDotProdMixedSize(byte[] a, short[] b) { in testDotProdMixedSize() argument
153 int temp = a[i] * b[i]; in testDotProdMixedSize()
161 public static final int testDotProdMixedSizeAndSign(byte[] a, char[] b) { in testDotProdMixedSizeAndSign() argument
164 int temp = a[i] * b[i]; in testDotProdMixedSizeAndSign()
194 public static final int testDotProdInt32(int[] a, int[] b) { in testDotProdInt32() argument
197 int temp = a[i] * b[i]; in testDotProdInt32()
236 public static final int testDotProdBothSignedUnsigned1(byte[] a, byte[] b) { in testDotProdBothSignedUnsigned1() argument
240 byte a_val = a[i]; in testDotProdBothSignedUnsigned1()
[all …]
/art/test/562-bce-preheader/src/
DMain.java80 int a = 0; in doit() local
83 a = z[i]; in doit()
85 a += z[k]; in doit()
86 a = z[i]; in doit()
90 return a; in doit()
129 int a[] = { 1, 2, 3, 5 }; in main() local
132 expectEquals(7, foo(a, b, -1)); in main()
133 expectEquals(7, foo(a, b, 0)); in main()
134 expectEquals(16, foo(a, b, 1)); in main()
135 expectEquals(26, foo(a, b, 2)); in main()
[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()
39 double a = 1.0; field in Main
/art/test/623-checker-loop-regressions/src/
DMain.java268 static void narrowingSubscript(float[] a) { in narrowingSubscript() argument
270 for (long i = 0; i < a.length; i++) { in narrowingSubscript()
271 a[(int) i] += val; in narrowingSubscript()
297 private static void string2Bytes(char[] a, String b) { in string2Bytes() argument
298 int min = Math.min(a.length, b.length()); in string2Bytes()
300 a[i] = b.charAt(i); in string2Bytes()
358 private static void oneBoth(short[] a, char[] b) { in oneBoth() argument
359 for (int i = 0; i < Math.min(a.length, b.length); i++) { in oneBoth()
360 a[i] = 1; in oneBoth()
367 private static void arrayInTripCount(int[] a, byte[] b, int n) { in arrayInTripCount() argument
[all …]
/art/tools/ahat/src/test/com/android/ahat/
DDiffFieldsTest.java122 List<FieldValue> a = new ArrayList<FieldValue>(); in basicDiff() local
123 a.add(new FieldValue("n0", t0, null)); in basicDiff()
124 a.add(new FieldValue("n2", t2, null)); in basicDiff()
125 a.add(new FieldValue("n3", t3, null)); in basicDiff()
126 a.add(new FieldValue("n4", t4, null)); in basicDiff()
127 a.add(new FieldValue("n5", t5, null)); in basicDiff()
128 a.add(new FieldValue("n6", t6, null)); in basicDiff()
144 expected.add(DiffedFieldValue.matched(a.get(0), b.get(0))); in basicDiff()
146 expected.add(DiffedFieldValue.matched(a.get(1), b.get(2))); in basicDiff()
147 expected.add(DiffedFieldValue.matched(a.get(2), b.get(3))); in basicDiff()
[all …]
/art/test/992-source-data/
Dexpected.txt2 class art.Test992 does not have a known source file extension because java.lang.RuntimeException: J…
4 class art.Test992$Target1 does not have a known source file extension because java.lang.RuntimeExce…
6 class art.Target2 does not have a known source file extension because java.lang.RuntimeException: J…
7 int does not have a known source file because java.lang.RuntimeException: JVMTI_ERROR_ABSENT_INFORM…
8 int does not have a known source file extension because java.lang.RuntimeException: JVMTI_ERROR_ABS…
10 class java.lang.Integer does not have a known source file extension because java.lang.RuntimeExcept…
12 class java.lang.Object does not have a known source file extension because java.lang.RuntimeExcepti…
14 interface java.lang.Runnable does not have a known source file extension because java.lang.RuntimeE…
15 class [Ljava.lang.Object; does not have a known source file because java.lang.RuntimeException: JVM…
16 class [Ljava.lang.Object; does not have a known source file extension because java.lang.RuntimeExce…
[all …]
/art/test/411-optimizing-arith/src/
DRemTest.java122 static int $opt$Rem(int a, int b) { in $opt$Rem() argument
123 return a % b; in $opt$Rem()
126 static int $opt$RemZero(int a) { in $opt$RemZero() argument
127 return a % 0; in $opt$RemZero()
130 static int $noinline$RemLoaded1(int a) { in $noinline$RemLoaded1() argument
132 return a % v[1]; in $noinline$RemLoaded1()
135 static int $noinline$RemLoadedN1(int a) { in $noinline$RemLoadedN1() argument
137 return a % v[1]; in $noinline$RemLoadedN1()
140 static long $noinline$RemLoaded1(long a) { in $noinline$RemLoaded1() argument
142 return a % v[1]; in $noinline$RemLoaded1()
[all …]
/art/test/700-LoadArgRegs/
Dexpected.txt21 a
22 a, b
23 a, b, c
24 a, b, c, d
25 a, b, c, d, e
26 a, b, c, d, e, f
27 a, b, c, d, e, f, g
/art/test/403-optimizing-long/src/
DMain.java88 static long $opt$TakeOneLong2(int a, long l) { in $opt$TakeOneLong2() argument
92 static long $opt$TakeOneLong3(int a, int b, long l) { in $opt$TakeOneLong3() argument
96 static long $opt$TakeOneLong4(int a, int b, int c, long l) { in $opt$TakeOneLong4() argument
100 static long $opt$TakeOneLong5(int a, int b, int c,int d, long l) { in $opt$TakeOneLong5() argument
104 static long $opt$AddTwoLongs(long a, long b) { in $opt$AddTwoLongs() argument
105 return a + b; in $opt$AddTwoLongs()
108 static long $opt$AddThreeLongs(long a, long b, long c) { in $opt$AddThreeLongs() argument
109 return a + b + c; in $opt$AddThreeLongs()
112 static long $opt$SubTwoLongs(long a, long b) { in $opt$SubTwoLongs() argument
113 return a - b; in $opt$SubTwoLongs()
/art/test/640-checker-integer-valueof/src/
DMain.java23 public static Integer foo(int a) { in foo() argument
24 return Integer.valueOf(a); in foo()
70 static void assertEqual(String a, Integer b) { in assertEqual() argument
71 if (!a.equals(b.toString())) { in assertEqual()
72 throw new Error("Expected " + a + ", got " + b); in assertEqual()
76 static void assertEqual(Integer a, Integer b) { in assertEqual() argument
77 if (a != b) { in assertEqual()
78 throw new Error("Expected " + a + ", got " + b); in assertEqual()
/art/test/444-checker-nce/src/
DMain.java98 Main a = new Main(); in forRemoveTest() local
102 m = a; in forRemoveTest()
114 Main a = new Main(); in forKeepTest() local
118 m = a; in forKeepTest()
132 Main a = new Main(); in phiFlowRemoveTest() local
136 m = a; in phiFlowRemoveTest()
154 Main a = new Main(); in phiFlowKeepTest() local
158 m = a; in phiFlowKeepTest()
174 public Main scopeRemoveTest(int count, Main a) { in scopeRemoveTest() argument
181 m = a; in scopeRemoveTest()
[all …]
/art/test/530-checker-loops1/src/
DMain.java92 static int hiddenStride(int[] a) { in hiddenStride() argument
96 for (int j = 0; j < a.length; j += i) { in hiddenStride()
97 result += a[j]; in hiddenStride()
567 int[] a = new int[n]; in linearTriangularOnTwoArrayLengths() local
568 for (int i = 0; i < a.length; i++) { in linearTriangularOnTwoArrayLengths()
572 a[j] += 1; in linearTriangularOnTwoArrayLengths()
576 verifyTriangular(a, b, i, n); in linearTriangularOnTwoArrayLengths()
588 int[] a = new int[n]; in linearTriangularOnOneArrayLength() local
589 for (int i = 0; i < a.length; i++) { in linearTriangularOnOneArrayLength()
593 a[j] += 1; in linearTriangularOnOneArrayLength()
[all …]
/art/test/435-try-finally-without-catch/
Dinfo.txt1 Exercise a method containing a `try' statement with several
2 instructions with a `finally' clause but without any `catch' block,
3 enclosed in a loop.
5 When dx processes an integer division (or modulo) enclosing a `try'
6 block and whose result is assigned to a local value, it is smart
7 enough not to emit a `div-int' (or `rem-int') instruction when the
11 still emit a block with the exception catching and rethrowing
14 This used to be a problem for a `try' block followed by a `finally'
18 clue that it contains a `try' statement, which it cannot optimize
25 instructions in a proper fashion, by removing them as users first, and
/art/test/529-long-split/src/
DMain.java32 public static boolean testOddLow1(long a /* ECX-EDX */) { in testOddLow1() argument
39 myLongField2 = a; // Make sure ESI-EDI gets spilled and not ECX-EDX in testOddLow1()
67 boolean res = a == b; in testOddLow1()
76 long a = (long)i; // EAX-EDX in testNonFollowingHigh() local
81 myLongField2 = a; // Make sure ESI-EDI gets spilled and not ECX-EDX in testNonFollowingHigh()
107 boolean res = a == b; in testNonFollowingHigh()
116 long a = myLongField2; // ESI-EDI in testOddLow2() local
163 boolean res = a == b; in testOddLow2()
/art/test/550-new-instance-clinit/src/
DMain.java19 int foo = Main.a; in main()
21 foo = Main.a; in main()
26 static int a = 42; field in Main
31 Main.a++;
/art/test/643-checker-bogus-ic/src/
DMain.java28 public static int inlineMonomorphic(Main a) { in inlineMonomorphic() argument
29 return a.getValue(); in inlineMonomorphic()
37 public static int inlinePolymorphic(Main a) { in inlinePolymorphic() argument
38 return a.getValue(); in inlinePolymorphic()
/art/test/707-checker-invalid-profile/src/
DMain.java24 public static int attemptInlineMonomorphic(Main a) { in attemptInlineMonomorphic() argument
25 return a.getValue(); in attemptInlineMonomorphic()
30 public static int attemptInlinePolymorphic(Main a) { in attemptInlinePolymorphic() argument
31 return a.getValue(); in attemptInlinePolymorphic()

12345678910>>...45