/external/sfntly/cpp/src/test/ |
lock_test.cc | 20 #include "sfntly/port/lock.h" 29 BasicLockTestThread(Lock* lock) : lock_(lock), acquired_(0) {} 55 Lock* lock_; 62 Lock lock; local 63 BasicLockTestThread thread(&lock); 70 lock.Acquire(); 72 lock.Unlock() 124 Lock lock; local 190 Lock lock; local 207 Lock lock; local [all...] |
/external/compiler-rt/lib/ |
atomic.c | 20 * To avoid needing a per-object lock, this code allocates an array of 22 * For operations that must be atomic on two locations, the lower lock is 55 // Platform-specific lock implementation. Falls back to spinlocks if none is 56 // defined. Each platform should define the Lock type, and corresponding 57 // lock() and unlock() functions. 64 typedef struct _usem Lock; 65 inline static void unlock(Lock *l) { 71 inline static void lock(Lock *l) { function 80 static Lock locks[SPINLOCK_COUNT] = { [0 ... SPINLOCK_COUNT-1] = {0,1,0} } 90 inline static void lock(Lock *l) { function 103 inline static void lock(Lock *l) { function [all...] |
/external/clang/test/SemaCXX/ |
warn-thread-safety-analysis.cpp | 32 void Lock() __attribute__((exclusive_lock_function)); 64 // The universal lock, written "*", allows checking to be selectively turned 116 sls_mw.mu.Lock(); 122 sls_mu.Lock(); 128 sls_mu.Lock(); 134 sls_mu2.Lock(); 140 sls_mu.Lock(); 146 sls_mu.Lock(); 152 sls_mu.Lock(); 153 sls_mu2.Lock(); 3671 void Foo::lock() { mu1_.Lock(); mu2_.Lock(); } function in class:MultipleAttributeTest::Foo [all...] |
/development/host/windows/usb/api/ |
adb_api_instance.cpp | 36 adb_app_instance_map_locker.Lock();
|
/external/chromium/base/synchronization/ |
condition_variable.h | 79 #include "base/synchronization/lock.h" 87 // Construct a cv for use with ONLY one user lock. 88 explicit ConditionVariable(Lock* user_lock); 109 // All calls to methods MUST be done under protection of a lock so that links 110 // can be validated. Without the lock, some links might asynchronously 160 base::Lock internal_lock_; 162 // Lock that is acquired before calling Wait(). 163 base::Lock& user_lock_; 180 base::Lock* user_lock_; // Needed to adjust shadow lock state on wait [all...] |
lock_impl_win.cc | 27 void LockImpl::Lock() {
|
/external/chromium/base/third_party/dmg_fp/ |
dtoa_wrapper.cc | 7 #include "base/synchronization/lock.h" 11 // A single lock would lead to an attempted recursive grab. 12 static base::Lock dtoa_locks[2]; 21 * by FREE_DTOA_LOCK(n) for n = 0 or 1. (The second lock, accessed 23 * powers of 5; omitting this lock would introduce a small
|
/external/chromium/chrome/browser/importer/ |
firefox_profile_lock_win.cc | 58 void FirefoxProfileLock::Lock() {
|
/external/chromium_org/base/power_monitor/ |
power_monitor_source.h | 12 #include "base/synchronization/lock.h" 56 // This lock guards access to on_battery_power_, to ensure that 58 Lock battery_lock_;
|
/external/chromium_org/base/ |
sequence_checker_impl.h | 10 #include "base/synchronization/lock.h" 39 mutable Lock lock_;
|
/external/chromium_org/base/synchronization/ |
lock_impl.h | 22 // This class implements the underlying platform-specific spin-lock mechanism 23 // used for the Lock class. Most users should not use LockImpl directly, but 24 // should instead use Lock. 36 // If the lock is not held, take it and return true. If the lock is already 40 // Take the lock, blocking until it is available if necessary. 41 void Lock(); 43 // Release the lock. This must only be called by the lock's holder: after 44 // a successful call to Try, or a call to Lock [all...] |
lock_impl_win.cc | 27 void LockImpl::Lock() {
|
/external/chromium_org/chrome/browser/importer/ |
firefox_profile_lock_win.cc | 58 void FirefoxProfileLock::Lock() {
|
/external/chromium_org/chrome/browser/media_galleries/fileapi/ |
media_path_filter.h | 11 #include "base/synchronization/lock.h" 33 base::Lock initialization_lock_;
|
/external/chromium_org/net/disk_cache/ |
file_lock.cc | 33 void FileLock::Lock() {
|
/external/chromium_org/net/tools/gdig/ |
file_net_log.h | 11 #include "base/synchronization/lock.h" 30 base::Lock lock_;
|
/external/chromium_org/remoting/base/ |
running_average.h | 11 #include "base/synchronization/lock.h" 36 base::Lock lock_;
|
/external/chromium_org/third_party/leveldatabase/src/util/ |
mutexlock.h | 27 this->mu_->Lock();
|
/external/chromium_org/tools/gn/ |
import_manager.h | 10 #include "base/synchronization/lock.h" 32 base::Lock lock_;
|
/external/chromium_org/v8/test/cctest/ |
test-lock.cc | 28 // Tests of the TokenLock class from lock.h 44 CHECK_EQ(0, mutex->Lock()); // acquire the lock with the right token 52 CHECK_EQ(0, mutex->Lock()); 60 CHECK_EQ(0, mutex->Lock()); 62 CHECK_EQ(0, mutex->Lock());
|
/external/compiler-rt/lib/tsan/tests/rtl/ |
tsan_mutex.cc | 27 t.Lock(m); 33 t.Lock(m); 45 t.Lock(m); 51 t.Lock(m); 63 t.Lock(m); 69 t.Lock(m); 79 t.Lock(m); 102 t1.Lock(m); 105 t2.Lock(m); 118 t1.Lock(m) [all...] |
/external/lzma/CPP/7zip/Common/ |
VirtThread.h | 19 void WaitFinish() { FinishedEvent.Lock(); }
|
/external/qemu/distrib/sdl-1.2.15/src/video/ |
SDL_yuvfuncs.h | 33 int (*Lock)(_THIS, SDL_Overlay *overlay);
|
/external/v8/test/cctest/ |
test-lock.cc | 3 // Tests of the TokenLock class from lock.h 19 CHECK_EQ(0, mutex->Lock()); // acquire the lock with the right token 27 CHECK_EQ(0, mutex->Lock()); 35 CHECK_EQ(0, mutex->Lock()); 37 CHECK_EQ(0, mutex->Lock());
|
/frameworks/ex/variablespeed/jni/ |
no_synchronization.h | 33 void Lock() {}
|