Home
last modified time | relevance | path

Searched defs:thunk (Results 1 – 12 of 12) sorted by relevance

/libcore/ojluni/annotations/hiddenapi/sun/misc/
DCleaner.java33 private Cleaner(java.lang.Object referent, java.lang.Runnable thunk) { in Cleaner()
47 public static sun.misc.Cleaner create(java.lang.Object ob, java.lang.Runnable thunk) { in create()
68 private final java.lang.Runnable thunk; field in Cleaner
/libcore/ojluni/src/main/java/jdk/internal/ref/
DCleaner.java112 private final Runnable thunk; field in Cleaner
114 private Cleaner(Object referent, Runnable thunk) { in Cleaner()
130 public static Cleaner create(Object ob, Runnable thunk) { in create()
/libcore/ojluni/annotations/mmodule/sun/misc/
DCleaner.annotated.java37 Cleaner(java.lang.Object referent, java.lang.Runnable thunk) { super(null, null); throw new Runtime… in Cleaner()
41 public static sun.misc.Cleaner create(java.lang.Object ob, java.lang.Runnable thunk) { throw new Ru… in create()
/libcore/ojluni/src/main/java/sun/misc/
DCleaner.java111 private final Runnable thunk; field in Cleaner
113 private Cleaner(Object referent, Runnable thunk) { in Cleaner()
157 public static Cleaner create(Object ob, Runnable thunk) { in create()
/libcore/ojluni/src/test/java/nio/Buffer/
DBasicShort.java565 private static void catchNullArgument(Buffer b, Runnable thunk) { in catchNullArgument()
569 private static void catchIllegalArgument(Buffer b, Runnable thunk) { in catchIllegalArgument()
573 private static void catchReadOnlyBuffer(Buffer b, Runnable thunk) { in catchReadOnlyBuffer()
577 private static void catchIndexOutOfBounds(Buffer b, Runnable thunk) { in catchIndexOutOfBounds()
581 private static void catchIndexOutOfBounds(short[] t, Runnable thunk) { in catchIndexOutOfBounds()
585 private static void tryCatch(Buffer b, Class<?> ex, Runnable thunk) { in tryCatch()
604 private static void tryCatch(short[] t, Class<?> ex, Runnable thunk) { in tryCatch()
605 tryCatch(ShortBuffer.wrap(t), ex, thunk); in tryCatch() local
DBasicDouble.java565 private static void catchNullArgument(Buffer b, Runnable thunk) { in catchNullArgument()
569 private static void catchIllegalArgument(Buffer b, Runnable thunk) { in catchIllegalArgument()
573 private static void catchReadOnlyBuffer(Buffer b, Runnable thunk) { in catchReadOnlyBuffer()
577 private static void catchIndexOutOfBounds(Buffer b, Runnable thunk) { in catchIndexOutOfBounds()
581 private static void catchIndexOutOfBounds(double[] t, Runnable thunk) { in catchIndexOutOfBounds()
585 private static void tryCatch(Buffer b, Class<?> ex, Runnable thunk) { in tryCatch()
604 private static void tryCatch(double[] t, Class<?> ex, Runnable thunk) { in tryCatch()
605 tryCatch(DoubleBuffer.wrap(t), ex, thunk); in tryCatch() local
DBasicFloat.java565 private static void catchNullArgument(Buffer b, Runnable thunk) { in catchNullArgument()
569 private static void catchIllegalArgument(Buffer b, Runnable thunk) { in catchIllegalArgument()
573 private static void catchReadOnlyBuffer(Buffer b, Runnable thunk) { in catchReadOnlyBuffer()
577 private static void catchIndexOutOfBounds(Buffer b, Runnable thunk) { in catchIndexOutOfBounds()
581 private static void catchIndexOutOfBounds(float[] t, Runnable thunk) { in catchIndexOutOfBounds()
585 private static void tryCatch(Buffer b, Class<?> ex, Runnable thunk) { in tryCatch()
604 private static void tryCatch(float[] t, Class<?> ex, Runnable thunk) { in tryCatch()
605 tryCatch(FloatBuffer.wrap(t), ex, thunk); in tryCatch() local
DBasicInt.java565 private static void catchNullArgument(Buffer b, Runnable thunk) { in catchNullArgument()
569 private static void catchIllegalArgument(Buffer b, Runnable thunk) { in catchIllegalArgument()
573 private static void catchReadOnlyBuffer(Buffer b, Runnable thunk) { in catchReadOnlyBuffer()
577 private static void catchIndexOutOfBounds(Buffer b, Runnable thunk) { in catchIndexOutOfBounds()
581 private static void catchIndexOutOfBounds(int[] t, Runnable thunk) { in catchIndexOutOfBounds()
585 private static void tryCatch(Buffer b, Class<?> ex, Runnable thunk) { in tryCatch()
604 private static void tryCatch(int[] t, Class<?> ex, Runnable thunk) { in tryCatch()
605 tryCatch(IntBuffer.wrap(t), ex, thunk); in tryCatch() local
DBasicLong.java565 private static void catchNullArgument(Buffer b, Runnable thunk) { in catchNullArgument()
569 private static void catchIllegalArgument(Buffer b, Runnable thunk) { in catchIllegalArgument()
573 private static void catchReadOnlyBuffer(Buffer b, Runnable thunk) { in catchReadOnlyBuffer()
577 private static void catchIndexOutOfBounds(Buffer b, Runnable thunk) { in catchIndexOutOfBounds()
581 private static void catchIndexOutOfBounds(long[] t, Runnable thunk) { in catchIndexOutOfBounds()
585 private static void tryCatch(Buffer b, Class<?> ex, Runnable thunk) { in tryCatch()
604 private static void tryCatch(long[] t, Class<?> ex, Runnable thunk) { in tryCatch()
605 tryCatch(LongBuffer.wrap(t), ex, thunk); in tryCatch() local
DBasicChar.java565 private static void catchNullArgument(Buffer b, Runnable thunk) { in catchNullArgument()
569 private static void catchIllegalArgument(Buffer b, Runnable thunk) { in catchIllegalArgument()
573 private static void catchReadOnlyBuffer(Buffer b, Runnable thunk) { in catchReadOnlyBuffer()
577 private static void catchIndexOutOfBounds(Buffer b, Runnable thunk) { in catchIndexOutOfBounds()
581 private static void catchIndexOutOfBounds(char[] t, Runnable thunk) { in catchIndexOutOfBounds()
585 private static void tryCatch(Buffer b, Class<?> ex, Runnable thunk) { in tryCatch()
604 private static void tryCatch(char[] t, Class<?> ex, Runnable thunk) { in tryCatch()
605 tryCatch(CharBuffer.wrap(t), ex, thunk); in tryCatch() local
DBasicByte.java565 private static void catchNullArgument(Buffer b, Runnable thunk) { in catchNullArgument()
569 private static void catchIllegalArgument(Buffer b, Runnable thunk) { in catchIllegalArgument()
573 private static void catchReadOnlyBuffer(Buffer b, Runnable thunk) { in catchReadOnlyBuffer()
577 private static void catchIndexOutOfBounds(Buffer b, Runnable thunk) { in catchIndexOutOfBounds()
581 private static void catchIndexOutOfBounds(byte[] t, Runnable thunk) { in catchIndexOutOfBounds()
585 private static void tryCatch(Buffer b, Class<?> ex, Runnable thunk) { in tryCatch()
604 private static void tryCatch(byte[] t, Class<?> ex, Runnable thunk) { in tryCatch()
605 tryCatch(ByteBuffer.wrap(t), ex, thunk); in tryCatch() local
/libcore/luni/src/main/java/libcore/util/
DNativeAllocationRegistry.java267 CleanerThunk thunk; in registerNativeAllocation() local