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

1 2

  /libcore/luni/src/main/java/java/util/concurrent/locks/
LockSupport.java 8 import sun.misc.Unsafe;
95 private static final Unsafe unsafe = Unsafe.getUnsafe(); field in class:LockSupport
100 parkBlockerOffset = unsafe.objectFieldOffset
107 unsafe.putObject(t, parkBlockerOffset, arg);
123 unsafe.unpark(thread);
157 unsafe.park(false, 0L);
197 unsafe.park(false, nanos);
238 unsafe.park(true, deadline)
    [all...]
AbstractQueuedLongSynchronizer.java 12 import sun.misc.Unsafe;
315 return unsafe.compareAndSwapLong(this, stateOffset, expect, update);
2010 private static final Unsafe unsafe = Unsafe.getUnsafe(); field in class:AbstractQueuedLongSynchronizer
    [all...]
AbstractQueuedSynchronizer.java 12 import sun.misc.Unsafe;
545 return unsafe.compareAndSwapInt(this, stateOffset, expect, update);
2238 private static final Unsafe unsafe = Unsafe.getUnsafe(); field in class:AbstractQueuedSynchronizer
    [all...]
  /libcore/luni/src/main/java/java/util/concurrent/atomic/
AtomicReference.java 8 import sun.misc.Unsafe;
21 private static final Unsafe unsafe = Unsafe.getUnsafe(); field in class:AtomicReference
26 valueOffset = unsafe.objectFieldOffset
73 unsafe.putOrderedObject(this, valueOffset, newValue);
85 return unsafe.compareAndSwapObject(this, valueOffset, expect, update);
101 return unsafe.compareAndSwapObject(this, valueOffset, expect, update);
AtomicIntegerArray.java 8 import sun.misc.Unsafe;
21 private static final Unsafe unsafe = Unsafe.getUnsafe(); field in class:AtomicIntegerArray
22 private static final int base = unsafe.arrayBaseOffset(int[].class);
27 int scale = unsafe.arrayIndexScale(int[].class);
86 return unsafe.getIntVolatile(array, offset);
96 unsafe.putIntVolatile(array, checkedByteOffset(i), newValue);
107 unsafe.putOrderedInt(array, checkedByteOffset(i), newValue);
142 return unsafe.compareAndSwapInt(array, offset, expect, update)
    [all...]
AtomicIntegerFieldUpdater.java 10 import sun.misc.Unsafe;
241 private static final Unsafe unsafe = Unsafe.getUnsafe(); field in class:AtomicIntegerFieldUpdater.AtomicIntegerFieldUpdaterImpl
283 offset = unsafe.objectFieldOffset(field);
312 return unsafe.compareAndSwapInt(obj, offset, expect, update);
317 return unsafe.compareAndSwapInt(obj, offset, expect, update);
322 unsafe.putIntVolatile(obj, offset, newValue);
327 unsafe.putOrderedInt(obj, offset, newValue);
332 return unsafe.getIntVolatile(obj, offset)
    [all...]
AtomicLongArray.java 8 import sun.misc.Unsafe;
20 private static final Unsafe unsafe = Unsafe.getUnsafe(); field in class:AtomicLongArray
21 private static final int base = unsafe.arrayBaseOffset(long[].class);
26 int scale = unsafe.arrayIndexScale(long[].class);
85 return unsafe.getLongVolatile(array, offset);
95 unsafe.putLongVolatile(array, checkedByteOffset(i), newValue);
106 unsafe.putOrderedLong(array, checkedByteOffset(i), newValue);
141 return unsafe.compareAndSwapLong(array, offset, expect, update)
    [all...]
AtomicReferenceArray.java 11 import sun.misc.Unsafe;
25 private static final Unsafe unsafe; field in class:AtomicReferenceArray
33 unsafe = Unsafe.getUnsafe();
34 arrayFieldOffset = unsafe.objectFieldOffset
36 base = unsafe.arrayBaseOffset(Object[].class);
37 int scale = unsafe.arrayIndexScale(Object[].class);
100 return (E) unsafe.getObjectVolatile(array, offset);
110 unsafe.putObjectVolatile(array, checkedByteOffset(i), newValue)
    [all...]
