Home
last modified time | relevance | path

Searched refs:GetCurrentThread (Results 1 – 25 of 202) sorted by relevance

123456789

/aosp_15_r20/external/angle/src/libGLESv2/
H A Dentry_points_egl_ext_autogen.cpp30 Thread *thread = egl::GetCurrentThread(); in EGL_SetBlobCacheFuncsANDROID()
63 Thread *thread = egl::GetCurrentThread(); in EGL_CreateNativeClientBufferANDROID()
101 Thread *thread = egl::GetCurrentThread(); in EGL_GetCompositorTimingSupportedANDROID()
144 Thread *thread = egl::GetCurrentThread(); in EGL_GetCompositorTimingANDROID()
186 Thread *thread = egl::GetCurrentThread(); in EGL_GetNextFrameIdANDROID()
225 Thread *thread = egl::GetCurrentThread(); in EGL_GetFrameTimestampSupportedANDROID()
269 Thread *thread = egl::GetCurrentThread(); in EGL_GetFrameTimestampsANDROID()
311 Thread *thread = egl::GetCurrentThread(); in EGL_GetNativeClientBufferANDROID()
342 Thread *thread = egl::GetCurrentThread(); in EGL_DupNativeFenceFDANDROID()
380 Thread *thread = egl::GetCurrentThread(); in EGL_PresentationTimeANDROID()
[all …]
H A Dentry_points_egl_autogen.cpp34 Thread *thread = egl::GetCurrentThread(); in EGL_ChooseConfig()
76 Thread *thread = egl::GetCurrentThread(); in EGL_CopyBuffers()
115 Thread *thread = egl::GetCurrentThread(); in EGL_CreateContext()
159 Thread *thread = egl::GetCurrentThread(); in EGL_CreatePbufferSurface()
201 Thread *thread = egl::GetCurrentThread(); in EGL_CreatePixmapSurface()
244 Thread *thread = egl::GetCurrentThread(); in EGL_CreateWindowSurface()
284 Thread *thread = egl::GetCurrentThread(); in EGL_DestroyContext()
318 Thread *thread = egl::GetCurrentThread(); in EGL_DestroySurface()
355 Thread *thread = egl::GetCurrentThread(); in EGL_GetConfigAttrib()
395 Thread *thread = egl::GetCurrentThread(); in EGL_GetConfigs()
[all …]
H A Dglobal_state.cpp142 ANGLE_NO_SANITIZE_MEMORY ANGLE_NO_SANITIZE_THREAD Thread *GetCurrentThread() in GetCurrentThread() function
208 egl::GetCurrentThread(); in GenerateContextLostErrorOnCurrentGlobalContext()
/aosp_15_r20/external/crosvm/base/src/sys/windows/
H A Dpriority.rs12 use winapi::um::processthreadsapi::GetCurrentThread;
46 unsafe { SetThreadPriority(GetCurrentThread(), thread_priority) }; in set_thread_priority()
76 use winapi::um::processthreadsapi::GetCurrentThread;
91 let thread_priority = GetThreadPriority(GetCurrentThread()); in test_mm_handle_is_dropped()
95 let thread_priority = GetThreadPriority(GetCurrentThread()); in test_mm_handle_is_dropped()
98 let thread_priority = GetThreadPriority(GetCurrentThread()); in test_mm_handle_is_dropped()
H A Dsched.rs6 use winapi::um::processthreadsapi::GetCurrentThread;
42 let thread_handle = GetCurrentThread(); in set_cpu_affinity_mask()
/aosp_15_r20/external/perfetto/src/base/
H A Dtime.cc61 const int previous_priority = ::GetThreadPriority(::GetCurrentThread()); in TSCTicksPerSecond()
62 ::SetThreadPriority(::GetCurrentThread(), THREAD_PRIORITY_HIGHEST); in TSCTicksPerSecond()
78 ::SetThreadPriority(::GetCurrentThread(), previous_priority); in TSCTicksPerSecond()
135 ::GetThreadTimes(GetCurrentThread(), &dummy, &dummy, &kernel_ftime, in GetThreadCPUTimeNs()
146 ::QueryThreadCycleTime(GetCurrentThread(), &thread_cycle_time); in GetThreadCPUTimeNs()
H A Dthread_utils.cc69 HRESULT result = set_thread_description_func(::GetCurrentThread(),
84 get_thread_description_func(::GetCurrentThread(), &wide_thread_name);
/aosp_15_r20/external/compiler-rt/lib/lsan/
H A Dlsan_thread.cc44 u32 GetCurrentThread() { in GetCurrentThread() function
104 thread_registry->FinishThread(GetCurrentThread()); in ThreadFinish()
109 if (GetCurrentThread() == kInvalidTid) in CurrentThreadContext()
112 return (ThreadContext *)thread_registry->GetThreadLocked(GetCurrentThread()); in CurrentThreadContext()
133 if (GetCurrentThread() == 0) in EnsureMainThreadIDIsCorrect()
/aosp_15_r20/external/cronet/base/threading/
H A Dplatform_thread_win.cc118 GetCurrentThread(), in ThreadFunc()
153 if (::GetThreadPriority(::GetCurrentThread()) < THREAD_PRIORITY_NORMAL) in ThreadFunc()
271 return PlatformThreadHandle(::GetCurrentThread()); in CurrentHandle()
301 set_thread_description_func(::GetCurrentThread(), in SetName()
491 ::GetCurrentThread(), ::ThreadPowerThrottling, in SetCurrentThreadQualityOfService()
/aosp_15_r20/external/angle/util/windows/win32/
H A Dtest_utils_win32.cpp82 sw.ShowCallstack(GetCurrentThread(), c); in PrintBacktrace()
126 if (::SetThreadAffinityMask(::GetCurrentThread(), 1) == 0) in StabilizeCPUForBenchmarking()
134 if (::SetThreadPriority(::GetCurrentThread(), THREAD_PRIORITY_TIME_CRITICAL) == FALSE) in StabilizeCPUForBenchmarking()
/aosp_15_r20/external/pciutils/lib/
H A Dwin32-helpers.c210 if (!OpenThreadToken(GetCurrentThread(), TOKEN_QUERY, TRUE, &token) && in win32_have_privilege()
268 if (!OpenThreadToken(GetCurrentThread(), TOKEN_IMPERSONATE, TRUE, &token)) in win32_change_token()
296 if (!OpenThreadToken(GetCurrentThread(), TOKEN_IMPERSONATE, TRUE, &token)) in change_token_to_primary()
334 if (OpenThreadToken(GetCurrentThread(), TOKEN_ADJUST_PRIVILEGES, TRUE, &thread_token)) in win32_enable_privilege()
367 if (!OpenThreadToken(GetCurrentThread(), TOKEN_IMPERSONATE, TRUE, &thread_token)) in win32_enable_privilege()
390 if (!OpenThreadToken(GetCurrentThread(), TOKEN_ADJUST_PRIVILEGES, TRUE, &new_token)) in win32_enable_privilege()
454 if (!OpenThreadToken(GetCurrentThread(), TOKEN_QUERY, TRUE, &token) && in get_current_token_owner()
/aosp_15_r20/external/compiler-rt/lib/asan/
H A Dasan_thread.cc337 AsanThread *GetCurrentThread() { in GetCurrentThread() function
369 AsanThread *t = GetCurrentThread(); in GetCurrentTidOrInvalid()
441 AsanThread *t = GetCurrentThread(); in __sanitizer_start_switch_fiber()
451 AsanThread *t = GetCurrentThread(); in __sanitizer_finish_switch_fiber()
/aosp_15_r20/external/cronet/base/allocator/partition_allocator/src/partition_alloc/partition_alloc_base/time/
H A Dtime_win.cc516 const int previous_priority = ::GetThreadPriority(::GetCurrentThread()); in TSCTicksPerSecond()
517 ::SetThreadPriority(::GetCurrentThread(), THREAD_PRIORITY_HIGHEST); in TSCTicksPerSecond()
531 ::SetThreadPriority(::GetCurrentThread(), previous_priority); in TSCTicksPerSecond()
/aosp_15_r20/external/sdv/vsomeip/third_party/boost/chrono/include/boost/chrono/detail/inlined/win/
Dthread_clock.hpp35 boost::winapi::GetCurrentThread (), &creation, &exit, in now()
79 boost::winapi::GetCurrentThread (), &creation, &exit, in now()
/aosp_15_r20/external/libchrome/ipc/
H A Dipc_perftest_util.cc75 old_affinity_ = SetThreadAffinityMask(GetCurrentThread(), thread_mask); in LockThreadAffinity()
95 auto set_result = SetThreadAffinityMask(GetCurrentThread(), old_affinity_); in ~LockThreadAffinity()
/aosp_15_r20/art/test/931-agent-thread/
H A Dagent_thread.cc52 jvmtiError this_thread_result = jenv->GetCurrentThread(&this_thread); in AgentMain()
135 jvmtiError main_thread_result = jvmti_env->GetCurrentThread(&main_thread); in Java_art_Test931_testAgentThread()
/aosp_15_r20/art/compiler/utils/x86/
H A Djni_macro_assembler_x86.h88 void GetCurrentThread(ManagedRegister dest) override;
89 void GetCurrentThread(FrameOffset dest_offset) override;
/aosp_15_r20/external/cronet/ipc/
H A Dipc_perftest_util.cc79 old_affinity_ = SetThreadAffinityMask(GetCurrentThread(), thread_mask); in LockThreadAffinity()
99 auto set_result = SetThreadAffinityMask(GetCurrentThread(), old_affinity_); in ~LockThreadAffinity()
/aosp_15_r20/art/compiler/utils/riscv64/
H A Djni_macro_assembler_riscv64.h90 void GetCurrentThread(ManagedRegister dest) override;
91 void GetCurrentThread(FrameOffset offset) override;
/aosp_15_r20/art/compiler/utils/x86_64/
H A Djni_macro_assembler_x86_64.h89 void GetCurrentThread(ManagedRegister dest) override;
90 void GetCurrentThread(FrameOffset dest_offset) override;
/aosp_15_r20/external/cronet/base/time/
H A Dtime_win.cc782 const int previous_priority = ::GetThreadPriority(::GetCurrentThread()); in TSCTicksPerSecond()
783 ::SetThreadPriority(::GetCurrentThread(), THREAD_PRIORITY_HIGHEST); in TSCTicksPerSecond()
797 ::SetThreadPriority(::GetCurrentThread(), previous_priority); in TSCTicksPerSecond()
/aosp_15_r20/art/compiler/utils/arm/
H A Djni_macro_assembler_arm_vixl.h91 void GetCurrentThread(ManagedRegister dest) override;
92 void GetCurrentThread(FrameOffset dest_offset) override;
/aosp_15_r20/external/virglrenderer/src/mesa/util/
H A Du_thread.h228 return util_set_thread_affinity(GetCurrentThread(), mask, old_mask, in util_set_current_thread_affinity()
266 return util_thread_get_time_nano(GetCurrentThread()); in util_current_thread_get_time_nano()
/aosp_15_r20/art/compiler/utils/arm64/
H A Djni_macro_assembler_arm64.h94 void GetCurrentThread(ManagedRegister dest) override;
95 void GetCurrentThread(FrameOffset dest_offset) override;
/aosp_15_r20/external/compiler-rt/lib/msan/
H A Dmsan_allocator.cc117 MsanThread *t = GetCurrentThread(); in MsanAllocate()
160 MsanThread *t = GetCurrentThread(); in MsanDeallocate()

123456789