/libcore/ojluni/src/main/java/sun/nio/ch/ |
D | NativeThreadSet.java | 46 long th = NativeThread.current(); in add() local 48 if (th == 0) in add() 49 th = -1; in add() 62 elts[i] = th; in add() 90 long th = elts[i]; in signalAndWait() local 91 if (th == 0) in signalAndWait() 93 if (th != -1) in signalAndWait() 94 NativeThread.signal(th); in signalAndWait()
|
D | SourceChannelImpl.java | 90 long th = thread; in implCloseSelectableChannel() local 91 if (th != 0) in implCloseSelectableChannel() 92 NativeThread.signal(th); in implCloseSelectableChannel()
|
D | SinkChannelImpl.java | 89 long th = thread; in implCloseSelectableChannel() local 90 if (th != 0) in implCloseSelectableChannel() 91 NativeThread.signal(th); in implCloseSelectableChannel()
|
D | ServerSocketChannelImpl.java | 281 long th = thread; in implCloseSelectableChannel() local 282 if (th != 0) in implCloseSelectableChannel() 283 NativeThread.signal(th); in implCloseSelectableChannel()
|
D | DatagramChannelImpl.java | 796 long th; in implCloseSelectableChannel() local 797 if ((th = readerThread) != 0) in implCloseSelectableChannel() 798 NativeThread.signal(th); in implCloseSelectableChannel() 799 if ((th = writerThread) != 0) in implCloseSelectableChannel() 800 NativeThread.signal(th); in implCloseSelectableChannel()
|
D | Util.java | 239 } catch (Throwable th) { in run() 240 throw new Error(th); in run()
|
/libcore/ojluni/src/main/native/ |
D | ObjectStreamClass.c | 63 jthrowable th = (*env)->ExceptionOccurred(env); in ObjectStreamClass_hasStaticInitializer() local 65 if (!(*env)->IsInstanceOf(env, th, noSuchMethodErrCl)) { in ObjectStreamClass_hasStaticInitializer() 66 (*env)->Throw(env, th); in ObjectStreamClass_hasStaticInitializer() 92 jthrowable th = (*env)->ExceptionOccurred(env); in ObjectStreamClass_hasStaticInitializer() local 94 if (!(*env)->IsInstanceOf(env, th, noSuchMethodErrCl)) { in ObjectStreamClass_hasStaticInitializer() 95 (*env)->Throw(env, th); in ObjectStreamClass_hasStaticInitializer()
|
/libcore/luni/src/test/java/libcore/java/lang/ |
D | OldThreadTest.java | 313 Thread th = new Thread() { in test_getState() local 347 assertEquals(Thread.State.NEW, th.getState()); in test_getState() 348 th.start(); in test_getState() 350 assertEquals(Thread.State.RUNNABLE, th.getState()); in test_getState() 355 assertEquals(Thread.State.WAITING, th.getState()); in test_getState() 360 assertEquals(Thread.State.BLOCKED, th.getState()); in test_getState() 366 assertEquals(Thread.State.TIMED_WAITING, th.getState()); in test_getState() 367 th.interrupt(); in test_getState() 370 th.join(1000); in test_getState() 371 assertEquals(Thread.State.TERMINATED, th.getState()); in test_getState()
|
D | ThrowableTest.java | 45 } catch (Throwable th) { in testNonWritableStackTrace() 46 assertEquals("hi", th.getMessage()); in testNonWritableStackTrace() 49 assertEquals(0, th.getStackTrace().length); in testNonWritableStackTrace() 52 th.setStackTrace(new StackTraceElement[] { new StackTraceElement("c", "m", "f", -2) }); in testNonWritableStackTrace() 53 assertEquals(0, th.getStackTrace().length); in testNonWritableStackTrace() 56 th.fillInStackTrace(); in testNonWritableStackTrace() 57 assertEquals(0, th.getStackTrace().length); in testNonWritableStackTrace() 60 th.printStackTrace(new PrintWriter(new StringWriter())); in testNonWritableStackTrace()
|
/libcore/ojluni/src/main/java/java/util/ |
D | ArrayPrefixHelpers.java | 112 int th = threshold, org = origin, fnc = fence, l, h; in compute() local 115 if (h - l > th) { in compute() 120 new CumulateTask<T>(t, fn, a, org, fnc, th, mid, h); in compute() 122 new CumulateTask<T>(t, fn, a, org, fnc, th, l, mid); in compute() 264 int th = threshold, org = origin, fnc = fence, l, h; in compute() local 267 if (h - l > th) { in compute() 272 new LongCumulateTask(t, fn, a, org, fnc, th, mid, h); in compute() 274 new LongCumulateTask(t, fn, a, org, fnc, th, l, mid); in compute() 414 int th = threshold, org = origin, fnc = fence, l, h; in compute() local 417 if (h - l > th) { in compute() [all …]
|
/libcore/ojluni/src/main/java/java/io/ |
D | ObjectStreamClass.java | 355 } catch (Throwable th) { in lookup() 356 entry = th; in lookup() 979 Throwable th = ex.getTargetException(); in invokeWriteObject() 980 if (th instanceof IOException) { in invokeWriteObject() 981 throw (IOException) th; in invokeWriteObject() 983 throwMiscException(th); in invokeWriteObject() 1008 Throwable th = ex.getTargetException(); in invokeReadObject() 1009 if (th instanceof ClassNotFoundException) { in invokeReadObject() 1010 throw (ClassNotFoundException) th; in invokeReadObject() 1011 } else if (th instanceof IOException) { in invokeReadObject() [all …]
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/ |
D | ThreadTest.java | 615 Thread th = new Thread("test"); in test_join() local 617 th.join(); in test_join() 622 th.start(); in test_join() 676 Thread th = new Thread("test"); in test_joinJ() local 682 th.join(200); in test_joinJ() 688 th.start(); in test_joinJ() 729 Thread th = new Thread("test"); in test_joinJI() local 735 th.join(200, 20); in test_joinJI() 741 th.start(); in test_joinJI()
|
/libcore/ojluni/src/main/java/java/util/logging/ |
D | XMLFormatter.java | 193 Throwable th = record.getThrown(); in format() local 196 escape(sb, th.toString()); in format() 198 StackTraceElement trace[] = th.getStackTrace(); in format()
|
/libcore/ojluni/src/main/java/java/lang/ |
D | System.java | 1592 public static void logE(String message, Throwable th) { in logE() argument 1593 log('E', message, th); in logE() 1606 public static void logI(String message, Throwable th) { in logI() argument 1607 log('I', message, th); in logI() 1620 public static void logW(String message, Throwable th) { in logW() argument 1621 log('W', message, th); in logW() 1624 private static native void log(char type, String message, Throwable th); in log() argument
|
/libcore/ojluni/src/main/java/sun/security/ssl/ |
D | SSLSocketImpl.java | 1602 } catch (Throwable th) { in closeInternal() 1607 cachedThrowable = th; in closeInternal()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/ |
D | TreeMapTest.java | 369 SortedMap th = t.headMap(null); in test_headMapLjava_lang_Object() local 646 SortedMap th = t.tailMap(null); in test_tailMapLjava_lang_Object() local
|