AtomicReferenceFieldUpdater.java 9 import sun.misc.Unsafe;
157 private static final Unsafe unsafe = Unsafe.getUnsafe(); field in class:AtomicReferenceFieldUpdater.AtomicReferenceFieldUpdaterImpl
218 offset = unsafe.objectFieldOffset(field);
260 return unsafe.compareAndSwapObject(obj, offset, expect, update);
269 return unsafe.compareAndSwapObject(obj, offset, expect, update);
277 unsafe.putObjectVolatile(obj, offset, newValue);
285 unsafe.putOrderedObject(obj, offset, newValue);
292 return (V)unsafe.getObjectVolatile(obj, offset)
    [all...]
AtomicBoolean.java 8 import sun.misc.Unsafe;
23 // setup to use Unsafe.compareAndSwapInt for updates
24 private static final Unsafe unsafe = Unsafe.getUnsafe(); field in class:AtomicBoolean
29 valueOffset = unsafe.objectFieldOffset
72 return unsafe.compareAndSwapInt(this, valueOffset, e, u);
90 return unsafe.compareAndSwapInt(this, valueOffset, e, u);
110 unsafe.putOrderedInt(this, valueOffset, v);
AtomicLongFieldUpdater.java 10 import sun.misc.Unsafe;
241 private static final Unsafe unsafe = Unsafe.getUnsafe(); field in class:AtomicLongFieldUpdater.CASUpdater
282 offset = unsafe.objectFieldOffset(field);
294 return unsafe.compareAndSwapLong(obj, offset, expect, update);
299 return unsafe.compareAndSwapLong(obj, offset, expect, update);
304 unsafe.putLongVolatile(obj, offset, newValue);
309 unsafe.putOrderedLong(obj, offset, newValue);
314 return unsafe.getLongVolatile(obj, offset)
335 private static final Unsafe unsafe = Unsafe.getUnsafe(); field in class:AtomicLongFieldUpdater.LockedUpdater
    [all...]
AtomicInteger.java 8 import sun.misc.Unsafe;
26 // setup to use Unsafe.compareAndSwapInt for updates
27 private static final Unsafe unsafe = Unsafe.getUnsafe(); field in class:AtomicInteger
32 valueOffset = unsafe.objectFieldOffset
79 unsafe.putOrderedInt(this, valueOffset, newValue);
106 return unsafe.compareAndSwapInt(this, valueOffset, expect, update);
122 return unsafe.compareAndSwapInt(this, valueOffset, expect, update);
AtomicLong.java 8 import sun.misc.Unsafe;
26 // setup to use Unsafe.compareAndSwapLong for updates
27 private static final Unsafe unsafe = Unsafe.getUnsafe(); field in class:AtomicLong
32 * compareAndSwap for longs. While the Unsafe.compareAndSwapLong
46 valueOffset = unsafe.objectFieldOffset
93 unsafe.putOrderedLong(this, valueOffset, newValue);
120 return unsafe.compareAndSwapLong(this, valueOffset, expect, update);
136 return unsafe.compareAndSwapLong(this, valueOffset, expect, update)
    [all...]
  /external/dexmaker/src/mockito/java/com/google/dexmaker/mockito/
UnsafeAllocator.java 34 // public class Unsafe {
38 Class<?> unsafeClass = Class.forName("sun.misc.Unsafe");
41 final Object unsafe = f.get(null); local
47 return (T) allocateInstance.invoke(unsafe, c);
  /external/chromium/third_party/libjingle/source/talk/xmllite/
