/art/test/082-inline-execute/src/junit/framework/ |
D | Assert.java | 18 static public void assertTrue(String message, boolean condition) { in assertTrue() argument 20 fail(message); in assertTrue() 33 static public void assertFalse(String message, boolean condition) { in assertFalse() argument 34 assertTrue(message, !condition); in assertFalse() 46 static public void fail(String message) { in fail() argument 47 if (message == null) { in fail() 50 throw new AssertionFailedError(message); in fail() 62 static public void assertEquals(String message, Object expected, Object actual) { in assertEquals() argument 67 failNotEquals(message, expected, actual); in assertEquals() 79 static public void assertEquals(String message, String expected, String actual) { in assertEquals() argument [all …]
|
D | AssertionFailedError.java | 13 public AssertionFailedError(String message) { in AssertionFailedError() argument 14 super(defaultString(message)); in AssertionFailedError() 17 private static String defaultString(String message) { in defaultString() argument 18 return message == null ? "" : message; in defaultString()
|
D | ComparisonCompactor.java | 25 public String compact(String message) { in compact() argument 29 return format(message, fExpected, fActual); in compact() 36 return format(message, expected, actual); in compact() 81 private static String format(String message, Object expected, Object actual) { in format() argument 83 if (message != null && message.length() > 0) in format() 84 formatted= message+" "; in format()
|
D | ComparisonFailure.java | 21 public ComparisonFailure (String message, String expected, String actual) { in ComparisonFailure() argument 22 super (message); in ComparisonFailure()
|
/art/test/021-string2/src/junit/framework/ |
D | Assert.java | 18 static public void assertTrue(String message, boolean condition) { in assertTrue() argument 20 fail(message); in assertTrue() 33 static public void assertFalse(String message, boolean condition) { in assertFalse() argument 34 assertTrue(message, !condition); in assertFalse() 46 static public void fail(String message) { in fail() argument 47 if (message == null) { in fail() 50 throw new AssertionFailedError(message); in fail() 62 static public void assertEquals(String message, Object expected, Object actual) { in assertEquals() argument 67 failNotEquals(message, expected, actual); in assertEquals() 79 static public void assertEquals(String message, String expected, String actual) { in assertEquals() argument [all …]
|
D | AssertionFailedError.java | 13 public AssertionFailedError(String message) { in AssertionFailedError() argument 14 super(defaultString(message)); in AssertionFailedError() 17 private static String defaultString(String message) { in defaultString() argument 18 return message == null ? "" : message; in defaultString()
|
D | ComparisonCompactor.java | 25 public String compact(String message) { in compact() argument 29 return format(message, fExpected, fActual); in compact() 36 return format(message, expected, actual); in compact() 81 private static String format(String message, Object expected, Object actual) { in format() argument 83 if (message != null && message.length() > 0) in format() 84 formatted= message+" "; in format()
|
D | ComparisonFailure.java | 21 public ComparisonFailure (String message, String expected, String actual) { in ComparisonFailure() argument 22 super (message); in ComparisonFailure()
|
/art/test/406-fields/src/ |
D | TestCase.java | 38 public static void assertEquals(String message, int expected, int actual) { in assertEquals() argument 40 throw new AssertionError(message); in assertEquals() 50 public static void assertTrue(String message, boolean condition) { in assertTrue() argument 52 throw new AssertionError(message); in assertTrue() 60 public static void assertFalse(String message, boolean condition) { in assertFalse() argument 62 throw new AssertionError(message); in assertFalse() 95 String message, Object expected, Object actual) { in assertEquals() argument 97 throw new AssertionError(message); in assertEquals() 102 String message, long expected, long actual) { in assertEquals() argument 104 throw new AssertionError(message); in assertEquals() [all …]
|
/art/test/412-new-array/src/ |
D | TestCase.java | 38 public static void assertEquals(String message, int expected, int actual) { in assertEquals() argument 40 throw new AssertionError(message); in assertEquals() 50 public static void assertTrue(String message, boolean condition) { in assertTrue() argument 52 throw new AssertionError(message); in assertTrue() 60 public static void assertFalse(String message, boolean condition) { in assertFalse() argument 62 throw new AssertionError(message); in assertFalse() 95 String message, Object expected, Object actual) { in assertEquals() argument 97 throw new AssertionError(message); in assertEquals() 102 String message, long expected, long actual) { in assertEquals() argument 104 throw new AssertionError(message); in assertEquals() [all …]
|
/art/test/414-static-fields/src/ |
D | TestCase.java | 38 public static void assertEquals(String message, int expected, int actual) { in assertEquals() argument 40 throw new AssertionError(message); in assertEquals() 50 public static void assertTrue(String message, boolean condition) { in assertTrue() argument 52 throw new AssertionError(message); in assertTrue() 60 public static void assertFalse(String message, boolean condition) { in assertFalse() argument 62 throw new AssertionError(message); in assertFalse() 95 String message, Object expected, Object actual) { in assertEquals() argument 97 throw new AssertionError(message); in assertEquals() 102 String message, long expected, long actual) { in assertEquals() argument 104 throw new AssertionError(message); in assertEquals() [all …]
|
/art/test/407-arrays/src/ |
D | TestCase.java | 38 public static void assertEquals(String message, int expected, int actual) { in assertEquals() argument 40 throw new AssertionError(message); in assertEquals() 50 public static void assertTrue(String message, boolean condition) { in assertTrue() argument 52 throw new AssertionError(message); in assertTrue() 60 public static void assertFalse(String message, boolean condition) { in assertFalse() argument 62 throw new AssertionError(message); in assertFalse() 95 String message, Object expected, Object actual) { in assertEquals() argument 97 throw new AssertionError(message); in assertEquals() 102 String message, long expected, long actual) { in assertEquals() argument 104 throw new AssertionError(message); in assertEquals() [all …]
|
/art/cmdline/ |
D | cmdline_parse_result.h | 34 static CmdlineParseResult Usage(const std::string& message) { in Usage() 35 return CmdlineParseResult(kUsage, message); in Usage() 44 static CmdlineParseResult<T> Failure(const std::string& message) { in Failure() 45 return CmdlineParseResult(kFailure, message); in Failure() 65 static CmdlineParseResult<T> OutOfRange(const std::string& message) { in OutOfRange() 66 return CmdlineParseResult(kOutOfRange, message); in OutOfRange()
|
D | cmdline_result.h | 56 CmdlineResult(Status status, const std::string& message) in CmdlineResult() 57 : status_(status), message_(message) { in CmdlineResult() 62 CmdlineResult(Status status, std::string&& message) in CmdlineResult() 63 : status_(status), message_(message) { in CmdlineResult()
|
/art/test/098-ddmc/ |
D | expected.txt | 2 …=Allocations[message header len: 15 entry header len: 9 stack frame len: 8 number of entries: 0 of… 14 …=Allocations[message header len: 15 entry header len: 9 stack frame len: 8 number of entries: 0 of… 23 …=Allocations[message header len: 15 entry header len: 9 stack frame len: 8 number of entries: 0 of…
|
/art/test/036-finalizer/ |
D | expected.txt | 1 wimp: [FinalizerTest message=wahoo, finalized=false] 7 reborn: [FinalizerTest message=wahoo, finalized=true] 12 reborn: [FinalizerTest message=nothing, finalized=false]
|
/art/runtime/base/ |
D | logging.cc | 253 const char* message) { in LogLine() argument 262 LOG_PRI(priority, tag, "%s:%u] %s", file, line, message); in LogLine() 264 LOG_PRI(priority, tag, "%s", message); in LogLine() 271 ProgramInvocationShortName(), severity, getpid(), ::art::GetTid(), file, line, message); in LogLine() 276 const char* message) { in LogLineLowStack() argument 291 2 /* "] " */ + strlen(message) + 1 /* terminating 0 */; in LogLineLowStack() 295 snprintf(buf, buf_size, "%s:%u] %s", file, line, message); in LogLineLowStack() 299 android_writeLog(priority, tag, message); in LogLineLowStack() 316 TEMP_FAILURE_RETRY(write(STDERR_FILENO, message, strlen(message))); in LogLineLowStack()
|
/art/test/036-finalizer/src/ |
D | Main.java | 167 private final String message; field in Main.FinalizerTest 170 public FinalizerTest(String message) { in FinalizerTest() argument 171 this.message = message; in FinalizerTest() 175 return "[FinalizerTest message=" + message + in toString()
|
/art/runtime/native/ |
D | dalvik_system_DexFile.cc | 358 const char* message = (filename == nullptr) ? "<empty file name>" : filename; in GetDexOptNeeded() local 359 env->ThrowNew(fnfe.get(), message); in GetDexOptNeeded() 366 std::string message(StringPrintf("Instruction set %s is invalid.", instruction_set)); in GetDexOptNeeded() local 367 env->ThrowNew(iae.get(), message.c_str()); in GetDexOptNeeded() 374 std::string message(StringPrintf("Compiler filter %s is invalid.", compiler_filter_name)); in GetDexOptNeeded() local 375 env->ThrowNew(iae.get(), message.c_str()); in GetDexOptNeeded() 409 std::string message(StringPrintf("Instruction set %s is invalid.", instruction_set.c_str())); in DexFile_getDexFileStatus() local 410 env->ThrowNew(iae.get(), message.c_str()); in DexFile_getDexFileStatus() 485 const char* message = (filename == nullptr) ? "<empty file name>" : filename; in DexFile_isDexOptNeeded() local 486 env->ThrowNew(fnfe.get(), message); in DexFile_isDexOptNeeded() [all …]
|
/art/test/143-string-value/ |
D | info.txt | 1 Test to ensure we emit an error message when being asked
|
/art/test/089-many-methods/ |
D | info.txt | 1 Test that we print a reasonable message when the application exceeds more
|
/art/test/084-class-init/ |
D | expected.txt | 8 MethodThread message
|
/art/compiler/optimizing/ |
D | register_allocator.cc | 517 std::ostringstream message; in ValidateIntervals() local 518 message << "Spill slot conflict at " << j; in ValidateIntervals() 519 LOG(FATAL) << message.str(); in ValidateIntervals() 542 std::ostringstream message; in ValidateIntervals() local 543 message << "Register conflict at " << j << " "; in ValidateIntervals() 545 message << "(" << defined_by->DebugName() << ")"; in ValidateIntervals() 547 message << "for "; in ValidateIntervals() 549 codegen.DumpCoreRegister(message, current->GetRegister()); in ValidateIntervals() 551 codegen.DumpFloatingPointRegister(message, current->GetRegister()); in ValidateIntervals() 553 LOG(FATAL) << message.str(); in ValidateIntervals()
|
/art/runtime/ |
D | thread_list.cc | 719 const char* message, in ThreadSuspendByPeerWarning() argument 727 LOG(severity) << message << ": " << peer; in ThreadSuspendByPeerWarning() 730 LOG(severity) << message << ": " << peer << ":" << scoped_name_chars.c_str(); in ThreadSuspendByPeerWarning() 835 const char* message, in ThreadSuspendByThreadIdWarning() argument 837 LOG(severity) << StringPrintf("%s: %d", message, thread_id); in ThreadSuspendByThreadIdWarning()
|
/art/dex2oat/ |
D | dex2oat.cc | 400 std::string message(# call); \ 401 message += " failed for "; \ 402 message += reason; \ 403 Fatal(message); \ 445 NO_RETURN static void Fatal(const std::string& message) { in Fatal() argument 450 LogMessage::LogLine(__FILE__, __LINE__, LogSeverity::FATAL, message.c_str()); in Fatal() 468 std::string message(StringPrintf("pthread_cond_timedwait failed: %s", in Wait() local 470 Fatal(message.c_str()); in Wait()
|