/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() 91 long th = elts[i]; in signalAndWait() local 92 if (th == 0) in signalAndWait() 94 if (th != -1) in signalAndWait() 95 NativeThread.signal(th); in signalAndWait()
|
D | SinkChannelImpl.java | 89 long th = thread; in implCloseSelectableChannel() local 90 if (th != 0) in implCloseSelectableChannel() 91 NativeThread.signal(th); in implCloseSelectableChannel()
|
D | SourceChannelImpl.java | 90 long th = thread; in implCloseSelectableChannel() local 91 if (th != 0) in implCloseSelectableChannel() 92 NativeThread.signal(th); in implCloseSelectableChannel()
|
D | ServerSocketChannelImpl.java | 290 long th = thread; in implCloseSelectableChannel() local 291 if (th != 0) in implCloseSelectableChannel() 292 NativeThread.signal(th); in implCloseSelectableChannel()
|
D | DatagramChannelImpl.java | 1061 long th; in implCloseSelectableChannel() local 1062 if ((th = readerThread) != 0) in implCloseSelectableChannel() 1063 NativeThread.signal(th); in implCloseSelectableChannel() 1064 if ((th = writerThread) != 0) in implCloseSelectableChannel() 1065 NativeThread.signal(th); in implCloseSelectableChannel()
|
/libcore/ojluni/src/main/native/ |
D | ObjectStreamClass.c | 70 jthrowable th = (*env)->ExceptionOccurred(env); in ObjectStreamClass_hasStaticInitializer() local 72 if (!(*env)->IsInstanceOf(env, th, noSuchMethodErrCl)) { in ObjectStreamClass_hasStaticInitializer() 73 (*env)->Throw(env, th); in ObjectStreamClass_hasStaticInitializer() 102 jthrowable th = (*env)->ExceptionOccurred(env); in ObjectStreamClass_hasStaticInitializer() local 104 if (!(*env)->IsInstanceOf(env, th, noSuchMethodErrCl)) { in ObjectStreamClass_hasStaticInitializer() 105 (*env)->Throw(env, th); in ObjectStreamClass_hasStaticInitializer()
|
/libcore/ojluni/src/main/java/java/lang/invoke/ |
D | MethodHandleNatives.java | 537 Throwable th = ex.getCause(); in initCauseFrom() local 540 if (Eclass.isInstance(th)) in initCauseFrom() 541 return Eclass.cast(th); in initCauseFrom() 542 err.initCause(th == null ? ex : th); in initCauseFrom()
|
D | Transformers.java | 184 } catch (Throwable th) { in transform() 185 if (th.getClass() == exType) { in transform() 191 fallback.setReference(0, th); in transform() 207 throw th; in transform()
|
/libcore/luni/src/test/java/libcore/java/lang/ |
D | OldThreadTest.java | 314 Thread th = new Thread() { in test_getState() local 348 assertEquals(Thread.State.NEW, th.getState()); in test_getState() 349 th.start(); in test_getState() 351 assertEquals(Thread.State.RUNNABLE, th.getState()); in test_getState() 356 assertEquals(Thread.State.WAITING, th.getState()); in test_getState() 361 assertEquals(Thread.State.BLOCKED, th.getState()); in test_getState() 367 assertEquals(Thread.State.TIMED_WAITING, th.getState()); in test_getState() 368 th.interrupt(); in test_getState() 371 th.join(1000); in test_getState() 372 assertEquals(Thread.State.TERMINATED, th.getState()); in test_getState()
|
D | ThrowableTest.java | 54 } catch (Throwable th) { in testNonWritableStackTrace() 55 assertEquals("hi", th.getMessage()); in testNonWritableStackTrace() 58 assertEquals(0, th.getStackTrace().length); in testNonWritableStackTrace() 61 th.setStackTrace(new StackTraceElement[] { new StackTraceElement("c", "m", "f", -2) }); in testNonWritableStackTrace() 62 assertEquals(0, th.getStackTrace().length); in testNonWritableStackTrace() 65 th.fillInStackTrace(); in testNonWritableStackTrace() 66 assertEquals(0, th.getStackTrace().length); in testNonWritableStackTrace() 69 th.printStackTrace(new PrintWriter(new StringWriter())); in testNonWritableStackTrace()
|
/libcore/ojluni/src/main/java/java/util/ |
D | ArrayPrefixHelpers.java | 146 int th = threshold, org = origin, fnc = fence, l, h; in compute() local 149 if (h - l > th) { in compute() 154 new CumulateTask<T>(t, fn, a, org, fnc, th, mid, h); in compute() 156 new CumulateTask<T>(t, fn, a, org, fnc, th, l, mid); in compute() 300 int th = threshold, org = origin, fnc = fence, l, h; in compute() local 303 if (h - l > th) { in compute() 308 new LongCumulateTask(t, fn, a, org, fnc, th, mid, h); in compute() 310 new LongCumulateTask(t, fn, a, org, fnc, th, l, mid); in compute() 452 int th = threshold, org = origin, fnc = fence, l, h; in compute() local 455 if (h - l > th) { in compute() [all …]
|
/libcore/ojluni/src/main/java/java/io/ |
D | ObjectStreamClass.java | 398 } catch (Throwable th) { in lookup() 399 entry = th; in lookup() 1081 Throwable th = ex.getTargetException(); in invokeWriteObject() 1082 if (th instanceof IOException) { in invokeWriteObject() 1083 throw (IOException) th; in invokeWriteObject() 1085 throwMiscException(th); in invokeWriteObject() 1111 Throwable th = ex.getTargetException(); in invokeReadObject() 1112 if (th instanceof ClassNotFoundException) { in invokeReadObject() 1113 throw (ClassNotFoundException) th; in invokeReadObject() 1114 } else if (th instanceof IOException) { in invokeReadObject() [all …]
|
/libcore/ojluni/src/test/java/lang/StackWalker/ |
D | DumpStackTest.java | 113 AtomicReference<Throwable> th = new AtomicReference<>(); in testThread() local 119 th.set(e); in testThread() 137 if (th.get() != null) { in testThread() 138 throw new AssertionError("Pending throwable.", th.get()); in testThread()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/ |
D | ThreadTest.java | 617 Thread th = new Thread("test"); in test_join() local 619 th.join(); in test_join() 624 th.start(); in test_join() 678 Thread th = new Thread("test"); in test_joinJ() local 684 th.join(200); in test_joinJ() 690 th.start(); in test_joinJ() 731 Thread th = new Thread("test"); in test_joinJI() local 737 th.join(200, 20); in test_joinJI() 743 th.start(); in test_joinJI()
|
/libcore/ojluni/annotations/hiddenapi/java/lang/ |
D | System.java | 253 public static void logE(java.lang.String message, java.lang.Throwable th) { in logE() argument 261 public static void logI(java.lang.String message, java.lang.Throwable th) { in logI() argument 270 public static void logW(java.lang.String message, java.lang.Throwable th) { in logW() argument 275 private static native void log(char type, java.lang.String message, java.lang.Throwable th); in log() argument
|
/libcore/ojluni/src/main/java/java/util/logging/ |
D | XMLFormatter.java | 195 Throwable th = record.getThrown(); in format() local 198 escape(sb, th.toString()); in format() 200 StackTraceElement trace[] = th.getStackTrace(); in format()
|
/libcore/ojluni/src/main/java/java/lang/ |
D | System.java | 1843 public static void logE(String message, Throwable th) { in logE() argument 1844 log('E', message, th); in logE() 1857 public static void logI(String message, Throwable th) { in logI() argument 1858 log('I', message, th); in logI() 1871 public static void logW(String message, Throwable th) { in logW() argument 1872 log('W', message, th); in logW() 1875 private static native void log(char type, String message, Throwable th); in log() argument
|
/libcore/luni/src/test/java/libcore/java/util/ |
D | CalendarBuilderTest.java | 146 Locale th = new Locale("th", "TH"); in test_setLocale_thTH() local 147 builder.setLocale(th); in test_setLocale_thTH() 148 GregorianCalendar expected = new GregorianCalendar(th); in test_setLocale_thTH()
|
/libcore/ojluni/annotations/hiddenapi/java/io/ |
D | ObjectStreamClass.java | 317 private static void throwMiscException(java.lang.Throwable th) throws java.io.IOException { in throwMiscException() argument
|
/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
|