Lines Matching refs:hook
196 static void ThreadCreateHook(void *hook, bool aborted) { in ThreadCreateHook() argument
197 AsanThread *thread = static_cast<AsanThread *>(hook); in ThreadCreateHook()
212 static void ThreadStartHook(void *hook, uptr os_id) { in ThreadStartHook() argument
213 AsanThread *thread = static_cast<AsanThread *>(hook); in ThreadStartHook()
224 static void ThreadExitHook(void *hook, uptr os_id) { in ThreadExitHook() argument
262 void __sanitizer_thread_create_hook(void *hook, thrd_t thread, int error) { in __sanitizer_thread_create_hook() argument
263 __asan::ThreadCreateHook(hook, error != thrd_success); in __sanitizer_thread_create_hook()
266 void __sanitizer_thread_start_hook(void *hook, thrd_t self) { in __sanitizer_thread_start_hook() argument
267 __asan::ThreadStartHook(hook, reinterpret_cast<uptr>(self)); in __sanitizer_thread_start_hook()
270 void __sanitizer_thread_exit_hook(void *hook, thrd_t self) { in __sanitizer_thread_exit_hook() argument
271 __asan::ThreadExitHook(hook, reinterpret_cast<uptr>(self)); in __sanitizer_thread_exit_hook()