Home
last modified time | relevance | path

Searched refs:foo (Results 1 – 25 of 255) sorted by relevance

1234567891011

/art/test/640-checker-integer-valueof/src/
DMain.java23 public static Integer foo(int a) { in foo() method in Main
52 assertEqual("42", foo(intField)); in main()
53 assertEqual(foo(intField), foo(intField2)); in main()
57 assertEqual("55555", foo(intField3)); in main()
58 assertEqual("-129", foo(intFieldMinus129)); in main()
59 assertEqual("-128", foo(intFieldMinus128)); in main()
60 assertEqual(foo(intFieldMinus128), foo(intFieldMinus128)); in main()
61 assertEqual("-127", foo(intFieldMinus127)); in main()
62 assertEqual(foo(intFieldMinus127), foo(intFieldMinus127)); in main()
63 assertEqual("126", foo(intField126)); in main()
[all …]
/art/test/657-branches/src/
DMain.java19 public static void foo(float f) { in foo() method in Main
29 foo(Main.class, Object.class); in foo()
31 foo(Main.class, Object.class); in foo()
33 foo(Main.class, Object.class); in foo()
40 public static void foo(Object a, Object b) {} in foo() method in Main
43 foo(0f); in main()
44 foo(4f); in main()
45 foo(0.1f); in main()
/art/test/484-checker-register-hints/src/
DMain.java53 foo.field2 = e + i + h; in test1()
54 foo.field3 = f + i + h; in test1()
55 foo.field4 = g + i + h; in test1()
56 foo.field0 = h; in test1()
57 foo.field1 = i + h; in test1()
87 foo.field2 = e + i + h; in test2()
88 foo.field3 = f + i + h; in test2()
89 foo.field4 = g + i + h; in test2()
90 foo.field0 = h; in test2()
91 foo.field1 = i + h; in test2()
[all …]
/art/test/690-hiddenapi-same-name-methods/
Dhiddenapi-flags.csv1 LSpecificClass;->foo()Ljava/lang/Double;,blacklist
2 LDirectMethods;->foo()Ljava/lang/Integer;,blacklist
3 LDirectMethods;->foo()Ljava/lang/Boolean;,blacklist
4 LVirtualMethods;->foo()Ljava/lang/Integer;,blacklist
5 LVirtualMethods;->foo()Ljava/lang/Boolean;,blacklist
6 LSyntheticMethods;->foo()Ljava/lang/Integer;,blacklist
7 LSyntheticMethods;->foo()Ljava/lang/Boolean;,blacklist
8 LNonSyntheticMethods;->foo()Ljava/lang/Integer;,blacklist
9 LNonSyntheticMethods;->foo()Ljava/lang/Boolean;,blacklist
/art/test/911-get-stack-trace/src/art/
DSameThread.java25 Recurse.foo(4, 0, 25, null); in doTest()
26 Recurse.foo(4, 1, 25, null); in doTest()
27 Recurse.foo(4, 0, 5, null); in doTest()
28 Recurse.foo(4, 2, 5, null); in doTest()
29 Recurse.foo(4, 2, 1, null); in doTest()
32 Recurse.foo(4, -1, 25, null); in doTest()
33 Recurse.foo(4, -5, 5, null); in doTest()
34 Recurse.foo(4, -7, 5, null); in doTest()
/art/test/551-checker-clinit/src/
DMain.java20 public static int foo = 42; field in Main
49 int a = Main.foo; in invokeSuperClass()
56 int a = foo; in invokeItself()
62 int a = SubSub.foo; in invokeSubClass()
65 public static int foo = 42; field in Sub
70 int a = Main.foo; in bar()
72 public static int foo = 42; field in SubSub
/art/test/594-invoke-super/src/
DMain.java27 public void foo() { System.out.println("I am A's foo"); } in foo() method in A
37 public void foo() { System.out.println("I am B's foo"); } in foo() method in B
45 public void foo() { super.foo(); } in foo() method in X
49 public void foo() { super.foo(); } in foo() method in Y
60 new X().foo(); in main()
61 new Y().foo(); in main()
/art/test/139-register-natives/src/
DMain.java75 private native void foo(); in foo() method in TestSuper
79 foo(); in callMyFoo()
84 public native void foo(); in foo() method in TestSub
88 foo(); in callMyFoo()
93 public native void foo(); in foo() method in TestSuper2
97 foo(); in callMyFoo()
105 public native void foo(); in foo() method in TestSuper3
109 foo(); in callMyFoo()
114 public void foo() { in foo() method in TestSub3
/art/test/911-get-stack-trace/
Dexpected.txt11 foo (IIILart/ControlData;)I 0 21
14 foo (IIILart/ControlData;)I 0 21
17 foo (IIILart/ControlData;)I 0 21
20 foo (IIILart/ControlData;)I 0 21
23 foo (IIILart/ControlData;)I 0 21
31 foo (IIILart/ControlData;)I 0 21
34 foo (IIILart/ControlData;)I 0 21
37 foo (IIILart/ControlData;)I 0 21
40 foo (IIILart/ControlData;)I 0 21
43 foo (IIILart/ControlData;)I 0 21
[all …]
Dexpected-cts-version.txt11 foo (IIILart/ControlData;)I 0 21
14 foo (IIILart/ControlData;)I 0 21
17 foo (IIILart/ControlData;)I 0 21
20 foo (IIILart/ControlData;)I 0 21
23 foo (IIILart/ControlData;)I 0 21
31 foo (IIILart/ControlData;)I 0 21
34 foo (IIILart/ControlData;)I 0 21
37 foo (IIILart/ControlData;)I 0 21
40 foo (IIILart/ControlData;)I 0 21
43 foo (IIILart/ControlData;)I 0 21
[all …]
/art/test/016-intern/src/
DMain.java23 final String foo = "foo"; in main() local
27 a = foo.concat(bar).intern(); in main()
28 b = foo.concat(bar).intern(); in main()
29 if (a == b && foo != bar) { in main()
36 a = ("f" + foo.substring(1,3)).intern(); in main()
37 if (a == foo) { in main()
/art/test/550-new-instance-clinit/src/
DMain.java19 int foo = Main.a; in main() local
21 foo = Main.a; in main()
22 if (foo != 43) { in main()
23 throw new Error("Expected 43, got " + foo); in main()
/art/test/434-shifter-operand/src/
DMain.java19 System.out.println(foo(42)); in main()
20 System.out.println(foo(0xffffffff)); in main()
21 System.out.println(foo(0xf0000000)); in main()
24 public static boolean foo(int a) { in foo() method in Main
/art/test/957-methodhandle-transforms/
Dexpected.txt1 Message: foo, Message2: 42
2 Message: foo, Message2: 42
3 Message: foo, Message2: 42
4 Message: foo, Message2: 42
5 Message: foo, Message2: 42
6 Message: foo, Message2: 42
7 Message: foo, Message2: 42
8 Target: Arg1: foo, Arg2: 42
9 Target: Arg1: foo, Arg2: 42
10 Handler: java.lang.IllegalArgumentException: exceptionMessage, Arg1: foo, Arg2: 42, ExMsg: exceptio…
[all …]
/art/test/421-exceptions/src/
DMain.java20 $opt$foo(1); in $opt$bar()
22 $opt$foo(2); in $opt$bar()
24 $opt$foo(3); in $opt$bar()
26 $opt$foo(4); in $opt$bar()
55 public static void $opt$foo(int value) { in $opt$foo()
/art/test/641-checker-arraycopy/src/
DMain.java28 public static void typedCopy(Object o, byte[] foo) { in typedCopy() argument
30 System.arraycopy((Object)foo, 1, (Object)foo, 0, 1); // Don't use the @hide byte[] overload. in typedCopy()
33 public static void untypedCopy(Object o, Object foo) { in untypedCopy() argument
35 System.arraycopy(foo, 1, foo, 0, 1); in untypedCopy()
/art/test/105-invoke/src/
DMain.java72 Main foo = new Main(); in invoke() local
74 return foo.virI_I(a) + in invoke()
75 foo.virI_II(a, 1) + in invoke()
76 foo.virI_III(a, 1, 2) + in invoke()
77 foo.virI_IIII(a, 1, 2, 3) + in invoke()
78 foo.virI_IIIII(a, 1, 2, 3, 4) + in invoke()
79 foo.virI_IIIIII(a, 1, 2, 3, 4, 5) + in invoke()
86 foo.interfaceMethod(a); in invoke()
/art/test/447-checker-inliner3/src/
DMain.java27 return foo(true); in inlineIfThenElse()
30 private static int foo(boolean value) { in foo() method in Main
47 result += foo(i % 2 == 0); in inlineInLoop()
60 for (int i = 0; i < foo(i % 2 == 0); ++i) { in inlineInLoopHeader()
/art/test/164-resolution-trampoline-dex-cache/src-ex/
DMostDerived.java30 new MostDerived().foo(main); in test()
42 public void foo(Class main) { in foo() method in MostDerived
43 super.foo(main); in foo()
48 b.foo(main); in bar()
/art/test/IMTB/
DInterfaces.java20 public void foo(); in foo() method
23 public void foo(); in foo() method
26 public void foo(); in foo() method
/art/test/578-polymorphic-inlining/src/
DMain.java39 $noinline$foo(); in willInlineVoid()
41 $noinline$foo(); in willInlineVoid()
42 $noinline$foo(); in willInlineVoid()
46 public static void $noinline$foo() { in $noinline$foo()
/art/test/049-show-object/src/
DMain.java28 public static void showObject(Object[] foo) { in showObject() argument
30 System.out.println("class: " + foo.getClass()); in showObject()
32 for (int i = 0; i < foo.length; i++) { in showObject()
33 System.out.println(i + ": " + foo[i]); in showObject()
/art/test/552-checker-sharpening/src/
DMain.java39 private static int $noinline$foo(int x) { in $noinline$foo()
56 return $noinline$foo(x); in testSimple()
78 return $noinline$foo(-x); in testDiamond()
80 return $noinline$foo(x); in testDiamond()
105 x += $noinline$foo(i); in testLoop()
125 x += $noinline$foo(-i); in testLoopWithDiamond()
127 x += $noinline$foo(i); in testLoopWithDiamond()
/art/test/616-cha-native/src/
DMain.java18 public abstract void foo(); in foo() method in A
22 public native void foo(); in foo() method in B
26 public void foo() {} in foo() method in C
/art/test/044-proxy/src/
DNarrowingTest.java22 public Object foo(); in foo() method
28 public String foo(); in foo() method
55 System.out.println("Invoking foo using I2 type: " + proxy.foo()); in main()
58 System.out.println("Invoking foo using I1 type: " + proxyAsParent.foo()); in main()
61 proxy.foo(); in main()

1234567891011