/third_party/node/deps/npm/node_modules/lockfile/test/ |
D | basic.js | 67 lockFile.check('basic-lock', function (er, locked) { argument 69 t.notOk(locked) 74 lockFile.check('basic-lock', function (er, locked) { argument 76 t.ok(locked) 79 lockFile.check('basic-lock', function (er, locked) { argument 81 t.notOk(locked) 92 var locked 93 locked = lockFile.checkSync('sync-lock') 94 t.notOk(locked) 96 locked = lockFile.checkSync('sync-lock') [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/include/llvm/Support/ |
D | UniqueLock.h | 30 bool locked; variable 35 unique_lock() : M(nullptr), locked(false) {} in unique_lock() 36 explicit unique_lock(MutexT &m) : M(&m), locked(true) { M->lock(); } in unique_lock() 42 locked = o.locked; 44 o.locked = false; 50 assert(!locked && "mutex already locked!"); in lock() 53 locked = true; in lock() 57 assert(locked && "unlocking a mutex that isn't locked!"); in unlock() 60 locked = false; in unlock() 63 bool owns_lock() { return locked; } in owns_lock()
|
/third_party/python/Python/ |
D | ceval_gil.h | 96 gil->locked = uninitialized; in _gil_initialize() 102 return (_Py_atomic_load_explicit(&gil->locked, _Py_memory_order_acquire) >= 0); in gil_created() 116 _Py_ANNOTATE_RWLOCK_CREATE(&gil->locked); in create_gil() 117 _Py_atomic_store_explicit(&gil->locked, 0, _Py_memory_order_release); in create_gil() 131 _Py_atomic_store_explicit(&gil->locked, -1, in destroy_gil() 133 _Py_ANNOTATE_RWLOCK_DESTROY(&gil->locked); in destroy_gil() 138 _Py_ANNOTATE_RWLOCK_DESTROY(&gil->locked); in recreate_gil() 152 if (!_Py_atomic_load_relaxed(&gil->locked)) { in drop_gil() 165 _Py_ANNOTATE_RWLOCK_RELEASED(&gil->locked, /*is_write=*/1); in drop_gil() 166 _Py_atomic_store_relaxed(&gil->locked, 0); in drop_gil() [all …]
|
D | thread_nt.h | 31 int locked; member 47 m->locked = 0; in AllocNonRecursiveMutex() 71 while (mutex->locked) { in EnterNonRecursiveMutex() 85 while (mutex->locked) { in EnterNonRecursiveMutex() 97 if (!mutex->locked) { in EnterNonRecursiveMutex() 98 mutex->locked = 1; in EnterNonRecursiveMutex() 113 mutex->locked = 0; in LeaveNonRecursiveMutex()
|
D | thread_pthread.h | 202 char locked; /* 0=unlocked, 1=locked */ member 585 lock->locked = 0; in PyThread_allocate_lock() 651 if (thelock->locked == 0) { in PyThread_acquire_lock_timed() 682 if (intr_flag && status == 0 && thelock->locked) { in PyThread_acquire_lock_timed() 689 else if (status == 0 && !thelock->locked) { in PyThread_acquire_lock_timed() 694 if (success == PY_LOCK_ACQUIRED) thelock->locked = 1; in PyThread_acquire_lock_timed() 717 thelock->locked = 0; in PyThread_release_lock()
|
/third_party/mesa3d/src/mesa/main/ |
D | hash.h | 197 void *userData, bool locked) in _mesa_HashWalkMaybeLocked() argument 199 if (locked) in _mesa_HashWalkMaybeLocked() 207 bool locked) in _mesa_HashLookupMaybeLocked() argument 209 if (locked) in _mesa_HashLookupMaybeLocked() 218 bool locked) in _mesa_HashInsertMaybeLocked() argument 220 if (locked) in _mesa_HashInsertMaybeLocked() 227 _mesa_HashLockMaybeLocked(struct _mesa_HashTable *table, bool locked) in _mesa_HashLockMaybeLocked() argument 229 if (!locked) in _mesa_HashLockMaybeLocked() 234 _mesa_HashUnlockMaybeLocked(struct _mesa_HashTable *table, bool locked) in _mesa_HashUnlockMaybeLocked() argument 236 if (!locked) in _mesa_HashUnlockMaybeLocked()
|
/third_party/python/Lib/test/test_asyncio/ |
D | test_locks.py | 47 self.assertFalse(lock.locked()) 80 self.assertFalse(lock.locked()) 87 self.assertFalse(lock.locked()) 91 self.assertFalse(lock.locked()) 182 self.assertTrue(lock.locked()) 196 self.assertFalse(lock.locked()) 250 self.assertTrue(lock.locked()) 263 self.assertTrue(lock.locked()) 277 self.assertTrue(lock.locked()) 280 self.assertFalse(lock.locked()) [all …]
|
D | test_pep492.py | 55 self.assertFalse(lock.locked()) 58 self.assertTrue(lock.locked()) 60 self.assertTrue(lock.locked()) 61 self.assertFalse(lock.locked()) 65 self.assertFalse(primitive.locked()) 77 self.assertFalse(lock.locked()) 87 self.assertFalse(primitive.locked())
|
/third_party/cef/libcef/common/ |
D | value_base.cc | 21 DCHECK(locked()); in SetOwner() 34 DCHECK(locked()); in AddReference() 50 DCHECK(locked()); in Remove() 87 DCHECK(locked()); in Get() 103 DCHECK(locked()); in AddDependency() 121 DCHECK(locked()); in RemoveDependencies() 165 DCHECK(locked()); in TakeFrom() 166 DCHECK(other->locked()); in TakeFrom() 204 DCHECK(locked()); in Swap()
|
D | value_base.h | 76 virtual bool locked() = 0; 162 bool locked() override { in locked() function 190 bool locked() override { return on_correct_thread(); } in locked() function 191 void AssertLockAcquired() override { DCHECK(locked()); } in AssertLockAcquired() 357 DCHECK(controller()->locked()); in OnControlRemoved() 373 DCHECK(controller()->locked()); in mutable_value() 379 DCHECK(controller()->locked()); in const_value() 386 DCHECK(controller()->locked()); in VerifyAccess()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/ExecutionEngine/MCJIT/ |
D | MCJIT.cpp | 91 std::lock_guard<sys::Mutex> locked(lock); in ~MCJIT() local 103 std::lock_guard<sys::Mutex> locked(lock); in addModule() local 112 std::lock_guard<sys::Mutex> locked(lock); in removeModule() local 139 std::lock_guard<sys::Mutex> locked(lock); in setObjectCache() local 146 std::lock_guard<sys::Mutex> locked(lock); in emitObject() local 188 std::lock_guard<sys::Mutex> locked(lock); in generateCodeForModule() local 237 std::lock_guard<sys::Mutex> locked(lock); in finalizeLoadedModules() local 253 std::lock_guard<sys::Mutex> locked(lock); in finalizeObject() local 268 std::lock_guard<sys::Mutex> locked(lock); in finalizeModule() local 295 std::lock_guard<sys::Mutex> locked(lock); in findModuleForSymbol() local [all …]
|
/third_party/python/Lib/asyncio/ |
D | locks.py | 88 def locked(self): member in Lock 236 self.locked = lock.locked 244 extra = 'locked' if self.locked() else 'unlocked' 260 if not self.locked(): 311 if not self.locked(): 356 extra = 'locked' if self.locked() else f'unlocked, value:{self._value}' 368 def locked(self): member in Semaphore
|
/third_party/ninja/src/ |
D | line_printer.cc | 149 void LinePrinter::SetConsoleLocked(bool locked) { in SetConsoleLocked() argument 150 if (locked == console_locked_) in SetConsoleLocked() 153 if (locked) in SetConsoleLocked() 156 console_locked_ = locked; in SetConsoleLocked() 158 if (!locked) { in SetConsoleLocked()
|
/third_party/python/Modules/ |
D | _queuemodule.c | 25 int locked; member 52 if (self->locked > 0) in simplequeue_dealloc() 125 if (self->locked) { in _queue_SimpleQueue_put_impl() 127 self->locked = 0; in _queue_SimpleQueue_put_impl() 260 self->locked = 1; in _queue_SimpleQueue_get_impl() 270 if (self->locked) { in _queue_SimpleQueue_get_impl() 272 self->locked = 0; in _queue_SimpleQueue_get_impl()
|
/third_party/skia/third_party/externals/abseil-cpp/absl/base/ |
D | spinlock_test_common.cc | 224 static void NotifyThenLock(Notification* locked, SpinLock* spinlock, in TEST() 226 locked->WaitForNotification(); // Wait for LockThenWait() to hold "s". in TEST() 231 static void LockThenWait(Notification* locked, SpinLock* spinlock, in TEST() 234 locked->Notify(); in TEST() 239 Notification locked; in TEST() local 244 std::thread(Helper::LockThenWait, &locked, spinlock, &counter)); in TEST() 247 std::thread(Helper::NotifyThenLock, &locked, spinlock, &counter)); in TEST()
|
/third_party/node/deps/npm/lib/utils/ |
D | locker.js | 47 var locked = installLocks[lf] 48 if (locked === false) { 50 } else if (locked === true) {
|
/third_party/python/Doc/library/ |
D | msvcrt.rst | 39 :exc:`OSError` on failure. The locked region of the file extends from the 42 regions in a file may be locked at the same time, but may not overlap. Adjacent 51 Locks the specified bytes. If the bytes cannot be locked, the program 53 be locked, :exc:`OSError` is raised. 59 Locks the specified bytes. If the bytes cannot be locked, :exc:`OSError` is 65 Unlocks the specified bytes, which must have been previously locked.
|
/third_party/skia/third_party/externals/opengl-registry/extensions/EXT/ |
D | EXT_compiled_vertex_array.txt | 37 command. If the vertex array data is locked while the DrawElements 46 elements which can be locked at a time (i.e. MAX_LOCKED_ARRAY_SIZE)? 53 the vertex array data is locked? 58 state while the vertex array data is locked. 78 The currently enabled vertex arrays can be locked with the command 79 LockArraysEXT. When the vertex arrays are locked, the GL
|
/third_party/openGLES/extensions/EXT/ |
D | EXT_compiled_vertex_array.txt | 37 command. If the vertex array data is locked while the DrawElements 46 elements which can be locked at a time (i.e. MAX_LOCKED_ARRAY_SIZE)? 53 the vertex array data is locked? 58 state while the vertex array data is locked. 78 The currently enabled vertex arrays can be locked with the command 79 LockArraysEXT. When the vertex arrays are locked, the GL
|
/third_party/pulseaudio/src/modules/gconf/ |
D | gconf-helper.c | 38 gboolean enabled, locked; in handle_module() local 42 locked = gconf_client_get_bool(client, p, FALSE); in handle_module() 44 if (locked) in handle_module()
|
/third_party/alsa-lib/src/pcm/ |
D | pcm_direct.h | 138 int locked[DIRECT_IPC_SEMS]; /* local lock counter */ member 285 dmix->locked[sem_num]++; in snd_pcm_direct_semaphore_down() 296 dmix->locked[sem_num]--; in snd_pcm_direct_semaphore_up() 304 if (dmix->locked[sem_num] != 1) { in snd_pcm_direct_semaphore_final() 305 SNDMSG("invalid semaphore count to finalize %d: %d", sem_num, dmix->locked[sem_num]); in snd_pcm_direct_semaphore_final()
|
/third_party/python/Lib/test/ |
D | test_contextlib.py | 340 def boilerPlate(self, lock, locked): argument 341 self.assertFalse(locked()) 343 self.assertTrue(locked()) 344 self.assertFalse(locked()) 347 self.assertTrue(locked()) 349 self.assertFalse(locked()) 353 self.boilerPlate(lock, lock.locked) 361 def locked(): function 363 self.boilerPlate(lock, locked) 367 def locked(): function [all …]
|
/third_party/skia/third_party/externals/egl-registry/extensions/KHR/ |
D | EGL_KHR_lock_surface.txt | 129 Finally, some surfaces may be <locked>, which allows the 132 used for any other purpose. When a locked surface is <unlocked>, 145 "... or, a surface is locked)." 169 a surface created from the EGLConfig may be locked, mapped into 195 which cannot be locked or mapped will match. Such configs must 233 A rendering surface may be <locked> by calling 239 While a surface is locked, only two operations can be performed 244 attempts to use a locked surface in other EGL APIs will fail and 271 * <surface> is already locked. 281 The color buffer of a locked surface can be <mapped> by calling [all …]
|
D | EGL_KHR_lock_surface2.txt | 81 EGL_KHR_lock_surface2 specifies that the locked buffer contains the 106 when it is locked. 199 Finally, some surfaces may be <locked>, which allows the 202 used for any other purpose. When a locked surface is <unlocked>, 215 "... or, a surface is locked)." 239 a surface created from the EGLConfig may be locked, mapped into 265 which cannot be locked or mapped will match. Such configs must 336 A rendering surface may be <locked> by calling 342 While a surface is locked, only two operations can be performed 349 attempts to use a locked surface in other EGL APIs will fail and [all …]
|
/third_party/EGL/extensions/KHR/ |
D | EGL_KHR_lock_surface.txt | 129 Finally, some surfaces may be <locked>, which allows the 132 used for any other purpose. When a locked surface is <unlocked>, 145 "... or, a surface is locked)." 169 a surface created from the EGLConfig may be locked, mapped into 195 which cannot be locked or mapped will match. Such configs must 233 A rendering surface may be <locked> by calling 239 While a surface is locked, only two operations can be performed 244 attempts to use a locked surface in other EGL APIs will fail and 271 * <surface> is already locked. 281 The color buffer of a locked surface can be <mapped> by calling [all …]
|