/foundation/resourceschedule/ffrt/src/sync/ |
H A D | sync.h | 31 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 D | sync.cpp | 48 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 D | mutex_private.h | 125 mutexPrivate() : l(sync_detail::UNLOCK), owner(0) {} in mutexPrivate() 127 mutexPrivate() : l(sync_detail::UNLOCK) {} in mutexPrivate()
|
H A D | mutex.cpp | 36 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 D | player_sync.cpp | 318 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 D | RdbstoreLockRowJsunit.test.js | 73 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 D | display_power_controller.cpp | 81 if (event == DisplayEvent::UNLOCK) { in NotifyDisplayEvent()
|
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/syncer/src/cloud/ |
H A D | cloud_sync_strategy.cpp | 98 localInfo.status == static_cast<uint32_t>(LockStatus::UNLOCK) && in IsSameRecord()
|
H A D | cloud_db_proxy.h | 145 UNLOCK,
|
H A D | cloud_db_proxy.cpp | 194 return InnerAction(context, cloudDb, UNLOCK); in UnLock() 398 case UNLOCK: in InnerActionTask()
|
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/app/src/security/ |
H A D | security.h | 66 UNLOCK, enumerator
|
H A D | security.cpp | 62 return !(curStatus == UNLOCK || curStatus == NO_PWD); in IsAccessControlled()
|
/foundation/window/window_manager/dmserver/test/unittest/ |
H A D | display_power_controller_test.cpp | 143 DisplayEvent event = DisplayEvent::UNLOCK; in HWTEST_F()
|
H A D | display_manager_proxy_test.cpp | 947 DisplayEvent event = DisplayEvent::UNLOCK; in HWTEST_F()
|
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/src/ |
H A D | data_transformer.h | 41 uint32_t status = static_cast<uint32_t>(LockStatus::UNLOCK); // record lock status
|
H A D | storage_proxy.cpp | 542 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 D | session_display_power_controller.cpp | 115 if (event == DisplayEvent::UNLOCK) { in NotifyDisplayEvent()
|
/foundation/window/window_manager/window_scene/test/dms_unittest/ |
H A D | session_display_power_controller_test.cpp | 65 DisplayEvent event = DisplayEvent::UNLOCK; in HWTEST_F()
|
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/interfaces/include/cloud/ |
H A D | cloud_store_types.h | 190 UNLOCK = 0, member in DistributedDB::CloudQueryType::LockAction::LockStatus
|
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/unittest/common/syncer/cloud/ |
H A D | distributeddb_cloud_syncer_download_assets_test.cpp | 2488 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 D | dm_common.h | 112 UNLOCK, member in OHOS::Rosen::DisplayEvent
|
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/include/ |
H A D | icloud_sync_storage_interface.h | 176 return { E_OK, static_cast<uint32_t>(LockStatus::UNLOCK) }; in GetAssetsByGidOrHashKey()
|
/foundation/window/window_manager/interfaces/innerkits/dm/ |
H A D | dm_common.h | 133 UNLOCK, member in OHOS::Rosen::DisplayEvent
|
/foundation/window/window_manager/test/systemtest/dms/ |
H A D | display_power_test.cpp | 432 DisplayManager::GetInstance().NotifyDisplayEvent(DisplayEvent::UNLOCK);
in HWTEST_F()
|
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/src/relational/ |
H A D | relational_sync_able_storage.cpp | 1735 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()
|