Lines Matching refs:arg
40 static void* thread_nop(void* arg) { in thread_nop() argument
41 class_with_dtor.set_message(*static_cast<std::string*>(arg)); in thread_nop()
76 extern "C" int __cxa_thread_atexit_impl(void (*fn)(void*), void* arg, void* dso_handle);
78 static void thread_atexit_fn1(void* arg) { in thread_atexit_fn1() argument
79 std::string* call_sequence = static_cast<std::string*>(arg); in thread_atexit_fn1()
83 static void thread_atexit_fn2(void* arg) { in thread_atexit_fn2() argument
84 std::string* call_sequence = static_cast<std::string*>(arg); in thread_atexit_fn2()
88 static void thread_atexit_from_atexit(void* arg) { in thread_atexit_from_atexit() argument
89 std::string* call_sequence = static_cast<std::string*>(arg); in thread_atexit_from_atexit()
93 static void thread_atexit_fn3(void* arg) { in thread_atexit_fn3() argument
94 __cxa_thread_atexit_impl(thread_atexit_from_atexit, arg, nullptr); in thread_atexit_fn3()
95 std::string* call_sequence = static_cast<std::string*>(arg); in thread_atexit_fn3()
99 static void thread_atexit_fn4(void* arg) { in thread_atexit_fn4() argument
100 std::string* call_sequence = static_cast<std::string*>(arg); in thread_atexit_fn4()
104 static void thread_atexit_fn5(void* arg) { in thread_atexit_fn5() argument
105 std::string* call_sequence = static_cast<std::string*>(arg); in thread_atexit_fn5()
109 static void* thread_main(void* arg) { in thread_main() argument
110 __cxa_thread_atexit_impl(thread_atexit_fn5, arg, nullptr); in thread_main()
111 __cxa_thread_atexit_impl(thread_atexit_fn4, arg, nullptr); in thread_main()
112 __cxa_thread_atexit_impl(thread_atexit_fn3, arg, nullptr); in thread_main()
113 __cxa_thread_atexit_impl(thread_atexit_fn2, arg, nullptr); in thread_main()
114 __cxa_thread_atexit_impl(thread_atexit_fn1, arg, nullptr); in thread_main()