Home
last modified time | relevance | path

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

12

/art/test/021-string2/src/junit/framework/
DAssert.java18 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 throw new AssertionFailedError(message); in fail()
59 static public void assertEquals(String message, Object expected, Object actual) { in assertEquals() argument
64 failNotEquals(message, expected, actual); in assertEquals()
76 static public void assertEquals(String message, String expected, String actual) { in assertEquals() argument
81 throw new ComparisonFailure(message, expected, actual); in assertEquals()
[all …]
DAssertionFailedError.java10 public AssertionFailedError (String message) { in AssertionFailedError() argument
11 super (message); in AssertionFailedError()
DComparisonFailure.java18 public ComparisonFailure (String message, String expected, String actual) { in ComparisonFailure() argument
19 super (message); in ComparisonFailure()
/art/test/082-inline-execute/src/junit/framework/
DAssert.java18 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 throw new AssertionFailedError(message); in fail()
59 static public void assertEquals(String message, Object expected, Object actual) { in assertEquals() argument
64 failNotEquals(message, expected, actual); in assertEquals()
76 static public void assertEquals(String message, String expected, String actual) { in assertEquals() argument
81 throw new ComparisonFailure(message, expected, actual); in assertEquals()
[all …]
DAssertionFailedError.java10 public AssertionFailedError (String message) { in AssertionFailedError() argument
11 super (message); in AssertionFailedError()
DComparisonFailure.java18 public ComparisonFailure (String message, String expected, String actual) { in ComparisonFailure() argument
19 super (message); in ComparisonFailure()
/art/test/407-arrays/src/
DTestCase.java38 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/406-fields/src/
DTestCase.java38 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/098-ddmc/
Dexpected.txt2 …=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/runtime/base/
Dlogging_android.cc33 void LogMessage::LogLine(const LogMessageData& data, const char* message) { in LogLine() argument
37 LOG_PRI(priority, tag, "%s:%d] %s", data.file, data.line_number, message); in LogLine()
39 LOG_PRI(priority, tag, "%s", message); in LogLine()
Dlogging_linux.cc31 void LogMessage::LogLine(const LogMessageData& data, const char* message) { in LogLine() argument
35 data.file, data.line_number, message); in LogLine()
/art/test/036-finalizer/
Dexpected.txt1 wimp: [FinalizerTest message=wahoo, finalized=false]
7 reborn: [FinalizerTest message=wahoo, finalized=true]
12 reborn: [FinalizerTest message=nothing, finalized=false]
/art/test/036-finalizer/src/
DMain.java129 private final String message; field in Main.FinalizerTest
132 public FinalizerTest(String message) { in FinalizerTest() argument
133 this.message = message; in FinalizerTest()
137 return "[FinalizerTest message=" + message + in toString()
/art/compiler/dex/
Dpass.h92 …static void BasePrintMessage(CompilationUnit* c_unit, const char* pass_name, const char* message, … in BasePrintMessage() argument
97 va_start(args, message); in BasePrintMessage()
99 StringAppendV(&stringified_message, message, args); in BasePrintMessage()
/art/test/089-many-methods/
Dinfo.txt1 Test that we print a reasonable message when the application exceeds more
/art/test/084-class-init/
Dexpected.txt8 MethodThread message
/art/compiler/optimizing/
Dregister_allocator.cc256 std::ostringstream message; in ValidateIntervals() local
257 message << "Spill slot conflict at " << j; in ValidateIntervals()
258 LOG(FATAL) << message.str(); in ValidateIntervals()
273 std::ostringstream message; in ValidateIntervals() local
274 message << "Register conflict at " << j << " for "; in ValidateIntervals()
276 codegen.DumpCoreRegister(message, current->GetRegister()); in ValidateIntervals()
278 codegen.DumpFloatingPointRegister(message, current->GetRegister()); in ValidateIntervals()
280 LOG(FATAL) << message.str(); in ValidateIntervals()
/art/dex2oat/
Ddex2oat.cc627 std::string message(# call); \
628 message += " failed for "; \
629 message += reason; \
630 Fatal(message); \
672 static void Message(char severity, const std::string& message) { in Message() argument
680 message.c_str()); in Message()
683 static void Fatal(const std::string& message) { in Fatal() argument
684 Message('F', message); in Fatal()
701 std::string message(StringPrintf("pthread_cond_timedwait failed: %s", in Wait() local
703 Fatal(message.c_str()); in Wait()
/art/runtime/native/
Ddalvik_system_DexFile.cc388 const char* message = (filename == nullptr) ? "<empty file name>" : filename; in CopyProfileFile() local
389 env->ThrowNew(fnfe.get(), message); in CopyProfileFile()
507 std::string message(StringPrintf("Instruction set %s is invalid.", instruction_set)); in CopyProfileFile() local
508 env->ThrowNew(iae.get(), message.c_str()); in CopyProfileFile()
Ddalvik_system_VMRuntime.cc533 std::string message(StringPrintf("Instruction set %s is invalid.", instruction_set.c_str())); in VMRuntime_isBootClassPathOnDisk() local
534 env->ThrowNew(iae.get(), message.c_str()); in VMRuntime_isBootClassPathOnDisk()
/art/runtime/
Dthread_list.cc446 static void ThreadSuspendByPeerWarning(Thread* self, int level, const char* message, jobject peer) { in ThreadSuspendByPeerWarning() argument
453 LOG(level) << message << ": " << peer; in ThreadSuspendByPeerWarning()
456 LOG(level) << message << ": " << peer << ":" << scoped_name_chars.c_str(); in ThreadSuspendByPeerWarning()
528 static void ThreadSuspendByThreadIdWarning(int level, const char* message, uint32_t thread_id) { in ThreadSuspendByThreadIdWarning() argument
529 LOG(level) << StringPrintf("%s: %d", message, thread_id); in ThreadSuspendByThreadIdWarning()
Druntime.h455 void SetFaultMessage(const std::string& message);
Druntime.cc1420 void Runtime::SetFaultMessage(const std::string& message) { in SetFaultMessage() argument
1422 fault_message_ = message; in SetFaultMessage()
/art/tools/
Dcpplint.py859 def Error(filename, linenum, category, confidence, message): argument
885 filename, linenum, message, category, confidence))
888 filename, linenum, message, category, confidence))
891 filename, linenum, message, category, confidence))
3937 def PrintUsage(message): argument
3944 if message:
3945 sys.exit('\nFATAL ERROR: ' + message)
/art/test/701-easy-div-rem/src/
DMain.java20 public static void reportError(String message) { in reportError() argument
24 System.out.println(message); in reportError()

12