Home
last modified time | relevance | path

Searched refs:_locked (Results 1 – 12 of 12) sorted by relevance

/external/kotlinx.atomicfu/atomicfu/src/commonTest/kotlin/kotlinx/atomicfu/test/
DSimpleLockTest.kt22 private val _locked = atomic(0) constant
28 _locked.loop { locked -> in withLock()
30 if (!_locked.compareAndSet(0, 1)) return@loop // continue in withLock()
34 _locked.value = 0 in withLock()
/external/python/oauth2client/oauth2client/contrib/
Dlocked_file.py74 self._locked = False
83 return self._locked
124 if self._locked:
127 self._locked = False
144 self._locked = True
162 if self._locked:
166 self._locked = False
D_fcntl_opener.py38 if self._locked:
57 self._locked = True
77 if self._locked:
79 self._locked = False
D_win32_opener.py49 if self._locked:
73 self._locked = True
96 if self._locked:
104 self._locked = False
/external/python/cpython3/Lib/asyncio/
Dlocks.py79 self._locked = False
90 extra = 'locked' if self._locked else 'unlocked'
97 return self._locked
105 if (not self._locked and (self._waiters is None or
107 self._locked = True
124 if not self._locked:
128 self._locked = True
142 if self._locked:
143 self._locked = False
/external/chromium-trace/catapult/common/py_trace_event/py_trace_event/trace_event_impl/
Dlog.py78 def _locked(fn): function
153 @_locked
197 @_locked
202 @_locked
269 @_locked
273 @_locked
/external/python/cpython3/Lib/
Dmailbox.py600 self._locked = False
642 if not self._locked:
644 self._locked = True
648 if self._locked:
650 self._locked = False
713 if self._locked:
734 if self._locked:
948 self._locked = False
961 if self._locked:
968 if self._locked:
[all …]
/external/python/cpython2/Lib/
Dmailbox.py587 self._locked = False
630 if not self._locked:
632 self._locked = True
636 if self._locked:
638 self._locked = False
705 if self._locked:
726 if self._locked:
930 self._locked = False
943 if self._locked:
950 if self._locked:
[all …]
/external/python/oauth2client/tests/contrib/
Dtest_locked_file.py34 self.assertFalse(instance._locked)
44 instance._locked = True
168 instance._locked = True
/external/python/cpython2/Lib/test/
Dtest_mailbox.py984 self.assertTrue(self._box._locked)
/external/python/cpython3/Lib/test/
Dtest_mailbox.py1112 self.assertTrue(self._box._locked)
/external/llvm/lib/Target/Hexagon/
DHexagonInstrInfo.td2191 // L[24]_load[wd]_locked: Load word/double with lock.
2211 // S[24]_store[wd]_locked: Store word/double conditionally.