Home
last modified time | relevance | path

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

123

/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 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 …]
DAssertionFailedError.java13 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()
DComparisonCompactor.java25 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()
DComparisonFailure.java21 public ComparisonFailure (String message, String expected, String actual) { in ComparisonFailure() argument
22 super (message); in ComparisonFailure()
/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 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 …]
DAssertionFailedError.java13 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()
DComparisonCompactor.java25 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()
DComparisonFailure.java21 public ComparisonFailure (String message, String expected, String actual) { in ComparisonFailure() argument
22 super (message); in ComparisonFailure()
/art/runtime/base/
Dmessage_queue_test.cc43 std::string message; member
121 [&]([[maybe_unused]] const EmptyMessage& message) { in TEST_F() argument
125 [&](const IntMessage& message) { in TEST_F() argument
129 ASSERT_EQ(message.value, 42); in TEST_F()
131 [&](const OtherIntMessage& message) { in TEST_F() argument
135 ASSERT_EQ(message.other_value, 43); in TEST_F()
138 [&]([[maybe_unused]] const TimeoutExpiredMessage& message) { in TEST_F() argument
142 [&](const TwoIntMessage& message) { in TEST_F() argument
146 ASSERT_EQ(message.value1, 1); in TEST_F()
147 ASSERT_EQ(message.value2, 2); in TEST_F()
[all …]
Dmessage_queue.h99 void SendMessage(Message message) { in SendMessage() argument
101 DCHECK(!std::holds_alternative<TimeoutExpiredMessage>(message)); in SendMessage()
104 messages_.push_back(message); in SendMessage()
134 Message message = messages_.front(); in ReceiveMessage() local
136 return message; in ReceiveMessage()
/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/412-new-array/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/414-static-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/596-app-images/src-art/
DMain.java132 private static void assertTrue(String message, boolean flag) { in assertTrue() argument
136 throw new AssertionError(message); in assertTrue()
139 private static void assertEquals(String message, Object a, Object b) { in assertEquals() argument
140 StringBuilder sb = new StringBuilder(message != null ? message : ""); in assertEquals()
148 private static void assertFalse(String message, boolean flag) { in assertFalse() argument
149 assertTrue(message, !flag); in assertFalse()
152 private static void assertNotSame(String message, Object a, Object b) { in assertNotSame() argument
153 StringBuilder sb = new StringBuilder(message != null ? message : ""); in assertNotSame()
/art/compiler/optimizing/
Dregister_allocator.cc141 std::ostringstream message; in ValidateIntervals() local
142 message << "Spill slot conflict at " << j; in ValidateIntervals()
143 LOG(FATAL) << message.str(); in ValidateIntervals()
166 std::ostringstream message; in ValidateIntervals() local
167 message << "Register conflict at " << j << " "; in ValidateIntervals()
169 message << "(" << defined_by->DebugName() << ")"; in ValidateIntervals()
171 message << "for "; in ValidateIntervals()
173 codegen.DumpCoreRegister(message, current->GetRegister()); in ValidateIntervals()
175 codegen.DumpFloatingPointRegister(message, current->GetRegister()); in ValidateIntervals()
181 message << std::endl; in ValidateIntervals()
[all …]
/art/cmdline/
Dcmdline_parse_result.h34 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()
Dcmdline_result.h56 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/712-varhandle-invocations/src/
DVarHandleUnitTest.java120 private void failNotEquals(String message, Object expected, Object actual) { in failNotEquals() argument
122 .append(message) in failNotEquals()
132 private void fail(String message) { in fail() argument
133 errorLog().append(message).append(" in ").append(getSourceInfo()).append('\n'); in fail()
136 private void fail(String message, String detail) { in fail() argument
138 .append(message) in fail()
146 private void fail(String message, Exception e) { in fail() argument
148 .append(message) in fail()
/art/test/597-app-images-same-classloader/src-art/
DMain.java58 private static void assertTrue(String message, boolean flag) { in assertTrue() argument
62 throw new AssertionError(message); in assertTrue()
65 private static void assertFalse(String message, boolean flag) { in assertFalse() argument
66 assertTrue(message, !flag); in assertFalse()
/art/test/036-finalizer/
Dexpected-stdout.txt1 wimp: [FinalizerTest message=wahoo, finalized=false]
7 reborn: [FinalizerTest message=wahoo, finalized=true]
12 reborn: [FinalizerTest message=nothing, finalized=false]
/art/libartbase/base/
Dlogging.cc98 const char* message) { in InitLogging() argument
101 logd_logger_(id, severity, tag, file, line, message); in InitLogging()
128 const char* message) { in LogLineLowStack() argument
139 2 /* "] " */ + strlen(message) + 1 /* terminating 0 */; in LogLineLowStack()
143 snprintf(buf, buf_size, "%s:%u] %s", file, line, message); in LogLineLowStack()
147 android_writeLog(priority, tag, message); in LogLineLowStack()
165 TEMP_FAILURE_RETRY(write(STDERR_FILENO, message, strlen(message))); in LogLineLowStack()
/art/test/162-method-resolution/src/
DTest11Base.java18 Test11Base(String message) { in Test11Base() argument
19 System.out.println("Test11Base.<init>(\"" + message + "\")"); in Test11Base()
/art/test/036-finalizer/src/
DMain.java177 private final String message; field in Main.FinalizerTest
180 public FinalizerTest(String message) { in FinalizerTest() argument
181 this.message = message; in FinalizerTest()
185 return "[FinalizerTest message=" + message + in toString()
/art/runtime/metrics/
Dreporter.cc145 [&]([[maybe_unused]] ShutdownRequestedMessage message) { in BackgroundThreadRun() argument
151 [&](RequestMetricsReportMessage message) { in BackgroundThreadRun() argument
154 if (message.synchronous) { in BackgroundThreadRun()
158 [&]([[maybe_unused]] TimeoutExpiredMessage message) { in BackgroundThreadRun() argument
164 [&]([[maybe_unused]] StartupCompletedMessage message) { in BackgroundThreadRun() argument
171 [&](CompilationInfoMessage message) { in BackgroundThreadRun() argument
173 session_data_.compilation_reason = message.compilation_reason; in BackgroundThreadRun()
174 session_data_.compiler_filter = message.compiler_filter; in BackgroundThreadRun()

123