Home
last modified time | relevance | path

Searched refs:a (Results 126 – 150 of 1121) sorted by relevance

12345678910>>...45

/art/test/422-type-conversion/src/
DMain.java633 static long $opt$noinline$ByteToLong(byte a) { return (long)a; } in $opt$noinline$ByteToLong() argument
634 static long $opt$noinline$ShortToLong(short a) { return (long)a; } in $opt$noinline$ShortToLong() argument
635 static long $opt$noinline$IntToLong(int a) { return (long)a; } in $opt$noinline$IntToLong() argument
636 static long $opt$noinline$CharToLong(int a) { return (long)a; } in $opt$noinline$CharToLong() argument
639 static float $opt$noinline$ByteToFloat(byte a) { return (float)a; } in $opt$noinline$ByteToFloat() argument
640 static float $opt$noinline$ShortToFloat(short a) { return (float)a; } in $opt$noinline$ShortToFloat() argument
641 static float $opt$noinline$IntToFloat(int a) { return (float)a; } in $opt$noinline$IntToFloat() argument
642 static float $opt$noinline$CharToFloat(char a) { return (float)a; } in $opt$noinline$CharToFloat() argument
645 static double $opt$noinline$ByteToDouble(byte a) { return (double)a; } in $opt$noinline$ByteToDouble() argument
646 static double $opt$noinline$ShortToDouble(short a) { return (double)a; } in $opt$noinline$ShortToDouble() argument
[all …]
/art/test/2000-virtual-list-structural/src/
DMain.java84 public static void CheckEQ(Object a, int b) { in CheckEQ() argument
85 CheckEQ(((Integer)a).intValue(), b); in CheckEQ()
87 public static void CheckLE(Object a, Object b) { in CheckLE() argument
88 CheckLE(((Integer)a).intValue(), ((Integer)b).intValue()); in CheckLE()
90 public static void CheckEQ(int a, int b) { in CheckEQ() argument
91 if (a != b) { in CheckEQ()
92 throw new Error(a + " is not equal to " + b); in CheckEQ()
95 public static void CheckLE(int a, int b) { in CheckLE() argument
96 if (!(a <= b)) { in CheckLE()
97 throw new Error(a + " is not less than or equal to " + b); in CheckLE()
/art/test/414-static-fields/src/
DMain.java42 int a = getInt(); in $opt$TestAddThisClassStaticField() local
43 assertEquals(a + 42, a + staticField); in $opt$TestAddThisClassStaticField()
47 int a = getInt(); in $opt$TestAddOtherClassStaticField() local
48 assertEquals(a + 41, a + Other.staticField); in $opt$TestAddOtherClassStaticField()
/art/test/618-checker-induction/src/
DMain.java22 static int[] a = new int[10]; field in Main
147 for (int i = 0; i < a.length; i++) { in deadInduction()
148 a[i] = novec[2 * i] + 1; in deadInduction()
168 for (int i = 0; i < a.length; i++) { in deadManyInduction()
170 a[i] = novec[2 * i] + 2; in deadManyInduction()
189 for (int i = 0; i < a.length; i++) { in deadSequence()
190 a[i] = novec[2 * i] + 3; in deadSequence()
213 for (int i = 0; i < a.length; i++) { in deadCycleWithException()
214 a[i] = novec[2 * i] + 4; in deadCycleWithException()
218 dead += a[k]; in deadCycleWithException()
[all …]
/art/test/683-clinit-inline-static-invoke/
Dinfo.txt1 Regression test for a bug where the class initialization check for an inlined
2 call to a static method used a type index from the wrong dex file because the
3 current dex file does not have a TypeId for it. This was likely to crash.
/art/test/utils/python/testgen/
Dutils.py48 return "\n".join(a for a in s.split("\n") if a.strip() != "")
55 return "\n".join(map(lambda a: "# " + a, get_copyright("java").split("\n")))
/art/test/1986-structural-redefine-multi-thread-stack-scope/src/
DMain.java60 public static void assertEquals(Object a, Object b) { in assertEquals() argument
61 if (a != b) { in assertEquals()
62 throw new Error("Expected " + b + ", got " + a); in assertEquals()
66 public static void assertAllEquals(Object[] a, Object b) { in assertAllEquals() argument
69 for (int i = 0; i < a.length; i++) { in assertAllEquals()
70 if (a[i] != b) { in assertAllEquals()
72 msg += "Expected " + b + ", got a[" + i + "] (" + a[i] + "), "; in assertAllEquals()
/art/test/438-volatile/src/
DMain.java31 public static long $opt$update(long a) { in $opt$update() argument
32 long_volatile = a; in $opt$update()
36 public static double $opt$update(double a) { in $opt$update() argument
37 double_volatile = a; in $opt$update()
/art/test/1000-non-moving-space-stress/
Dinfo.txt1 Regression test for a bug that used to trigger GC crashes during a
3 newly allocated object in the non-moving space with a dangling
4 reference to an object cleared or moved from a newly allocated region
/art/test/436-rem-float/src/
DMain.java218 static float $opt$Rem(float a, float b) { in $opt$Rem() argument
219 return a % b; in $opt$Rem()
222 static float $opt$RemConst(float a) { in $opt$RemConst() argument
223 return a % 4F; in $opt$RemConst()
226 static double $opt$Rem(double a, double b) { in $opt$Rem() argument
227 return a % b; in $opt$Rem()
230 static double $opt$RemConst(double a) { in $opt$RemConst() argument
231 return a % 4D; in $opt$RemConst()
234 public static void expectApproxEquals(float a, float b) { in expectApproxEquals() argument
236 boolean aproxEquals = (a > b) ? ((a - b) < maxDelta) : ((b - a) < maxDelta); in expectApproxEquals()
[all …]
/art/test/2032-default-method-private-override/
Dinfo.txt3 We would incorrectly search all declared methods of a class for interface
5 looking for overrides to a superclasses interfaces. This could cause
6 exceptions and incorrect behavior as we might try to use a private or a
/art/test/087-gc-after-link/
Dinfo.txt1 This test causes a linkage error, which calls dvmFreeClassInnards on
4 This is a regression test for a defect in Dalvik, which was assuming
7 This test is a modified version of test 086.
/art/test/435-try-finally-without-catch/src/
DMain.java26 int a = 0; in foo() local
31 a = 1; in foo()
34 int c = a % b; in foo()
/art/test/1004-checker-volatile-ref-load/
Dinfo.txt2 emitted for a volatile field load on ARM64 at the beginning of the
3 Baker read barrier thunk, so that a null holder object is properly
4 caught (and throws a NullPointerException as expected), instead of
5 trigerring a SIGSEGV, when the Concurrent Copying GC is in the marking
/art/test/593-checker-shift-and-simplifier/src/
DMain.java21 static int[] a = { 10 }; field in Main
36 int r = a[0]; in operations()
39 int a = s & n; in operations() local
40 return a; in operations()
/art/test/527-checker-array-access-split/src/
DMain.java618 public final static int checkObjectArrayGet(int index, Integer[] a, Integer[] b) { in checkObjectArrayGet() argument
620 int tmp1 = a[index]; in checkObjectArrayGet()
621 tmp1 += a[index + 1]; in checkObjectArrayGet()
622 a[index + 1] = five; in checkObjectArrayGet()
623 tmp1 += a[index + 2]; in checkObjectArrayGet()
624 a[index + 2] = five; in checkObjectArrayGet()
625 a[index + 3] = five; in checkObjectArrayGet()
/art/test/505-simplifier-type-propagation/src/
DMain.java26 int a = 0; in bar() local
30 a = myByte; in bar()
32 return (byte)a; in bar()
/art/test/963-default-range-smali/src/
DMain.java18 A a = new A(); in main() local
19 System.out.println(a.SayHi("a string 0", in main()
29 Iface b = a; in main()
/art/test/481-regression-phi-cond/
Dinfo.txt1 Tests a regression in which simplification of a boolean selection could attempt
2 to remove a Phi from the wrong instruction list.
/art/test/622-checker-bce-regressions/src/
DMain.java30 static int doNotVisitAfterForwardBCE(int[] a) { in doNotVisitAfterForwardBCE() argument
31 if (a == null) { in doNotVisitAfterForwardBCE()
40 k = a[i] + a[i - 1]; in doNotVisitAfterForwardBCE()
/art/test/608-checker-unresolved-lse/src/
DMain.java73 int a = f.$inline$GetInstanceField(); in instanceFieldTest2() local
75 a = f.$inline$GetInstanceField(); in instanceFieldTest2()
76 if (a != 43) { in instanceFieldTest2()
77 throw new Error("Expected 43, got " + a); in instanceFieldTest2()
/art/test/695-simplify-throws/src/
DMain.java25 int a = 2; in test() local
27 a = 3; in test()
29 staticField = a; in test()
/art/test/450-checker-types/src/
DMain.java68 private A a = null; field in Generic
70 return a; in get()
440 public SubclassA a = new SubclassA(); field in Main
450 Super a = m.a; in testInstanceFieldGetSimpleRemove() local
451 ((SubclassA)a).$noinline$g(); in testInstanceFieldGetSimpleRemove()
491 Super[] a = new SubclassA[10]; in testArrayGetSimpleRemove() local
492 ((SubclassA)a[0]).$noinline$g(); in testArrayGetSimpleRemove()
623 public String checkcastPreserveNullCheck(Object a) { in checkcastPreserveNullCheck() argument
624 return ((SubclassA)a).toString(); in checkcastPreserveNullCheck()
635 private void argumentCheck(Super s, double d, SubclassA a, Final f) { in argumentCheck() argument
[all …]
/art/test/660-clinit/
Dexpected.txt3 A.a: 5
4 A.a: 10
14 a != 101
/art/test/957-methodhandle-transforms/src/
DMain.java722 public static String filterReturnValue_target(int a) { in filterReturnValue_target() argument
723 return "ReturnValue" + a; in filterReturnValue_target()
730 public static int filterReturnValue_intTarget(String a) { in filterReturnValue_intTarget() argument
731 return Integer.parseInt(a); in filterReturnValue_intTarget()
796 public static void permuteArguments_callee(boolean a, byte b, char c, in permuteArguments_callee() argument
798 if (a == true && b == (byte) 'b' && c == 'c' && d == (short) 56 && in permuteArguments_callee()
803 fail("Unexpected arguments: " + a + ", " + b + ", " + c in permuteArguments_callee()
807 public static void permuteArguments_boxingCallee(boolean a, Integer b) { in permuteArguments_boxingCallee() argument
808 if (a && b.intValue() == 42) { in permuteArguments_boxingCallee()
812 fail("Unexpected arguments: " + a + ", " + b); in permuteArguments_boxingCallee()
[all …]

12345678910>>...45