HomeSort by relevance Sort by last modified time
    Searched defs:UNSAFE (Results 1 - 25 of 131) sorted by null

1 2 3 4 5 6

  /libcore/ojluni/src/main/java/java/lang/invoke/
MethodHandleStatics.java 28 import sun.misc.Unsafe;
40 static final Unsafe UNSAFE = Unsafe.getUnsafe();
CallSite.java 270 // unsafe stuff:
274 TARGET_OFFSET = UNSAFE.objectFieldOffset(CallSite.class.getDeclaredField("target"));
286 return (MethodHandle) UNSAFE.getObjectVolatile(this, TARGET_OFFSET);
292 UNSAFE.putObjectVolatile(this, TARGET_OFFSET, newTarget);
VarHandle.java 437 // Android-added: Using sun.misc.Unsafe for fence implementation.
438 private static final sun.misc.Unsafe UNSAFE = sun.misc.Unsafe.getUnsafe();
    [all...]
MethodType.java     [all...]
  /art/test/067-preemptive-unpark/src/
Main.java 17 import sun.misc.Unsafe;
22 private static Unsafe UNSAFE;
32 UNSAFE.unpark(test);
59 * Set up {@link #UNSAFE}.
63 * Subvert the access check to get the unique Unsafe instance.
69 field = Unsafe.class.getDeclaredField("THE_ONE");
72 field = Unsafe.class.getDeclaredField("theUnsafe");
78 UNSAFE = (Unsafe) field.get(null)
    [all...]
  /libcore/ojluni/src/main/java/java/net/
InetSocketAddress.java 311 UNSAFE.putObject(this, FIELDS_OFFSET, h);
321 private static final sun.misc.Unsafe UNSAFE;
324 sun.misc.Unsafe unsafe = sun.misc.Unsafe.getUnsafe(); external variable declarations
325 FIELDS_OFFSET = unsafe.objectFieldOffset(
327 UNSAFE = unsafe;
Inet6Address.java 603 private static final sun.misc.Unsafe UNSAFE;
607 sun.misc.Unsafe unsafe = sun.misc.Unsafe.getUnsafe(); external variable declarations
608 FIELDS_OFFSET = unsafe.objectFieldOffset(
610 UNSAFE = unsafe;
677 UNSAFE.putObject(this, FIELDS_OFFSET, h);
    [all...]
  /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/org/apache/harmony/kernel/dalvik/
ThreadsTest.java 24 import sun.misc.Unsafe;
27 * Tests for the <code>park()</code> functionality of {@link Unsafe}.
30 private static Unsafe UNSAFE = null;
33 * Set up {@link #UNSAFE}. This subverts the access check to
34 * get the unique Unsafe instance. We can do this because
39 Field field = Unsafe.class.getDeclaredField("THE_ONE");
42 UNSAFE = (Unsafe) field.get(null);
86 UNSAFE.unpark(parkerThread)
    [all...]
  /libcore/ojluni/src/main/java/java/io/
File.java 2177 sun.misc.Unsafe unsafe = sun.misc.Unsafe.getUnsafe(); external variable declarations
    [all...]
  /external/protobuf/java/core/src/main/java/com/google/protobuf/
Utf8.java 93 * A mask used when performing unsafe reads to determine if a long value contains any non-ASCII
117 * Used by {@code Unsafe} UTF-8 string validation logic to determine the minimum string length
121 * (when calling {@code Unsafe.getLong}). This threshold guarantees that even if the initial
122 * offset is unaligned, we're guaranteed to make at least one call to {@code Unsafe.getLong()}
760 * {@link Processor} implementation that does not use any {@code sun.misc.Unsafe} methods.
1631 sun.misc.Unsafe unsafe = null; local
    [all...]
CodedOutputStream.java 62 private static final sun.misc.Unsafe UNSAFE = getUnsafe();
2609 sun.misc.Unsafe unsafe = null; local
    [all...]
  /external/robolectric-shadows/sandbox/src/main/java/org/robolectric/internal/bytecode/
ProxyMaker.java 15 import sun.misc.Unsafe;
19 private static final Unsafe UNSAFE;
23 Field unsafeField = Unsafe.class.getDeclaredField("theUnsafe");
25 UNSAFE = (Unsafe) unsafeField.get(null);
77 final Class<?> proxyClass = UNSAFE.defineAnonymousClass(targetClass, writer.toByteArray(), null);
84 Object proxy = UNSAFE.allocateInstance(proxyClass);
  /prebuilts/misc/common/robolectric/3.1.1/lib/
robolectric-utils-3.1.1.jar 
  /prebuilts/misc/common/robolectric/3.5.1/lib/
sandbox-3.5.1.jar 
  /prebuilts/misc/common/robolectric/3.6.1/lib/
sandbox-3.6.1.jar 
  /prebuilts/misc/common/robolectric/android-all/
android-all-4.2.2_r1.2-robolectric-r1.jar 
android-all-4.3_r2-robolectric-r1.jar 
android-all-4.4_r1-robolectric-r2.jar 
android-all-5.0.2_r3-robolectric-r0.jar 
android-all-5.1.1_r9-robolectric-r2.jar 
android-all-4.1.2_r1-robolectric-r1.jar 
android-all-6.0.1_r3-robolectric-r1.jar 
  /prebuilts/misc/common/robolectric/3.4.2/lib/
sandbox-3.4.2.jar 
  /prebuilts/misc/common/android-support-test/espresso/
espresso_web_release_no_deps.jar 
  /prebuilts/tools/common/m2/repository/io/netty/netty-common/4.1.3.Final/
netty-common-4.1.3.Final.jar 

Completed in 174 milliseconds

1 2 3 4 5 6