HomeSort by relevance Sort by last modified time
    Searched refs:Lock (Results 101 - 125 of 957) sorted by null

1 2 3 45 6 7 8 91011>>

  /external/chromium/base/threading/
worker_pool_posix_unittest.cc 10 #include "base/synchronization/lock.h"
24 Lock* lock() { return &pool_->lock_; } function in class:base::PosixDynamicThreadPool::PosixDynamicThreadPoolPeer
53 IncrementingTask(Lock* counter_lock,
55 Lock* unique_threads_lock,
74 Lock* counter_lock_;
75 Lock* unique_threads_lock_;
86 BlockingIncrementingTask(Lock* counter_lock,
88 Lock* unique_threads_lock,
90 Lock* num_waiting_to_start_lock
    [all...]
worker_pool_posix.h 35 #include "base/synchronization/lock.h"
71 Lock lock_; // Protects all the variables below.
  /external/chromium_org/content/browser/gamepad/
gamepad_provider.h 17 #include "base/synchronization/lock.h"
82 base::Lock is_paused_lock_;
95 base::Lock user_gesture_lock_;
112 base::Lock devices_changed_lock_;
  /external/chromium_org/crypto/
nss_util.h 14 class Lock;
151 // writes to the NSS databases with a global lock. The lock is hidden beneath a
156 base::Lock* GetNSSWriteLock();
158 // A helper class that acquires the NSS write Lock while the AutoNSSWriteLock
165 base::Lock *lock_;
  /external/compiler-rt/lib/sanitizer_common/
sanitizer_mutex.h 29 void Lock() {
74 void Lock();
87 mu_->Lock();
  /external/llvm/lib/IR/
LeakDetector.cpp 33 sys::SmartScopedLock<true> Lock(*ObjectsLock);
43 sys::SmartScopedLock<true> Lock(*ObjectsLock);
55 sys::SmartScopedLock<true> Lock(*ObjectsLock);
PassRegistry.cpp 39 static ManagedStatic<sys::SmartRWMutex<true> > Lock;
76 sys::SmartScopedWriter<true> Guard(*Lock);
88 sys::SmartScopedReader<true> Guard(*Lock);
95 sys::SmartScopedReader<true> Guard(*Lock);
107 sys::SmartScopedWriter<true> Guard(*Lock);
124 sys::SmartScopedWriter<true> Guard(*Lock);
136 sys::SmartScopedReader<true> Guard(*Lock);
164 sys::SmartScopedWriter<true> Guard(*Lock);
190 sys::SmartScopedWriter<true> Guard(*Lock);
196 sys::SmartScopedWriter<true> Guard(*Lock);
    [all...]
  /frameworks/av/services/camera/libcameraservice/common/
Camera2ClientBase.h 88 class Lock {
90 Lock(SharedCameraCallbacks &client);
91 ~Lock();
  /external/valgrind/unittest/
demo_tests.cc 47 MutexLock lock(&mu1); // Correct Mutex.
52 MutexLock lock(&mu2); // Wrong Mutex.
81 MU1.Lock(); CHECK(GLOB >= 0); MU1.Unlock();
84 // Here we used the wrong lock! The reason of the race is here.
85 MU2.Lock(); CHECK(GLOB >= 0); MU2.Unlock();
89 MU1.Lock(); CHECK(GLOB >= 0); MU1.Unlock();
93 MU1.Lock(); GLOB++; MU1.Unlock();
118 void Worker2() { MU.Lock(); GLOB=1; MU.Unlock();}
139 MU.Lock(); CHECK(STR->length() >= 4); MU.Unlock();
149 MU.Lock(); CHECK(STR->length() >= 4); MU.Unlock()
271 static Mutex lock; member in namespace:test308
    [all...]
  /external/chromium_org/third_party/tcmalloc/chromium/src/base/
simple_mutex.h 72 // look at the bool, and not try to lock/unlock until the bool makes
79 // state between a call to Lock() and a call to Unlock() (that would
80 // require a global constructor in one translation unit to call Lock()
110 typedef int MutexType; // to keep a lock-count
164 inline void Lock(); // Block if needed until free then acquire exclusively
165 inline void Unlock(); // Release a lock acquired via Lock()
166 inline bool TryLock(); // If free, Lock() and return true, else return false
168 // be implemented as synonyms to Lock() and Unlock(). So you can use
173 inline void WriterLock() { Lock(); } // Acquire an exclusive loc
    [all...]
  /external/chromium_org/third_party/tcmalloc/vendor/src/base/
simple_mutex.h 72 // look at the bool, and not try to lock/unlock until the bool makes
79 // state between a call to Lock() and a call to Unlock() (that would
80 // require a global constructor in one translation unit to call Lock()
110 typedef int MutexType; // to keep a lock-count
164 inline void Lock(); // Block if needed until free then acquire exclusively
165 inline void Unlock(); // Release a lock acquired via Lock()
166 inline bool TryLock(); // If free, Lock() and return true, else return false
168 // be implemented as synonyms to Lock() and Unlock(). So you can use
173 inline void WriterLock() { Lock(); } // Acquire an exclusive loc
    [all...]
  /external/open-vcdiff/gflags/src/
mutex.h 80 // look at the bool, and not try to lock/unlock until the bool makes
87 // state between a call to Lock() and a call to Unlock() (that would
88 // require a global constructor in one translation unit to call Lock()
118 typedef int MutexType; // to keep a lock-count
172 inline void Lock(); // Block if needed until free then acquire exclusively
173 inline void Unlock(); // Release a lock acquired via Lock()
175 inline bool TryLock(); // If free, Lock() and return true, else return false
178 // be implemented as synonyms to Lock() and Unlock(). So you can use
183 inline void WriterLock() { Lock(); } // Acquire an exclusive loc
    [all...]
  /external/valgrind/main/helgrind/tests/
locked_vs_unlocked2.stderr.exp 19 Lock at 0x........ was first observed
23 Lock at 0x........ was first observed
27 Lock at 0x........ was first observed
  /development/host/windows/usb/api/
adb_object_handle.cpp 67 // We have to hold this lock while we're dealing with the handle
69 the_map_locker.Lock();
106 the_map_locker.Lock();
151 the_map_locker.Lock();
  /packages/apps/Camera2/src/com/android/camera/tinyplanet/
TinyPlanetPreview.java 26 import java.util.concurrent.locks.Lock;
47 private Lock mLock;
66 public void setBitmap(Bitmap preview, Lock lock) {
68 mLock = lock;
  /external/chromium/base/
at_exit.h 13 #include "base/synchronization/lock.h"
19 // happen at a really bad time and under the loader lock. This facility is
64 base::Lock lock_;
  /external/chromium/chrome/browser/hang_monitor/
hung_window_detector.h 9 #include "base/synchronization/lock.h"
84 base::Lock hang_detection_lock_;
  /external/chromium/chrome/browser/importer/
firefox_profile_lock.cc 60 FILE_PATH_LITERAL("parent.lock");
66 FILE_PATH_LITERAL("lock");
69 FILE_PATH_LITERAL("parent.lock");
75 Lock();
80 // with no UI to jank, it's ok to allow deletion of the lock here.
firefox_profile_lock_unittest.cc 30 lock1.Lock();
34 // Tests basic functionality and verifies that the lock file is deleted after
44 scoped_ptr<FirefoxProfileLock> lock; local
45 EXPECT_EQ(static_cast<FirefoxProfileLock*>(NULL), lock.get());
47 lock.reset(new FirefoxProfileLock(test_path));
48 EXPECT_TRUE(lock->HasAcquired());
50 lock->Unlock();
51 EXPECT_FALSE(lock->HasAcquired());
53 // In the posix code, we don't delete the file when releasing the lock.
57 lock->Lock()
86 scoped_ptr<FirefoxProfileLock> lock; local
    [all...]
  /external/chromium/chrome/browser/sync/util/
extensions_activity_monitor.h 12 #include "base/synchronization/lock.h"
65 mutable base::Lock records_lock_;
  /external/chromium/chrome/common/
worker_thread_ticker.h 11 #include "base/synchronization/lock.h"
76 // Lock to protect is_running_ and tick_handler_list_
77 base::Lock lock_;
  /external/chromium/net/socket_stream/
socket_stream_job_manager.h 38 mutable base::Lock lock_;
  /external/chromium_org/base/test/
sequenced_worker_pool_owner.h 15 #include "base/synchronization/lock.h"
53 mutable Lock has_work_lock_;
  /external/chromium_org/base/threading/
worker_pool_posix.h 37 #include "base/synchronization/lock.h"
80 Lock lock_; // Protects all the variables below.
  /external/chromium_org/chrome/browser/
chrome_browser_application_mac.h 16 #include "base/synchronization/lock.h"
30 base::Lock previousKeyWindowsLock_;

Completed in 3068 milliseconds

1 2 3 45 6 7 8 91011>>