Home
last modified time | relevance | path

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

/art/runtime/jni/
Djava_vm_ext_test.cc89 const char* reason = __PRETTY_FUNCTION__; in TEST_F() local
93 nullptr), reason); in TEST_F()
95 CHECK_PTHREAD_CALL(pthread_join, (pthread, &ret_val), reason); in TEST_F()
101 const char* reason = __PRETTY_FUNCTION__; in TEST_F() local
105 nullptr), reason); in TEST_F()
107 CHECK_PTHREAD_CALL(pthread_join, (pthread, &ret_val), reason); in TEST_F()
115 const char* reason = __PRETTY_FUNCTION__; in TEST_F() local
118 CHECK_PTHREAD_CALL(pthread_attr_init, (&attr), reason); in TEST_F()
119 CHECK_PTHREAD_CALL(pthread_attr_setstacksize, (&attr, PTHREAD_STACK_MIN), reason); in TEST_F()
121 nullptr), reason); in TEST_F()
[all …]
Djava_vm_ext.h229 void (*check_jni_abort_hook_)(void* data, const std::string& reason);
/art/runtime/
Dthread_pool.cc62 const char* reason = "new thread pool worker thread"; in ThreadPoolWorker() local
64 CHECK_PTHREAD_CALL(pthread_attr_init, (&attr), reason); in ThreadPoolWorker()
65 CHECK_PTHREAD_CALL(pthread_attr_setstack, (&attr, stack_.Begin(), stack_.Size()), reason); in ThreadPoolWorker()
66 CHECK_PTHREAD_CALL(pthread_create, (&pthread_, &attr, &Callback, this), reason); in ThreadPoolWorker()
67 CHECK_PTHREAD_CALL(pthread_attr_destroy, (&attr), reason); in ThreadPoolWorker()
Dthread_list.h68 bool Resume(Thread* thread, SuspendReason reason = SuspendReason::kInternal)
87 SuspendReason reason,
97 Thread* SuspendThreadByThreadId(uint32_t thread_id, SuspendReason reason, bool* timed_out)
201 SuspendReason reason = SuspendReason::kInternal)
Dthread_list.cc676 SuspendReason reason) { in SuspendAllInternal() argument
706 if (reason == SuspendReason::kForDebugger) { in SuspendAllInternal()
716 bool updated = thread->ModifySuspendCount(self, +1, &pending_threads, reason); in SuspendAllInternal()
831 bool ThreadList::Resume(Thread* thread, SuspendReason reason) { in Resume() argument
837 VLOG(threads) << "Resume(" << reinterpret_cast<void*>(thread) << ") starting..." << reason; in Resume()
856 if (UNLIKELY(!thread->ModifySuspendCount(self, -1, nullptr, reason))) { in Resume()
892 SuspendReason reason, in SuspendThreadByPeer() argument
920 reason); in SuspendThreadByPeer()
947 bool updated = suspended_thread->ModifySuspendCount(self, +1, nullptr, reason); in SuspendThreadByPeer()
983 reason); in SuspendThreadByPeer()
[all …]
Druntime_callbacks_test.cc202 const char* reason = "ThreadLifecycleCallback test thread"; in TEST_F() local
204 CHECK_PTHREAD_CALL(pthread_attr_init, (&attr), reason); in TEST_F()
205 CHECK_PTHREAD_CALL(pthread_attr_setstack, (&attr, stack.Begin(), stack.Size()), reason); in TEST_F()
212 reason); in TEST_F()
213 CHECK_PTHREAD_CALL(pthread_attr_destroy, (&attr), reason); in TEST_F()
Dthread-inl.h360 SuspendReason reason) { in ModifySuspendCount() argument
365 if (LIKELY(ModifySuspendCountInternal(self, delta, suspend_barrier, reason))) { in ModifySuspendCount()
384 return ModifySuspendCountInternal(self, delta, suspend_barrier, reason); in ModifySuspendCount()
Dcommon_runtime_test.cc454 void CheckJniAbortCatcher::Hook(void* data, const std::string& reason) { in Hook() argument
456 *reinterpret_cast<std::string*>(data) += reason; in Hook()
Dcommon_runtime_test.h190 static void Hook(void* data, const std::string& reason);
Doat_file_assistant.cc1021 const char* reason = oat_file->GetCompilationReason(); in GetOptimizationStatus() local
1022 *out_compilation_reason = reason == nullptr ? "unknown" : reason; in GetOptimizationStatus()
Dmonitor.h226 template<LockReason reason = LockReason::kForLock>
Dmonitor.cc416 template <LockReason reason>
464 if (reason == LockReason::kForLock && !called_monitors_callback) { in Lock()
597 CHECK(reason == LockReason::kForLock); in Lock()
Dthread.h270 SuspendReason reason)
1399 SuspendReason reason)
Dthread.cc1401 SuspendReason reason) { in ModifySuspendCountInternal() argument
1404 << reason << " " << delta << " " << tls32_.debug_suspend_count << " " << this; in ModifySuspendCountInternal()
1413 if (UNLIKELY(reason == SuspendReason::kForUserCode)) { in ModifySuspendCountInternal()
1449 switch (reason) { in ModifySuspendCountInternal()
Ddebugger.h715 static void DdmSendHeapInfo(HpifWhen reason)
Ddebugger.cc4469 void Dbg::DdmSendHeapInfo(HpifWhen reason) { in DdmSendHeapInfo() argument
4471 if (reason == gDdmHpifWhen) { in DdmSendHeapInfo()
4500 JDWP::Append1BE(bytes, reason); in DdmSendHeapInfo()
/art/dex2oat/
Ddex2oat.cc516 message += reason; \
525 const char* reason = "dex2oat watch dog thread startup"; in WatchDog() local
526 CHECK_WATCH_DOG_PTHREAD_CALL(pthread_mutex_init, (&mutex_, nullptr), reason); in WatchDog()
529 CHECK_WATCH_DOG_PTHREAD_CALL(pthread_condattr_init, (&condattr), reason); in WatchDog()
530 CHECK_WATCH_DOG_PTHREAD_CALL(pthread_condattr_setclock, (&condattr, CLOCK_MONOTONIC), reason); in WatchDog()
531 CHECK_WATCH_DOG_PTHREAD_CALL(pthread_cond_init, (&cond_, &condattr), reason); in WatchDog()
532 CHECK_WATCH_DOG_PTHREAD_CALL(pthread_condattr_destroy, (&condattr), reason); in WatchDog()
534 CHECK_WATCH_DOG_PTHREAD_CALL(pthread_attr_init, (&attr_), reason); in WatchDog()
535 CHECK_WATCH_DOG_PTHREAD_CALL(pthread_create, (&pthread_, &attr_, &CallBack, this), reason); in WatchDog()
536 CHECK_WATCH_DOG_PTHREAD_CALL(pthread_attr_destroy, (&attr_), reason); in WatchDog()
[all …]
/art/test/979-const-method-handle/util-src/transformer/
DConstantTransformer.java162 Method method, Class<?> annotationClass, String reason) {
169 .append(reason);
/art/test/431-type-propagation/smali/
DTypePropagation.smali34 # This environment is the reason why a phi is created at the join block
/art/tools/runtime_memusage/
DREADME30 The main reason for splitting the functionality across multiple files is because
/art/build/apex/
Dld.config.txt33 # libicuuc.so and libicui18n.so are kept for app compat reason. http://b/130788466
/art/compiler/jni/
Djni_compiler_test.cc660 std::string reason; in JNI_TEST() local
662 LoadNativeLibrary(env_, "", class_loader_, nullptr, &reason)) in JNI_TEST()
663 << reason; in JNI_TEST()
676 std::string reason; in JNI_TEST_NORMAL_ONLY() local
678 LoadNativeLibrary(env_, "", class_loader_, nullptr, &reason)) in JNI_TEST_NORMAL_ONLY()
679 << reason; in JNI_TEST_NORMAL_ONLY()
/art/
DNOTICE186 incurred by, or claims asserted against, such Contributor by reason
/art/test/710-varhandle-creation/src/
DMain.java226 public static void fail(String reason) { in fail() argument
227 throw new RuntimeException("FAIL: " + reason); in fail()
2213 protected static void fail(String reason) { in fail() argument
2214 Main.fail(reason); in fail()
/art/test/565-checker-doublenegbitwise/smali/
DSmaliTests.smali558 # The second Xor has its arguments reversed for no obvious reason.