Lines Matching refs:hook
117 static void ThreadCreateHook(void *hook, bool aborted) { in ThreadCreateHook() argument
118 Thread *thread = static_cast<Thread *>(hook); in ThreadCreateHook()
133 static void ThreadStartHook(void *hook, thrd_t self) { in ThreadStartHook() argument
134 Thread *thread = static_cast<Thread *>(hook); in ThreadStartHook()
152 static void ThreadExitHook(void *hook, thrd_t self) { in ThreadExitHook() argument
153 Thread *thread = static_cast<Thread *>(hook); in ThreadExitHook()
223 void __sanitizer_thread_create_hook(void *hook, thrd_t thread, int error) { in __sanitizer_thread_create_hook() argument
224 __hwasan::ThreadCreateHook(hook, error != thrd_success); in __sanitizer_thread_create_hook()
227 void __sanitizer_thread_start_hook(void *hook, thrd_t self) { in __sanitizer_thread_start_hook() argument
228 __hwasan::ThreadStartHook(hook, reinterpret_cast<uptr>(self)); in __sanitizer_thread_start_hook()
231 void __sanitizer_thread_exit_hook(void *hook, thrd_t self) { in __sanitizer_thread_exit_hook() argument
232 __hwasan::ThreadExitHook(hook, self); in __sanitizer_thread_exit_hook()