Home
last modified time | relevance | path

Searched refs:guard (Results 151 - 175 of 518) sorted by relevance

12345678910>>...21

/foundation/graphic/graphic_3d/lume/LumeEngine/src/log/
H A Dlogger.cpp115 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 Dkeyevent_tracker.cpp82 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 Dcode-range.cc36 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 Dmemory-allocator.h108 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 Dsafepoint.cc213 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 Dsweeper.cc183 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 Dstrings-storage.cc31 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 Dgenerate_language_headers.py128 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 Dgenerate_language_headers.py128 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 Dgenerate_language_headers.py128 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 Doh_input_manager.cpp1013 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 Dgen.c61 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 Daccount_manager.cpp112 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 Dmakeregheader.py133 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 Dnfc_tag_callback_stub.cpp74 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 Dgdb-server-thread.cc40 v8::base::MutexGuard guard(&mutex_); in CleanupThread()
104 v8::base::MutexGuard guard(&mutex_); in Stop()
/foundation/ability/form_fwk/services/src/
H A Dform_render_mgr_inner.cpp90 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 Dmacro-assembler-aarch64.cc145 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 Dstart_ability_sandbox_savefile.cpp130 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 Dmetadata.js122 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 Dpersistent-handles.cc106 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 Ddialog_session_manager.cpp54 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 Dtag_session.cpp400 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 Dinput_screen_capture_agent.cpp39 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 Dndef_msg_callback_stub.cpp77 std::unique_lock<std::shared_mutex> guard(mutex_); in RegisterCallback()
93 std::unique_lock<std::shared_mutex> guard(mutex_); in RemoteNdefMsgDiscovered()

Completed in 20 milliseconds

12345678910>>...21