Home
last modified time | relevance | path

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

/libcore/jsr166-tests/src/test/java/jsr166/
DThreadTest.java40 MyHandler eh = new MyHandler(); in testGetAndSetUncaughtExceptionHandler() local
42 current.setUncaughtExceptionHandler(eh); in testGetAndSetUncaughtExceptionHandler()
44 assertSame(eh, current.getUncaughtExceptionHandler()); in testGetAndSetUncaughtExceptionHandler()
64 MyHandler eh = new MyHandler(); in testGetAndSetDefaultUncaughtExceptionHandler() local
66 Thread.setDefaultUncaughtExceptionHandler(eh); in testGetAndSetDefaultUncaughtExceptionHandler()
68 assertSame(eh, Thread.getDefaultUncaughtExceptionHandler()); in testGetAndSetDefaultUncaughtExceptionHandler()
/libcore/ojluni/src/test/java/util/concurrent/tck/
DThreadTest.java64 MyHandler eh = new MyHandler(); in testGetAndSetUncaughtExceptionHandler() local
66 current.setUncaughtExceptionHandler(eh); in testGetAndSetUncaughtExceptionHandler()
68 assertSame(eh, current.getUncaughtExceptionHandler()); in testGetAndSetUncaughtExceptionHandler()
85 MyHandler eh = new MyHandler(); in testGetAndSetDefaultUncaughtExceptionHandler() local
87 Thread.setDefaultUncaughtExceptionHandler(eh); in testGetAndSetDefaultUncaughtExceptionHandler()
89 assertSame(eh, Thread.getDefaultUncaughtExceptionHandler()); in testGetAndSetDefaultUncaughtExceptionHandler()
/libcore/ojluni/annotations/mmodule/java/lang/
DThread.annotated.java140 public static void setDefaultUncaughtExceptionHandler(java.lang.Thread.UncaughtExceptionHandler eh)… in setDefaultUncaughtExceptionHandler() argument
145 public static void setUncaughtExceptionPreHandler(UncaughtExceptionHandler eh) { throw new RuntimeE… in setUncaughtExceptionPreHandler() argument
152 public void setUncaughtExceptionHandler(java.lang.Thread.UncaughtExceptionHandler eh) { throw new R… in setUncaughtExceptionHandler() argument
/libcore/ojluni/src/main/java/java/lang/
DThread.java2193 public static void setDefaultUncaughtExceptionHandler(UncaughtExceptionHandler eh) { in setDefaultUncaughtExceptionHandler() argument
2204 defaultUncaughtExceptionHandler = eh; in setDefaultUncaughtExceptionHandler()
2234 public static void setUncaughtExceptionPreHandler(UncaughtExceptionHandler eh) { in setUncaughtExceptionPreHandler() argument
2235 uncaughtExceptionPreHandler = eh; in setUncaughtExceptionPreHandler()
2282 public void setUncaughtExceptionHandler(UncaughtExceptionHandler eh) { in setUncaughtExceptionHandler() argument
2284 uncaughtExceptionHandler = eh; in setUncaughtExceptionHandler()
/libcore/ojluni/annotations/hiddenapi/java/lang/
DThread.java283 java.lang.Thread.UncaughtExceptionHandler eh) { in setDefaultUncaughtExceptionHandler() argument
292 java.lang.Thread.UncaughtExceptionHandler eh) { in setUncaughtExceptionPreHandler() argument
305 public void setUncaughtExceptionHandler(java.lang.Thread.UncaughtExceptionHandler eh) { in setUncaughtExceptionHandler() argument
/libcore/ojluni/annotations/sdk/nullability/java/lang/
DThread.annotated.java136 …onHandler(@libcore.util.Nullable java.lang.Thread.UncaughtExceptionHandler eh) { throw new Runtime… in setDefaultUncaughtExceptionHandler() argument
142 …onHandler(@libcore.util.Nullable java.lang.Thread.UncaughtExceptionHandler eh) { throw new Runtime… in setUncaughtExceptionHandler() argument
/libcore/luni/src/test/java/libcore/javax/xml/parsers/
DDocumentBuilderTest.java47 public void setErrorHandler(ErrorHandler eh) {}
/libcore/luni/src/main/java/javax/xml/parsers/
DDocumentBuilder.java245 public abstract void setErrorHandler(ErrorHandler eh); in setErrorHandler() argument
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/xml/parsers/
DDocumentBuilderTest.java114 public void setErrorHandler(ErrorHandler eh) { in setErrorHandler() argument
/libcore/ojluni/src/main/java/java/util/concurrent/
DConcurrentHashMap.java935 Node<K,V>[] tab; Node<K,V> e, p; int n, eh; K ek; in get() local
939 if ((eh = e.hash) == h) { in get()
943 else if (eh < 0) in get()
2251 int eh; K ek; in find() local
2252 if ((eh = e.hash) == h && in find()
2255 if (eh < 0) { in find()