/art/runtime/ |
D | java_vm_ext_test.cc | 91 CHECK_PTHREAD_CALL(pthread_create, (&pthread, nullptr, attach_current_thread_callback, in TEST_F() 94 CHECK_PTHREAD_CALL(pthread_join, (pthread, &ret_val), reason); in TEST_F() 103 CHECK_PTHREAD_CALL(pthread_create, (&pthread, nullptr, attach_current_thread_callback, in TEST_F() 106 CHECK_PTHREAD_CALL(pthread_join, (pthread, &ret_val), reason); in TEST_F() 116 CHECK_PTHREAD_CALL(pthread_attr_init, (&attr), reason); in TEST_F() 117 CHECK_PTHREAD_CALL(pthread_attr_setstacksize, (&attr, PTHREAD_STACK_MIN), reason); in TEST_F() 118 CHECK_PTHREAD_CALL(pthread_create, (&pthread, &attr, attach_current_thread_callback, in TEST_F() 120 CHECK_PTHREAD_CALL(pthread_attr_destroy, (&attr), reason); in TEST_F() 122 CHECK_PTHREAD_CALL(pthread_join, (pthread, &ret_val), reason); in TEST_F()
|
D | thread_pool.cc | 39 CHECK_PTHREAD_CALL(pthread_attr_init, (&attr), reason); in ThreadPoolWorker() 40 CHECK_PTHREAD_CALL(pthread_attr_setstack, (&attr, stack_->Begin(), stack_->Size()), reason); in ThreadPoolWorker() 41 CHECK_PTHREAD_CALL(pthread_create, (&pthread_, &attr, &Callback, this), reason); in ThreadPoolWorker() 42 CHECK_PTHREAD_CALL(pthread_attr_destroy, (&attr), reason); in ThreadPoolWorker() 46 CHECK_PTHREAD_CALL(pthread_join, (pthread_, nullptr), "thread pool worker shutdown"); in ~ThreadPoolWorker()
|
D | signal_catcher.cc | 75 CHECK_PTHREAD_CALL(pthread_create, (&pthread_, nullptr, &Run, this), "signal catcher thread"); in SignalCatcher() 88 CHECK_PTHREAD_CALL(pthread_kill, (pthread_, SIGQUIT), "signal catcher shutdown"); in ~SignalCatcher() 89 CHECK_PTHREAD_CALL(pthread_join, (pthread_, nullptr), "signal catcher shutdown"); in ~SignalCatcher()
|
D | utils.cc | 62 CHECK_PTHREAD_CALL(pthread_threadid_np, (nullptr, &owner), __FUNCTION__); // Requires Mac OS 10.6 in GetTid() 97 CHECK_PTHREAD_CALL(pthread_attr_init, (&attributes), __FUNCTION__); in GetThreadStack() 98 CHECK_PTHREAD_CALL(pthread_attr_getguardsize, (&attributes, guard_size), __FUNCTION__); in GetThreadStack() 99 CHECK_PTHREAD_CALL(pthread_attr_destroy, (&attributes), __FUNCTION__); in GetThreadStack() 102 CHECK_PTHREAD_CALL(pthread_getattr_np, (thread, &attributes), __FUNCTION__); in GetThreadStack() 103 CHECK_PTHREAD_CALL(pthread_attr_getstack, (&attributes, stack_base, stack_size), __FUNCTION__); in GetThreadStack() 104 CHECK_PTHREAD_CALL(pthread_attr_getguardsize, (&attributes, guard_size), __FUNCTION__); in GetThreadStack() 105 CHECK_PTHREAD_CALL(pthread_attr_destroy, (&attributes), __FUNCTION__); in GetThreadStack()
|
D | thread.cc | 429 CHECK_PTHREAD_CALL(pthread_attr_init, (&attr), "new thread"); in CreateNativeThread() 430 CHECK_PTHREAD_CALL(pthread_attr_setdetachstate, (&attr, PTHREAD_CREATE_DETACHED), in CreateNativeThread() 432 CHECK_PTHREAD_CALL(pthread_attr_setstacksize, (&attr, stack_size), stack_size); in CreateNativeThread() 437 CHECK_PTHREAD_CALL(pthread_attr_destroy, (&attr), "new thread"); in CreateNativeThread() 493 CHECK_PTHREAD_CALL(pthread_setspecific, (Thread::pthread_key_self_, this), "attach self"); in Init() 971 CHECK_PTHREAD_CALL(pthread_getschedparam, (thread->tlsPtr_.pthread_self, &policy, &sp), in DumpState() 1220 CHECK_PTHREAD_CALL(pthread_setspecific, (Thread::pthread_key_self_, self), "reattach self"); in ThreadExitCallback() 1243 CHECK_PTHREAD_CALL(pthread_key_create, (&Thread::pthread_key_self_, Thread::ThreadExitCallback), in Startup() 1266 CHECK_PTHREAD_CALL(pthread_key_delete, (Thread::pthread_key_self_), "self key"); in Shutdown()
|
D | trace.cc | 363 CHECK_PTHREAD_CALL(pthread_create, (&sampling_pthread_, nullptr, &RunSamplingThread, in Start() 405 CHECK_PTHREAD_CALL(pthread_join, (sampling_pthread, nullptr), "sampling thread shutdown"); in StopTracing() 486 CHECK_PTHREAD_CALL(pthread_join, (sampling_pthread, nullptr), "sampling thread shutdown"); in Pause() 538 CHECK_PTHREAD_CALL(pthread_create, (&sampling_pthread_, nullptr, &RunSamplingThread, in Resume()
|
D | profiler.cc | 347 CHECK_PTHREAD_CALL(pthread_create, (&profiler_pthread_, nullptr, &RunProfilerThread, in Start() 373 CHECK_PTHREAD_CALL(pthread_join, (profiler_pthread, nullptr), "profiler thread shutdown"); in Stop()
|
D | thread_list.cc | 1160 CHECK_PTHREAD_CALL(pthread_setspecific, (Thread::pthread_key_self_, nullptr), "detach self"); in Unregister()
|
/art/runtime/base/ |
D | mutex-inl.h | 38 #define CHECK_MUTEX_CALL(call, args) CHECK_PTHREAD_CALL(call, args, name_)
|
D | logging.h | 149 #define CHECK_PTHREAD_CALL(call, args, what) \ macro
|
/art/runtime/jdwp/ |
D | jdwp_main.cc | 271 CHECK_PTHREAD_CALL(pthread_create, (&state->pthread_, nullptr, StartJdwpThread, state.get()), in Create()
|
/art/dex2oat/ |
D | dex2oat.cc | 350 #undef CHECK_PTHREAD_CALL
|