xmlprinter.cc 154 size_t unsafe = text.find_first_of("<>&\"", safe); local
155 if (unsafe == std::string::npos)
156 unsafe = text.length();
157 *pout_ << text.substr(safe, unsafe - safe);
158 if (unsafe == text.length())
160 switch (text[unsafe]) {
166 safe = unsafe + 1;
176 size_t unsafe = text.find_first_of("<>&", safe); local
177 if (unsafe == std::string::npos)
178 unsafe = text.length()
    [all...]
  /external/chromium_org/third_party/libjingle/source/talk/xmllite/
xmlprinter.cc 149 size_t unsafe = text.find_first_of("<>&\"", safe); local
150 if (unsafe == std::string::npos)
151 unsafe = text.length();
152 *pout_ << text.substr(safe, unsafe - safe);
153 if (unsafe == text.length())
155 switch (text[unsafe]) {
161 safe = unsafe + 1;
170 size_t unsafe = text.find_first_of("<>&", safe); local
171 if (unsafe == std::string::npos)
172 unsafe = text.length()
    [all...]
  /external/chromium_org/third_party/jinja2/
sandbox.py 25 #: attributes of function objects that are considered unsafe.
29 #: unsafe method attributes. function attributes are unsafe for methods too
32 #: unsafe generator attirbutes.
107 def unsafe(f): function
108 """Marks a function or method as unsafe.
112 @unsafe
174 for typespec, unsafe in _mutable_spec:
176 return attr in unsafe
281 affect the `unsafe` decorator from this module
    [all...]
  /external/chromium_org/v8/src/
hydrogen-bch.cc 141 * (loop back to the header) without meeting a check, or UNSAFE is set if
148 bool unsafe = false; local
167 unsafe = true;
197 return unsafe ? OPTIMISTICALLY_HOISTABLE : HOISTABLE;
  /external/llvm/include/llvm/CodeGen/PBQP/Heuristics/
Briggs.h 104 UnsafeArray unsafe, reverseUnsafe; member in struct:PBQP::Heuristics::Briggs::EdgeData
323 ed.unsafe.clear();
324 ed.unsafe.resize(numRegs, 0);
332 ed.unsafe[i] = 1;
364 EdgeData::UnsafeArray &unsafe = local
365 nIsNode1 ? ed.unsafe : ed.reverseUnsafe;
369 if (unsafe[r]) {
391 EdgeData::UnsafeArray &unsafe = local
392 nIsNode1 ? ed.unsafe : ed.reverseUnsafe;
396 if (unsafe[r]) {
    [all...]
  /external/chromium_org/content/browser/fileapi/
copy_or_move_operation_delegate_unittest.cc 82 std::string unsafe = dest_platform_path.BaseName().AsUTF8Unsafe(); variable
83 if (unsafe.find(reject_string_) != std::string::npos) {
  /external/chromium_org/content/public/android/javatests/src/org/chromium/content/browser/
JavaBridgeBasicsTest.java 579 public String unsafe() { return "bar"; } method in class:JavaBridgeBasicsTest.Test
593 // unsafe() should be able to be called because we are not in safe mode.
595 "unsafeTestObject.getTest().unsafe()"));
603 // unsafe() should not be able to be called because we are in safe mode.
604 assertRaisesException("safeTestObject.getTest().unsafe()");
606 "typeof safeTestObject.getTest().unsafe"));
689 // ContentViewCore#addJavascriptInterface, not the possibly unsafe version.
  /external/kernel-headers/original/linux/
module.h 312 /* Am I unsafe to unload? */
313 int unsafe; member in struct:module
446 if (mod && !(mod)->unsafe) { \
448 "Module %s cannot be unloaded due to unsafe usage in" \
450 (mod)->unsafe = 1; \
  /external/chromium_org/v8/test/cctest/
test-heap.cc 1468 i::Object** unsafe = reinterpret_cast<i::Object**>(*ctx[i]); local
    [all...]
  /external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.apache.ant_1.7.1.v20090120-1145/lib/
ant-nodeps.jar 
  /external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
org.apache.commons.httpclient_3.1.0.v201005080502.jar 

Completed in 1276 milliseconds

1 2