/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/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/io/ |
D | ObjectStreamClass.java | 378 } catch (Throwable th) { in lookup() 379 entry = th; in lookup() 1038 Throwable th = ex.getTargetException(); in invokeWriteObject() 1039 if (th instanceof IOException) { in invokeWriteObject() 1040 throw (IOException) th; in invokeWriteObject() 1042 throwMiscException(th); in invokeWriteObject() 1068 Throwable th = ex.getTargetException(); in invokeReadObject() 1069 if (th instanceof ClassNotFoundException) { in invokeReadObject() 1070 throw (ClassNotFoundException) th; in invokeReadObject() 1071 } else if (th instanceof IOException) { in invokeReadObject() [all …]
|
/libcore/ojluni/src/main/java/java/util/ |
D | ArrayPrefixHelpers.java | 141 int th = threshold, org = origin, fnc = fence, l, h; in compute() local 144 if (h - l > th) { in compute() 149 new CumulateTask<T>(t, fn, a, org, fnc, th, mid, h); in compute() 151 new CumulateTask<T>(t, fn, a, org, fnc, th, l, mid); in compute() 293 int th = threshold, org = origin, fnc = fence, l, h; in compute() local 296 if (h - l > th) { in compute() 301 new LongCumulateTask(t, fn, a, org, fnc, th, mid, h); in compute() 303 new LongCumulateTask(t, fn, a, org, fnc, th, l, mid); in compute() 443 int th = threshold, org = origin, fnc = fence, l, h; in compute() local 446 if (h - l > th) { in compute() [all …]
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/ |
D | ThreadTest.java | 616 Thread th = new Thread("test"); in test_join() local 618 th.join(); in test_join() 623 th.start(); in test_join() 677 Thread th = new Thread("test"); in test_joinJ() local 683 th.join(200); in test_joinJ() 689 th.start(); in test_joinJ() 730 Thread th = new Thread("test"); in test_joinJI() local 736 th.join(200, 20); in test_joinJI() 742 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 | 1745 public static void logE(String message, Throwable th) { in logE() argument 1746 log('E', message, th); in logE() 1759 public static void logI(String message, Throwable th) { in logI() argument 1760 log('I', message, th); in logI() 1773 public static void logW(String message, Throwable th) { in logW() argument 1774 log('W', message, th); in logW() 1777 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/src/main/java/java/lang/invoke/ |
D | Transformers.java | 174 } catch (Throwable th) { in transform() 175 if (th.getClass() == exType) { in transform() 181 fallback.setReference(0, th); in transform() 194 throw th; in transform()
|
/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
|