/libcore/luni/src/main/java/java/util/concurrent/locks/ |
LockSupport.java | 9 import sun.misc.Unsafe; 95 private static final Unsafe unsafe = UnsafeAccess.THE_ONE; // android-changed 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); 253 return unsafe.getObjectVolatile(t, parkBlockerOffset) [all...] |
AbstractQueuedLongSynchronizer.java | 11 import sun.misc.Unsafe; 314 return unsafe.compareAndSwapLong(this, stateOffset, expect, update); 2024 private static final Unsafe unsafe = Unsafe.getUnsafe(); field in class:AbstractQueuedLongSynchronizer [all...] |
AbstractQueuedSynchronizer.java | 11 import sun.misc.Unsafe; 545 return unsafe.compareAndSwapInt(this, stateOffset, expect, update); 2255 private static final Unsafe unsafe = UnsafeAccess.THE_ONE; field in class:AbstractQueuedSynchronizer [all...] |
/libcore/luni/src/main/java/java/util/concurrent/atomic/ |
AtomicBoolean.java | 8 import sun.misc.Unsafe; 23 // setup to use Unsafe.compareAndSwapInt for updates 24 private static final Unsafe unsafe = UnsafeAccess.THE_ONE; // android-changed 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);
|
AtomicReference.java | 8 import sun.misc.Unsafe; 21 private static final Unsafe unsafe = UnsafeAccess.THE_ONE; // android-changed 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; 22 private static final Unsafe unsafe = UnsafeAccess.THE_ONE; // android-changed field in class:AtomicIntegerArray 23 private static final int base = unsafe.arrayBaseOffset(int[].class); 28 int scale = unsafe.arrayIndexScale(int[].class); 87 return unsafe.getIntVolatile(array, offset); 97 unsafe.putIntVolatile(array, checkedByteOffset(i), newValue); 108 unsafe.putOrderedInt(array, checkedByteOffset(i), newValue); 143 return unsafe.compareAndSwapInt(array, offset, expect, update);
|
AtomicLongArray.java | 8 import sun.misc.Unsafe; 21 private static final Unsafe unsafe = UnsafeAccess.THE_ONE; // android-changed field in class:AtomicLongArray 22 private static final int base = unsafe.arrayBaseOffset(long[].class); 27 int scale = unsafe.arrayIndexScale(long[].class); 86 return unsafe.getLongVolatile(array, offset); 96 unsafe.putLongVolatile(array, checkedByteOffset(i), newValue); 107 unsafe.putOrderedLong(array, checkedByteOffset(i), newValue); 143 return unsafe.compareAndSwapLong(array, offset, expect, update);
|
AtomicReferenceArray.java | 8 import sun.misc.Unsafe; 23 private static final Unsafe unsafe = UnsafeAccess.THE_ONE; // android-changed field in class:AtomicReferenceArray 24 private static final int base = unsafe.arrayBaseOffset(Object[].class); 29 int scale = unsafe.arrayIndexScale(Object[].class); 88 return (E) unsafe.getObjectVolatile(array, offset); 98 unsafe.putObjectVolatile(array, checkedByteOffset(i), newValue); 109 unsafe.putOrderedObject(array, checkedByteOffset(i), newValue); 145 return unsafe.compareAndSwapObject(array, offset, expect, update);
|
AtomicInteger.java | 8 import sun.misc.Unsafe; 26 // setup to use Unsafe.compareAndSwapInt for updates 27 private static final Unsafe unsafe = UnsafeAccess.THE_ONE; // android-changed 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 = UnsafeAccess.THE_ONE; // android-changed 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);
|
AtomicLongFieldUpdater.java | 10 import sun.misc.Unsafe; 238 private static final Unsafe unsafe = UnsafeAccess.THE_ONE; // android-changed field in class:AtomicLongFieldUpdater.CASUpdater 270 offset = unsafe.objectFieldOffset(field); 282 return unsafe.compareAndSwapLong(obj, offset, expect, update); 287 return unsafe.compareAndSwapLong(obj, offset, expect, update); 292 unsafe.putLongVolatile(obj, offset, newValue); 297 unsafe.putOrderedLong(obj, offset, newValue); 302 return unsafe.getLongVolatile(obj, offset); 323 private static final Unsafe unsafe = UnsafeAccess.THE_ONE; // android-change field in class:AtomicLongFieldUpdater.LockedUpdater [all...] |
AtomicIntegerFieldUpdater.java | 10 import sun.misc.Unsafe; 239 private static final Unsafe unsafe = UnsafeAccess.THE_ONE; // android-changed field in class:AtomicIntegerFieldUpdater.AtomicIntegerFieldUpdaterImpl 275 offset = unsafe.objectFieldOffset(field); 287 return unsafe.compareAndSwapInt(obj, offset, expect, update); 292 return unsafe.compareAndSwapInt(obj, offset, expect, update); 297 unsafe.putIntVolatile(obj, offset, newValue); 302 unsafe.putOrderedInt(obj, offset, newValue); 307 return unsafe.getIntVolatile(obj, offset);
|
AtomicReferenceFieldUpdater.java | 9 import sun.misc.Unsafe; 154 private static final Unsafe unsafe = Unsafe.getUnsafe(); field in class:AtomicReferenceFieldUpdater.AtomicReferenceFieldUpdaterImpl 206 offset = unsafe.objectFieldOffset(field); 229 return unsafe.compareAndSwapObject(obj, offset, expect, update); 238 return unsafe.compareAndSwapObject(obj, offset, expect, update); 246 unsafe.putObjectVolatile(obj, offset, newValue); 254 unsafe.putOrderedObject(obj, offset, newValue); 260 return (V)unsafe.getObjectVolatile(obj, offset) [all...] |
/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...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
AirplaneModeController.java | 60 unsafe(checked); 81 private void unsafe(final boolean enabled) { method in class:AirplaneModeController
|
/external/llvm/include/llvm/CodeGen/PBQP/Heuristics/ |
Briggs.h | 105 UnsafeArray unsafe, reverseUnsafe; member in struct:PBQP::Heuristics::Briggs::EdgeData 324 ed.unsafe.clear(); 325 ed.unsafe.resize(numRegs, 0); 333 ed.unsafe[i] = 1; 365 EdgeData::UnsafeArray &unsafe = local 366 nIsNode1 ? ed.unsafe : ed.reverseUnsafe; 370 if (unsafe[r]) { 392 EdgeData::UnsafeArray &unsafe = local 393 nIsNode1 ? ed.unsafe : ed.reverseUnsafe; 397 if (unsafe[r]) { [all...] |
/libcore/luni/src/main/java/java/util/concurrent/ |
ConcurrentSkipListSet.java | 9 import sun.misc.Unsafe; 444 private static final Unsafe unsafe = Unsafe.getUnsafe(); field in class:ConcurrentSkipListSet 448 mapOffset = unsafe.objectFieldOffset 453 unsafe.putObjectVolatile(this, mapOffset, map);
|
/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/icu4c/i18n/ |
ucol_sit.cpp | 865 USet *unsafe, 871 uset_clear(unsafe); 878 uset_applyPattern(unsafe, cccpattern, 24, USET_IGNORE_SPACE, status); 881 uset_addRange(unsafe, 0xe40, 0xe44); 882 uset_addRange(unsafe, 0xec0, 0xec4); 884 uset_addRange(unsafe, 0xd800, 0xdfff); 892 // to get unsafe code points, we need to 893 // break the strings apart and add them to the unsafe set 901 uset_add(unsafe, c); 909 return uset_size(unsafe); [all...] |
/external/v8/test/mjsunit/ |
codegen-coverage.js | 103 // "unsafe smi" code that spills a register.
|
/external/icu4c/i18n/unicode/ |
ucol.h | [all...] |
/external/webkit/Source/JavaScriptCore/icu/unicode/ |
ucol.h | [all...] |
/external/webkit/Source/WebCore/icu/unicode/ |
ucol.h | [all...] |
/ndk/sources/host-tools/nawk-20071023/ |
FIXES | 67 system() not flagged as unsafe in the unadvertised -safe option. [all...] |
/build/tools/droiddoc/templates-pdk/assets/ |
prettify.js | 5 dc="(?:",ec=")",fc="gi",gc="PRE",hc='<!DOCTYPE foo PUBLIC "foo bar">\n<foo />',ic="\t",jc="\n",kc="[^<]+|<!--[\\s\\S]*?--\>|<!\\[CDATA\\[[\\s\\S]*?\\]\\]>|</?[a-zA-Z][^>]*>|<",lc="nocode",mc=' $1="$2$3$4"',S="pln",nc="string",T="lang-",oc="src",U="str",pc="'\"",qc="'\"`",rc="\"'",V="com",sc="lang-regex",tc="(/(?=[^/*])(?:[^/\\x5B\\x5C]|\\x5C[\\s\\S]|\\x5B(?:[^\\x5C\\x5D]|\\x5C[\\s\\S])*(?:\\x5D|$))+/)",uc="kwd",vc="^(?:",wc=")\\b",xc=" \r\n\t\u00a0",yc="lit",zc="typ",Ac="0123456789",Y="pun",Bc="break continue do else for if return while auto case char const default double enum extern float goto int long register short signed sizeof static struct switch typedef union unsigned void volatile catch class delete false import new operator private protected public this throw true try alignof align_union asm axiom bool concept concept_map const_cast constexpr decltype dynamic_cast explicit export friend inline late_check mutable namespace nullptr reinterpret_cast static_assert static_cast template typeid typename typeof using virtual wchar_t where break continue do else for if return while auto case char const default double enum extern float goto int long register short signed sizeof static struct switch typedef union unsigned void volatile catch class delete false import new operator private protected public this throw true try boolean byte extends final finally implements import instanceof null native package strictfp super synchronized throws transient as base by checked decimal delegate descending event fixed foreach from group implicit in interface internal into is lock object out override orderby params partial readonly ref sbyte sealed stackalloc string select uint ulong unchecked unsafe ushort var break continue do else for if return while auto case char const default double enum extern float goto int long register short signed sizeof static struct switch typedef union unsigned void volatile catch class delete false import new operator private protected public this throw true try debugger eval export function get null set undefined var with Infinity NaN caller delete die do dump elsif eval exit foreach for goto if import last local my next no our print package redo require sub undef unless until use wantarray while BEGIN END break continue do else for if return while and as assert class def del elif except exec finally from global import in is lambda nonlocal not or pass print raise try with yield False True None break continue do else for if return while alias and begin case class def defined elsif end ensure false in module next nil not or redo rescue retry self super then true undef unless until when yield BEGIN END break continue do else for if return while case done elif esac eval fi function in local set then until ", 7 bd="c",cd="cc",dd="cpp",ed="cxx",fd="cyc",gd="m",hd="null true false",id="json",jd="break continue do else for if return while auto case char const default double enum extern float goto int long register short signed sizeof static struct switch typedef union unsigned void volatile catch class delete false import new operator private protected public this throw true try boolean byte extends final finally implements import instanceof null native package strictfp super synchronized throws transient as base by checked decimal delegate descending event fixed foreach from group implicit in interface internal into is lock object out override orderby params partial readonly ref sbyte sealed stackalloc string select uint ulong unchecked unsafe ushort var ",
|