Home
last modified time | relevance | path

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

/art/test/916-obsolete-jit/src/
DTransform.java20 private void Start(Consumer<String> reporter) { in Start() argument
21 reporter.accept("hello - private"); in Start()
24 private void Finish(Consumer<String> reporter) { in Finish() argument
25 reporter.accept("goodbye - private"); in Finish()
28 public void sayHi(Runnable r, Consumer<String> reporter) { in sayHi() argument
29 reporter.accept("Pre Start private method call"); in sayHi()
30 Start(reporter); in sayHi()
31 reporter.accept("Post Start private method call"); in sayHi()
33 reporter.accept("Pre Finish private method call"); in sayHi()
34 Finish(reporter); in sayHi()
[all …]
/art/test/943-private-recursive-jit/src/
DTransform.java19 public void sayHi(int recur, Consumer<String> reporter, Runnable r) { in sayHi() argument
20 privateSayHi(recur, reporter, r); in sayHi()
23 private void privateSayHi(int recur, Consumer<String> reporter, Runnable r) { in privateSayHi() argument
24 reporter.accept("hello" + recur); in privateSayHi()
27 privateSayHi(recur - 1, reporter, r); in privateSayHi()
29 privateSayHi(recur - 1, reporter, r); in privateSayHi()
31 reporter.accept("goodbye" + recur); in privateSayHi()
DMain.java120 final TestWatcher reporter = new TestWatcher(); in doTest() local
146 reporter.accept("transforming calling function"); in doTest()
155 reporter.clear(); in doTest()
156 t.sayHi(2, reporter, () -> { reporter.accept("Not doing anything here"); }); in doTest()
157 t.sayHi(2, reporter, do_redefinition); in doTest()
158 t.sayHi(2, reporter, () -> { reporter.accept("Not doing anything here"); }); in doTest()
160 System.out.println(reporter.getOutput()); in doTest()
/art/test/919-obsolete-fields/src/art/
DTest919.java25 private Consumer<String> reporter; field in Test919.Transform
26 public Transform(Consumer<String> reporter) { in Transform() argument
27 this.reporter = reporter; in Transform()
31 reporter.accept("hello - private"); in Start()
35 reporter.accept("goodbye - private"); in Finish()
39 reporter.accept("Pre Start private method call"); in sayHi()
41 reporter.accept("Post Start private method call"); in sayHi()
43 reporter.accept("Pre Finish private method call"); in sayHi()
45 reporter.accept("Post Finish private method call"); in sayHi()
/art/test/941-recurive-obsolete-jit/src/
DMain.java110 final TestWatcher reporter = new TestWatcher(); in doTest() local
131 reporter.accept("transforming calling function"); in doTest()
139 reporter.clear(); in doTest()
140 t.sayHi(2, reporter, () -> { reporter.accept("Not doing anything here"); }); in doTest()
141 t.sayHi(2, reporter, do_redefinition); in doTest()
142 t.sayHi(2, reporter, () -> { reporter.accept("Not doing anything here"); }); in doTest()
144 System.out.println(reporter.getOutput()); in doTest()
/art/test/1961-obsolete-jit-multithread/src/
DTransform.java20 public void sayHi(Consumer<Consumer<String>> r, Consumer<String> reporter) { in sayHi() argument
21 reporter.accept("Hello - Start method sayHi"); in sayHi()
22 r.accept(reporter); in sayHi()
23 reporter.accept("Hello - End method sayHi"); in sayHi()
/art/test/1960-obsolete-jit-multithread-native/src/
DTransform.java27 public void sayHi(Consumer<Consumer<String>> r, Consumer<String> reporter) { in sayHi() argument
28 reporter.accept("Hello - Start method sayHi"); in sayHi()
29 r.accept(reporter); in sayHi()
30 reporter.accept("Hello - End method sayHi"); in sayHi()
/art/test/1965-get-set-local-primitive-no-tables/src/art/
DTest1965.java129 final Consumer<?> reporter = Test1965::reportValue;
132 target.invoke(null, pause, reporter);