Home
last modified time | relevance | path

Searched defs:lock (Results 1 - 25 of 137) sorted by relevance

123456

/base/global/resource_management_lite/frameworks/resmgr_lite/src/
H A Dlock.cpp28 bool Lock::lock() in lock() function in OHOS::Global::Resource::Lock
/base/web/webview/test/fuzztest/ohos_adapter/power_mgr_adapter/lock_fuzzer/
H A Dlock_fuzzer.cpp32 std::shared_ptr<OHOS::PowerMgr::RunningLock> lock; in LockFuzzTest() local
/base/web/webview/test/fuzztest/ohos_adapter/power_mgr_adapter/isused_fuzzer/
H A Disused_fuzzer.cpp31 std::shared_ptr<OHOS::PowerMgr::RunningLock> lock; in IsUsedFuzzTest() local
/base/web/webview/test/fuzztest/ohos_adapter/power_mgr_adapter/unlock_fuzzer/
H A Dunlock_fuzzer.cpp31 std::shared_ptr<OHOS::PowerMgr::RunningLock> lock; in UnLockFuzzTest() local
/foundation/communication/netstack/utils/http_over_curl/include/
H A Dspinlock_mutex.h25 void lock() in lock() function
/base/global/resource_management_lite/frameworks/resmgr_lite/include/
H A Dauto_mutex.h25 explicit inline AutoMutex(Lock &lock) : lock_(lock) in AutoMutex() argument
28 explicit inline AutoMutex(Lock *lock) : lock_(*lock) in AutoMutex() argument
/base/security/huks/services/huks_standard/huks_service/main/os_dependency/posix/
H A Dhks_rwlock.c24 pthread_rwlock_t lock; member
40 int32_t HksRwlockLockRead(HksRwlock *lock) in HksRwlockLockRead() argument
47 int32_t HksRwlockUnlockRead(HksRwlock *lock) in HksRwlockUnlockRead() argument
54 HksRwlockLockWrite(HksRwlock *lock) HksRwlockLockWrite() argument
61 HksRwlockUnlockWrite(HksRwlock *lock) HksRwlockUnlockWrite() argument
68 HksRwlockClose(HksRwlock *lock) HksRwlockClose() argument
[all...]
/base/security/huks/services/huks_standard/huks_service/main/hks_storage/src/
H A Dhks_lock.c25 HksRwlock *lock; member
30 HksLock *lock = (HksLock *)HksMalloc(sizeof(HksLock)); in HksLockCreate() local
41 HksLockLockRead(HksLock *lock) HksLockLockRead() argument
48 HksLockUnlockRead(HksLock *lock) HksLockUnlockRead() argument
55 HksLockLockWrite(HksLock *lock) HksLockLockWrite() argument
62 HksLockUnlockWrite(HksLock *lock) HksLockUnlockWrite() argument
69 HksLockClose(HksLock *lock) HksLockClose() argument
[all...]
H A Dhks_lock_lite.c23 HksMutex *lock; member
28 HksLock *lock = HksMalloc(sizeof(HksLock)); in HksLockCreate() local
39 HksLockLockRead(HksLock *lock) HksLockLockRead() argument
46 HksLockUnlockRead(HksLock *lock) HksLockUnlockRead() argument
53 HksLockLockWrite(HksLock *lock) HksLockLockWrite() argument
60 HksLockUnlockWrite(HksLock *lock) HksLockUnlockWrite() argument
67 HksLockClose(HksLock *lock) HksLockClose() argument
[all...]
/foundation/arkui/ace_engine_lite/frameworks/src/core/base/
H A Dace_lock.cpp61 AutoLockGuard::AutoLockGuard(LockType &lock) : lock_(lock) in AutoLockGuard() argument
/foundation/multimedia/media_foundation/src/osal/task/ffrt/
H A Dcondition_variable.cpp48 Wait(lock); variable
52 bool ConditionVariable::WaitFor(AutoLock& lock, int64_t timeoutMs) in WaitFor() argument
62 bool ConditionVariable::WaitFor(AutoLock& lock, int64_t timeoutMs, std::function<bool()> pred) in WaitFor() argument
/foundation/resourceschedule/ffrt/interfaces/kits/cpp/
H A Dmutex.h49 inline void lock() in lock() function in ffrt::mutex
83 inline void lock() in lock() function in ffrt::recursive_mutex
/foundation/resourceschedule/ffrt/interfaces/inner_api/cpp/
H A Dshared_mutex.h44 inline void lock() in lock() function in ffrt::shared_mutex
/foundation/communication/dsoftbus/components/nstackx/nstackx_util/interface/
H A Dnstackx_spinlock.h20 volatile int lock; member
/base/global/resource_management_lite/frameworks/resmgr_lite/test/unittest/lite/common/
H A Dstring_utils_test.cpp74 void FuncMultiThread(int* num, Lock* lock) in FuncMultiThread() argument
82 void TestThread(int* num, int threadNum, Lock* lock) in TestThread() argument
103 Lock lock; in HWTEST_F() local
/base/powermgr/powermgr_lite/frameworks/include/
H A Drunning_lock_entry.h37 RunningLock lock; member
42 static inline RunningLockEntry *GetRunningLockEntry(const RunningLock *lock) in GetRunningLockEntry() argument
/base/powermgr/powermgr_lite/test/Interface_test/test/unittest/src/
H A Dpowermgr_interfaces_test.cpp46 const RunningLock* lock = CreateRunningLock(name, type, flag); in HWTEST_F() local
58 const RunningLock* lock = CreateRunningLock("test_lock", RUNNINGLOCK_SCREEN, RUNNINGLOCK_FLAG_NONE); in HWTEST_F() local
71 const RunningLock* lock = CreateRunningLock("test_lock", RUNNINGLOCK_SCREEN, RUNNINGLOCK_FLAG_NONE); in HWTEST_F() local
84 const RunningLock* lock = CreateRunningLock("test_lock", RUNNINGLOCK_SCREEN, RUNNINGLOCK_FLAG_NONE); in HWTEST_F() local
98 const RunningLock* lock in HWTEST_F() local
[all...]
/base/notification/eventhandler/frameworks/eventhandler/src/
H A Devent_queue.cpp64 void EventQueue::WaitUntilLocked(const InnerEvent::TimePoint &when, std::unique_lock<std::mutex> &lock) in WaitUntilLocked() argument
/base/security/huks/test/unittest/huks_standard_test/storage_multithread_test/src/
H A Dhks_storage_file_lock_test.cpp34 HksStorageFileLock *lock = HksStorageFileLockCreate(&path[0]); in HWTEST_F() local
53 HksStorageFileLock *lock = HksStorageFileLockCreate(&path[0]); in HWTEST_F() local
69 HksStorageFileLock *lock = HksStorageFileLockCreate(&path[0]); HWTEST_F() local
[all...]
/base/web/webview/ohos_adapter/power_mgr_adapter/src/
H A Dpower_mgr_client_adapter_impl.cpp77 std::shared_ptr<RunningLock> lock = PowerMgrClient::GetInstance().CreateRunningLock( in CreateRunningLock() local
45 RunningLockAdapterImpl( std::shared_ptr<OHOS::PowerMgr::RunningLock> lock) RunningLockAdapterImpl() argument
/foundation/graphic/graphic_3d/lume/metaobject/include/meta/interface/threading/
H A Dprimitive_api.h50 LockMutexType lock = nullptr; member
/foundation/graphic/graphic_3d/lume/metaobject/include/meta/api/threading/
H A Dmutex.h88 UniqueLock(UniqueLock&& lock) : locked_(lock.locked_), mutex_(lock.mutex_) in UniqueLock() argument
107 operator =(UniqueLock&& lock) operator =() argument
[all...]
/foundation/multimedia/media_foundation/src/osal/task/pthread/
H A Dmutex.cpp43 void Mutex::lock() in lock() function in OHOS::Media::Mutex
82 void FairMutex::lock() in lock() function in OHOS::Media::FairMutex
/foundation/multimedia/media_foundation/engine/include/foundation/osal/thread/
H A Dcondition_variable.h46 Wait(lock); variable
53 bool WaitFor(ScopedLock& lock, int timeoutMs, Predicate pred) in WaitFor() argument
/foundation/resourceschedule/ffrt/src/sync/
H A Ddelayed_worker.h35 std::mutex lock; member in ffrt::DelayedWorker

Completed in 6 milliseconds

123456