/dports/www/chromium-legacy/chromium-88.0.4324.182/native_client/src/untrusted/pthread/ |
H A D | nc_mutex.c | 60 UNLOCKED = 0, enumerator 67 mutex->mutex_state = UNLOCKED; in pthread_mutex_init() 79 if (mutex->mutex_state != UNLOCKED) { in pthread_mutex_destroy() 97 int old_state = __sync_val_compare_and_swap(&mutex->mutex_state, UNLOCKED, in mutex_lock_nonrecursive() 99 if (NACL_UNLIKELY(old_state != UNLOCKED)) { in mutex_lock_nonrecursive() 115 LOCKED_WITH_WAITERS) != UNLOCKED) { in mutex_lock_nonrecursive() 128 old_state = __sync_val_compare_and_swap(&mutex->mutex_state, UNLOCKED, in mutex_lock_nonrecursive() 130 } while (old_state != UNLOCKED); in mutex_lock_nonrecursive() 213 if (old_state == UNLOCKED) { in pthread_mutex_unlock() 235 mutex->mutex_state = UNLOCKED; in pthread_mutex_unlock()
|
/dports/devel/msp430-debug-stack/msp430-debug-stack-3.15.0.1/ThirdParty/BSL430_Firmware/ |
H A D | BSL430_API.c | 70 # define DEFAULT_STATE (UNLOCKED) 126 LockedStatus = UNLOCKED; in BSL430_API_init() 178 LockedStatus = UNLOCKED; in BSL430_unlock_BSL() 201 if (LockedStatus == UNLOCKED) in BSL430_toggleInfoLock() 225 if (LockedStatus == UNLOCKED) in BSL430_openMemory() 336 if (LockedStatus == UNLOCKED) in BSL430_callAddress() 362 if (LockedStatus == UNLOCKED) in flushBuffer() 447 if (LockedStatus == UNLOCKED) in BSL430_writeMemory() 533 if (LockedStatus == UNLOCKED) in BSL430_writeByte() 581 if (LockedStatus == UNLOCKED) in BSL430_writeWord() [all …]
|
/dports/games/tanks-of-freedom/Tanks-of-Freedom-0.7.0-beta/scripts/services/ |
H A D | resolution.gd | 16 const UNLOCKED = 2 33 if self.root.settings['resolution'] == self.UNLOCKED: 50 self.root.settings['resolution'] = self.UNLOCKED 70 if self.root.settings['resolution'] == self.UNLOCKED: 94 if self.root.settings['resolution'] == self.UNLOCKED: 97 self.root.settings['resolution'] = self.UNLOCKED 104 if resolution == self.UNLOCKED:
|
/dports/devel/libhoard/Hoard/src/Heap-Layers/locks/ |
H A D | spinlock-old.h | 100 enum { UNLOCKED = 0, LOCKED = 1 }; enumerator 108 : mutex (UNLOCKED) in SpinLockType() 118 != UNLOCKED) { in lock() 136 mutex = UNLOCKED; in unlock() 156 == UNLOCKED) { in contendedLock()
|
H A D | oldspinlock.h | 100 enum { UNLOCKED = 0, LOCKED = 1 }; enumerator 108 : mutex (UNLOCKED) in SpinLockType() 118 != UNLOCKED) { in lock() 136 mutex = UNLOCKED; in unlock() 156 == UNLOCKED) { in contendedLock()
|
/dports/devel/folly/folly-2021.12.27.00/folly/test/ |
H A D | SynchronizedTest.cpp | 183 enum class CurrentLockState { UNLOCKED, SHARED, UPGRADE, UNIQUE }; enumerator 186 EXPECT_EQ(this->lock_state, CurrentLockState::UNLOCKED); in lock() 191 this->lock_state = CurrentLockState::UNLOCKED; in unlock() 194 EXPECT_EQ(this->lock_state, CurrentLockState::UNLOCKED); in lock_shared() 199 this->lock_state = CurrentLockState::UNLOCKED; in unlock_shared() 202 EXPECT_EQ(this->lock_state, CurrentLockState::UNLOCKED); in lock_upgrade() 207 this->lock_state = CurrentLockState::UNLOCKED; in unlock_upgrade() 229 EXPECT_EQ(this->lock_state, CurrentLockState::UNLOCKED); in try_lock_for() 236 EXPECT_EQ(this->lock_state, CurrentLockState::UNLOCKED); in try_lock_upgrade_for() 252 CurrentLockState lock_state{CurrentLockState::UNLOCKED}; [all …]
|
/dports/lang/zig-devel/zig-0.9.0/lib/std/event/ |
H A D | lock.zig | 15 head: usize = UNLOCKED, 17 const UNLOCKED = 0; 38 // UNLOCKED -> LOCKED: 45 if (self.head == UNLOCKED) { 56 UNLOCKED => unreachable, 93 // LOCKED -> UNLOCKED: 97 UNLOCKED => { 101 self.lock.head = UNLOCKED;
|
/dports/lang/zig/zig-0.9.0/lib/std/event/ |
H A D | lock.zig | 15 head: usize = UNLOCKED, 17 const UNLOCKED = 0; 38 // UNLOCKED -> LOCKED: 45 if (self.head == UNLOCKED) { 56 UNLOCKED => unreachable, 93 // LOCKED -> UNLOCKED: 97 UNLOCKED => { 101 self.lock.head = UNLOCKED;
|
/dports/lang/mono/mono-5.10.1.57/external/corert/src/Native/Runtime/ |
H A D | SpinLock.h | 49 UNLOCKED = 0, enumerator 59 { PalInterlockedExchange(&lock.m_lock, UNLOCKED); } in Unlock() 63 : m_lock(UNLOCKED) { } in SpinLock()
|
/dports/databases/mariadb105-client/mariadb-10.5.15/storage/innobase/include/ |
H A D | rw_lock.h | 31 static constexpr uint32_t UNLOCKED= 0; 57 l= UNLOCKED; in read_trylock() 83 rw_lock() : lock(UNLOCKED) {} in rw_lock() 105 auto l= UNLOCKED; in write_trylock()
|
/dports/databases/mariadb105-server/mariadb-10.5.15/storage/innobase/include/ |
H A D | rw_lock.h | 31 static constexpr uint32_t UNLOCKED= 0; 57 l= UNLOCKED; in read_trylock() 83 rw_lock() : lock(UNLOCKED) {} in rw_lock() 105 auto l= UNLOCKED; in write_trylock()
|
/dports/converters/wkhtmltopdf/qt-5db36ec/src/corelib/arch/parisc/ |
H A D | qatomic_parisc.cpp | 49 #define UNLOCKED {-1,-1,-1,-1} macro 50 #define UNLOCKED2 UNLOCKED,UNLOCKED
|
/dports/databases/cassandra-cpp-driver/cpp-driver-2.16.0/src/ |
H A D | spin_lock.hpp | 27 typedef enum { LOCKED, UNLOCKED } LockState; enumerator 30 : state_(UNLOCKED) {} in Spinlock() 38 void unlock() { state_.store(UNLOCKED, MEMORY_ORDER_RELEASE); } in unlock()
|
/dports/misc/rump/buildrump.sh-b914579/src/sys/rump/librump/rumpkern/ |
H A D | locks.c | 72 #define UNLOCKED(lock, shar) \ macro 81 #define UNLOCKED(a, b) macro 176 UNLOCKED(mtx, false); in mutex_exit() 265 UNLOCKED(rw, shared); in rw_exit() 277 UNLOCKED(rw, 1); in rw_tryupgrade() 289 UNLOCKED(rw, 0); in rw_downgrade() 355 UNLOCKED(mtx, false); in docvwait()
|
/dports/graphics/opendx/dx-4.4.4/src/exec/libdx/ |
H A D | lock.c | 335 #define UNLOCKED 1 macro 433 #define UNLOCKED 1 macro 451 *l = UNLOCKED; in DXcreate_lock() 472 if (v!=UNLOCKED && v!=LOCKED) in DXlock() 497 *l = UNLOCKED; in DXunlock() 1012 #define UNLOCKED 1 macro 1095 #define UNLOCKED 1 macro 1112 *l = UNLOCKED; in DXcreate_lock() 1139 if (*l==UNLOCKED){ in DXtry_lock() 1152 *l = UNLOCKED; in DXunlock() [all …]
|
/dports/devel/folly/folly-2021.12.27.00/folly/fibers/ |
H A D | TimedMutex-inl.h | 183 (state_ == State::UNLOCKED && readers_ == 0) || in lock_shared() 222 (state_ == State::UNLOCKED && readers_ == 0) || in try_lock_shared_until() 235 (state_ == State::UNLOCKED && readers_ == 0) || in try_lock_shared() 257 if (state_ == State::UNLOCKED) { in lock() 280 if (state_ == State::UNLOCKED) { in try_lock_until() 308 if (state_ == State::UNLOCKED) { in try_lock() 328 assert(state_ != State::UNLOCKED); in unlock_() 359 state_ = State::UNLOCKED; in unlock_()
|
/dports/devel/android-tools-fastboot/platform_system_core-platform-tools-29.0.5/fastboot/fuzzy_fastboot/ |
H A D | fixtures.cpp | 247 template <bool UNLOCKED> 248 void ModeTest<UNLOCKED>::SetUp() { in SetUp() 250 ASSERT_NO_FATAL_FAILURE(SetLockState(UNLOCKED)); in SetUp() 281 template <bool UNLOCKED> 282 void ExtensionsPartition<UNLOCKED>::SetUp() { in SetUp() 284 ASSERT_NO_FATAL_FAILURE(SetLockState(UNLOCKED)); in SetUp()
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/ash/system/power/ |
H A D | power_prefs_unittest.cc | 42 UNLOCKED, enumerator 280 EXPECT_EQ(GetExpectedPowerPolicyForPrefs(prefs, ScreenLockState::UNLOCKED), in TEST_F() 291 SetLockedState(ScreenLockState::UNLOCKED); in TEST_F() 292 EXPECT_EQ(GetExpectedPowerPolicyForPrefs(prefs, ScreenLockState::UNLOCKED), in TEST_F() 301 EXPECT_EQ(GetExpectedPowerPolicyForPrefs(prefs, ScreenLockState::UNLOCKED), in TEST_F() 331 GetExpectedPowerPolicyForPrefs(first_prefs, ScreenLockState::UNLOCKED), in TEST_F() 340 EXPECT_EQ(GetExpectedPowerPolicyForPrefs(prefs, ScreenLockState::UNLOCKED), in TEST_F() 348 EXPECT_EQ(GetExpectedPowerPolicyForPrefs(prefs, ScreenLockState::UNLOCKED), in TEST_F() 359 SetLockedState(ScreenLockState::UNLOCKED); in TEST_F() 360 EXPECT_EQ(GetExpectedPowerPolicyForPrefs(prefs, ScreenLockState::UNLOCKED), in TEST_F()
|
/dports/science/kst2/kst-plot-38eddb5322a1d557f9d86ea95d456d76272941e3/src/libkst/ |
H A D | rwlock.cpp | 180 return UNLOCKED; in lockStatus() 184 return UNLOCKED; in lockStatus() 200 return UNLOCKED; in myLockStatus() 204 return UNLOCKED; in myLockStatus()
|
/dports/sysutils/fusefs-mhddfs/mhddfs-0.1.37/src/ |
H A D | flist.c | 21 enum { UNLOCKED, RDLOCKED, WRLOCKED }; enumerator 141 case UNLOCKED: in delete_item() 173 delete_item(item, UNLOCKED); in flist_delete()
|
/dports/devel/aws-sdk-cpp/aws-sdk-cpp-1.9.129/aws-cpp-sdk-snow-device-management/source/model/ |
H A D | UnlockState.cpp | 33 return UnlockState::UNLOCKED; in GetUnlockStateForName() 57 case UnlockState::UNLOCKED: in GetNameForUnlockState()
|
/dports/databases/mongodb36/mongodb-src-r3.6.23/src/mongo/s/catalog/ |
H A D | type_locks_test.cpp | 52 << LocksType::state(LocksType::State::UNLOCKED) in TEST() 63 ASSERT_EQUALS(lock.getState(), LocksType::State::UNLOCKED); in TEST() 70 BSONObj obj = BSON(LocksType::name("dummy") << LocksType::state(LocksType::State::UNLOCKED)); in TEST() 77 ASSERT_EQUALS(lock.getState(), LocksType::State::UNLOCKED); in TEST()
|
/dports/graphics/drawpile/Drawpile-2.1.20/src/desktop/ |
H A D | notifications.cpp | 56 case Event::UNLOCKED: in playSound() 74 case Event::UNLOCKED: filename = QStringLiteral("sounds/unlock.wav"); break; in playSound()
|
/dports/biology/bbmap/bbmap/current/driver/ |
H A D | TestLockSpeed.java | 53 if(mode==UNLOCKED || mode==LOCKED){ in main() 99 if(mode==UNLOCKED){ in run() 168 static final int UNLOCKED=0, LOCKED=1, ATOMIC=2, VOLATILE=3, FIELD=4, STATICFIELD=5; field in TestLockSpeed
|
/dports/databases/py-lmdb/lmdb-0.97/lmdb/ |
H A D | cpython.c | 598 #define UNLOCKED(out, e) \ macro 866 UNLOCKED(rc, mdb_txn_renew(self->txn)); in make_trans() 963 UNLOCKED(rc, mdb_dbi_open(txn, name, flags, &dbi)); in db_from_name() 1013 UNLOCKED(rc, mdb_txn_commit(txn)); in txn_db_from_name() 1477 UNLOCKED(rc, mdb_env_info(self->env, &info)); in env_info() 1652 UNLOCKED(rc, mdb_env_stat(self->env, &st)); in env_stat() 1769 UNLOCKED(rc, mdb_env_sync(self->env, arg.force)); in env_sync() 2457 UNLOCKED(rc, mdb_cursor_del(self->curs, 0)); in cursor_pop() 3087 UNLOCKED(rc, mdb_txn_commit(self->txn)); in trans_commit() 3291 UNLOCKED(rc, mdb_put(self->txn, (arg.db)->dbi, in trans_put() [all …]
|