Lines Matching refs:Lock
12 #include "base/synchronization/lock.h"
70 COMPILE_ASSERT(sizeof(base::Lock) <= sizeof(fStorage), Lock_is_too_big_for_SkMutex);
71 base::Lock* lock = reinterpret_cast<base::Lock*>(fStorage);
72 new(lock) base::Lock();
76 base::Lock* lock = reinterpret_cast<base::Lock*>(fStorage);
77 lock->~Lock();
81 base::Lock* lock = reinterpret_cast<base::Lock*>(fStorage);
82 lock->Acquire();
86 base::Lock* lock = reinterpret_cast<base::Lock*>(fStorage);
87 lock->Release();