Home
last modified time | relevance | path

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

12

/art/runtime/
Dcommon_throws.cc49 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 …]
Dcheck_jni.cc41 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 …]
Dcommon_throws.h63 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)
Dreference_table.cc135 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()
Dthread.cc341 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 …]
Dquick_exception_handler.cc121 mirror::String* msg = exception->GetDetailMessage(); in FindCatch() local
122 std::string str_msg(msg != nullptr ? msg->ToModifiedUtf8() : ""); in FindCatch()
Dthread.h326 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_);
Djni_internal.h57 int ThrowNewException(JNIEnv* env, jclass exception_class, const char* msg, jobject cause);
/art/test/etc/
Dpush-and-run-test-jar6 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"
Dreference-run-test-classes12 msg() { function
48 msg "Performing verification"
51 msg "Skipping verification"
56 msg "Waiting for jdb to connect:"
57 msg " jdb -attach localhost:$PORT"
Dpush-and-run-prebuilt-test-jar6 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"
Dhost-run-test-jar6 msg() { function
131 msg "------------------------------"
150 msg "Waiting for jdb to connect:"
151 msg " jdb -attach localhost:$PORT"
/art/runtime/jdwp/
Djdwp_adb.cc147 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/
Dlogging.cc140 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()
Dmacros.h63 #define COMPILE_ASSERT(expr, msg) \ argument
64 typedef CompileAssert<(bool(expr))> msg[bool(expr) ? 1 : -1] // NOLINT
Dmutex-inl.h55 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/
DTestCase.java72 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/
DTestCase.java72 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/
DMyException.java21 public MyException(String msg) { in MyException() argument
22 super(msg); in MyException()
/art/test/054-uncaught/src/
DThreadDeathHandler.java25 public ThreadDeathHandler(String msg) { in ThreadDeathHandler() argument
26 mMyMessage = msg; in ThreadDeathHandler()
/art/test/050-sync-test/src/
DThreadDeathHandler.java25 public ThreadDeathHandler(String msg) { in ThreadDeathHandler() argument
26 mMyMessage = msg; in ThreadDeathHandler()
/art/test/004-UnsafeTest/src/
DMain.java25 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/
DSlowInit.java27 public static void printMsg(String msg) { in printMsg() argument
28 System.out.println(msg); in printMsg()
/art/runtime/mirror/
Dthrowable.cc75 String* msg = GetDetailMessage(); in Dump() local
76 if (msg != NULL) { in Dump()
77 result += msg->ToModifiedUtf8(); in Dump()
/art/runtime/entrypoints/
Dentrypoint_utils.cc124 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()

12