/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/ |
D | PipedOutputStreamTest.java | 74 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/ |
D | ArrayPrefixHelpers.java | 150 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/ |
D | OldPipedOutputStreamTest.java | 79 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/ |
D | ReferenceQueueTest.java | 138 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/ |
D | MethodTypeForm.java | 192 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/ |
D | InMemoryCookieStore.java | 143 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/ |
D | CopyMethods.java | 389 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/ |
D | ProcessManagerTest.java | 181 Runtime rt = Runtime.getRuntime(); in stuff() local 183 Process proc = rt.exec("ls " + TEMP_DIR.toString()); in stuff()
|
D | ThreadTest.java | 758 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/ |
D | MethodTypeTest.java | 153 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()
|