/external/chromium/base/ |
lazy_instance.cc | 18 if (base::subtle::Acquire_CompareAndSwap( 24 while (base::subtle::NoBarrier_Load(&state_) != STATE_CREATED) 37 base::subtle::Release_Store(&state_, STATE_CREATED);
|
atomic_ref_count.h | 20 typedef subtle::Atomic32 AtomicRefCount; 25 subtle::NoBarrier_AtomicIncrement(ptr, increment); 35 bool res = (subtle::Barrier_AtomicIncrement(ptr, -decrement) != 0); 61 bool res = (subtle::Acquire_Load(ptr) == 1); 72 bool res = (subtle::Acquire_Load(ptr) == 0);
|
/external/chromium_org/base/ |
atomic_sequence_num.h | 26 base::subtle::NoBarrier_AtomicIncrement(&seq_, 1) - 1); 33 base::subtle::Release_Store(&seq_, 0); 36 base::subtle::Atomic32 seq_;
|
atomic_ref_count.h | 19 typedef subtle::Atomic32 AtomicRefCount; 24 subtle::NoBarrier_AtomicIncrement(ptr, increment); 34 bool res = (subtle::Barrier_AtomicIncrement(ptr, -decrement) != 0); 60 bool res = (subtle::Acquire_Load(ptr) == 1); 71 bool res = (subtle::Acquire_Load(ptr) == 0);
|
sequenced_task_runner_helpers.h | 20 namespace subtle { namespace in namespace:base 36 template <class T2, class R> friend class subtle::DeleteHelperInternal; 48 template <class T2, class R> friend class subtle::ReleaseHelperInternal; 57 namespace subtle { namespace in namespace:base 108 } // namespace subtle
|
lazy_instance.h | 104 static const subtle::AtomicWord kLazyInstanceStateCreating = 1; 109 BASE_EXPORT bool NeedsLazyInstance(subtle::AtomicWord* state); 113 BASE_EXPORT void CompleteLazyInstance(subtle::AtomicWord* state, 114 subtle::AtomicWord new_instance, 146 static const subtle::AtomicWord kLazyInstanceCreatedMask = 156 subtle::AtomicWord value = subtle::Acquire_Load(&private_instance_); 160 value = reinterpret_cast<subtle::AtomicWord>( 176 switch (subtle::NoBarrier_Load(&private_instance_)) { 190 subtle::AtomicWord private_instance_ [all...] |
/external/chromium_org/base/memory/ |
ref_counted_delete_on_message_loop.h | 34 class RefCountedDeleteOnMessageLoop : public subtle::RefCountedThreadSafeBase { 42 subtle::RefCountedThreadSafeBase::AddRef(); 46 if (subtle::RefCountedThreadSafeBase::Release())
|
singleton.h | 34 static const subtle::AtomicWord kBeingCreatedMarker = 1; 38 BASE_EXPORT subtle::AtomicWord WaitForInstance(subtle::AtomicWord* instance); 110 if (base::subtle::NoBarrier_AtomicExchange(&dead_, 1)) 126 base::subtle::NoBarrier_Store(&dead_, 0); 132 static base::subtle::Atomic32 dead_; 137 template <typename Type> base::subtle::Atomic32 232 base::subtle::AtomicWord value = base::subtle::NoBarrier_Load(&instance_); 240 if (base::subtle::Acquire_CompareAndSwap [all...] |
ref_counted.h | 17 namespace subtle { namespace in namespace:base 65 } // namespace subtle 82 class RefCounted : public subtle::RefCountedBase { 87 subtle::RefCountedBase::AddRef(); 91 if (subtle::RefCountedBase::Release()) { 132 class RefCountedThreadSafe : public subtle::RefCountedThreadSafeBase { 137 subtle::RefCountedThreadSafeBase::AddRef(); 141 if (subtle::RefCountedThreadSafeBase::Release()) {
|
/external/chromium_org/cc/base/ |
ref_counted_managed.h | 32 class CC_EXPORT RefCountedManaged : public base::subtle::RefCountedBase { 40 base::subtle::RefCountedBase::AddRef(); 44 if (base::subtle::RefCountedBase::Release()) {
|
/external/chromium/base/allocator/ |
allocator_unittests.cc | 109 EXPECT_EQ(base::subtle::NoBarrier_AtomicIncrement(&s.count, 1), 1); 114 EXPECT_EQ(base::subtle::NoBarrier_AtomicIncrement(&s.count, 2), 3); 119 EXPECT_EQ(base::subtle::NoBarrier_AtomicIncrement(&s.count, 3), 6); 124 EXPECT_EQ(base::subtle::NoBarrier_AtomicIncrement(&s.count, -3), 3); 129 EXPECT_EQ(base::subtle::NoBarrier_AtomicIncrement(&s.count, -2), 1); 134 EXPECT_EQ(base::subtle::NoBarrier_AtomicIncrement(&s.count, -1), 0); 139 EXPECT_EQ(base::subtle::NoBarrier_AtomicIncrement(&s.count, -1), -1); 144 EXPECT_EQ(base::subtle::NoBarrier_AtomicIncrement(&s.count, -4), -5); 149 EXPECT_EQ(base::subtle::NoBarrier_AtomicIncrement(&s.count, 5), 0); 162 AtomicType prev = base::subtle::NoBarrier_CompareAndSwap(&value, 0, 1) [all...] |
/external/chromium_org/base/allocator/ |
allocator_unittests.cc | 108 EXPECT_EQ(base::subtle::NoBarrier_AtomicIncrement(&s.count, 1), 1); 113 EXPECT_EQ(base::subtle::NoBarrier_AtomicIncrement(&s.count, 2), 3); 118 EXPECT_EQ(base::subtle::NoBarrier_AtomicIncrement(&s.count, 3), 6); 123 EXPECT_EQ(base::subtle::NoBarrier_AtomicIncrement(&s.count, -3), 3); 128 EXPECT_EQ(base::subtle::NoBarrier_AtomicIncrement(&s.count, -2), 1); 133 EXPECT_EQ(base::subtle::NoBarrier_AtomicIncrement(&s.count, -1), 0); 138 EXPECT_EQ(base::subtle::NoBarrier_AtomicIncrement(&s.count, -1), -1); 143 EXPECT_EQ(base::subtle::NoBarrier_AtomicIncrement(&s.count, -4), -5); 148 EXPECT_EQ(base::subtle::NoBarrier_AtomicIncrement(&s.count, 5), 0); 161 AtomicType prev = base::subtle::NoBarrier_CompareAndSwap(&value, 0, 1) [all...] |
/external/chromium_org/base/android/jni_generator/ |
testCalledByNatives.golden | 34 static base::subtle::AtomicWord g_TestJni_showConfirmInfoBar = 0; 66 static base::subtle::AtomicWord g_TestJni_showAutoLoginInfoBar = 0; 96 static base::subtle::AtomicWord g_InfoBar_dismiss = 0; 117 static base::subtle::AtomicWord g_TestJni_shouldShowAutoLogin = 0; 146 static base::subtle::AtomicWord g_TestJni_openUrl = 0; 170 static base::subtle::AtomicWord g_TestJni_activateHardwareAcceleration = 0; 201 static base::subtle::AtomicWord g_TestJni_uncheckedCall = 0; 222 static base::subtle::AtomicWord g_TestJni_returnByteArray = 0; 245 static base::subtle::AtomicWord g_TestJni_returnBooleanArray = 0; 268 static base::subtle::AtomicWord g_TestJni_returnCharArray = 0 [all...] |
testFromJavaP.golden | 33 static base::subtle::AtomicWord g_InputStream_available = 0; 54 static base::subtle::AtomicWord g_InputStream_close = 0; 74 static base::subtle::AtomicWord g_InputStream_mark = 0; 94 static base::subtle::AtomicWord g_InputStream_markSupported = 0; 115 static base::subtle::AtomicWord g_InputStream_readI = 0; 136 static base::subtle::AtomicWord g_InputStream_readI_AB = 0; 157 static base::subtle::AtomicWord g_InputStream_readI_AB_I_I = 0; 183 static base::subtle::AtomicWord g_InputStream_reset = 0; 203 static base::subtle::AtomicWord g_InputStream_skip = 0; 224 static base::subtle::AtomicWord g_InputStream_Constructor = 0 [all...] |
golden_sample_for_tests_jni.h | 91 static base::subtle::AtomicWord g_SampleForTests_javaMethod = 0; 116 static base::subtle::AtomicWord g_SampleForTests_staticJavaMethod = 0; 138 static base::subtle::AtomicWord g_SampleForTests_packagePrivateJavaMethod = 0; 160 static base::subtle::AtomicWord g_SampleForTests_methodThatThrowsException = 0; 181 static base::subtle::AtomicWord g_InnerStructA_create = 0; 209 static base::subtle::AtomicWord g_SampleForTests_addStructA = 0; 232 static base::subtle::AtomicWord g_SampleForTests_iterateAndDoSomething = 0; 254 static base::subtle::AtomicWord g_InnerStructB_getKey = 0; 276 static base::subtle::AtomicWord g_InnerStructB_getValue = 0;
|
/external/chromium_org/content/common/ |
one_writer_seqlock.h | 34 base::subtle::Atomic32 ReadBegin(); 35 bool ReadRetry(base::subtle::Atomic32 version); 40 base::subtle::Atomic32 sequence_;
|
/external/chromium/base/memory/ |
singleton.h | 79 if (base::subtle::NoBarrier_AtomicExchange(&dead_, 1)) 89 base::subtle::NoBarrier_Store(&dead_, 1); 90 base::subtle::MemoryBarrier(); 100 base::subtle::NoBarrier_Store(&dead_, 0); 109 static base::subtle::Atomic32 dead_; 114 template <typename Type> base::subtle::Atomic32 204 static const base::subtle::AtomicWord kBeingCreatedMarker = 1; 206 base::subtle::AtomicWord value = base::subtle::NoBarrier_Load(&instance_); 214 if (base::subtle::Acquire_CompareAndSwap(&instance_ [all...] |
ref_counted.h | 15 namespace subtle { namespace in namespace:base 67 } // namespace subtle 84 class RefCounted : public subtle::RefCountedBase { 90 subtle::RefCountedBase::AddRef(); 94 if (subtle::RefCountedBase::Release()) { 132 class RefCountedThreadSafe : public subtle::RefCountedThreadSafeBase { 138 subtle::RefCountedThreadSafeBase::AddRef(); 142 if (subtle::RefCountedThreadSafeBase::Release()) {
|
/external/chromium/chrome/browser/prefs/ |
scoped_user_pref_update.h | 24 namespace subtle { namespace 57 } // namespace subtle 65 class ScopedUserPrefUpdate : public subtle::ScopedUserPrefUpdateBase { 84 subtle::ScopedUserPrefUpdateBase::Get(type_enum_value));
|
pref_member.h | 39 namespace subtle { namespace 128 } // namespace subtle 131 class PrefMember : public subtle::PrefMemberBase { 143 subtle::PrefMemberBase::Init(pref_name, prefs, observer); 150 subtle::PrefMemberBase::Destroy(); 159 subtle::PrefMemberBase::MoveToThread(thread_id); 208 class Internal : public subtle::PrefMemberBase::Internal {
|
/external/chromium_org/third_party/leveldatabase/port/ |
port_chromium.cc | 54 OnceType state = ::base::subtle::Acquire_Load(once); 58 state = ::base::subtle::NoBarrier_CompareAndSwap( 66 ::base::subtle::Release_Store(once, ONCE_STATE_DONE); 71 state = ::base::subtle::Acquire_Load(once);
|
/external/chromium_org/base/android/ |
jni_android.cc | 143 base::subtle::AtomicWord* atomic_method_id) { 144 COMPILE_ASSERT(sizeof(subtle::AtomicWord) >= sizeof(jmethodID), 146 subtle::AtomicWord value = base::subtle::Acquire_Load(atomic_method_id); 150 base::subtle::Release_Store( 151 atomic_method_id, reinterpret_cast<subtle::AtomicWord>(id)); 166 const char* jni_signature, base::subtle::AtomicWord* atomic_method_id); 170 const char* jni_signature, base::subtle::AtomicWord* atomic_method_id);
|
/external/chromium_org/ppapi/thunk/ |
enter.h | 44 namespace subtle { namespace in namespace:ppapi::thunk 168 } // namespace subtle 174 : public subtle::LockOnEntry<lock_on_entry>, // Must be first; see above. 175 public subtle::EnterBase { 226 : public subtle::LockOnEntry<true>, // Must be first; see above. 227 public subtle::EnterBase { 244 : public subtle::LockOnEntry<false>, // Must be first; see above. 245 public subtle::EnterBase { 262 : public subtle::LockOnEntry<lock_on_entry>, // Must be first; see above 263 public subtle::EnterBase [all...] |
/external/chromium_org/chrome/browser/metrics/ |
thread_watcher_unittest.cc | 67 base::subtle::Atomic32 success_response_; 68 base::subtle::Atomic32 failed_response_; 150 base::subtle::Release_Store(&success_response_, 151 base::subtle::Acquire_Load(&success_response_) + 1); 154 base::subtle::Release_Store(&failed_response_, 155 base::subtle::Acquire_Load(&failed_response_) + 1); 478 EXPECT_GT(base::subtle::NoBarrier_Load(&(io_watcher_->success_response_)), 479 static_cast<base::subtle::Atomic32>(0)); 480 EXPECT_EQ(base::subtle::NoBarrier_Load(&(io_watcher_->failed_response_)), 481 static_cast<base::subtle::Atomic32>(0)) [all...] |
/external/chromium_org/base/prefs/ |
scoped_user_pref_update.h | 26 namespace subtle { namespace 59 } // namespace subtle 67 class ScopedUserPrefUpdate : public subtle::ScopedUserPrefUpdateBase {
|