/foundation/graphic/graphic_3d/lume/LumeEngine/src/log/ |
H A D | logger.cpp | 115 std::lock_guard guard(loggerMutex_); in VLog() 135 std::lock_guard<std::mutex> guard(onceMutex_); in VLogOnce() 179 std::lock_guard<std::mutex> guard(onceMutex_); in CheckOnceReset() 219 std::lock_guard<std::mutex> guard(loggerMutex_); in AddOutput()
|
/test/testfwk/arkxtest/uitest/record/ |
H A D | keyevent_tracker.cpp | 82 std::lock_guard<mutex> guard(*cout_lock); in WriteCombinationData() 94 std::lock_guard<mutex> guard(*cout_lock); in WriteSingleData() 120 std::lock_guard<mutex> guard(*csv_lock); in WriteCombinationData() 138 std::lock_guard<mutex> guard(*csv_lock); in WriteSingleData()
|
/third_party/node/deps/v8/src/heap/ |
H A D | code-range.cc | 36 base::MutexGuard guard(&mutex_); in GetAddressHint() 88 base::MutexGuard guard(&mutex_); in NotifyFreedCodeRange() 173 base::MutexGuard guard(&remap_embedded_builtins_mutex_); in RemapEmbeddedBuiltins() 258 base::MutexGuard guard(process_wide_code_range_creation_mutex_.Pointer()); in EnsureProcessWideCodeRange()
|
H A D | memory-allocator.h | 108 base::MutexGuard guard(&mutex_); in AddMemoryChunkSafe() 113 base::MutexGuard guard(&mutex_); in GetMemoryChunkSafe() 233 base::MutexGuard guard(&executable_memory_mutex_); in IsMemoryChunkExecutable() 295 // header (RW), guard pages (no access) and the object area (code modification 357 base::MutexGuard guard(&executable_memory_mutex_); in RegisterExecutableMemoryChunk() 364 base::MutexGuard guard(&executable_memory_mutex_); in UnregisterExecutableMemoryChunk()
|
H A D | safepoint.cc | 213 base::MutexGuard guard(&mutex_); in Arm() 220 base::MutexGuard guard(&mutex_); in Disarm() 229 base::MutexGuard guard(&mutex_); in WaitUntilRunningThreadsInSafepoint() 238 base::MutexGuard guard(&mutex_); in NotifyPark() 245 base::MutexGuard guard(&mutex_); in WaitInSafepoint() 256 base::MutexGuard guard(&mutex_); in WaitInUnpark() 315 ParkedMutexGuard guard(client->main_thread_local_heap(), &clients_mutex_); in RemoveClient()
|
H A D | sweeper.cc | 183 base::MutexGuard guard(&mutex_); in GetSweptPageSafe() 456 base::MutexGuard guard(&mutex_); in ConcurrentSweepingPageCount() 518 base::MutexGuard guard(page->mutex()); in ParallelSweepPage() 531 sweeping_mode, guard); in ParallelSweepPage() 536 base::MutexGuard guard(&mutex_); in ParallelSweepPage() 554 base::MutexGuard guard(&mutex_); in EnsurePageIsSwept() 568 base::MutexGuard guard(&mutex_); in TryRemoveSweepingPageSafe() 592 base::MutexGuard guard(&mutex_); in AddPage() 623 base::MutexGuard guard(&mutex_); in GetSweepingPageSafe() 708 base::MutexGuard guard(pag in MakeIterable() [all...] |
/third_party/node/deps/v8/src/profiler/ |
H A D | strings-storage.cc | 31 base::MutexGuard guard(&mutex_); in GetCopy() 55 base::MutexGuard guard(&mutex_); in AddOrDisposeString() 144 base::MutexGuard guard(&mutex_); in Release() 173 base::MutexGuard guard(&mutex_); in GetStringSize()
|
/third_party/skia/third_party/externals/spirv-headers/tools/buildHeaders/bin/ |
H A D | generate_language_headers.py | 128 guard = 'SPIRV_UNIFIED1_{}_H_'.format(grammar.name) 130 parts.append('#ifndef {}'.format(guard)) 131 parts.append('#define {}'.format(guard)) 162 parts.append('#endif // {}'.format(guard))
|
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Headers/tools/buildHeaders/bin/ |
H A D | generate_language_headers.py | 128 guard = 'SPIRV_UNIFIED1_{}_H_'.format(grammar.name) 130 parts.append('#ifndef {}'.format(guard)) 131 parts.append('#define {}'.format(guard)) 162 parts.append('#endif // {}'.format(guard))
|
/third_party/spirv-headers/tools/buildHeaders/bin/ |
H A D | generate_language_headers.py | 128 guard = 'SPIRV_UNIFIED1_{}_H_'.format(grammar.name) 130 parts.append('#ifndef {}'.format(guard)) 131 parts.append('#define {}'.format(guard)) 162 parts.append('#endif // {}'.format(guard))
|
/foundation/multimodalinput/input/frameworks/native/input/ |
H A D | oh_input_manager.cpp | 1013 std::lock_guard guard(g_mutex); in KeyEventMonitorCallback() 1047 std::lock_guard guard(g_mutex); in OH_Input_AddKeyEventMonitor() 1102 std::lock_guard guard(g_mutex); in TouchEventMonitorCallback() 1183 std::lock_guard guard(g_mutex); in MouseEventMonitorCallback() 1228 std::lock_guard guard(g_mutex); in AxisEventMonitorCallback() 1258 std::lock_guard guard(g_mutex); in AddPointerEventMonitor() 1286 std::lock_guard guard(g_mutex); in OH_Input_AddMouseEventMonitor() 1305 std::lock_guard guard(g_mutex); in OH_Input_AddTouchEventMonitor() 1324 std::lock_guard guard(g_mutex); in OH_Input_AddAxisEventMonitorForAll() 1343 std::lock_guard guard(g_mute in OH_Input_AddAxisEventMonitor() [all...] |
/kernel/linux/linux-5.10/tools/bpf/bpftool/ |
H A D | gen.c | 61 static void get_header_guard(char *guard, const char *obj_name) in get_header_guard() argument 65 sprintf(guard, "__%s_SKEL_H__", obj_name); in get_header_guard() 66 for (i = 0; guard[i]; i++) in get_header_guard() 67 guard[i] = toupper(guard[i]); in get_header_guard()
|
/foundation/multimodalinput/input/service/account_manager/src/ |
H A D | account_manager.cpp | 112 std::lock_guard<std::mutex> guard { accountMgr->lock_ }; in AccShortcutTimeout() 123 std::lock_guard<std::mutex> guard { accountMgr->lock_ }; in AccShortcutEnabled() 134 std::lock_guard<std::mutex> guard { accountMgr->lock_ }; in AccShortcutEnabledOnScreenLocked() 309 std::lock_guard<std::mutex> guard { lock_ }; in ~AccountManager() 320 std::lock_guard<std::mutex> guard { lock_ }; in Initialize() 330 std::lock_guard<std::mutex> guard { lock_ }; in GetCurrentAccountSetting() 400 std::lock_guard<std::mutex> guard { lock_ }; in OnCommonEvent()
|
/third_party/mesa3d/src/amd/registers/ |
H A D | makeregheader.py | 133 def __init__(self, regdb, guard=None): 134 self.guard = guard 299 if self.guard: 300 print('#ifndef {self.guard}'.format(**locals()), file=filp) 301 print('#define {self.guard}\n'.format(**locals()), file=filp) 356 if self.guard: 357 print('\n#endif // {self.guard}'.format(**locals()), file=filp) 366 parser.add_argument('--guard', type=str, help='Name of the #include guard') [all...] |
/foundation/communication/connected_nfc_tag/interfaces/inner_api/src/ |
H A D | nfc_tag_callback_stub.cpp | 74 std::unique_lock<std::shared_mutex> guard(callbackMutex); in RegisterUserCallBack() 86 std::shared_lock<std::shared_mutex> guard(callbackMutex); in RemoteOnNotify()
|
/third_party/node/deps/v8/src/debug/wasm/gdb-server/ |
H A D | gdb-server-thread.cc | 40 v8::base::MutexGuard guard(&mutex_); in CleanupThread() 104 v8::base::MutexGuard guard(&mutex_); in Stop()
|
/foundation/ability/form_fwk/services/src/ |
H A D | form_render_mgr_inner.cpp | 90 std::shared_lock<std::shared_mutex> guard(renderRemoteObjMutex_); in RenderForm() 106 guard.unlock(); in RenderForm() 427 std::unique_lock<std::shared_mutex> guard(renderRemoteObjMutex_); in RerenderAllForms() 429 guard.unlock(); in RerenderAllForms() 454 std::unique_lock<std::shared_mutex> guard(renderRemoteObjMutex_); in CleanFormHost() 464 std::shared_lock<std::shared_mutex> guard(renderRemoteObjMutex_); in AddRenderDeathRecipient() 469 guard.unlock(); in AddRenderDeathRecipient() 484 std::unique_lock<std::shared_mutex> guard(renderRemoteObjMutex_); in AddRenderDeathRecipient() 486 guard.unlock(); in AddRenderDeathRecipient() 651 std::unique_lock<std::shared_mutex> guard(renderRemoteObjMutex in SetRenderRemoteObj() [all...] |
/third_party/vixl/src/aarch64/ |
H A D | macro-assembler-aarch64.cc | 145 CodeBufferCheckScope guard(masm_, in Emit() 305 ExactAssemblyScopeWithoutPoolsCheck guard(masm_, kInstructionSize); in Emit() 335 ExactAssemblyScopeWithoutPoolsCheck guard(masm_, kInstructionSize); in Emit() 497 MacroEmissionCheckScope guard(masm); in Emit() 620 SingleEmissionCheckScope guard(this); in Emit() 633 EmissionCheckScope guard(this, 2 * kInstructionSize); in Emit() 663 EmissionCheckScope guard(this, 2 * kInstructionSize); in Emit() 693 EmissionCheckScope guard(this, 2 * kInstructionSize); in Emit() 722 EmissionCheckScope guard(this, 2 * kInstructionSize); in Emit() 751 EmissionCheckScope guard(thi in Emit() [all...] |
/foundation/ability/ability_runtime/services/abilitymgr/src/start_ability_handler/ |
H A D | start_ability_sandbox_savefile.cpp | 130 std::lock_guard guard(recordsMutex_); in PushRecord() 149 std::lock_guard guard(recordsMutex_); in ContainRecord() 158 std::lock_guard guard(recordsMutex_); in HandleResult()
|
/third_party/node/deps/npm/node_modules/@tufjs/models/dist/ |
H A D | metadata.js | 122 if (!utils_1.guard.isDefined(signed) || !utils_1.guard.isObject(signed)) { 151 if (!utils_1.guard.isObjectArray(data)) {
|
/third_party/node/deps/v8/src/handles/ |
H A D | persistent-handles.cc | 106 base::MutexGuard guard(&persistent_handles_mutex_); in Add() 115 base::MutexGuard guard(&persistent_handles_mutex_); in Remove() 126 base::MutexGuard guard(&persistent_handles_mutex_); in Iterate()
|
/foundation/ability/ability_runtime/services/abilitymgr/src/dialog_session/ |
H A D | dialog_session_manager.cpp | 54 std::lock_guard<ffrt::mutex> guard(dialogSessionRecordLock_); in GenerateDialogSessionId() 66 std::lock_guard<ffrt::mutex> guard(dialogSessionRecordLock_); in SetStartupSessionInfo() 75 std::lock_guard<ffrt::mutex> guard(dialogSessionRecordLock_); in SetDialogSessionInfo() 82 std::lock_guard<ffrt::mutex> guard(dialogSessionRecordLock_); in GetDialogSessionInfo() 93 std::lock_guard<ffrt::mutex> guard(dialogSessionRecordLock_); in GetDialogCallerInfo() 105 std::lock_guard<ffrt::mutex> guard(dialogSessionRecordLock_); in GetStartupSessionInfo() 116 std::lock_guard<ffrt::mutex> guard(dialogSessionRecordLock_); in ClearDialogContext() 125 std::lock_guard<ffrt::mutex> guard(dialogSessionRecordLock_); in ClearAllDialogContexts()
|
/foundation/communication/nfc/services/src/ipc/tags/ |
H A D | tag_session.cpp | 400 std::unique_lock<std::shared_mutex> guard(fgMutex_);
in GetFgDataVecSize() 406 std::unique_lock<std::shared_mutex> guard(fgMutex_);
in GetReaderDataVecSize() 413 std::unique_lock<std::shared_mutex> guard(fgMutex_);
in CheckFgAppStateChanged() 445 std::unique_lock<std::shared_mutex> guard(fgMutex_);
in CheckReaderAppStateChanged() 521 std::unique_lock<std::shared_mutex> guard(fgMutex_);
in RegForegroundDispatch() 570 std::unique_lock<std::shared_mutex> guard(fgMutex_);
in UnregForegroundDispatch() 717 std::unique_lock<std::shared_mutex> guard(fgMutex_);
in RegReaderMode() 723 std::unique_lock<std::shared_mutex> guard(fgMutex_);
in UnregReaderMode()
|
/foundation/multimodalinput/input/service/module_loader/src/ |
H A D | input_screen_capture_agent.cpp | 39 std::lock_guard<std::mutex> guard(agentMutex_); in ~InputScreenCaptureAgent() 47 std::lock_guard<std::mutex> guard(agentMutex_); in LoadLibrary()
|
/foundation/communication/nfc/interfaces/inner_api/controller/ |
H A D | ndef_msg_callback_stub.cpp | 77 std::unique_lock<std::shared_mutex> guard(mutex_); in RegisterCallback() 93 std::unique_lock<std::shared_mutex> guard(mutex_); in RemoteNdefMsgDiscovered()
|