/third_party/cef/include/base/ |
D | cef_lock.h | 62 Lock() : lock_() {} in Lock() 64 void Acquire() { lock_.Lock(); } in Acquire() 65 void Release() { lock_.Unlock(); } in Release() 71 bool Try() { return lock_.Try(); } in Try() 83 lock_.Lock(); 88 lock_.Unlock(); 92 bool rv = lock_.Try(); 118 LockImpl lock_; variable 128 explicit AutoLock(Lock& lock) : lock_(lock) { lock_.Acquire(); } in AutoLock() 130 AutoLock(Lock& lock, const AlreadyAcquired&) : lock_(lock) { in AutoLock() [all …]
|
/third_party/cef/libcef/common/ |
D | drag_data_impl.cc | 37 base::AutoLock lock_scope(lock_); in Clone() 44 base::AutoLock lock_scope(lock_); in IsReadOnly() 49 base::AutoLock lock_scope(lock_); in IsLink() 55 base::AutoLock lock_scope(lock_); in IsFragment() 62 base::AutoLock lock_scope(lock_); in IsFile() 68 base::AutoLock lock_scope(lock_); in GetLinkURL() 73 base::AutoLock lock_scope(lock_); in GetLinkTitle() 78 base::AutoLock lock_scope(lock_); in GetLinkMetadata() 83 base::AutoLock lock_scope(lock_); in GetFragmentText() 88 base::AutoLock lock_scope(lock_); in GetFragmentHtml() [all …]
|
D | response_impl.cc | 41 base::AutoLock lock_scope(lock_); in IsReadOnly() 46 base::AutoLock lock_scope(lock_); in GetError() 51 base::AutoLock lock_scope(lock_); in SetError() 57 base::AutoLock lock_scope(lock_); in GetStatus() 62 base::AutoLock lock_scope(lock_); in SetStatus() 68 base::AutoLock lock_scope(lock_); in GetStatusText() 73 base::AutoLock lock_scope(lock_); in SetStatusText() 79 base::AutoLock lock_scope(lock_); in GetMimeType() 84 base::AutoLock lock_scope(lock_); in SetMimeType() 90 base::AutoLock lock_scope(lock_); in GetCharset() [all …]
|
D | request_impl.cc | 249 base::AutoLock lock_scope(lock_); in CefRequestImpl() 254 base::AutoLock lock_scope(lock_); in IsReadOnly() 259 base::AutoLock lock_scope(lock_); in GetURL() 264 base::AutoLock lock_scope(lock_); in SetURL() 274 base::AutoLock lock_scope(lock_); in GetMethod() 279 base::AutoLock lock_scope(lock_); in SetMethod() 290 base::AutoLock lock_scope(lock_); in SetReferrer() 308 base::AutoLock lock_scope(lock_); in GetReferrerURL() 313 base::AutoLock lock_scope(lock_); in GetReferrerPolicy() 318 base::AutoLock lock_scope(lock_); in GetPostData() [all …]
|
/third_party/flutter/skia/third_party/externals/sfntly/cpp/src/test/ |
D | lock_test.cc | 29 BasicLockTestThread(Lock* lock) : lock_(lock), acquired_(0) {} in BasicLockTestThread() 33 lock_->Acquire(); in ThreadMain() 35 lock_->Unlock(); in ThreadMain() 38 lock_->Acquire(); in ThreadMain() 41 lock_->Unlock(); in ThreadMain() 44 if (lock_->Try()) { in ThreadMain() 47 lock_->Unlock(); in ThreadMain() 55 Lock* lock_; member in sfntly::BasicLockTestThread 106 TryLockTestThread(Lock* lock) : lock_(lock), got_lock_(false) {} in TryLockTestThread() 109 got_lock_ = lock_->Try(); in ThreadMain() [all …]
|
/third_party/skia/third_party/externals/sfntly/cpp/src/test/ |
D | lock_test.cc | 29 BasicLockTestThread(Lock* lock) : lock_(lock), acquired_(0) {} in BasicLockTestThread() 33 lock_->Acquire(); in ThreadMain() 35 lock_->Unlock(); in ThreadMain() 38 lock_->Acquire(); in ThreadMain() 41 lock_->Unlock(); in ThreadMain() 44 if (lock_->Try()) { in ThreadMain() 47 lock_->Unlock(); in ThreadMain() 55 Lock* lock_; member in sfntly::BasicLockTestThread 106 TryLockTestThread(Lock* lock) : lock_(lock), got_lock_(false) {} in TryLockTestThread() 109 got_lock_ = lock_->Try(); in ThreadMain() [all …]
|
/third_party/skia/third_party/externals/abseil-cpp/absl/flags/internal/ |
D | sequence_lock.h | 60 constexpr SequenceLock() : lock_(kUninitialized) {} in SequenceLock() 64 assert(lock_.load(std::memory_order_relaxed) == kUninitialized); in MarkInitialized() 65 lock_.store(0, std::memory_order_release); in MarkInitialized() 83 int64_t seq_before = lock_.load(std::memory_order_acquire); in TryRead() 89 int64_t seq_after = lock_.load(std::memory_order_relaxed); in TryRead() 104 int64_t orig_seq = lock_.load(std::memory_order_relaxed); in Write() 106 lock_.store(orig_seq + 1, std::memory_order_relaxed); in Write() 117 lock_.store(orig_seq + 2, std::memory_order_release); in Write() 126 int64_t val = lock_.load(std::memory_order_relaxed); in ModificationCount() 135 int64_t val = lock_.load(std::memory_order_relaxed); in IncrementModificationCount() [all …]
|
/third_party/cef/libcef/browser/ |
D | stream_impl.cc | 75 base::AutoLock lock_scope(lock_); in ~CefFileReader() 81 base::AutoLock lock_scope(lock_); in Read() 86 base::AutoLock lock_scope(lock_); in Seek() 95 base::AutoLock lock_scope(lock_); in Tell() 104 base::AutoLock lock_scope(lock_); in Eof() 114 base::AutoLock lock_scope(lock_); in ~CefFileWriter() 120 base::AutoLock lock_scope(lock_); in Write() 125 base::AutoLock lock_scope(lock_); in Seek() 130 base::AutoLock lock_scope(lock_); in Tell() 135 base::AutoLock lock_scope(lock_); in Flush() [all …]
|
D | image_impl.cc | 80 base::AutoLock lock_scope(lock_); in IsEmpty() 93 base::AutoLock lock_scope(lock_); in IsSame() 150 base::AutoLock lock_scope(lock_); in GetWidth() 155 base::AutoLock lock_scope(lock_); in GetHeight() 160 base::AutoLock lock_scope(lock_); in HasRepresentation() 165 base::AutoLock lock_scope(lock_); in RemoveRepresentation() 178 base::AutoLock lock_scope(lock_); in GetRepresentationInfo() 201 base::AutoLock lock_scope(lock_); in GetAsBitmap() 229 base::AutoLock lock_scope(lock_); in GetAsPNG() 248 base::AutoLock lock_scope(lock_); in GetAsJPEG() [all …]
|
D | browser_info.cc | 38 base::AutoLock lock_scope(lock_); in browser() 43 base::AutoLock lock_scope(lock_); in SetBrowser() 71 base::AutoLock lock_scope(lock_); in MaybeCreateFrame() 147 base::AutoLock lock_scope(lock_); in RemoveFrame() 182 base::AutoLock lock_scope(lock_); in GetMainFrame() 237 base::AutoLock lock_scope(lock_); in GetFrameForId() 286 base::AutoLock lock_scope(lock_); in GetFrameForFrameTreeNode() 291 base::AutoLock lock_scope(lock_); in GetAllFrames() 332 lock_.AssertAcquired(); in MaybeUpdateFrameTreeNodeIdMap() 362 lock_.AssertAcquired(); in GetFrameForFrameTreeNodeInternal() [all …]
|
/third_party/gn/src/gn/ |
D | scheduler.cc | 31 std::lock_guard<std::mutex> lock(lock_); in Run() 48 std::lock_guard<std::mutex> lock(lock_); in FailWithError() 72 std::lock_guard<std::mutex> lock(lock_); in AddGenDependency() 77 std::lock_guard<std::mutex> lock(lock_); in GetGenDependencies() 82 std::lock_guard<std::mutex> lock(lock_); in AddWrittenFile() 88 std::lock_guard<std::mutex> lock(lock_); in AddUnknownGeneratedInput() 93 std::lock_guard<std::mutex> lock(lock_); in AddWriteRuntimeDepsTarget() 98 std::lock_guard<std::mutex> lock(lock_); in GetWriteRuntimeDepsTargets() 104 std::lock_guard<std::mutex> lock(lock_); in IsFileGeneratedByWriteRuntimeDeps() 115 std::lock_guard<std::mutex> lock(lock_); in AddGeneratedFile() [all …]
|
D | input_file_manager.cc | 22 ScopedUnlock(std::unique_lock<std::mutex>& lock) : lock_(lock) { in ScopedUnlock() 23 lock_.unlock(); in ScopedUnlock() 25 ~ScopedUnlock() { lock_.lock(); } in ~ScopedUnlock() 28 std::unique_lock<std::mutex>& lock_; member 115 std::lock_guard<std::mutex> lock(lock_); in AsyncLoadFile() 168 std::unique_lock<std::mutex> lock(lock_); in SyncLoadFile() 249 std::lock_guard<std::mutex> lock(lock_); in AddDynamicInput() 255 std::lock_guard<std::mutex> lock(lock_); in GetInputFileCount() 261 std::lock_guard<std::mutex> lock(lock_); in GetAllPhysicalInputFileNames() 296 std::lock_guard<std::mutex> lock(lock_); in LoadFile()
|
/third_party/cef/libcef_dll/wrapper/ |
D | cef_xml_object.cc | 215 base::AutoLock lock_scope(lock_); in Duplicate() 230 base::AutoLock lock_scope(lock_); in GetName() 241 base::AutoLock lock_scope(lock_); in SetName() 247 base::AutoLock lock_scope(lock_); in HasParent() 254 base::AutoLock lock_scope(lock_); in GetParent() 261 base::AutoLock lock_scope(lock_); in HasValue() 268 base::AutoLock lock_scope(lock_); in GetValue() 275 base::AutoLock lock_scope(lock_); in SetValue() 284 base::AutoLock lock_scope(lock_); in HasAttributes() 289 base::AutoLock lock_scope(lock_); in GetAttributeCount() [all …]
|
D | cef_zip_archive.cc | 76 base::AutoLock lock_scope(lock_); in Load() 132 base::AutoLock lock_scope(lock_); in Clear() 137 base::AutoLock lock_scope(lock_); in GetFileCount() 142 base::AutoLock lock_scope(lock_); in HasFile() 149 base::AutoLock lock_scope(lock_); in GetFile() 157 base::AutoLock lock_scope(lock_); in RemoveFile() 167 base::AutoLock lock_scope(lock_); in GetFiles()
|
D | cef_byte_read_handler.cc | 17 base::AutoLock lock_scope(lock_); in Read() 27 base::AutoLock lock_scope(lock_); in Seek() 59 base::AutoLock lock_scope(lock_); in Tell() 64 base::AutoLock lock_scope(lock_); in Eof()
|
/third_party/skia/third_party/externals/sfntly/cpp/src/sfntly/port/ |
D | lock.h | 61 explicit AutoLock(Lock& lock) : lock_(lock) { in AutoLock() 62 lock_.Acquire(); in AutoLock() 66 lock_.Unlock(); in ~AutoLock() 70 Lock& lock_;
|
/third_party/flutter/skia/third_party/externals/sfntly/cpp/src/sfntly/port/ |
D | lock.h | 61 explicit AutoLock(Lock& lock) : lock_(lock) { in AutoLock() 62 lock_.Acquire(); in AutoLock() 66 lock_.Unlock(); in ~AutoLock() 70 Lock& lock_;
|
/third_party/json/benchmarks/thirdparty/benchmark/src/ |
D | mutex.h | 104 bool wait() EXCLUDES(lock_) { in wait() 107 MutexLock ml(lock_); in wait() 114 void removeThread() EXCLUDES(lock_) { in removeThread() 115 MutexLock ml(lock_); in removeThread() 121 Mutex lock_; 132 bool createBarrier(MutexLock& ml) REQUIRES(lock_) { in createBarrier()
|
/third_party/benchmark/src/ |
D | mutex.h | 104 bool wait() EXCLUDES(lock_) { in wait() 107 MutexLock ml(lock_); in wait() 114 void removeThread() EXCLUDES(lock_) { in removeThread() 115 MutexLock ml(lock_); in removeThread() 121 Mutex lock_; 132 bool createBarrier(MutexLock& ml) REQUIRES(lock_) { in createBarrier()
|
/third_party/libphonenumber/cpp/src/phonenumbers/base/synchronization/ |
D | lock.h | 101 AutoLock(Lock& lock) : lock_(lock) { in AutoLock() 102 lock_.Acquire(); in AutoLock() 106 lock_.Release(); in ~AutoLock() 110 Lock& lock_;
|
/third_party/abseil-cpp/absl/synchronization/ |
D | blocking_counter.cc | 28 MutexLock l(&lock_); in DecrementCount() 40 MutexLock l(&this->lock_); in Wait() 48 this->lock_.Await(Condition(IsZero, &this->count_)); in Wait()
|
D | barrier.h | 72 Mutex lock_; 73 int num_to_block_ ABSL_GUARDED_BY(lock_); 74 int num_to_exit_ ABSL_GUARDED_BY(lock_);
|
D | blocking_counter.h | 91 Mutex lock_; 92 int count_ ABSL_GUARDED_BY(lock_); 93 int num_waiting_ ABSL_GUARDED_BY(lock_);
|
/third_party/skia/third_party/externals/abseil-cpp/absl/synchronization/ |
D | blocking_counter.h | 92 Mutex lock_; 94 int num_waiting_ ABSL_GUARDED_BY(lock_); 95 bool done_ ABSL_GUARDED_BY(lock_);
|
D | barrier.h | 72 Mutex lock_; 73 int num_to_block_ ABSL_GUARDED_BY(lock_); 74 int num_to_exit_ ABSL_GUARDED_BY(lock_);
|