Home
last modified time | relevance | path

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

12

/art/tools/dexfuzz/src/dexfuzz/
DLog.java44 public static void debug(String msg) { in debug() argument
45 log(LogTag.DEBUG, msg); in debug()
48 public static void info(String msg) { in info() argument
49 log(LogTag.INFO, msg); in info()
52 public static void warn(String msg) { in warn() argument
53 log(LogTag.WARN, msg); in warn()
56 public static void error(String msg) { in error() argument
57 log(LogTag.ERROR, msg); in error()
60 public static void always(String msg) { in always() argument
61 System.out.println(msg); in always()
[all …]
/art/runtime/
Dcommon_throws.cc52 std::ostringstream msg; in ThrowException() local
56 msg << vmsg; in ThrowException()
58 msg << fmt; in ThrowException()
60 AddReferrerLocation(msg, referrer); in ThrowException()
62 self->ThrowNewException(exception_descriptor, msg.str().c_str()); in ThrowException()
68 std::ostringstream msg; in ThrowWrappedException() local
72 msg << vmsg; in ThrowWrappedException()
74 msg << fmt; in ThrowWrappedException()
76 AddReferrerLocation(msg, referrer); in ThrowWrappedException()
78 self->ThrowNewWrappedException(exception_descriptor, msg.str().c_str()); in ThrowWrappedException()
[all …]
Dcommon_throws.h69 void ThrowClassCastException(const char* msg)
103 void ThrowIllegalAccessException(const char* msg)
108 void ThrowIllegalArgumentException(const char* msg)
162 void ThrowNegativeArraySizeException(const char* msg)
201 void ThrowNullPointerException(const char* msg)
Dcheck_jni.cc472 std::string msg; in Check() local
474 TracePossibleHeapValue(soa, entry, fmt[i], args[i], &msg); in Check()
476 StringAppendF(&msg, ", "); in Check()
481 LOG(INFO) << "JNI: call to " << function_name_ << "(" << msg << ")"; in Check()
485 LOG(INFO) << "JNI: " << methodName << " -> " << function_name_ << "(" << msg << ")"; in Check()
488 LOG(INFO) << "JNI: -> " << function_name_ << "(" << msg << ")"; in Check()
492 … LOG(INFO) << StringPrintf("JNI: %*s<- %s returned %s", indent_, "", function_name_, msg.c_str()); in Check()
520 std::string msg; in CheckNonHeap() local
522 TraceNonHeapValue(fmt[i], args[i], &msg); in CheckNonHeap()
524 StringAppendF(&msg, ", "); in CheckNonHeap()
[all …]
Dreference_table.cc102 std::string msg(StringPrintf("%5zd of %s", total, className.c_str())); in DumpSummaryLine() local
104 StringAppendF(&msg, " (%d unique instances)", equiv + 1); in DumpSummaryLine()
106 os << " " << msg << "\n"; in DumpSummaryLine()
Djni_internal.h47 int ThrowNewException(JNIEnv* env, jclass exception_class, const char* msg, jobject cause);
/art/test/048-reflect-v8/src/
DAnnotationTestHelpers.java39 String msg = ""; in asString() local
42 msg += "<null>"; in asString()
44 msg += "<empty>"; in asString()
47 msg += asString(annos[i]); in asString()
50 msg += ", "; in asString()
55 return msg; in asString()
DAnnotationTest.java134 String msg = "Annotations by type, defined by class " in printAnnotationsByType() local
139 System.out.println(msg); in printAnnotationsByType()
146 String msg = asString(anno); in printDeclaredAnnotation() local
149 + ", annotation " + annotationDefClass + ": " + msg); in printDeclaredAnnotation()
158 String msg = "Declared annnotations by type, defined by class " + annotationUseClass.getName() in printDeclaredAnnotationsByType() local
162 System.out.println(msg); in printDeclaredAnnotationsByType()
204 String msg = "Annotations by type, defined by method " + m.getName() + " with annotation " + in printMethodAnnotationsByType() local
208 System.out.println(msg); in printMethodAnnotationsByType()
244 String msg = "Annotations declared by method " + m.getName() + " with annotation " in printMethodDeclaredAnnotation() local
248 System.out.println(msg); in printMethodDeclaredAnnotation()
[all …]
/art/runtime/jdwp/
Djdwp_adb.cc147 msghdr msg; in ReceiveClientFd() local
148 msg.msg_name = nullptr; 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/test/etc/
Drun-test-jar5 msg() { function
159 msg "Spawning from zygote"
252 msg "Performing optimizations"
255 msg "Skipping optimizations"
260 msg "Performing verification"
264 msg "Forcing verification to be soft fail"
268 msg "Skipping verification"
272 msg "------------------------------"
280 msg "Waiting for jdb to connect:"
282 msg " adb forward tcp:$PORT tcp:$PORT"
[all …]
/art/test/088-monitor-verification/src/
DMyException.java21 public MyException(String msg) { in MyException() argument
22 super(msg); in MyException()
/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/414-static-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/412-new-array/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/050-sync-test/src/
DThreadDeathHandler.java25 public ThreadDeathHandler(String msg) { in ThreadDeathHandler() argument
26 mMyMessage = msg; in ThreadDeathHandler()
/art/test/054-uncaught/src/
DThreadDeathHandler.java25 public ThreadDeathHandler(String msg) { in ThreadDeathHandler() argument
26 mMyMessage = msg; in ThreadDeathHandler()
/art/tools/dexfuzz/src/dexfuzz/listeners/
DConsoleLoggerListener.java40 private void logToConsole(String msg) { in logToConsole() argument
41 System.out.println("CONSOLE: " + msg); in logToConsole()
160 public void handleMessage(String msg) { in handleMessage() argument
161 logToConsole(msg); in handleMessage()
DLogFileListener.java75 private void write(String msg) { in write() argument
80 writer.write(msg + "\n"); in write()
266 public void handleMessage(String msg) { in handleMessage() argument
267 write(msg); in handleMessage()
/art/runtime/base/
Dlogging.cc205 std::string msg(data_->ToString()); in ~LogMessage() local
210 if (msg.find('\n') == std::string::npos) { in ~LogMessage()
211 LogLine(data_->GetFile(), data_->GetLineNumber(), data_->GetSeverity(), msg.c_str()); in ~LogMessage()
213 msg += '\n'; in ~LogMessage()
215 while (i < msg.size()) { in ~LogMessage()
216 size_t nl = msg.find('\n', i); in ~LogMessage()
217 msg[nl] = '\0'; in ~LogMessage()
218 LogLine(data_->GetFile(), data_->GetLineNumber(), data_->GetSeverity(), &msg[i]); in ~LogMessage()
/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/test/004-UnsafeTest/src/
DMain.java21 private static void check(int actual, int expected, String msg) { in check() argument
23 System.out.println(msg + " : " + actual + " != " + expected); in check()
28 private static void check(long actual, long expected, String msg) { in check() argument
30 System.out.println(msg + " : " + actual + " != " + expected); in check()
35 private static void check(Object actual, Object expected, String msg) { in check() argument
37 System.out.println(msg + " : " + actual + " != " + expected); in check()
/art/tools/checker/common/
Dlogger.py58 def fail(msg, file=None, line=-1, lineText=None, variables=None): argument
60 Logger.log(msg, Logger.Level.Error, out=sys.stderr)
97 def testFailed(msg, assertion, variables): argument
99 Logger.fail(msg, assertion.fileName, assertion.lineNo, assertion.originalText, variables)
/art/tools/checker/match/
Dfile.py185 msg = "NOT assertion matched line {}"
187 msg = "Assertion could not be matched starting from line {}"
188 msg = msg.format(lineNo)
189 Logger.testFailed(msg, e.assertion, e.variables)
/art/runtime/mirror/
Dthrowable.cc87 String* msg = GetDetailMessage(); in Dump() local
88 if (msg != nullptr) { in Dump()
89 result += msg->ToModifiedUtf8(); in Dump()

12