Home
last modified time | relevance | path

Searched refs:Unsafe (Results 1 – 25 of 69) sorted by relevance

123

/libcore/luni/src/test/java/libcore/sun/misc/
DUnsafeTest.java25 import sun.misc.Unsafe;
31 Unsafe.getUnsafe(); in test_getUnsafeForbidden()
44 Unsafe.getUnsafe(); in test_getUnsafeForbiddenWithSystemCaller()
61 private static Unsafe getUnsafe() throws Exception { in getUnsafe()
65 return (Unsafe) f.get(null); in getUnsafe()
/libcore/ojluni/src/main/java/sun/nio/fs/
DNativeBuffer.java28 import sun.misc.Unsafe;
36 private static final Unsafe unsafe = Unsafe.getUnsafe();
DCancellable.java28 import sun.misc.Unsafe;
39 private static final Unsafe unsafe = Unsafe.getUnsafe();
DNativeBuffers.java28 import sun.misc.Unsafe;
37 private static final Unsafe unsafe = Unsafe.getUnsafe();
/libcore/ojluni/src/main/java/sun/nio/ch/
DEPoll.java29 import sun.misc.Unsafe;
38 private static final Unsafe unsafe = Unsafe.getUnsafe();
DNativeObject.java32 import sun.misc.Unsafe;
43 protected static final Unsafe unsafe = Unsafe.getUnsafe();
DUtil.java33 import sun.misc.Unsafe;
353 private static Unsafe unsafe = Unsafe.getUnsafe();
367 static Unsafe unsafe() {
/libcore/ojluni/annotations/mmodule/sun/misc/
DUnsafe.annotated.java31 public final class Unsafe { class
33 private Unsafe() { in Unsafe() method in Unsafe
38 public static sun.misc.Unsafe getUnsafe() { in getUnsafe()
/libcore/ojluni/src/main/java/java/lang/invoke/
DMethodHandleStatics.java28 import sun.misc.Unsafe;
40 static final Unsafe UNSAFE = Unsafe.getUnsafe();
/libcore/ojluni/src/main/java/java/util/concurrent/
DForkJoinWorkerThread.java188 private static final sun.misc.Unsafe U = sun.misc.Unsafe.getUnsafe();
251 sun.misc.Unsafe u = sun.misc.Unsafe.getUnsafe(); in createThreadGroup()
DSynchronousQueue.java286 private static final sun.misc.Unsafe U = sun.misc.Unsafe.getUnsafe();
512 private static final sun.misc.Unsafe U = sun.misc.Unsafe.getUnsafe();
578 private static final sun.misc.Unsafe U = sun.misc.Unsafe.getUnsafe();
820 private static final sun.misc.Unsafe U = sun.misc.Unsafe.getUnsafe();
/libcore/ojluni/src/main/java/sun/misc/
DUnsafe.java42 public final class Unsafe { class
44 private static final Unsafe THE_ONE = new Unsafe();
46 private static final Unsafe theUnsafe = THE_ONE;
52 private Unsafe() {} in Unsafe() method in Unsafe
58 public static Unsafe getUnsafe() { in getUnsafe()
65 if ((calling != null) && (calling != Unsafe.class.getClassLoader())) { in getUnsafe()
/libcore/ojluni/src/main/java/java/nio/
DMappedByteBuffer.java30 import sun.misc.Unsafe;
173 Unsafe unsafe = Unsafe.getUnsafe(); in load()
/libcore/ojluni/src/main/java/java/util/concurrent/atomic/
DAtomicBoolean.java52 private static final sun.misc.Unsafe U = sun.misc.Unsafe.getUnsafe();
DStriped64.java138 private static final sun.misc.Unsafe U = sun.misc.Unsafe.getUnsafe();
377 private static final sun.misc.Unsafe U = sun.misc.Unsafe.getUnsafe();
DAtomicInteger.java57 private static final sun.misc.Unsafe U = sun.misc.Unsafe.getUnsafe();
DAtomicMarkableReference.java193 private static final sun.misc.Unsafe U = sun.misc.Unsafe.getUnsafe();
DAtomicStampedReference.java193 private static final sun.misc.Unsafe U = sun.misc.Unsafe.getUnsafe();
DAtomicReference.java52 private static final sun.misc.Unsafe U = sun.misc.Unsafe.getUnsafe();
DAtomicLong.java57 private static final sun.misc.Unsafe U = sun.misc.Unsafe.getUnsafe();
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/org/apache/harmony/kernel/dalvik/
DThreadsTest.java24 import sun.misc.Unsafe;
30 private static Unsafe UNSAFE = null;
39 Field field = Unsafe.class.getDeclaredField("THE_ONE");
42 UNSAFE = (Unsafe) field.get(null);
/libcore/ojluni/annotations/hiddenapi/sun/misc/
DUnsafe.java32 public final class Unsafe { class
34 private Unsafe() { in Unsafe() method in Unsafe
39 public static sun.misc.Unsafe getUnsafe() { in getUnsafe()
281 @UnsupportedAppUsage private static final sun.misc.Unsafe THE_ONE;
287 @UnsupportedAppUsage private static final sun.misc.Unsafe theUnsafe;
/libcore/ojluni/src/main/java/java/util/concurrent/locks/
DLockSupport.java409 private static final sun.misc.Unsafe U = sun.misc.Unsafe.getUnsafe();
/libcore/luni/src/main/native/
Dsun_misc_Unsafe.cpp27 NATIVE_METHOD(Unsafe, allocateInstance, "(Ljava/lang/Class;)Ljava/lang/Object;"),
/libcore/ojluni/src/main/java/java/net/
DInetSocketAddress.java321 private static final sun.misc.Unsafe UNSAFE;
324 sun.misc.Unsafe unsafe = sun.misc.Unsafe.getUnsafe();

123