Home
last modified time | relevance | path

Searched refs:rt (Results 1 – 10 of 10) sorted by relevance

/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/
DPipedOutputStreamTest.java74 Thread rt; field in PipedOutputStreamTest
100 rt = new Thread(reader = new PReader(out)); in test_close()
101 rt.start(); in test_close()
126 rt = new Thread(reader = new PReader(out)); in test_connectLjava_io_PipedInputStream()
127 rt.start(); in test_connectLjava_io_PipedInputStream()
140 rt = new Thread(reader = new PReader(out)); in test_flush()
141 rt.start(); in test_flush()
153 rt = new Thread(reader = new PReader(out)); in test_write$BII()
154 rt.start(); in test_write$BII()
214 rt = new Thread(reader = new PReader(out)); in test_writeI()
[all …]
/libcore/ojluni/src/main/java/java/util/
DArrayPrefixHelpers.java150 CumulateTask<T> lt = t.left, rt = t.right, f; in compute() local
153 f = rt = t.right = in compute()
162 if (rt != null) { in compute()
164 rt.in = (l == org ? lout : in compute()
167 if (((c = rt.getPendingCount()) & CUMULATE) != 0) in compute()
169 if (rt.compareAndSetPendingCount(c, c|CUMULATE)){ in compute()
170 t = rt; in compute()
236 int nextState; CumulateTask<T> lt, rt; in compute() local
238 (rt = par.right) != null) { in compute()
240 par.out = (rt.hi == fnc ? lout : in compute()
[all …]
/libcore/luni/src/test/java/libcore/java/io/
DOldPipedOutputStreamTest.java79 Thread rt; field in OldPipedOutputStreamTest
117 rt = new Thread(reader = new PReader(out)); in test_close()
118 rt.start(); in test_close()
159 rt = new Thread(reader = new PReader(out)); in test_flush()
160 rt.start(); in test_flush()
204 rt = new Thread(reader = new PReader(out)); in test_write$BII()
205 rt.start(); in test_write$BII()
234 rt = new Thread(reader = new PReader(out)); in test_writeI()
235 rt.start(); in test_writeI()
266 if (rt != null) in tearDown()
[all …]
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/ref/
DReferenceQueueTest.java138 RemoveThread rt = new RemoveThread(); in test_remove() local
139 rt.start(); in test_remove()
141 rt.inBlock.await(); in test_remove()
147 rt.interrupt(); in test_remove()
149 rt.outOfBlock.await(); in test_remove()
216 RemoveThread rt = new RemoveThread(); in test_removeJ() local
217 rt.start(); in test_removeJ()
219 rt.inBlock.await(); in test_removeJ()
225 rt.interrupt(); in test_removeJ()
227 rt.outOfBlock.await(); in test_removeJ()
/libcore/ojluni/src/main/java/java/lang/invoke/
DMethodTypeForm.java192 Class<?> rt = erasedType.returnType(); in MethodTypeForm() local
193 Class<?> bt = rt; in MethodTypeForm()
194 if (rt != Object.class) { in MethodTypeForm()
196 Wrapper w = Wrapper.forPrimitiveType(rt); in MethodTypeForm()
198 if (w.isSubwordOrInt() && rt != int.class) in MethodTypeForm()
201 if (rt == void.class) in MethodTypeForm()
206 if (epts == bpts && bt == rt) { in MethodTypeForm()
/libcore/ojluni/src/main/java/java/net/
DInMemoryCookieStore.java143 List<HttpCookie> rt = new ArrayList<HttpCookie>(); in getCookies() local
153 } else if (!rt.contains(cookie)) { in getCookies()
154 rt.add(cookie); in getCookies()
159 rt = Collections.unmodifiableList(rt); in getCookies()
164 return rt; in getCookies()
/libcore/ojluni/src/test/java/util/Arrays/
DCopyMethods.java389 Class<?> rt = m.getReturnType();
390 if (m.getName().startsWith("coerceTo") && allTypes.contains(rt))
404 Class<?> rt = m.getReturnType();
407 cloners.put(rt.getComponentType(), m); in rt.getComponentType()
410 cloneRangers.put(rt.getComponentType(), m); in rt.getComponentType()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/
DProcessManagerTest.java181 Runtime rt = Runtime.getRuntime(); in stuff() local
183 Process proc = rt.exec("ls " + TEMP_DIR.toString()); in stuff()
DThreadTest.java758 RunThread rt = new RunThread(); in test_run() local
759 Thread t = new Thread(rt); in test_run()
763 while (!rt.didThreadRun && count < 20) { in test_run()
767 assertTrue("Thread did not run", rt.didThreadRun); in test_run()
/libcore/ojluni/src/test/java/lang/invoke/
DMethodTypeTest.java153 Class<?> rt = Integer.class; in testMake_Class() local
154 MethodType expResult = MethodType.methodType(rt, new Class<?>[0]); in testMake_Class()
155 MethodType result = MethodType.methodType(rt); in testMake_Class()