/art/runtime/ |
D | common_throws.cc | 49 std::ostringstream msg; in ThrowException() local 53 msg << vmsg; in ThrowException() 55 msg << fmt; in ThrowException() 57 AddReferrerLocation(msg, referrer); in ThrowException() 61 self->ThrowNewException(computed_throw_location, exception_descriptor, msg.str().c_str()); in ThrowException() 63 self->ThrowNewException(*throw_location, exception_descriptor, msg.str().c_str()); in ThrowException() 71 std::ostringstream msg; in ThrowWrappedException() local 75 msg << vmsg; in ThrowWrappedException() 77 msg << fmt; in ThrowWrappedException() 79 AddReferrerLocation(msg, referrer); in ThrowWrappedException() [all …]
|
D | check_jni.cc | 41 static void JniAbort(const char* jni_function_name, const char* msg) { in JniAbort() argument 47 os << "JNI DETECTED ERROR IN APPLICATION: " << msg; in JniAbort() 71 std::string msg; in JniAbortV() local 72 StringAppendV(&msg, fmt, ap); in JniAbortV() 73 JniAbort(jni_function_name, msg.c_str()); in JniAbortV() 416 std::string msg; in Check() local 422 StringAppendF(&msg, "%d", b); in Check() 424 StringAppendF(&msg, "%#x (%d)", b, b); in Check() 429 StringAppendF(&msg, "U+%x ('%c')", c, c); in Check() 431 StringAppendF(&msg, "U+%x", c); in Check() [all …]
|
D | common_throws.h | 63 void ThrowClassCastException(const ThrowLocation* throw_location, const char* msg) 97 void ThrowIllegalAccessException(const ThrowLocation* throw_location, const char* msg) 102 void ThrowIllegalArgumentException(const ThrowLocation* throw_location, const char* msg) 143 void ThrowNegativeArraySizeException(const char* msg) 182 void ThrowNullPointerException(const ThrowLocation* throw_location, const char* msg)
|
D | reference_table.cc | 135 std::string msg(StringPrintf("%5zd of %s", total, className.c_str())); in DumpSummaryLine() local 137 StringAppendF(&msg, " (%d unique instances)", equiv + 1); in DumpSummaryLine() 139 os << " " << msg << "\n"; in DumpSummaryLine()
|
D | thread.cc | 341 std::string msg(StringPrintf("pthread_create (%s stack) failed: %s", in CreateNativeThread() local 344 soa.Self()->ThrowOutOfMemoryError(msg.c_str()); in CreateNativeThread() 1147 void Thread::AssertNoPendingExceptionForNewException(const char* msg) const { in AssertNoPendingExceptionForNewException() 1151 LOG(FATAL) << "Throwing new exception '" << msg << "' with unexpected pending exception: " in AssertNoPendingExceptionForNewException() 1649 std::string msg; in ThrowNewExceptionV() local 1650 StringAppendV(&msg, fmt, ap); in ThrowNewExceptionV() 1651 ThrowNewException(throw_location, exception_class_descriptor, msg.c_str()); in ThrowNewExceptionV() 1655 const char* msg) { in ThrowNewException() argument 1657 AssertNoPendingExceptionForNewException(msg); in ThrowNewException() 1658 ThrowNewWrappedException(throw_location, exception_class_descriptor, msg); in ThrowNewException() [all …]
|
D | quick_exception_handler.cc | 121 mirror::String* msg = exception->GetDetailMessage(); in FindCatch() local 122 std::string str_msg(msg != nullptr ? msg->ToModifiedUtf8() : ""); in FindCatch()
|
D | thread.h | 326 void AssertNoPendingExceptionForNewException(const char* msg) const; 374 const char* exception_class_descriptor, const char* msg) 381 const char* msg) 395 void ThrowOutOfMemoryError(const char* msg) SHARED_LOCKS_REQUIRED(Locks::mutator_lock_);
|
D | jni_internal.h | 57 int ThrowNewException(JNIEnv* env, jclass exception_class, const char* msg, jobject cause);
|
/art/test/etc/ |
D | push-and-run-test-jar | 6 msg() { function 63 msg "Spawning from zygote" 120 msg "Performing optimizations" 123 msg "Skipping optimizations" 127 msg "Performing verification" 130 msg "Skipping verification" 134 msg "------------------------------" 154 msg "Waiting for jdb to connect:" 155 msg " adb forward tcp:$PORT tcp:$PORT" 156 msg " jdb -attach localhost:$PORT"
|
D | reference-run-test-classes | 12 msg() { function 48 msg "Performing verification" 51 msg "Skipping verification" 56 msg "Waiting for jdb to connect:" 57 msg " jdb -attach localhost:$PORT"
|
D | push-and-run-prebuilt-test-jar | 6 msg() { function 75 msg "Spawning from zygote" 127 msg "Performing optimizations" 130 msg "Skipping optimizations" 134 msg "Performing verification" 137 msg "Skipping verification" 141 msg "------------------------------" 167 msg "Waiting for jdb to connect:" 168 msg " adb forward tcp:$PORT tcp:$PORT" 169 msg " jdb -attach localhost:$PORT"
|
D | host-run-test-jar | 6 msg() { function 131 msg "------------------------------" 150 msg "Waiting for jdb to connect:" 151 msg " jdb -attach localhost:$PORT"
|
/art/runtime/jdwp/ |
D | jdwp_adb.cc | 147 msghdr msg; in ReceiveClientFd() local 148 msg.msg_name = NULL; in ReceiveClientFd() 149 msg.msg_namelen = 0; in ReceiveClientFd() 150 msg.msg_iov = &iov; in ReceiveClientFd() 151 msg.msg_iovlen = 1; in ReceiveClientFd() 152 msg.msg_flags = 0; in ReceiveClientFd() 153 msg.msg_control = cm_un.buffer; in ReceiveClientFd() 154 msg.msg_controllen = sizeof(cm_un.buffer); in ReceiveClientFd() 156 cmsghdr* cmsg = CMSG_FIRSTHDR(&msg); in ReceiveClientFd() 157 cmsg->cmsg_len = msg.msg_controllen; in ReceiveClientFd() [all …]
|
/art/runtime/base/ |
D | logging.cc | 140 std::string msg(data_->buffer.str()); in ~LogMessage() local 145 if (msg.find('\n') == std::string::npos) { in ~LogMessage() 146 LogLine(*data_, msg.c_str()); in ~LogMessage() 148 msg += '\n'; in ~LogMessage() 150 while (i < msg.size()) { in ~LogMessage() 151 size_t nl = msg.find('\n', i); in ~LogMessage() 152 msg[nl] = '\0'; in ~LogMessage() 153 LogLine(*data_, &msg[i]); in ~LogMessage()
|
D | macros.h | 63 #define COMPILE_ASSERT(expr, msg) \ argument 64 typedef CompileAssert<(bool(expr))> msg[bool(expr) ? 1 : -1] // NOLINT
|
D | mutex-inl.h | 55 std::string msg = StringPrintf("Lock contention on %s (owner tid: %" PRIu64 ")", in ScopedContentionRecorder() local 57 ATRACE_BEGIN(msg.c_str()); in ScopedContentionRecorder()
|
/art/test/407-arrays/src/ |
D | TestCase.java | 72 String msg = "Expected \"" + expected + "\" but got \"" + actual + "\""; in assertEquals() local 73 throw new AssertionError(msg); in assertEquals() 85 String msg = "Objects are the same: " + String.valueOf(expected); in assertNotEquals() local 86 throw new AssertionError(msg); in assertNotEquals() 196 public static void fail(String msg) { in fail() argument 197 throw new AssertionError(msg); in fail()
|
/art/test/406-fields/src/ |
D | TestCase.java | 72 String msg = "Expected \"" + expected + "\" but got \"" + actual + "\""; in assertEquals() local 73 throw new AssertionError(msg); in assertEquals() 85 String msg = "Objects are the same: " + String.valueOf(expected); in assertNotEquals() local 86 throw new AssertionError(msg); in assertNotEquals() 196 public static void fail(String msg) { in fail() argument 197 throw new AssertionError(msg); in fail()
|
/art/test/088-monitor-verification/src/ |
D | MyException.java | 21 public MyException(String msg) { in MyException() argument 22 super(msg); in MyException()
|
/art/test/054-uncaught/src/ |
D | ThreadDeathHandler.java | 25 public ThreadDeathHandler(String msg) { in ThreadDeathHandler() argument 26 mMyMessage = msg; in ThreadDeathHandler()
|
/art/test/050-sync-test/src/ |
D | ThreadDeathHandler.java | 25 public ThreadDeathHandler(String msg) { in ThreadDeathHandler() argument 26 mMyMessage = msg; in ThreadDeathHandler()
|
/art/test/004-UnsafeTest/src/ |
D | Main.java | 25 private static void check(int actual, int expected, String msg) { in check() argument 27 System.out.println(msg + " : " + actual + " != " + expected); in check() 32 private static void check(long actual, long expected, String msg) { in check() argument 34 System.out.println(msg + " : " + actual + " != " + expected); in check()
|
/art/test/084-class-init/src/ |
D | SlowInit.java | 27 public static void printMsg(String msg) { in printMsg() argument 28 System.out.println(msg); in printMsg()
|
/art/runtime/mirror/ |
D | throwable.cc | 75 String* msg = GetDetailMessage(); in Dump() local 76 if (msg != NULL) { in Dump() 77 result += msg->ToModifiedUtf8(); in Dump()
|
/art/runtime/entrypoints/ |
D | entrypoint_utils.cc | 124 std::string msg("stack size "); in ThrowStackOverflowError() local 125 msg += PrettySize(self->GetStackSize()); in ThrowStackOverflowError() 150 ScopedLocalRef<jstring> s(env, env->NewStringUTF(msg.c_str())); in ThrowStackOverflowError()
|