Home
last modified time | relevance | path

Searched refs:UNLOCK (Results 1 - 25 of 27) sorted by relevance

12

/foundation/resourceschedule/ffrt/src/sync/
H A Dsync.h31 const int UNLOCK = 0; member
41 spin_mutex() : l(sync_detail::UNLOCK) in spin_mutex()
49 if (l.exchange(sync_detail::LOCK, std::memory_order_acquire) == sync_detail::UNLOCK) { in lock()
57 l.store(sync_detail::UNLOCK, std::memory_order_release); in unlock()
66 fast_mutex() : l(sync_detail::UNLOCK) in fast_mutex()
74 int v = sync_detail::UNLOCK; in lock()
83 int v = sync_detail::UNLOCK; in try_lock()
89 if (__atomic_exchange_n(&l, sync_detail::UNLOCK, __ATOMIC_RELEASE) == sync_detail::WAIT) { in unlock()
H A Dsync.cpp48 while (v != sync_detail::UNLOCK) { in lock_contended()
81 if (v == sync_detail::UNLOCK) { in lock_contended()
92 while (__atomic_exchange_n(&l, sync_detail::WAIT, __ATOMIC_ACQUIRE) != sync_detail::UNLOCK) { in lock_contended()
H A Dmutex_private.h125 mutexPrivate() : l(sync_detail::UNLOCK), owner(0) {} in mutexPrivate()
127 mutexPrivate() : l(sync_detail::UNLOCK) {} in mutexPrivate()
H A Dmutex.cpp36 int v = sync_detail::UNLOCK; in try_lock()
61 int v = sync_detail::UNLOCK; in lock()
68 while (l.exchange(sync_detail::WAIT, std::memory_order_acquire) != sync_detail::UNLOCK) { in lock()
211 if (l.exchange(sync_detail::UNLOCK, std::memory_order_release) == sync_detail::WAIT) { in unlock()
/foundation/multimedia/media_lite/services/player_lite/impl/player_control/sink/
H A Dplayer_sync.cpp318 goto UNLOCK; in ProcVidFrame()
322 goto UNLOCK; in ProcVidFrame()
325 goto UNLOCK; in ProcVidFrame()
336 goto UNLOCK; in ProcVidFrame()
340 goto UNLOCK; in ProcVidFrame()
345 goto UNLOCK; in ProcVidFrame()
361 UNLOCK: in ProcVidFrame()
/foundation/distributeddatamgr/relational_store/test/js/relationalstore/unittest/src/
H A DRdbstoreLockRowJsunit.test.js73 const UNLOCK = 0;
176 checkStatus(checkName, UNLOCK)
198 checkStatus(checkName, UNLOCK)
348 await checkStatus(checkName, UNLOCK)
374 await checkStatus(checkName, UNLOCK)
546 await checkStatus(checkName2, UNLOCK)
568 await checkStatus(checkName2, UNLOCK)
623 await checkStatus(checkName2, UNLOCK)
649 await checkStatus(checkName2, UNLOCK)
/foundation/window/window_manager/dmserver/src/
H A Ddisplay_power_controller.cpp81 if (event == DisplayEvent::UNLOCK) { in NotifyDisplayEvent()
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/syncer/src/cloud/
H A Dcloud_sync_strategy.cpp98 localInfo.status == static_cast<uint32_t>(LockStatus::UNLOCK) && in IsSameRecord()
H A Dcloud_db_proxy.h145 UNLOCK,
H A Dcloud_db_proxy.cpp194 return InnerAction(context, cloudDb, UNLOCK); in UnLock()
398 case UNLOCK: in InnerActionTask()
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/app/src/security/
H A Dsecurity.h66 UNLOCK, enumerator
H A Dsecurity.cpp62 return !(curStatus == UNLOCK || curStatus == NO_PWD); in IsAccessControlled()
/foundation/window/window_manager/dmserver/test/unittest/
H A Ddisplay_power_controller_test.cpp143 DisplayEvent event = DisplayEvent::UNLOCK; in HWTEST_F()
H A Ddisplay_manager_proxy_test.cpp947 DisplayEvent event = DisplayEvent::UNLOCK; in HWTEST_F()
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/src/
H A Ddata_transformer.h41 uint32_t status = static_cast<uint32_t>(LockStatus::UNLOCK); // record lock status
H A Dstorage_proxy.cpp542 return { -E_INVALID_DB, static_cast<uint32_t>(LockStatus::UNLOCK) }; in GetAssetsByGidOrHashKey()
548 return { errCode, static_cast<uint32_t>(LockStatus::UNLOCK) }; in GetAssetsByGidOrHashKey()
/foundation/window/window_manager/window_scene/screen_session_manager/src/
H A Dsession_display_power_controller.cpp115 if (event == DisplayEvent::UNLOCK) { in NotifyDisplayEvent()
/foundation/window/window_manager/window_scene/test/dms_unittest/
H A Dsession_display_power_controller_test.cpp65 DisplayEvent event = DisplayEvent::UNLOCK; in HWTEST_F()
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/interfaces/include/cloud/
H A Dcloud_store_types.h190 UNLOCK = 0, member in DistributedDB::CloudQueryType::LockAction::LockStatus
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/unittest/common/syncer/cloud/
H A Ddistributeddb_cloud_syncer_download_assets_test.cpp2488 CheckLockStatus(db, 0, 69, LockStatus::UNLOCK); in HWTEST_F()
2540 CheckLockStatus(db, 0, 69, LockStatus::UNLOCK); in HWTEST_F()
2548 CheckLockStatus(db, 0, 99, LockStatus::UNLOCK); in HWTEST_F()
2569 CheckLockStatus(db, 0, 99, LockStatus::UNLOCK); in HWTEST_F()
2577 CheckLockStatus(db, 0, 99, LockStatus::UNLOCK); in HWTEST_F()
2588 CheckLockStatus(db, 0, 99, LockStatus::UNLOCK); in HWTEST_F()
2596 CheckLockStatus(db, 0, 99, LockStatus::UNLOCK); in HWTEST_F()
2604 CheckLockStatus(db, 0, 99, LockStatus::UNLOCK); in HWTEST_F()
2612 CheckLockStatus(db, 0, 99, LockStatus::UNLOCK); in HWTEST_F()
2648 CheckLockStatus(db, 0, 99, LockStatus::UNLOCK); in HWTEST_F()
[all...]
/foundation/window/window_manager/previewer/include/
H A Ddm_common.h112 UNLOCK, member in OHOS::Rosen::DisplayEvent
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/include/
H A Dicloud_sync_storage_interface.h176 return { E_OK, static_cast<uint32_t>(LockStatus::UNLOCK) }; in GetAssetsByGidOrHashKey()
/foundation/window/window_manager/interfaces/innerkits/dm/
H A Ddm_common.h133 UNLOCK, member in OHOS::Rosen::DisplayEvent
/foundation/window/window_manager/test/systemtest/dms/
H A Ddisplay_power_test.cpp432 DisplayManager::GetInstance().NotifyDisplayEvent(DisplayEvent::UNLOCK); in HWTEST_F()
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/src/relational/
H A Drelational_sync_able_storage.cpp1735 return { -E_INVALID_ARGS, static_cast<uint32_t>(LockStatus::UNLOCK) }; in GetAssetsByGidOrHashKey()
1739 return { -E_INVALID_DB, static_cast<uint32_t>(LockStatus::UNLOCK) }; in GetAssetsByGidOrHashKey()

Completed in 23 milliseconds

12