Lines Matching full:left

834 				    left,				       \  argument
840 const typeof(left) __left = (left); \
844 .left_text = #left, \
865 left, \ argument
874 left, op, right, \
880 left, \ argument
889 left, op, right, \
895 left, \ argument
901 const char *__left = (left); \
905 .left_text = #left, \
928 left, \ argument
935 const void *__left = (left); \
940 .left_text = #left, \
1023 * KUNIT_EXPECT_EQ() - Sets an expectation that @left and @right are equal.
1025 * @left: an arbitrary expression that evaluates to a primitive C type.
1028 * Sets an expectation that the values that @left and @right evaluate to are
1030 * KUNIT_EXPECT_TRUE(@test, (@left) == (@right)). See KUNIT_EXPECT_TRUE() for
1033 #define KUNIT_EXPECT_EQ(test, left, right) \ argument
1034 KUNIT_EXPECT_EQ_MSG(test, left, right, NULL)
1036 #define KUNIT_EXPECT_EQ_MSG(test, left, right, fmt, ...) \ argument
1039 left, ==, right, \
1044 * KUNIT_EXPECT_PTR_EQ() - Expects that pointers @left and @right are equal.
1046 * @left: an arbitrary expression that evaluates to a pointer.
1049 * Sets an expectation that the values that @left and @right evaluate to are
1051 * KUNIT_EXPECT_TRUE(@test, (@left) == (@right)). See KUNIT_EXPECT_TRUE() for
1054 #define KUNIT_EXPECT_PTR_EQ(test, left, right) \ argument
1055 KUNIT_EXPECT_PTR_EQ_MSG(test, left, right, NULL)
1057 #define KUNIT_EXPECT_PTR_EQ_MSG(test, left, right, fmt, ...) \ argument
1060 left, ==, right, \
1065 * KUNIT_EXPECT_NE() - An expectation that @left and @right are not equal.
1067 * @left: an arbitrary expression that evaluates to a primitive C type.
1070 * Sets an expectation that the values that @left and @right evaluate to are not
1072 * KUNIT_EXPECT_TRUE(@test, (@left) != (@right)). See KUNIT_EXPECT_TRUE() for
1075 #define KUNIT_EXPECT_NE(test, left, right) \ argument
1076 KUNIT_EXPECT_NE_MSG(test, left, right, NULL)
1078 #define KUNIT_EXPECT_NE_MSG(test, left, right, fmt, ...) \ argument
1081 left, !=, right, \
1086 * KUNIT_EXPECT_PTR_NE() - Expects that pointers @left and @right are not equal.
1088 * @left: an arbitrary expression that evaluates to a pointer.
1091 * Sets an expectation that the values that @left and @right evaluate to are not
1093 * KUNIT_EXPECT_TRUE(@test, (@left) != (@right)). See KUNIT_EXPECT_TRUE() for
1096 #define KUNIT_EXPECT_PTR_NE(test, left, right) \ argument
1097 KUNIT_EXPECT_PTR_NE_MSG(test, left, right, NULL)
1099 #define KUNIT_EXPECT_PTR_NE_MSG(test, left, right, fmt, ...) \ argument
1102 left, !=, right, \
1107 * KUNIT_EXPECT_LT() - An expectation that @left is less than @right.
1109 * @left: an arbitrary expression that evaluates to a primitive C type.
1112 * Sets an expectation that the value that @left evaluates to is less than the
1114 * KUNIT_EXPECT_TRUE(@test, (@left) < (@right)). See KUNIT_EXPECT_TRUE() for
1117 #define KUNIT_EXPECT_LT(test, left, right) \ argument
1118 KUNIT_EXPECT_LT_MSG(test, left, right, NULL)
1120 #define KUNIT_EXPECT_LT_MSG(test, left, right, fmt, ...) \ argument
1123 left, <, right, \
1128 * KUNIT_EXPECT_LE() - Expects that @left is less than or equal to @right.
1130 * @left: an arbitrary expression that evaluates to a primitive C type.
1133 * Sets an expectation that the value that @left evaluates to is less than or
1135 * to KUNIT_EXPECT_TRUE(@test, (@left) <= (@right)). See KUNIT_EXPECT_TRUE() for
1138 #define KUNIT_EXPECT_LE(test, left, right) \ argument
1139 KUNIT_EXPECT_LE_MSG(test, left, right, NULL)
1141 #define KUNIT_EXPECT_LE_MSG(test, left, right, fmt, ...) \ argument
1144 left, <=, right, \
1149 * KUNIT_EXPECT_GT() - An expectation that @left is greater than @right.
1151 * @left: an arbitrary expression that evaluates to a primitive C type.
1154 * Sets an expectation that the value that @left evaluates to is greater than
1156 * KUNIT_EXPECT_TRUE(@test, (@left) > (@right)). See KUNIT_EXPECT_TRUE() for
1159 #define KUNIT_EXPECT_GT(test, left, right) \ argument
1160 KUNIT_EXPECT_GT_MSG(test, left, right, NULL)
1162 #define KUNIT_EXPECT_GT_MSG(test, left, right, fmt, ...) \ argument
1165 left, >, right, \
1170 * KUNIT_EXPECT_GE() - Expects that @left is greater than or equal to @right.
1172 * @left: an arbitrary expression that evaluates to a primitive C type.
1175 * Sets an expectation that the value that @left evaluates to is greater than
1177 * KUNIT_EXPECT_TRUE(@test, (@left) >= (@right)). See KUNIT_EXPECT_TRUE() for
1180 #define KUNIT_EXPECT_GE(test, left, right) \ argument
1181 KUNIT_EXPECT_GE_MSG(test, left, right, NULL)
1183 #define KUNIT_EXPECT_GE_MSG(test, left, right, fmt, ...) \ argument
1186 left, >=, right, \
1191 * KUNIT_EXPECT_STREQ() - Expects that strings @left and @right are equal.
1193 * @left: an arbitrary expression that evaluates to a null terminated string.
1196 * Sets an expectation that the values that @left and @right evaluate to are
1198 * KUNIT_EXPECT_TRUE(@test, !strcmp((@left), (@right))). See KUNIT_EXPECT_TRUE()
1201 #define KUNIT_EXPECT_STREQ(test, left, right) \ argument
1202 KUNIT_EXPECT_STREQ_MSG(test, left, right, NULL)
1204 #define KUNIT_EXPECT_STREQ_MSG(test, left, right, fmt, ...) \ argument
1207 left, ==, right, \
1212 * KUNIT_EXPECT_STRNEQ() - Expects that strings @left and @right are not equal.
1214 * @left: an arbitrary expression that evaluates to a null terminated string.
1217 * Sets an expectation that the values that @left and @right evaluate to are
1219 * KUNIT_EXPECT_TRUE(@test, strcmp((@left), (@right))). See KUNIT_EXPECT_TRUE()
1222 #define KUNIT_EXPECT_STRNEQ(test, left, right) \ argument
1223 KUNIT_EXPECT_STRNEQ_MSG(test, left, right, NULL)
1225 #define KUNIT_EXPECT_STRNEQ_MSG(test, left, right, fmt, ...) \ argument
1228 left, !=, right, \
1233 * KUNIT_EXPECT_MEMEQ() - Expects that the first @size bytes of @left and @right are equal.
1235 * @left: An arbitrary expression that evaluates to the specified size.
1239 * Sets an expectation that the values that @left and @right evaluate to are
1241 * KUNIT_EXPECT_TRUE(@test, !memcmp((@left), (@right), (@size))). See
1248 #define KUNIT_EXPECT_MEMEQ(test, left, right, size) \ argument
1249 KUNIT_EXPECT_MEMEQ_MSG(test, left, right, size, NULL)
1251 #define KUNIT_EXPECT_MEMEQ_MSG(test, left, right, size, fmt, ...) \ argument
1254 left, ==, right, \
1260 * KUNIT_EXPECT_MEMNEQ() - Expects that the first @size bytes of @left and @right are not equal.
1262 * @left: An arbitrary expression that evaluates to the specified size.
1266 * Sets an expectation that the values that @left and @right evaluate to are
1268 * KUNIT_EXPECT_TRUE(@test, memcmp((@left), (@right), (@size))). See
1275 #define KUNIT_EXPECT_MEMNEQ(test, left, right, size) \ argument
1276 KUNIT_EXPECT_MEMNEQ_MSG(test, left, right, size, NULL)
1278 #define KUNIT_EXPECT_MEMNEQ_MSG(test, left, right, size, fmt, ...) \ argument
1281 left, !=, right, \
1403 * KUNIT_ASSERT_EQ() - Sets an assertion that @left and @right are equal.
1405 * @left: an arbitrary expression that evaluates to a primitive C type.
1408 * Sets an assertion that the values that @left and @right evaluate to are
1412 #define KUNIT_ASSERT_EQ(test, left, right) \ argument
1413 KUNIT_ASSERT_EQ_MSG(test, left, right, NULL)
1415 #define KUNIT_ASSERT_EQ_MSG(test, left, right, fmt, ...) \ argument
1418 left, ==, right, \
1423 * KUNIT_ASSERT_PTR_EQ() - Asserts that pointers @left and @right are equal.
1425 * @left: an arbitrary expression that evaluates to a pointer.
1428 * Sets an assertion that the values that @left and @right evaluate to are
1432 #define KUNIT_ASSERT_PTR_EQ(test, left, right) \ argument
1433 KUNIT_ASSERT_PTR_EQ_MSG(test, left, right, NULL)
1435 #define KUNIT_ASSERT_PTR_EQ_MSG(test, left, right, fmt, ...) \ argument
1438 left, ==, right, \
1443 * KUNIT_ASSERT_NE() - An assertion that @left and @right are not equal.
1445 * @left: an arbitrary expression that evaluates to a primitive C type.
1448 * Sets an assertion that the values that @left and @right evaluate to are not
1452 #define KUNIT_ASSERT_NE(test, left, right) \ argument
1453 KUNIT_ASSERT_NE_MSG(test, left, right, NULL)
1455 #define KUNIT_ASSERT_NE_MSG(test, left, right, fmt, ...) \ argument
1458 left, !=, right, \
1463 * KUNIT_ASSERT_PTR_NE() - Asserts that pointers @left and @right are not equal.
1464 * KUNIT_ASSERT_PTR_EQ() - Asserts that pointers @left and @right are equal.
1466 * @left: an arbitrary expression that evaluates to a pointer.
1469 * Sets an assertion that the values that @left and @right evaluate to are not
1473 #define KUNIT_ASSERT_PTR_NE(test, left, right) \ argument
1474 KUNIT_ASSERT_PTR_NE_MSG(test, left, right, NULL)
1476 #define KUNIT_ASSERT_PTR_NE_MSG(test, left, right, fmt, ...) \ argument
1479 left, !=, right, \
1483 * KUNIT_ASSERT_LT() - An assertion that @left is less than @right.
1485 * @left: an arbitrary expression that evaluates to a primitive C type.
1488 * Sets an assertion that the value that @left evaluates to is less than the
1493 #define KUNIT_ASSERT_LT(test, left, right) \ argument
1494 KUNIT_ASSERT_LT_MSG(test, left, right, NULL)
1496 #define KUNIT_ASSERT_LT_MSG(test, left, right, fmt, ...) \ argument
1499 left, <, right, \
1503 * KUNIT_ASSERT_LE() - An assertion that @left is less than or equal to @right.
1505 * @left: an arbitrary expression that evaluates to a primitive C type.
1508 * Sets an assertion that the value that @left evaluates to is less than or
1513 #define KUNIT_ASSERT_LE(test, left, right) \ argument
1514 KUNIT_ASSERT_LE_MSG(test, left, right, NULL)
1516 #define KUNIT_ASSERT_LE_MSG(test, left, right, fmt, ...) \ argument
1519 left, <=, right, \
1524 * KUNIT_ASSERT_GT() - An assertion that @left is greater than @right.
1526 * @left: an arbitrary expression that evaluates to a primitive C type.
1529 * Sets an assertion that the value that @left evaluates to is greater than the
1534 #define KUNIT_ASSERT_GT(test, left, right) \ argument
1535 KUNIT_ASSERT_GT_MSG(test, left, right, NULL)
1537 #define KUNIT_ASSERT_GT_MSG(test, left, right, fmt, ...) \ argument
1540 left, >, right, \
1545 * KUNIT_ASSERT_GE() - Assertion that @left is greater than or equal to @right.
1547 * @left: an arbitrary expression that evaluates to a primitive C type.
1550 * Sets an assertion that the value that @left evaluates to is greater than the
1555 #define KUNIT_ASSERT_GE(test, left, right) \ argument
1556 KUNIT_ASSERT_GE_MSG(test, left, right, NULL)
1558 #define KUNIT_ASSERT_GE_MSG(test, left, right, fmt, ...) \ argument
1561 left, >=, right, \
1566 * KUNIT_ASSERT_STREQ() - An assertion that strings @left and @right are equal.
1568 * @left: an arbitrary expression that evaluates to a null terminated string.
1571 * Sets an assertion that the values that @left and @right evaluate to are
1575 #define KUNIT_ASSERT_STREQ(test, left, right) \ argument
1576 KUNIT_ASSERT_STREQ_MSG(test, left, right, NULL)
1578 #define KUNIT_ASSERT_STREQ_MSG(test, left, right, fmt, ...) \ argument
1581 left, ==, right, \
1586 * KUNIT_ASSERT_STRNEQ() - An assertion that strings @left and @right are not equal.
1588 * @left: an arbitrary expression that evaluates to a null terminated string.
1591 * Sets an assertion that the values that @left and @right evaluate to are
1593 * KUNIT_ASSERT_TRUE(@test, strcmp((@left), (@right))). See KUNIT_ASSERT_TRUE()
1596 #define KUNIT_ASSERT_STRNEQ(test, left, right) \ argument
1597 KUNIT_ASSERT_STRNEQ_MSG(test, left, right, NULL)
1599 #define KUNIT_ASSERT_STRNEQ_MSG(test, left, right, fmt, ...) \ argument
1602 left, !=, right, \
1607 * KUNIT_ASSERT_MEMEQ() - Asserts that the first @size bytes of @left and @right are equal.
1609 * @left: An arbitrary expression that evaluates to the specified size.
1613 * Sets an assertion that the values that @left and @right evaluate to are
1615 * KUNIT_ASSERT_TRUE(@test, !memcmp((@left), (@right), (@size))). See
1622 #define KUNIT_ASSERT_MEMEQ(test, left, right, size) \ argument
1623 KUNIT_ASSERT_MEMEQ_MSG(test, left, right, size, NULL)
1625 #define KUNIT_ASSERT_MEMEQ_MSG(test, left, right, size, fmt, ...) \ argument
1628 left, ==, right, \
1634 * KUNIT_ASSERT_MEMNEQ() - Asserts that the first @size bytes of @left and @right are not equal.
1636 * @left: An arbitrary expression that evaluates to the specified size.
1640 * Sets an assertion that the values that @left and @right evaluate to are
1642 * KUNIT_ASSERT_TRUE(@test, memcmp((@left), (@right), (@size))). See
1649 #define KUNIT_ASSERT_MEMNEQ(test, left, right, size) \ argument
1650 KUNIT_ASSERT_MEMNEQ_MSG(test, left, right, size, NULL)
1652 #define KUNIT_ASSERT_MEMNEQ_MSG(test, left, right, size, fmt, ...) \ argument
1655 left, !=, right, \