Home
last modified time | relevance | path

Searched refs:Widget (Results 1 – 8 of 8) sorted by relevance

/art/test/712-varhandle-invocations/src/
DWidget.java18 public class Widget { class
21 public Widget(int requisitionNumber) { in Widget() method in Widget
30 if (!(o instanceof Widget)) { in equals()
33 Widget wo = (Widget) o; in equals()
37 public static final Widget ONE = new Widget(1);
38 public static final Widget TWO = new Widget(2);
DVarHandleTypeConversionTests.java1086 private static final Widget INITIAL_VALUE = Widget.ONE;
1088 private Widget w = INITIAL_VALUE;
1092 vh = MethodHandles.lookup().findVarHandle(SubtypeTest.class, "w", Widget.class);
1103 public static class WidgetChild extends Widget {
1131 Widget rw = (Widget) vh.compareAndExchange(this, null, WidgetChild.ONE); in doTest()
1138 rwc = (WidgetChild) vh.compareAndExchangeAcquire(this, WidgetChild.TWO, Widget.ONE); in doTest()
1139 assertEquals(Widget.ONE, w); in doTest()
1141 assertEquals(true, vh.compareAndSet(this, Widget.ONE, Widget.TWO)); in doTest()
1142 assertEquals(Widget.TWO, w); in doTest()
1144 assertEquals(null, (Widget) vh.get(this)); in doTest()
[all …]
/art/test/716-jli-jit-samples/src-art/
DMain.java31 public static class Widget { class in Main
32 public Widget(int id) { in Widget() method in Main.Widget
45 widgetIdVarHandle = MethodHandles.lookup().findVarHandle(Widget.class, "id", int.class);
84 Widget.class, MethodType.methodType(void.class, int.class)); in testMethodHandleCounters()
85 Widget w = (Widget) mh.invoke(3); in testMethodHandleCounters()
86 w = (Widget) mh.invokeExact(3); in testMethodHandleCounters()
97 Widget.class, "getId", MethodType.methodType(int.class)); in testMethodHandleCounters()
113 Widget w = new Widget(0); in testVarHandleCounters()
/art/test/952-invoke-custom/src/
DTestInvocationKinds.java174 static class Widget { class in TestInvocationKinds
177 public Widget(int value) {} in Widget() method in TestInvocationKinds.Widget
196 returnType = Widget.class,
199 private static Widget makeWidget(int v) { in makeWidget()
206 Widget receiver = makeWidget(3); in testConstructor()
207 assertEquals(Widget.class, receiver.getClass()); in testConstructor()
/art/test/173-missing-field-type/smali/
DBadField.smali19 # This is a bad field since there is no class Widget in this test.
/art/test/952-invoke-custom/
Dexpected.txt29 testConstructor => class TestInvocationKinds$Widget
/art/test/dexdump/
Dinvoke-custom.lst16 0x00002acc 8 TestInvocationKinds$Widget <init> (I)V TestInvocationKinds.java 177
81 0x00002ae4 10 TestInvocationKinds makeWidget (I)LTestInvocationKinds$Widget; TestInvocationKinds.ja…
Dinvoke-custom.txt517 VISIBILITY_SYSTEM Ldalvik/annotation/InnerClass; accessFlags=8 name="Widget"
520 Class descriptor : 'LTestInvocationKinds$Widget;'
526 #0 : (in LTestInvocationKinds$Widget;)
531 #0 : (in LTestInvocationKinds$Widget;)
540 002abc: |[002abc] TestInvocationKinds$Widget.<init>:(I)V
547 0x0000 - 0x0004 reg=0 this LTestInvocationKinds$Widget;
2521 VISIBILITY_SYSTEM Ldalvik/annotation/MemberClasses; value={ LTestInvocationKinds$Widget; }
2539 …structor" } fieldOrMethodName="unused" parameterTypes={ I } returnType=LTestInvocationKinds$Widget;
2813 type : '(I)LTestInvocationKinds$Widget;'
2820 … |[002ad4] TestInvocationKinds.makeWidget:(I)LTestInvocationKinds$Widget;
[all …]