/ohos5.0/foundation/resourceschedule/ffrt/src/sync/ |
H A D | sync.h | 31 const int UNLOCK = 0; variable 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() 78 if (v == sync_detail::UNLOCK) { in lock_contended() 89 while (__atomic_exchange_n(&l, sync_detail::WAIT, __ATOMIC_ACQUIRE) != sync_detail::UNLOCK) { in lock_contended()
|
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()
|
H A D | mutex_private.h | 125 mutexPrivate() : l(sync_detail::UNLOCK), owner(0) {} in mutexPrivate() 127 mutexPrivate() : l(sync_detail::UNLOCK) {}
|
/ohos5.0/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()
|
/ohos5.0/foundation/distributeddatamgr/relational_store/test/js/relationalstore/unittest/src/ |
H A D | RdbstoreLockRowJsunit.test.js | 73 const UNLOCK = 0; constant 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)
|
/ohos5.0/base/theme/screenlock_mgr/frameworks/js/napi/src/ |
H A D | screenlock_callback.cpp | 71 if (screenLockSuccess || callBackPtr->action == Action::UNLOCK) { in UvWorkOnCallBack() 79 if (screenLockSuccess || callBackPtr->action == Action::UNLOCK) { in UvWorkOnCallBack()
|
/ohos5.0/base/theme/screenlock_mgr/services/include/ |
H A D | screenlock_server_ipc_interface_code.h | 33 UNLOCK, enumerator
|
/ohos5.0/base/theme/screenlock_mgr/test/fuzztest/screenlockservice_fuzzer/screenlockboundarycode_fuzzer/ |
H A D | screenlockboundarycode_fuzzer.cpp | 41 static_cast<uint32_t>(ScreenLockServerIpcInterfaceCode::UNLOCK) + 1U, data, size); in LLVMFuzzerTestOneInput()
|
/ohos5.0/base/theme/screenlock_mgr/test/fuzztest/screenlockservice_fuzzer/screenlockunlock_fuzzer/ |
H A D | screenlockunlock_fuzzer.cpp | 41 static_cast<uint32_t>(ScreenLockServerIpcInterfaceCode::UNLOCK), data, size); in LLVMFuzzerTestOneInput()
|
/ohos5.0/base/theme/screenlock_mgr/test/unittest/ |
H A D | screenlock_client_test.cpp | 101 result = ScreenLockManager::GetInstance()->Unlock(Action::UNLOCK, listener); 109 result = ScreenLockManager::GetInstance()->Unlock(Action::UNLOCK, listener);
|
/ohos5.0/base/useriam/user_auth_framework/interfaces/inner_api/ |
H A D | iam_common_defines.h | 221 UNLOCK = 1, enumerator
|
/ohos5.0/foundation/window/window_manager/dmserver/src/ |
H A D | display_power_controller.cpp | 81 if (event == DisplayEvent::UNLOCK) { in NotifyDisplayEvent()
|
/ohos5.0/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 | 146 UNLOCK, enumerator
|
/ohos5.0/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/app/src/security/ |
H A D | security.h | 66 UNLOCK, enumerator
|
/ohos5.0/drivers/peripheral/user_auth/hdi_service/utils/inc/ |
H A D | defines.h | 145 UNLOCK = 1, enumerator
|
/ohos5.0/base/account/os_account/interfaces/innerkits/account_iam/native/include/ |
H A D | account_iam_info.h | 88 UNLOCK = 1, enumerator
|
/ohos5.0/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
|
/ohos5.0/foundation/window/window_manager/window_scene/session_manager/src/ |
H A D | session_display_power_controller.cpp | 111 if (event == DisplayEvent::UNLOCK) { in NotifyDisplayEvent()
|
/ohos5.0/base/theme/screenlock_mgr/interfaces/inner_api/include/ |
H A D | screenlock_common.h | 97 UNLOCK, enumerator
|
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/unittest/common/syncer/cloud/ |
H A D | distributeddb_cloud_syncer_download_assets_test.cpp | 2409 CheckLockStatus(db, 0, 69, LockStatus::UNLOCK); 2461 CheckLockStatus(db, 0, 69, LockStatus::UNLOCK); 2469 CheckLockStatus(db, 0, 99, LockStatus::UNLOCK); 2490 CheckLockStatus(db, 0, 99, LockStatus::UNLOCK); 2498 CheckLockStatus(db, 0, 99, LockStatus::UNLOCK); 2509 CheckLockStatus(db, 0, 99, LockStatus::UNLOCK); 2517 CheckLockStatus(db, 0, 99, LockStatus::UNLOCK); 2525 CheckLockStatus(db, 0, 99, LockStatus::UNLOCK); 2533 CheckLockStatus(db, 0, 99, LockStatus::UNLOCK); 2569 CheckLockStatus(db, 0, 99, LockStatus::UNLOCK); [all …]
|
/ohos5.0/foundation/window/window_manager/window_scene/test/dms_unittest/ |
H A D | session_display_power_controller_test.cpp | 64 DisplayEvent event = DisplayEvent::UNLOCK;
|
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/interfaces/include/cloud/ |
H A D | cloud_store_types.h | 190 UNLOCK = 0, enumerator
|
/ohos5.0/foundation/window/window_manager/previewer/include/ |
H A D | dm_common.h | 112 UNLOCK, enumerator
|