Home
last modified time | relevance | path

Searched refs:UNLOCKED (Results 1 – 10 of 10) sorted by relevance

/external/kotlinx.coroutines/kotlinx-coroutines-core/common/src/sync/
DMutex.kt131 private val UNLOCKED = Symbol("UNLOCKED") constant
136 private val EMPTY_UNLOCKED = Empty(UNLOCKED)
152 is Empty -> return state.locked !== UNLOCKED in toString()
170 if (state.locked !== UNLOCKED) return false in toString()
198 if (state.locked !== UNLOCKED) { // try upgrade to queue & retry in toString()
234 if (state.locked !== UNLOCKED) { // try upgrade to queue & retry in toString()
307 check(state.locked !== UNLOCKED) { "Mutex is not locked" } in toString()
/external/crosvm/cros_async/src/sync/
Dspin.rs9 const UNLOCKED: bool = false; constant
36 lock: AtomicBool::new(UNLOCKED), in new()
59 if state == UNLOCKED in lock()
62 .compare_exchange_weak(UNLOCKED, LOCKED, Ordering::Acquire, Ordering::Relaxed) in lock()
78 self.lock.store(UNLOCKED, Ordering::Release); in unlock()
/external/kotlinx.atomicfu/atomicfu/src/nativeMain/kotlin/kotlinx/atomicfu/locks/
DSynchronized.kt12 protected val lock = AtomicReference(LockState(UNLOCKED, 0, 0))
19 UNLOCKED -> { in lock()
69 if (state.status == UNLOCKED) { in tryLock()
94 val unlocked = LockState(UNLOCKED, 0, 0) in unlock()
152 protected enum class Status { UNLOCKED, THIN, FAT }
/external/libchromeos-rs/src/sync/
Dspin.rs9 const UNLOCKED: bool = false; constant
35 lock: AtomicBool::new(UNLOCKED), in new()
58 .compare_exchange_weak(UNLOCKED, LOCKED, Ordering::Acquire, Ordering::Relaxed) in lock()
72 self.lock.store(UNLOCKED, Ordering::Release); in unlock()
/external/libchrome/base/memory/
Ddiscardable_shared_memory.cc74 enum LockState { UNLOCKED = 0, LOCKED = 1 }; enumerator
211 SharedState old_state(SharedState::UNLOCKED, last_known_usage_); in Lock()
322 SharedState new_state(SharedState::UNLOCKED, current_time); in Unlock()
348 SharedState old_state(SharedState::UNLOCKED, last_known_usage_); in Purge()
349 SharedState new_state(SharedState::UNLOCKED, Time()); in Purge()
/external/llvm-project/openmp/runtime/src/
Dkmp_ftn_entry.h1017 typedef enum { UNINIT = -1, UNLOCKED, LOCKED } kmp_stub_lock_t; enumerator
1024 *((kmp_stub_lock_t *)user_lock) = UNLOCKED; in FTN_INIT_LOCK_WITH_HINT()
1037 *((kmp_stub_lock_t *)user_lock) = UNLOCKED; in FTN_INIT_NEST_LOCK_WITH_HINT()
1051 *((kmp_stub_lock_t *)user_lock) = UNLOCKED; in KMP_EXPAND_NAME()
1064 *((kmp_stub_lock_t *)user_lock) = UNLOCKED; in KMP_EXPAND_NAME()
1103 if (*((kmp_stub_lock_t *)user_lock) != UNLOCKED) { in KMP_EXPAND_NAME()
1136 if (*((kmp_stub_lock_t *)user_lock) == UNLOCKED) { in KMP_EXPAND_NAME()
1139 *((kmp_stub_lock_t *)user_lock) = UNLOCKED; in KMP_EXPAND_NAME()
1154 if (*((kmp_stub_lock_t *)user_lock) == UNLOCKED) { in KMP_EXPAND_NAME()
/external/libevent/
Dbufferevent.c192 #define UNLOCKED(stmt) \ in bufferevent_run_deferred_callbacks_unlocked() macro
202 UNLOCKED(errorcb(bufev, BEV_EVENT_CONNECTED, cbarg)); in bufferevent_run_deferred_callbacks_unlocked()
208 UNLOCKED(readcb(bufev, cbarg)); in bufferevent_run_deferred_callbacks_unlocked()
215 UNLOCKED(writecb(bufev, cbarg)); in bufferevent_run_deferred_callbacks_unlocked()
225 UNLOCKED(errorcb(bufev,what,cbarg)); in bufferevent_run_deferred_callbacks_unlocked()
228 #undef UNLOCKED in bufferevent_run_deferred_callbacks_unlocked()
/external/avb/
DREADME.md759 LOCKED state or UNLOCKED state as used in Android.
762 are fatal whereas in UNLOCKED state they are not. If the device is
763 UNLOCKED pass `AVB_SLOT_VERIFY_FLAGS_ALLOW_VERIFICATION_ERROR` flag in
778 state) and `fastboot flashing unlock` (to transition to the UNLOCKED
782 UNLOCKED or UNLOCKED to LOCKED) after asserting physical presence of
788 the UNLOCKED state (including the `userdata` partition and any NVRAM
792 shall also happening when transitioning from UNLOCKED to LOCKED. If
794 intensive wipe is required for UNLOCKED to LOCKED. Depending on the
806 UNLOCKED), and named persistent values. If tampering has been detected
814 possible to set or clear a key while the device is in the UNLOCKED
[all …]
/external/libese/apps/boot/
DREADME.md368 } else { // Boot is UNLOCKED (0x0)
/external/kotlinc/lib/
Dkotlinx-coroutines-core.jarMETA-INF/ META-INF/MANIFEST.MF kotlinx/ kotlinx/coroutines/ kotlinx/ ...