Searched refs:condition (Results 1 - 12 of 12) sorted by relevance

/gem5/ext/googletest/googletest/test/
H A Dgtest_uninitialized_test.py42 def Assert(condition):
43 if not condition:
H A Dgtest_environment_test.cc115 // Prints the message and aborts the program if condition is false.
116 void Check(bool condition, const char* msg) { argument
117 if (!condition) {
/gem5/src/arch/x86/insts/
H A Dmicroop.cc47 bool X86MicroopBase::checkCondition(uint64_t flags, int condition) const
50 switch(condition)
61 panic("This condition is not implemented!");
63 panic("This condition is not implemented!");
65 panic("This condition is not implemented!");
94 panic("This condition is not implemented!");
96 panic("This condition is not implemented!");
98 panic("This condition is not implemented!");
119 panic("Unknown condition: %d\n", condition);
[all...]
H A Dmicroop.hh124 bool checkCondition(uint64_t flags, int condition) const;
/gem5/src/arch/sparc/insts/
H A Dstatic_inst.hh107 static bool passesFpCondition(uint32_t fcc, uint32_t condition);
108 static bool passesCondition(uint32_t codes, uint32_t condition);
H A Dstatic_inst.cc279 SparcStaticInst::passesFpCondition(uint32_t fcc, uint32_t condition) argument
286 switch (condition) {
320 panic("Tried testing condition nonexistant condition code %d", condition);
324 SparcStaticInst::passesCondition(uint32_t codes, uint32_t condition) argument
334 switch (condition) {
368 panic("Tried testing condition nonexistant "
369 "condition code %d", condition);
[all...]
/gem5/ext/googletest/googlemock/include/gmock/internal/
H A Dgmock-internal-utils.h183 // implementation-defined when the above pre-condition is violated.
251 // implementation-defined when the above pre-condition is violated.
276 // Asserts that condition is true; aborts the process with the given
277 // message if condition is false. We cannot use LOG(FATAL) or CHECK()
281 inline void Assert(bool condition, const char* file, int line,
283 if (!condition) {
288 inline void Assert(bool condition, const char* file, int line) {
289 Assert(condition, file, line, "Assertion failed.");
292 // Verifies that condition is true; generates a non-fatal failure if
293 // condition i
[all...]
/gem5/ext/googletest/googlemock/scripts/generator/cpp/
H A Dtokenize.py245 condition = source[start+4:i].lstrip()
246 if (condition.startswith('0') or
247 condition.startswith('(0)')):
H A Dast.py844 condition = name[3:].strip()
845 if condition.startswith('0') or condition.startswith('(0)'):
1136 # terminating condition beyond the last name.
/gem5/ext/googletest/googletest/include/gtest/
H A Dgtest.h331 // Stores the message describing the condition in case the expectation
1795 // EXPECT_* verifies that a certain condition is satisfied. If not,
1798 // EXPECT_TRUE verifies that a Boolean condition is true.
1799 // EXPECT_FALSE verifies that a Boolean condition is false.
1859 #define EXPECT_TRUE(condition) \
1860 GTEST_TEST_BOOLEAN_((condition), #condition, false, true, \
1862 #define EXPECT_FALSE(condition) \
1863 GTEST_TEST_BOOLEAN_(!(condition), #condition, tru
[all...]
/gem5/ext/googletest/googletest/include/gtest/internal/
H A Dgtest-port.h836 // ASSERT_*(condition) << "Some message";
1106 // A helper for suppressing warnings on constant condition. It just
1107 // returns 'condition'.
1108 GTEST_API_ bool IsTrue(bool condition);
1283 // GTEST_CHECK_ is an all-mode assert. It aborts the program if the condition
1290 // This checks the condition and if the condition is not satisfied
1291 // it prints message about the condition violation, including the
1292 // condition itself, plus additional message streamed into it, if any,
1295 # define GTEST_CHECK_(condition) \
[all...]
/gem5/ext/googletest/googletest/src/
H A Dgtest.cc533 // This function is useful as an __except condition.
1805 // This function should not be called when the condition is
4986 bool IsTrue(bool condition) { return condition; } argument
4990 // This condition is always false so AlwaysTrue() never actually throws,

Completed in 35 milliseconds