Searched refs:expr (Results 26 - 44 of 44) sorted by relevance

12

/gem5/src/systemc/tests/systemc/datatypes/bit/sc_bitref/test01/
H A Dtest_bitref.cpp30 #define sc_nassert( expr ) \
31 sc_assert( !(expr) )
/gem5/src/mem/slicc/ast/
H A DFuncCallExprAST.py103 for expr in self.exprs:
104 actual_type,param_code = expr.inline(True)
/gem5/ext/ply/ply/
H A Dcpp.py578 expr = "".join([str(x.value) for x in tokens])
579 expr = expr.replace("&&"," and ")
580 expr = expr.replace("||"," or ")
581 expr = expr.replace("!"," not ")
583 result = eval(expr)
/gem5/src/systemc/tests/systemc/misc/stars/star104726/
H A Dglobal.h57 #define MSCALE(expr) (COEFF)((expr)>>9)
/gem5/ext/googletest/googletest/include/gtest/
H A Dgtest.h243 // testing::AssertionResult IsEven(const char* expr, int n) {
248 // << "Expected: " << expr << " is even\n Actual: it's " << n;
2069 // * {ASSERT|EXPECT}_HRESULT_{SUCCEEDED|FAILED}(expr)
2071 // When expr unexpectedly fails or succeeds, Google Test prints the
2075 # define EXPECT_HRESULT_SUCCEEDED(expr) \
2076 EXPECT_PRED_FORMAT1(::testing::internal::IsHRESULTSuccess, (expr))
2078 # define ASSERT_HRESULT_SUCCEEDED(expr) \
2079 ASSERT_PRED_FORMAT1(::testing::internal::IsHRESULTSuccess, (expr))
2081 # define EXPECT_HRESULT_FAILED(expr) \
2082 EXPECT_PRED_FORMAT1(::testing::internal::IsHRESULTFailure, (expr))
[all...]
/gem5/util/batch/
H A Dsend.py181 for expr in exprs:
182 if expr.match(job.name):
/gem5/util/pbs/
H A Dsend.py182 for expr in exprs:
183 if expr.match(job.name):
/gem5/src/cpu/
H A Dtiming_expr.cc74 return expr->eval(new_context);
/gem5/src/systemc/ext/core/
H A Dsc_module.hh372 #define SC_WAIT_UNTIL(expr) \
373 do { SC_WAIT(); } while (!(expr))
/gem5/configs/common/cores/arm/
H A DHPI.py167 def let(bindings, expr):
186 ret.expr = expr(new_env)
191 def expr_top(expr):
192 return expr([])
/gem5/configs/common/
H A DSimulation.py157 expr = re.compile('cpt\.simpoint_(\d+)_inst_(\d+)' +
161 match = expr.match(dir)
170 match = expr.match(cpts[cpt_num - 1])
191 expr = re.compile('cpt\.([0-9]+)')
194 match = expr.match(dir)
/gem5/ext/googletest/googlemock/scripts/generator/cpp/
H A Dast.py178 def __init__(self, start, end, expr):
180 self.expr = expr
187 return self._StringHelper(self.__class__.__name__, str(self.expr))
199 def __init__(self, start, end, expr, namespace):
200 Expr.__init__(self, start, end, expr)
762 expr = bool([e for e in temp_tokens if e.name == '='])
763 if expr:
/gem5/src/arch/
H A Disa_parser.py2086 expr = 'bits(machInst, %2d, %2d)' % (t[6], t[8])
2088 expr = 'sext<%d>(%s)' % (t[6] - t[8] + 1, expr)
2089 hash_define = '#undef %s\n#define %s\t%s\n' % (t[4], t[4], expr)
2095 expr = 'bits(machInst, %2d, %2d)' % (t[6], t[6])
2097 expr = 'sext<%d>(%s)' % (1, expr)
2098 hash_define = '#undef %s\n#define %s\t%s\n' % (t[4], t[4], expr)
2107 expr = 'machInst.%s' % t[5]
2108 hash_define = '#undef %s\n#define %s\t%s\n' % (t[4], t[4], expr)
[all...]
/gem5/ext/googletest/googletest/include/gtest/internal/
H A Dgtest-port.h1026 # define GTEST_COMPILE_ASSERT_(expr, msg) static_assert(expr, #msg)
1032 # define GTEST_COMPILE_ASSERT_(expr, msg) \
1033 typedef ::testing::internal::CompileAssert<(static_cast<bool>(expr))> \
1034 msg[static_cast<bool>(expr) ? 1 : -1] GTEST_ATTRIBUTE_UNUSED_
1046 // #define GTEST_COMPILE_ASSERT_(expr, msg) typedef char msg[(expr) ? 1 : -1]
1057 // - By using the type CompileAssert<(bool(expr))>, we ensures that
1058 // expr is a compile-time constant. (Template arguments must be
1061 // - The outter parentheses in CompileAssert<(bool(expr))> ar
[all...]
H A Dgtest-internal.h493 GTEST_API_ AssertionResult IsHRESULTSuccess(const char* expr,
495 GTEST_API_ AssertionResult IsHRESULTFailure(const char* expr,
/gem5/ext/pybind11/include/pybind11/
H A Dpybind11.h1455 #define PYBIND11_ENUM_OP_STRICT(op, expr, strict_behavior) \
1460 return expr; \
1464 #define PYBIND11_ENUM_OP_CONV(op, expr) \
1468 return expr; \
1472 #define PYBIND11_ENUM_OP_CONV_LHS(op, expr) \
1476 return expr; \
/gem5/ext/googletest/googletest/src/
H A Dgtest.cc1663 AssertionResult HRESULTFailureHelper(const char* expr, argument
1698 << "Expected: " << expr << " " << expected << ".\n"
1704 AssertionResult IsHRESULTSuccess(const char* expr, long hr) { // NOLINT argument
1708 return HRESULTFailureHelper(expr, "succeeds", hr);
1711 AssertionResult IsHRESULTFailure(const char* expr, long hr) { // NOLINT argument
1715 return HRESULTFailureHelper(expr, "fails", hr);
/gem5/src/mem/slicc/symbols/
H A DStateMachine.py624 expr = "%s = new %s%s" % (vid, vtype.c_ident, th)
629 code('$expr($args);')
/gem5/ext/googletest/googletest/test/
H A Dgtest_unittest.cc2122 AssertionResult AssertIsEven(const char* expr, int n) { argument
2128 msg << expr << " evaluates to " << n << ", which is not even.";
2154 AssertionResult operator()(const char* expr, int n) { argument
2155 return AssertIsEven(expr, n);
2383 AssertionResult IsPositiveFormat(const char* /* expr */, int n) {
2388 AssertionResult IsPositiveFormat(const char* /* expr */, double x) {
2394 AssertionResult IsNegativeFormat(const char* /* expr */, T x) {

Completed in 121 milliseconds

12