Lines Matching full:left

769 				    left,				       \  argument
775 const typeof(left) __left = (left); \
779 .left_text = #left, \
800 left, \ argument
809 left, op, right, \
815 left, \ argument
824 left, op, right, \
830 left, \ argument
836 const char *__left = (left); \
840 .left_text = #left, \
862 left, \ argument
869 const void *__left = (left); \
874 .left_text = #left, \
957 * KUNIT_EXPECT_EQ() - Sets an expectation that @left and @right are equal.
959 * @left: an arbitrary expression that evaluates to a primitive C type.
962 * Sets an expectation that the values that @left and @right evaluate to are
964 * KUNIT_EXPECT_TRUE(@test, (@left) == (@right)). See KUNIT_EXPECT_TRUE() for
967 #define KUNIT_EXPECT_EQ(test, left, right) \ argument
968 KUNIT_EXPECT_EQ_MSG(test, left, right, NULL)
970 #define KUNIT_EXPECT_EQ_MSG(test, left, right, fmt, ...) \ argument
973 left, ==, right, \
978 * KUNIT_EXPECT_PTR_EQ() - Expects that pointers @left and @right are equal.
980 * @left: an arbitrary expression that evaluates to a pointer.
983 * Sets an expectation that the values that @left and @right evaluate to are
985 * KUNIT_EXPECT_TRUE(@test, (@left) == (@right)). See KUNIT_EXPECT_TRUE() for
988 #define KUNIT_EXPECT_PTR_EQ(test, left, right) \ argument
989 KUNIT_EXPECT_PTR_EQ_MSG(test, left, right, NULL)
991 #define KUNIT_EXPECT_PTR_EQ_MSG(test, left, right, fmt, ...) \ argument
994 left, ==, right, \
999 * KUNIT_EXPECT_NE() - An expectation that @left and @right are not equal.
1001 * @left: an arbitrary expression that evaluates to a primitive C type.
1004 * Sets an expectation that the values that @left and @right evaluate to are not
1006 * KUNIT_EXPECT_TRUE(@test, (@left) != (@right)). See KUNIT_EXPECT_TRUE() for
1009 #define KUNIT_EXPECT_NE(test, left, right) \ argument
1010 KUNIT_EXPECT_NE_MSG(test, left, right, NULL)
1012 #define KUNIT_EXPECT_NE_MSG(test, left, right, fmt, ...) \ argument
1015 left, !=, right, \
1020 * KUNIT_EXPECT_PTR_NE() - Expects that pointers @left and @right are not equal.
1022 * @left: an arbitrary expression that evaluates to a pointer.
1025 * Sets an expectation that the values that @left and @right evaluate to are not
1027 * KUNIT_EXPECT_TRUE(@test, (@left) != (@right)). See KUNIT_EXPECT_TRUE() for
1030 #define KUNIT_EXPECT_PTR_NE(test, left, right) \ argument
1031 KUNIT_EXPECT_PTR_NE_MSG(test, left, right, NULL)
1033 #define KUNIT_EXPECT_PTR_NE_MSG(test, left, right, fmt, ...) \ argument
1036 left, !=, right, \
1041 * KUNIT_EXPECT_LT() - An expectation that @left is less than @right.
1043 * @left: an arbitrary expression that evaluates to a primitive C type.
1046 * Sets an expectation that the value that @left evaluates to is less than the
1048 * KUNIT_EXPECT_TRUE(@test, (@left) < (@right)). See KUNIT_EXPECT_TRUE() for
1051 #define KUNIT_EXPECT_LT(test, left, right) \ argument
1052 KUNIT_EXPECT_LT_MSG(test, left, right, NULL)
1054 #define KUNIT_EXPECT_LT_MSG(test, left, right, fmt, ...) \ argument
1057 left, <, right, \
1062 * KUNIT_EXPECT_LE() - Expects that @left is less than or equal to @right.
1064 * @left: an arbitrary expression that evaluates to a primitive C type.
1067 * Sets an expectation that the value that @left evaluates to is less than or
1069 * to KUNIT_EXPECT_TRUE(@test, (@left) <= (@right)). See KUNIT_EXPECT_TRUE() for
1072 #define KUNIT_EXPECT_LE(test, left, right) \ argument
1073 KUNIT_EXPECT_LE_MSG(test, left, right, NULL)
1075 #define KUNIT_EXPECT_LE_MSG(test, left, right, fmt, ...) \ argument
1078 left, <=, right, \
1083 * KUNIT_EXPECT_GT() - An expectation that @left is greater than @right.
1085 * @left: an arbitrary expression that evaluates to a primitive C type.
1088 * Sets an expectation that the value that @left evaluates to is greater than
1090 * KUNIT_EXPECT_TRUE(@test, (@left) > (@right)). See KUNIT_EXPECT_TRUE() for
1093 #define KUNIT_EXPECT_GT(test, left, right) \ argument
1094 KUNIT_EXPECT_GT_MSG(test, left, right, NULL)
1096 #define KUNIT_EXPECT_GT_MSG(test, left, right, fmt, ...) \ argument
1099 left, >, right, \
1104 * KUNIT_EXPECT_GE() - Expects that @left is greater than or equal to @right.
1106 * @left: an arbitrary expression that evaluates to a primitive C type.
1109 * Sets an expectation that the value that @left evaluates to is greater than
1111 * KUNIT_EXPECT_TRUE(@test, (@left) >= (@right)). See KUNIT_EXPECT_TRUE() for
1114 #define KUNIT_EXPECT_GE(test, left, right) \ argument
1115 KUNIT_EXPECT_GE_MSG(test, left, right, NULL)
1117 #define KUNIT_EXPECT_GE_MSG(test, left, right, fmt, ...) \ argument
1120 left, >=, right, \
1125 * KUNIT_EXPECT_STREQ() - Expects that strings @left and @right are equal.
1127 * @left: an arbitrary expression that evaluates to a null terminated string.
1130 * Sets an expectation that the values that @left and @right evaluate to are
1132 * KUNIT_EXPECT_TRUE(@test, !strcmp((@left), (@right))). See KUNIT_EXPECT_TRUE()
1135 #define KUNIT_EXPECT_STREQ(test, left, right) \ argument
1136 KUNIT_EXPECT_STREQ_MSG(test, left, right, NULL)
1138 #define KUNIT_EXPECT_STREQ_MSG(test, left, right, fmt, ...) \ argument
1141 left, ==, right, \
1146 * KUNIT_EXPECT_STRNEQ() - Expects that strings @left and @right are not equal.
1148 * @left: an arbitrary expression that evaluates to a null terminated string.
1151 * Sets an expectation that the values that @left and @right evaluate to are
1153 * KUNIT_EXPECT_TRUE(@test, strcmp((@left), (@right))). See KUNIT_EXPECT_TRUE()
1156 #define KUNIT_EXPECT_STRNEQ(test, left, right) \ argument
1157 KUNIT_EXPECT_STRNEQ_MSG(test, left, right, NULL)
1159 #define KUNIT_EXPECT_STRNEQ_MSG(test, left, right, fmt, ...) \ argument
1162 left, !=, right, \
1167 * KUNIT_EXPECT_MEMEQ() - Expects that the first @size bytes of @left and @right are equal.
1169 * @left: An arbitrary expression that evaluates to the specified size.
1173 * Sets an expectation that the values that @left and @right evaluate to are
1175 * KUNIT_EXPECT_TRUE(@test, !memcmp((@left), (@right), (@size))). See
1182 #define KUNIT_EXPECT_MEMEQ(test, left, right, size) \ argument
1183 KUNIT_EXPECT_MEMEQ_MSG(test, left, right, size, NULL)
1185 #define KUNIT_EXPECT_MEMEQ_MSG(test, left, right, size, fmt, ...) \ argument
1188 left, ==, right, \
1194 * KUNIT_EXPECT_MEMNEQ() - Expects that the first @size bytes of @left and @right are not equal.
1196 * @left: An arbitrary expression that evaluates to the specified size.
1200 * Sets an expectation that the values that @left and @right evaluate to are
1202 * KUNIT_EXPECT_TRUE(@test, memcmp((@left), (@right), (@size))). See
1209 #define KUNIT_EXPECT_MEMNEQ(test, left, right, size) \ argument
1210 KUNIT_EXPECT_MEMNEQ_MSG(test, left, right, size, NULL)
1212 #define KUNIT_EXPECT_MEMNEQ_MSG(test, left, right, size, fmt, ...) \ argument
1215 left, !=, right, \
1337 * KUNIT_ASSERT_EQ() - Sets an assertion that @left and @right are equal.
1339 * @left: an arbitrary expression that evaluates to a primitive C type.
1342 * Sets an assertion that the values that @left and @right evaluate to are
1346 #define KUNIT_ASSERT_EQ(test, left, right) \ argument
1347 KUNIT_ASSERT_EQ_MSG(test, left, right, NULL)
1349 #define KUNIT_ASSERT_EQ_MSG(test, left, right, fmt, ...) \ argument
1352 left, ==, right, \
1357 * KUNIT_ASSERT_PTR_EQ() - Asserts that pointers @left and @right are equal.
1359 * @left: an arbitrary expression that evaluates to a pointer.
1362 * Sets an assertion that the values that @left and @right evaluate to are
1366 #define KUNIT_ASSERT_PTR_EQ(test, left, right) \ argument
1367 KUNIT_ASSERT_PTR_EQ_MSG(test, left, right, NULL)
1369 #define KUNIT_ASSERT_PTR_EQ_MSG(test, left, right, fmt, ...) \ argument
1372 left, ==, right, \
1377 * KUNIT_ASSERT_NE() - An assertion that @left and @right are not equal.
1379 * @left: an arbitrary expression that evaluates to a primitive C type.
1382 * Sets an assertion that the values that @left and @right evaluate to are not
1386 #define KUNIT_ASSERT_NE(test, left, right) \ argument
1387 KUNIT_ASSERT_NE_MSG(test, left, right, NULL)
1389 #define KUNIT_ASSERT_NE_MSG(test, left, right, fmt, ...) \ argument
1392 left, !=, right, \
1397 * KUNIT_ASSERT_PTR_NE() - Asserts that pointers @left and @right are not equal.
1398 * KUNIT_ASSERT_PTR_EQ() - Asserts that pointers @left and @right are equal.
1400 * @left: an arbitrary expression that evaluates to a pointer.
1403 * Sets an assertion that the values that @left and @right evaluate to are not
1407 #define KUNIT_ASSERT_PTR_NE(test, left, right) \ argument
1408 KUNIT_ASSERT_PTR_NE_MSG(test, left, right, NULL)
1410 #define KUNIT_ASSERT_PTR_NE_MSG(test, left, right, fmt, ...) \ argument
1413 left, !=, right, \
1417 * KUNIT_ASSERT_LT() - An assertion that @left is less than @right.
1419 * @left: an arbitrary expression that evaluates to a primitive C type.
1422 * Sets an assertion that the value that @left evaluates to is less than the
1427 #define KUNIT_ASSERT_LT(test, left, right) \ argument
1428 KUNIT_ASSERT_LT_MSG(test, left, right, NULL)
1430 #define KUNIT_ASSERT_LT_MSG(test, left, right, fmt, ...) \ argument
1433 left, <, right, \
1437 * KUNIT_ASSERT_LE() - An assertion that @left is less than or equal to @right.
1439 * @left: an arbitrary expression that evaluates to a primitive C type.
1442 * Sets an assertion that the value that @left evaluates to is less than or
1447 #define KUNIT_ASSERT_LE(test, left, right) \ argument
1448 KUNIT_ASSERT_LE_MSG(test, left, right, NULL)
1450 #define KUNIT_ASSERT_LE_MSG(test, left, right, fmt, ...) \ argument
1453 left, <=, right, \
1458 * KUNIT_ASSERT_GT() - An assertion that @left is greater than @right.
1460 * @left: an arbitrary expression that evaluates to a primitive C type.
1463 * Sets an assertion that the value that @left evaluates to is greater than the
1468 #define KUNIT_ASSERT_GT(test, left, right) \ argument
1469 KUNIT_ASSERT_GT_MSG(test, left, right, NULL)
1471 #define KUNIT_ASSERT_GT_MSG(test, left, right, fmt, ...) \ argument
1474 left, >, right, \
1479 * KUNIT_ASSERT_GE() - Assertion that @left is greater than or equal to @right.
1481 * @left: an arbitrary expression that evaluates to a primitive C type.
1484 * Sets an assertion that the value that @left evaluates to is greater than the
1489 #define KUNIT_ASSERT_GE(test, left, right) \ argument
1490 KUNIT_ASSERT_GE_MSG(test, left, right, NULL)
1492 #define KUNIT_ASSERT_GE_MSG(test, left, right, fmt, ...) \ argument
1495 left, >=, right, \
1500 * KUNIT_ASSERT_STREQ() - An assertion that strings @left and @right are equal.
1502 * @left: an arbitrary expression that evaluates to a null terminated string.
1505 * Sets an assertion that the values that @left and @right evaluate to are
1509 #define KUNIT_ASSERT_STREQ(test, left, right) \ argument
1510 KUNIT_ASSERT_STREQ_MSG(test, left, right, NULL)
1512 #define KUNIT_ASSERT_STREQ_MSG(test, left, right, fmt, ...) \ argument
1515 left, ==, right, \
1520 * KUNIT_ASSERT_STRNEQ() - An assertion that strings @left and @right are not equal.
1522 * @left: an arbitrary expression that evaluates to a null terminated string.
1525 * Sets an assertion that the values that @left and @right evaluate to are
1527 * KUNIT_ASSERT_TRUE(@test, strcmp((@left), (@right))). See KUNIT_ASSERT_TRUE()
1530 #define KUNIT_ASSERT_STRNEQ(test, left, right) \ argument
1531 KUNIT_ASSERT_STRNEQ_MSG(test, left, right, NULL)
1533 #define KUNIT_ASSERT_STRNEQ_MSG(test, left, right, fmt, ...) \ argument
1536 left, !=, right, \
1541 * KUNIT_ASSERT_MEMEQ() - Asserts that the first @size bytes of @left and @right are equal.
1543 * @left: An arbitrary expression that evaluates to the specified size.
1547 * Sets an assertion that the values that @left and @right evaluate to are
1549 * KUNIT_ASSERT_TRUE(@test, !memcmp((@left), (@right), (@size))). See
1556 #define KUNIT_ASSERT_MEMEQ(test, left, right, size) \ argument
1557 KUNIT_ASSERT_MEMEQ_MSG(test, left, right, size, NULL)
1559 #define KUNIT_ASSERT_MEMEQ_MSG(test, left, right, size, fmt, ...) \ argument
1562 left, ==, right, \
1568 * KUNIT_ASSERT_MEMNEQ() - Asserts that the first @size bytes of @left and @right are not equal.
1570 * @left: An arbitrary expression that evaluates to the specified size.
1574 * Sets an assertion that the values that @left and @right evaluate to are
1576 * KUNIT_ASSERT_TRUE(@test, memcmp((@left), (@right), (@size))). See
1583 #define KUNIT_ASSERT_MEMNEQ(test, left, right, size) \ argument
1584 KUNIT_ASSERT_MEMNEQ_MSG(test, left, right, size, NULL)
1586 #define KUNIT_ASSERT_MEMNEQ_MSG(test, left, right, size, fmt, ...) \ argument
1589 left, !=, right, \