Home
last modified time | relevance | path

Searched refs:UNLOCK (Results 1 – 25 of 46) sorted by relevance

12

/ohos5.0/foundation/resourceschedule/ffrt/src/sync/
H A Dsync.h31 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 Dsync.cpp48 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 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()
H A Dmutex_private.h125 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 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()
/ohos5.0/foundation/distributeddatamgr/relational_store/test/js/relationalstore/unittest/src/
H A DRdbstoreLockRowJsunit.test.js73 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 Dscreenlock_callback.cpp71 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 Dscreenlock_server_ipc_interface_code.h33 UNLOCK, enumerator
/ohos5.0/base/theme/screenlock_mgr/test/fuzztest/screenlockservice_fuzzer/screenlockboundarycode_fuzzer/
H A Dscreenlockboundarycode_fuzzer.cpp41 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 Dscreenlockunlock_fuzzer.cpp41 static_cast<uint32_t>(ScreenLockServerIpcInterfaceCode::UNLOCK), data, size); in LLVMFuzzerTestOneInput()
/ohos5.0/base/theme/screenlock_mgr/test/unittest/
H A Dscreenlock_client_test.cpp101 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 Diam_common_defines.h221 UNLOCK = 1, enumerator
/ohos5.0/foundation/window/window_manager/dmserver/src/
H A Ddisplay_power_controller.cpp81 if (event == DisplayEvent::UNLOCK) { in NotifyDisplayEvent()
/ohos5.0/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.h146 UNLOCK, enumerator
/ohos5.0/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/app/src/security/
H A Dsecurity.h66 UNLOCK, enumerator
/ohos5.0/drivers/peripheral/user_auth/hdi_service/utils/inc/
H A Ddefines.h145 UNLOCK = 1, enumerator
/ohos5.0/base/account/os_account/interfaces/innerkits/account_iam/native/include/
H A Daccount_iam_info.h88 UNLOCK = 1, enumerator
/ohos5.0/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
/ohos5.0/foundation/window/window_manager/window_scene/session_manager/src/
H A Dsession_display_power_controller.cpp111 if (event == DisplayEvent::UNLOCK) { in NotifyDisplayEvent()
/ohos5.0/base/theme/screenlock_mgr/interfaces/inner_api/include/
H A Dscreenlock_common.h97 UNLOCK, enumerator
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/unittest/common/syncer/cloud/
H A Ddistributeddb_cloud_syncer_download_assets_test.cpp2409 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 Dsession_display_power_controller_test.cpp64 DisplayEvent event = DisplayEvent::UNLOCK;
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/interfaces/include/cloud/
H A Dcloud_store_types.h190 UNLOCK = 0, enumerator
/ohos5.0/foundation/window/window_manager/previewer/include/
H A Ddm_common.h112 UNLOCK, enumerator

12