Home
last modified time | relevance | path

Searched refs:curr_thread (Results 1 – 4 of 4) sorted by relevance

/external/tensorflow/tensorflow/python/profiler/internal/
Dpython_hooks.cc325 PyThreadState* curr_thread = PyThreadState_Get(); in SetProfilerInAllThreads() local
326 PyThreadState* next_thread = curr_thread; in SetProfilerInAllThreads()
333 PyThreadState_Swap(curr_thread); in SetProfilerInAllThreads()
337 PyThreadState* curr_thread = PyThreadState_Get(); in ClearProfilerInAllThreads() local
338 PyThreadState* next_thread = curr_thread; in ClearProfilerInAllThreads()
345 PyThreadState_Swap(curr_thread); in ClearProfilerInAllThreads()
/external/llvm-project/compiler-rt/lib/asan/
Dasan_rtl.cpp577 if (AsanThread *curr_thread = GetCurrentThread()) { in UnpoisonDefaultStack() local
580 top = curr_thread->stack_top(); in UnpoisonDefaultStack()
598 AsanThread *curr_thread = GetCurrentThread(); in UnpoisonFakeStack() local
599 if (curr_thread && curr_thread->has_fake_stack()) in UnpoisonFakeStack()
600 curr_thread->fake_stack()->HandleNoReturn(); in UnpoisonFakeStack()
/external/compiler-rt/lib/asan/
Dasan_rtl.cc603 AsanThread *curr_thread = GetCurrentThread(); in __asan_handle_no_return() local
606 if (curr_thread) { in __asan_handle_no_return()
607 top = curr_thread->stack_top(); in __asan_handle_no_return()
631 if (curr_thread && curr_thread->has_fake_stack()) in __asan_handle_no_return()
632 curr_thread->fake_stack()->HandleNoReturn(); in __asan_handle_no_return()
/external/llvm-project/lldb/source/Target/
DProcess.cpp935 ThreadSP curr_thread(thread_list.GetSelectedThread()); in HandleProcessStateChangedEvent() local
938 if (curr_thread) { in HandleProcessStateChangedEvent()
939 curr_thread_stop_reason = curr_thread->GetStopReason(); in HandleProcessStateChangedEvent()
940 curr_thread_stop_info_sp = curr_thread->GetStopInfo(); in HandleProcessStateChangedEvent()
942 if (!curr_thread || !curr_thread->IsValid() || in HandleProcessStateChangedEvent()
992 if (curr_thread && curr_thread->IsValid()) in HandleProcessStateChangedEvent()
993 thread = curr_thread; in HandleProcessStateChangedEvent()