Lines Matching full:left
833 left, \ argument
839 const typeof(left) __left = (left); \
843 .left_text = #left, \
864 left, \ argument
873 left, op, right, \
879 left, \ argument
888 left, op, right, \
894 left, \ argument
900 const char *__left = (left); \
904 .left_text = #left, \
927 left, \ argument
934 const void *__left = (left); \
939 .left_text = #left, \
1022 * KUNIT_EXPECT_EQ() - Sets an expectation that @left and @right are equal.
1024 * @left: an arbitrary expression that evaluates to a primitive C type.
1027 * Sets an expectation that the values that @left and @right evaluate to are
1029 * KUNIT_EXPECT_TRUE(@test, (@left) == (@right)). See KUNIT_EXPECT_TRUE() for
1032 #define KUNIT_EXPECT_EQ(test, left, right) \ argument
1033 KUNIT_EXPECT_EQ_MSG(test, left, right, NULL)
1035 #define KUNIT_EXPECT_EQ_MSG(test, left, right, fmt, ...) \ argument
1038 left, ==, right, \
1043 * KUNIT_EXPECT_PTR_EQ() - Expects that pointers @left and @right are equal.
1045 * @left: an arbitrary expression that evaluates to a pointer.
1048 * Sets an expectation that the values that @left and @right evaluate to are
1050 * KUNIT_EXPECT_TRUE(@test, (@left) == (@right)). See KUNIT_EXPECT_TRUE() for
1053 #define KUNIT_EXPECT_PTR_EQ(test, left, right) \ argument
1054 KUNIT_EXPECT_PTR_EQ_MSG(test, left, right, NULL)
1056 #define KUNIT_EXPECT_PTR_EQ_MSG(test, left, right, fmt, ...) \ argument
1059 left, ==, right, \
1064 * KUNIT_EXPECT_NE() - An expectation that @left and @right are not equal.
1066 * @left: an arbitrary expression that evaluates to a primitive C type.
1069 * Sets an expectation that the values that @left and @right evaluate to are not
1071 * KUNIT_EXPECT_TRUE(@test, (@left) != (@right)). See KUNIT_EXPECT_TRUE() for
1074 #define KUNIT_EXPECT_NE(test, left, right) \ argument
1075 KUNIT_EXPECT_NE_MSG(test, left, right, NULL)
1077 #define KUNIT_EXPECT_NE_MSG(test, left, right, fmt, ...) \ argument
1080 left, !=, right, \
1085 * KUNIT_EXPECT_PTR_NE() - Expects that pointers @left and @right are not equal.
1087 * @left: an arbitrary expression that evaluates to a pointer.
1090 * Sets an expectation that the values that @left and @right evaluate to are not
1092 * KUNIT_EXPECT_TRUE(@test, (@left) != (@right)). See KUNIT_EXPECT_TRUE() for
1095 #define KUNIT_EXPECT_PTR_NE(test, left, right) \ argument
1096 KUNIT_EXPECT_PTR_NE_MSG(test, left, right, NULL)
1098 #define KUNIT_EXPECT_PTR_NE_MSG(test, left, right, fmt, ...) \ argument
1101 left, !=, right, \
1106 * KUNIT_EXPECT_LT() - An expectation that @left is less than @right.
1108 * @left: an arbitrary expression that evaluates to a primitive C type.
1111 * Sets an expectation that the value that @left evaluates to is less than the
1113 * KUNIT_EXPECT_TRUE(@test, (@left) < (@right)). See KUNIT_EXPECT_TRUE() for
1116 #define KUNIT_EXPECT_LT(test, left, right) \ argument
1117 KUNIT_EXPECT_LT_MSG(test, left, right, NULL)
1119 #define KUNIT_EXPECT_LT_MSG(test, left, right, fmt, ...) \ argument
1122 left, <, right, \
1127 * KUNIT_EXPECT_LE() - Expects that @left is less than or equal to @right.
1129 * @left: an arbitrary expression that evaluates to a primitive C type.
1132 * Sets an expectation that the value that @left evaluates to is less than or
1134 * to KUNIT_EXPECT_TRUE(@test, (@left) <= (@right)). See KUNIT_EXPECT_TRUE() for
1137 #define KUNIT_EXPECT_LE(test, left, right) \ argument
1138 KUNIT_EXPECT_LE_MSG(test, left, right, NULL)
1140 #define KUNIT_EXPECT_LE_MSG(test, left, right, fmt, ...) \ argument
1143 left, <=, right, \
1148 * KUNIT_EXPECT_GT() - An expectation that @left is greater than @right.
1150 * @left: an arbitrary expression that evaluates to a primitive C type.
1153 * Sets an expectation that the value that @left evaluates to is greater than
1155 * KUNIT_EXPECT_TRUE(@test, (@left) > (@right)). See KUNIT_EXPECT_TRUE() for
1158 #define KUNIT_EXPECT_GT(test, left, right) \ argument
1159 KUNIT_EXPECT_GT_MSG(test, left, right, NULL)
1161 #define KUNIT_EXPECT_GT_MSG(test, left, right, fmt, ...) \ argument
1164 left, >, right, \
1169 * KUNIT_EXPECT_GE() - Expects that @left is greater than or equal to @right.
1171 * @left: an arbitrary expression that evaluates to a primitive C type.
1174 * Sets an expectation that the value that @left evaluates to is greater than
1176 * KUNIT_EXPECT_TRUE(@test, (@left) >= (@right)). See KUNIT_EXPECT_TRUE() for
1179 #define KUNIT_EXPECT_GE(test, left, right) \ argument
1180 KUNIT_EXPECT_GE_MSG(test, left, right, NULL)
1182 #define KUNIT_EXPECT_GE_MSG(test, left, right, fmt, ...) \ argument
1185 left, >=, right, \
1190 * KUNIT_EXPECT_STREQ() - Expects that strings @left and @right are equal.
1192 * @left: an arbitrary expression that evaluates to a null terminated string.
1195 * Sets an expectation that the values that @left and @right evaluate to are
1197 * KUNIT_EXPECT_TRUE(@test, !strcmp((@left), (@right))). See KUNIT_EXPECT_TRUE()
1200 #define KUNIT_EXPECT_STREQ(test, left, right) \ argument
1201 KUNIT_EXPECT_STREQ_MSG(test, left, right, NULL)
1203 #define KUNIT_EXPECT_STREQ_MSG(test, left, right, fmt, ...) \ argument
1206 left, ==, right, \
1211 * KUNIT_EXPECT_STRNEQ() - Expects that strings @left and @right are not equal.
1213 * @left: an arbitrary expression that evaluates to a null terminated string.
1216 * Sets an expectation that the values that @left and @right evaluate to are
1218 * KUNIT_EXPECT_TRUE(@test, strcmp((@left), (@right))). See KUNIT_EXPECT_TRUE()
1221 #define KUNIT_EXPECT_STRNEQ(test, left, right) \ argument
1222 KUNIT_EXPECT_STRNEQ_MSG(test, left, right, NULL)
1224 #define KUNIT_EXPECT_STRNEQ_MSG(test, left, right, fmt, ...) \ argument
1227 left, !=, right, \
1232 * KUNIT_EXPECT_MEMEQ() - Expects that the first @size bytes of @left and @right are equal.
1234 * @left: An arbitrary expression that evaluates to the specified size.
1238 * Sets an expectation that the values that @left and @right evaluate to are
1240 * KUNIT_EXPECT_TRUE(@test, !memcmp((@left), (@right), (@size))). See
1247 #define KUNIT_EXPECT_MEMEQ(test, left, right, size) \ argument
1248 KUNIT_EXPECT_MEMEQ_MSG(test, left, right, size, NULL)
1250 #define KUNIT_EXPECT_MEMEQ_MSG(test, left, right, size, fmt, ...) \ argument
1253 left, ==, right, \
1259 * KUNIT_EXPECT_MEMNEQ() - Expects that the first @size bytes of @left and @right are not equal.
1261 * @left: An arbitrary expression that evaluates to the specified size.
1265 * Sets an expectation that the values that @left and @right evaluate to are
1267 * KUNIT_EXPECT_TRUE(@test, memcmp((@left), (@right), (@size))). See
1274 #define KUNIT_EXPECT_MEMNEQ(test, left, right, size) \ argument
1275 KUNIT_EXPECT_MEMNEQ_MSG(test, left, right, size, NULL)
1277 #define KUNIT_EXPECT_MEMNEQ_MSG(test, left, right, size, fmt, ...) \ argument
1280 left, !=, right, \
1402 * KUNIT_ASSERT_EQ() - Sets an assertion that @left and @right are equal.
1404 * @left: an arbitrary expression that evaluates to a primitive C type.
1407 * Sets an assertion that the values that @left and @right evaluate to are
1411 #define KUNIT_ASSERT_EQ(test, left, right) \ argument
1412 KUNIT_ASSERT_EQ_MSG(test, left, right, NULL)
1414 #define KUNIT_ASSERT_EQ_MSG(test, left, right, fmt, ...) \ argument
1417 left, ==, right, \
1422 * KUNIT_ASSERT_PTR_EQ() - Asserts that pointers @left and @right are equal.
1424 * @left: an arbitrary expression that evaluates to a pointer.
1427 * Sets an assertion that the values that @left and @right evaluate to are
1431 #define KUNIT_ASSERT_PTR_EQ(test, left, right) \ argument
1432 KUNIT_ASSERT_PTR_EQ_MSG(test, left, right, NULL)
1434 #define KUNIT_ASSERT_PTR_EQ_MSG(test, left, right, fmt, ...) \ argument
1437 left, ==, right, \
1442 * KUNIT_ASSERT_NE() - An assertion that @left and @right are not equal.
1444 * @left: an arbitrary expression that evaluates to a primitive C type.
1447 * Sets an assertion that the values that @left and @right evaluate to are not
1451 #define KUNIT_ASSERT_NE(test, left, right) \ argument
1452 KUNIT_ASSERT_NE_MSG(test, left, right, NULL)
1454 #define KUNIT_ASSERT_NE_MSG(test, left, right, fmt, ...) \ argument
1457 left, !=, right, \
1462 * KUNIT_ASSERT_PTR_NE() - Asserts that pointers @left and @right are not equal.
1463 * KUNIT_ASSERT_PTR_EQ() - Asserts that pointers @left and @right are equal.
1465 * @left: an arbitrary expression that evaluates to a pointer.
1468 * Sets an assertion that the values that @left and @right evaluate to are not
1472 #define KUNIT_ASSERT_PTR_NE(test, left, right) \ argument
1473 KUNIT_ASSERT_PTR_NE_MSG(test, left, right, NULL)
1475 #define KUNIT_ASSERT_PTR_NE_MSG(test, left, right, fmt, ...) \ argument
1478 left, !=, right, \
1482 * KUNIT_ASSERT_LT() - An assertion that @left is less than @right.
1484 * @left: an arbitrary expression that evaluates to a primitive C type.
1487 * Sets an assertion that the value that @left evaluates to is less than the
1492 #define KUNIT_ASSERT_LT(test, left, right) \ argument
1493 KUNIT_ASSERT_LT_MSG(test, left, right, NULL)
1495 #define KUNIT_ASSERT_LT_MSG(test, left, right, fmt, ...) \ argument
1498 left, <, right, \
1502 * KUNIT_ASSERT_LE() - An assertion that @left is less than or equal to @right.
1504 * @left: an arbitrary expression that evaluates to a primitive C type.
1507 * Sets an assertion that the value that @left evaluates to is less than or
1512 #define KUNIT_ASSERT_LE(test, left, right) \ argument
1513 KUNIT_ASSERT_LE_MSG(test, left, right, NULL)
1515 #define KUNIT_ASSERT_LE_MSG(test, left, right, fmt, ...) \ argument
1518 left, <=, right, \
1523 * KUNIT_ASSERT_GT() - An assertion that @left is greater than @right.
1525 * @left: an arbitrary expression that evaluates to a primitive C type.
1528 * Sets an assertion that the value that @left evaluates to is greater than the
1533 #define KUNIT_ASSERT_GT(test, left, right) \ argument
1534 KUNIT_ASSERT_GT_MSG(test, left, right, NULL)
1536 #define KUNIT_ASSERT_GT_MSG(test, left, right, fmt, ...) \ argument
1539 left, >, right, \
1544 * KUNIT_ASSERT_GE() - Assertion that @left is greater than or equal to @right.
1546 * @left: an arbitrary expression that evaluates to a primitive C type.
1549 * Sets an assertion that the value that @left evaluates to is greater than the
1554 #define KUNIT_ASSERT_GE(test, left, right) \ argument
1555 KUNIT_ASSERT_GE_MSG(test, left, right, NULL)
1557 #define KUNIT_ASSERT_GE_MSG(test, left, right, fmt, ...) \ argument
1560 left, >=, right, \
1565 * KUNIT_ASSERT_STREQ() - An assertion that strings @left and @right are equal.
1567 * @left: an arbitrary expression that evaluates to a null terminated string.
1570 * Sets an assertion that the values that @left and @right evaluate to are
1574 #define KUNIT_ASSERT_STREQ(test, left, right) \ argument
1575 KUNIT_ASSERT_STREQ_MSG(test, left, right, NULL)
1577 #define KUNIT_ASSERT_STREQ_MSG(test, left, right, fmt, ...) \ argument
1580 left, ==, right, \
1585 * KUNIT_ASSERT_STRNEQ() - An assertion that strings @left and @right are not equal.
1587 * @left: an arbitrary expression that evaluates to a null terminated string.
1590 * Sets an assertion that the values that @left and @right evaluate to are
1592 * KUNIT_ASSERT_TRUE(@test, strcmp((@left), (@right))). See KUNIT_ASSERT_TRUE()
1595 #define KUNIT_ASSERT_STRNEQ(test, left, right) \ argument
1596 KUNIT_ASSERT_STRNEQ_MSG(test, left, right, NULL)
1598 #define KUNIT_ASSERT_STRNEQ_MSG(test, left, right, fmt, ...) \ argument
1601 left, !=, right, \
1606 * KUNIT_ASSERT_MEMEQ() - Asserts that the first @size bytes of @left and @right are equal.
1608 * @left: An arbitrary expression that evaluates to the specified size.
1612 * Sets an assertion that the values that @left and @right evaluate to are
1614 * KUNIT_ASSERT_TRUE(@test, !memcmp((@left), (@right), (@size))). See
1621 #define KUNIT_ASSERT_MEMEQ(test, left, right, size) \ argument
1622 KUNIT_ASSERT_MEMEQ_MSG(test, left, right, size, NULL)
1624 #define KUNIT_ASSERT_MEMEQ_MSG(test, left, right, size, fmt, ...) \ argument
1627 left, ==, right, \
1633 * KUNIT_ASSERT_MEMNEQ() - Asserts that the first @size bytes of @left and @right are not equal.
1635 * @left: An arbitrary expression that evaluates to the specified size.
1639 * Sets an assertion that the values that @left and @right evaluate to are
1641 * KUNIT_ASSERT_TRUE(@test, memcmp((@left), (@right), (@size))). See
1648 #define KUNIT_ASSERT_MEMNEQ(test, left, right, size) \ argument
1649 KUNIT_ASSERT_MEMNEQ_MSG(test, left, right, size, NULL)
1651 #define KUNIT_ASSERT_MEMNEQ_MSG(test, left, right, size, fmt, ...) \ argument
1654 left, !=, right, \