Lines Matching refs:base
8 #include "src/base/atomicops.h"
33 mutex_ = new base::Mutex;
40 base::MutexGuard guard(mutex_);
85 base::Atomic32* freelist_head_ptr =
86 reinterpret_cast<base::Atomic32*>(&freelist_head_);
96 uint32_t freelist_head = base::Acquire_Load(freelist_head_ptr);
100 base::MutexGuard guard(mutex_);
103 freelist_head = base::Relaxed_Load(freelist_head_ptr);
118 uint32_t old_val = base::Relaxed_CompareAndSwap(
128 STATIC_ASSERT(sizeof(base::Atomic64) == sizeof(Address));
130 base::Atomic64 old_val = load_atomic(index);
132 base::Atomic64 new_val = set_mark_bit(old_val);
138 base::Atomic64* ptr = reinterpret_cast<base::Atomic64*>(entry_address(index));
139 base::Atomic64 val = base::Relaxed_CompareAndSwap(ptr, old_val, new_val);