Home
last modified time | relevance | path

Searched refs:expr1 (Results 1 – 25 of 51) sorted by relevance

123

/external/u-boot/include/test/
Dut.h58 #define ut_asserteq(expr1, expr2) { \ argument
59 unsigned int val1 = (expr1), val2 = (expr2); \
63 #expr1 " == " #expr2, \
70 #define ut_asserteq_str(expr1, expr2) { \ argument
71 const char *val1 = (expr1), *val2 = (expr2); \
75 #expr1 " = " #expr2, \
82 #define ut_asserteq_ptr(expr1, expr2) { \ argument
83 const void *val1 = (expr1), *val2 = (expr2); \
87 #expr1 " = " #expr2, \
/external/pdfium/testing/resources/javascript/
Dapp_props.in92 var expr1 = "app." + props[i];
93 var expr2 = "typeof " + expr1;
94 app.alert(expr1 + " is " + eval(expr2) + ' ' + eval(expr1));
105 var expr1 = "app." + props[i] + ' = 3;'
106 app.alert(expr1 + " yields " + eval(expr1));
Ddocument_props.in112 var expr1 = "this." + props[i];
113 var expr2 = "typeof " + expr1;
114 app.alert(expr1 + " is " + eval(expr2) + ' ' + eval(expr1));
125 var expr1 = "this." + props[i] + ' = 3;'
126 app.alert(expr1 + " yields " + eval(expr1));
/external/adhd/cras/src/tests/
Dexpr_unittest.cc92 struct cras_expr_expression *expr, *expr1, *expr2; in TEST() local
121 expr1 = *ARRAY_ELEMENT(&expr->u.children, 0); in TEST()
122 ASSERT_EQ(EXPR_TYPE_COMPOUND, expr1->type); in TEST()
123 ASSERT_EQ(2, ARRAY_COUNT(&expr1->u.children)); in TEST()
125 expr2 = *ARRAY_ELEMENT(&expr1->u.children, 1); in TEST()
/external/apache-xml/src/main/java/org/apache/xalan/templates/
DRedundentExprEliminator.java607 Expression expr1 = firstOccuranceOwner.getExpression(); in findAndEliminateRedundant() local
609 assertIsLocPathIterator(expr1, firstOccuranceOwner); in findAndEliminateRedundant()
611 LocPathIterator lpi = (LocPathIterator)expr1; in findAndEliminateRedundant()
685 Expression expr1 = firstOccuranceOwner.getExpression(); in oldFindAndEliminateRedundant() local
687 assertIsLocPathIterator(expr1, firstOccuranceOwner); in oldFindAndEliminateRedundant()
689 LocPathIterator lpi = (LocPathIterator)expr1; in oldFindAndEliminateRedundant()
1241 private final void assertIsLocPathIterator(Expression expr1, ExpressionOwner eo) in assertIsLocPathIterator() argument
1244 if(!(expr1 instanceof LocPathIterator)) in assertIsLocPathIterator()
1247 if(expr1 instanceof Variable) in assertIsLocPathIterator()
1250 ((Variable)expr1).getQName(); in assertIsLocPathIterator()
[all …]
/external/apache-xml/src/main/java/org/apache/xpath/operations/
DAnd.java48 XObject expr1 = m_left.execute(xctxt); in execute() local
50 if (expr1.bool()) in execute()
DOr.java48 XObject expr1 = m_left.execute(xctxt); in execute() local
50 if (!expr1.bool()) in execute()
/external/kmod/shared/
Dmacro.h31 #define check_types_match(expr1, expr2) \ argument
32 ((typeof(expr1) *)0 != (typeof(expr2) *)0)
/external/python/cpython2/Python/
Dast.c1607 expr_ty expr1, expr2, result; in ast_for_binop() local
1610 expr1 = ast_for_expr(c, CHILD(n, 0)); in ast_for_binop()
1611 if (!expr1) in ast_for_binop()
1622 result = BinOp(expr1, newoperator, expr2, LINENO(n), n->n_col_offset, in ast_for_binop()
2193 expr_ty expr1, expr2; in ast_for_expr_stmt() local
2197 expr1 = ast_for_testlist(c, ch); in ast_for_expr_stmt()
2198 if (!expr1) in ast_for_expr_stmt()
2200 if(!set_context(c, expr1, Store, ch)) in ast_for_expr_stmt()
2206 switch (expr1->kind) { in ast_for_expr_stmt()
2228 return AugAssign(expr1, newoperator, expr2, LINENO(n), n->n_col_offset, in ast_for_expr_stmt()
[all …]
/external/libevent/test/
Dtinytest_macros.h180 #define tt_mem_op(expr1, op, expr2, len) \ argument
181 tt_assert_test_fmt_type(expr1,expr2,#expr1" "#op" "#expr2, \
/external/python/cpython2/Lib/compiler/
Dtransformer.py439 expr1 = self.com_node(nodelist[1])
441 expr1 = None
442 return Raise(expr1, expr2, expr3, lineno=nodelist[0][2])
485 expr1 = self.com_node(nodelist[1])
495 return Exec(expr1, expr2, expr3, lineno=nodelist[0][2])
499 expr1 = self.com_node(nodelist[1])
504 return Assert(expr1, expr2, lineno=nodelist[0][2])
948 expr1 = self.com_node(node[2])
954 expr1 = expr2 = None
955 clauses.append((expr1, expr2, self.com_node(nodelist[i+2])))
[all …]
/external/mesa3d/src/gtest/include/gtest/
Dgtest.h1486 AssertionResult CmpHelperOpFailure(const char* expr1, const char* expr2, in CmpHelperOpFailure() argument
1490 << "Expected: (" << expr1 << ") " << op << " (" << expr2 in CmpHelperOpFailure()
1508 AssertionResult CmpHelper##op_name(const char* expr1, const char* expr2, \
1513 return CmpHelperOpFailure(expr1, expr2, val1, val2, #op);\
1517 const char* expr1, const char* expr2, BiggestInt val1, BiggestInt val2)
1659 GTEST_API_ AssertionResult DoubleNearPredFormat(const char* expr1,
2058 GTEST_API_ AssertionResult FloatLE(const char* expr1, const char* expr2,
2060 GTEST_API_ AssertionResult DoubleLE(const char* expr1, const char* expr2,
/external/libaom/libaom/third_party/googletest/src/googletest/include/gtest/
Dgtest.h1486 AssertionResult CmpHelperOpFailure(const char* expr1, const char* expr2, in CmpHelperOpFailure() argument
1490 << "Expected: (" << expr1 << ") " << op << " (" << expr2 in CmpHelperOpFailure()
1508 AssertionResult CmpHelper##op_name(const char* expr1, const char* expr2, \
1513 return CmpHelperOpFailure(expr1, expr2, val1, val2, #op);\
1517 const char* expr1, const char* expr2, BiggestInt val1, BiggestInt val2)
1659 GTEST_API_ AssertionResult DoubleNearPredFormat(const char* expr1,
2058 GTEST_API_ AssertionResult FloatLE(const char* expr1, const char* expr2,
2060 GTEST_API_ AssertionResult DoubleLE(const char* expr1, const char* expr2,
/external/swiftshader/third_party/llvm-7.0/llvm/utils/unittest/googletest/include/gtest/
Dgtest.h1486 AssertionResult CmpHelperOpFailure(const char* expr1, const char* expr2, in CmpHelperOpFailure() argument
1490 << "Expected: (" << expr1 << ") " << op << " (" << expr2 in CmpHelperOpFailure()
1508 AssertionResult CmpHelper##op_name(const char* expr1, const char* expr2, \
1513 return CmpHelperOpFailure(expr1, expr2, val1, val2, #op);\
1517 const char* expr1, const char* expr2, BiggestInt val1, BiggestInt val2)
1659 GTEST_API_ AssertionResult DoubleNearPredFormat(const char* expr1,
2058 GTEST_API_ AssertionResult FloatLE(const char* expr1, const char* expr2,
2060 GTEST_API_ AssertionResult DoubleLE(const char* expr1, const char* expr2,
/external/antlr/runtime/CSharp3/Sources/Antlr3.Runtime.Test/BuildOptions/
DDebugTreeGrammar.cs210 BigInteger expr1 = default(BigInteger); in stat()
279 expr1=expr(); in stat()
284 string result = expr1.ToString(); in stat()
285 … Console.Out.WriteLine(expr1 + " (about " + result[0] + "*10^" + (result.Length-1) + ")"); in stat()
DProfileTreeGrammar.cs215 BigInteger expr1 = default(BigInteger); in stat()
284 expr1=expr(); in stat()
289 string result = expr1.ToString(); in stat()
290 … Console.Out.WriteLine(expr1 + " (about " + result[0] + "*10^" + (result.Length-1) + ")"); in stat()
/external/mesa3d/src/compiler/glsl/
Dopt_algebraic.cpp189 try_replace_with_dot(ir_expression *expr0, ir_expression *expr1, void *mem_ctx) in try_replace_with_dot() argument
193 expr1 && expr1->operation == ir_binop_add && in try_replace_with_dot()
194 expr1->type->is_float()) { in try_replace_with_dot()
197 ir_swizzle *z = expr1->operands[0]->as_swizzle(); in try_replace_with_dot()
198 ir_swizzle *w = expr1->operands[1]->as_swizzle(); in try_replace_with_dot()
/external/googletest/googletest/include/gtest/
Dgtest.h1580 AssertionResult CmpHelperOpFailure(const char* expr1, const char* expr2, in CmpHelperOpFailure() argument
1584 << "Expected: (" << expr1 << ") " << op << " (" << expr2 in CmpHelperOpFailure()
1602 AssertionResult CmpHelper##op_name(const char* expr1, const char* expr2, \
1607 return CmpHelperOpFailure(expr1, expr2, val1, val2, #op);\
1611 const char* expr1, const char* expr2, BiggestInt val1, BiggestInt val2)
1753 GTEST_API_ AssertionResult DoubleNearPredFormat(const char* expr1,
2149 GTEST_API_ AssertionResult FloatLE(const char* expr1, const char* expr2,
2151 GTEST_API_ AssertionResult DoubleLE(const char* expr1, const char* expr2,
/external/libvpx/libvpx/third_party/googletest/src/include/gtest/
Dgtest.h1537 AssertionResult CmpHelperOpFailure(const char* expr1, const char* expr2, in CmpHelperOpFailure() argument
1541 << "Expected: (" << expr1 << ") " << op << " (" << expr2 in CmpHelperOpFailure()
1559 AssertionResult CmpHelper##op_name(const char* expr1, const char* expr2, \
1564 return CmpHelperOpFailure(expr1, expr2, val1, val2, #op);\
1568 const char* expr1, const char* expr2, BiggestInt val1, BiggestInt val2)
1710 GTEST_API_ AssertionResult DoubleNearPredFormat(const char* expr1,
2099 GTEST_API_ AssertionResult FloatLE(const char* expr1, const char* expr2,
2101 GTEST_API_ AssertionResult DoubleLE(const char* expr1, const char* expr2,
/external/python/cpython3/Python/
Dast.c2306 expr_ty expr1, expr2, result; in ast_for_binop() local
2309 expr1 = ast_for_expr(c, CHILD(n, 0)); in ast_for_binop()
2310 if (!expr1) in ast_for_binop()
2321 result = BinOp(expr1, newoperator, expr2, LINENO(n), n->n_col_offset, in ast_for_binop()
2908 expr_ty expr1, expr2; in ast_for_expr_stmt() local
2912 expr1 = ast_for_testlist(c, ch); in ast_for_expr_stmt()
2913 if (!expr1) in ast_for_expr_stmt()
2915 if(!set_context(c, expr1, Store, ch)) in ast_for_expr_stmt()
2921 switch (expr1->kind) { in ast_for_expr_stmt()
2943 return AugAssign(expr1, newoperator, expr2, LINENO(n), n->n_col_offset, c->c_arena); in ast_for_expr_stmt()
[all …]
/external/python/cpython2/Lib/unittest/
Dcase.py813 def assertIs(self, expr1, expr2, msg=None): argument
815 if expr1 is not expr2:
816 standardMsg = '%s is not %s' % (safe_repr(expr1),
820 def assertIsNot(self, expr1, expr2, msg=None): argument
822 if expr1 is expr2:
823 standardMsg = 'unexpectedly identical: %s' % (safe_repr(expr1),)
/external/google-breakpad/src/testing/gtest/include/gtest/
Dgtest.h1438 AssertionResult CmpHelper##op_name(const char* expr1, const char* expr2, \
1444 << "Expected: (" << expr1 << ") " #op " (" << expr2\
1450 const char* expr1, const char* expr2, BiggestInt val1, BiggestInt val2)
1592 GTEST_API_ AssertionResult DoubleNearPredFormat(const char* expr1,
1986 GTEST_API_ AssertionResult FloatLE(const char* expr1, const char* expr2,
1988 GTEST_API_ AssertionResult DoubleLE(const char* expr1, const char* expr2,
/external/llvm/utils/unittest/googletest/include/gtest/
Dgtest.h1432 AssertionResult CmpHelper##op_name(const char* expr1, const char* expr2, \
1438 << "Expected: (" << expr1 << ") " #op " (" << expr2\
1444 const char* expr1, const char* expr2, BiggestInt val1, BiggestInt val2)
1586 GTEST_API_ AssertionResult DoubleNearPredFormat(const char* expr1,
1986 GTEST_API_ AssertionResult FloatLE(const char* expr1, const char* expr2,
1988 GTEST_API_ AssertionResult DoubleLE(const char* expr1, const char* expr2,
/external/swiftshader/third_party/LLVM/utils/unittest/googletest/include/gtest/
Dgtest.h1430 AssertionResult CmpHelper##op_name(const char* expr1, const char* expr2, \
1436 << "Expected: (" << expr1 << ") " #op " (" << expr2\
1442 const char* expr1, const char* expr2, BiggestInt val1, BiggestInt val2)
1584 GTEST_API_ AssertionResult DoubleNearPredFormat(const char* expr1,
1984 GTEST_API_ AssertionResult FloatLE(const char* expr1, const char* expr2,
1986 GTEST_API_ AssertionResult DoubleLE(const char* expr1, const char* expr2,
/external/python/cpython3/Lib/unittest/
Dcase.py1115 def assertIs(self, expr1, expr2, msg=None): argument
1117 if expr1 is not expr2:
1118 standardMsg = '%s is not %s' % (safe_repr(expr1),
1122 def assertIsNot(self, expr1, expr2, msg=None): argument
1124 if expr1 is expr2:
1125 standardMsg = 'unexpectedly identical: %s' % (safe_repr(expr1),)

123