Lines Matching full:left

687 				    left,				       \  argument
693 const typeof(left) __left = (left); \
697 .left_text = #left, \
717 left, \ argument
726 left, op, right, \
732 left, \ argument
741 left, op, right, \
747 left, \ argument
753 const char *__left = (left); \
757 .left_text = #left, \
778 left, \ argument
785 const void *__left = (left); \
790 .left_text = #left, \
871 * KUNIT_EXPECT_EQ() - Sets an expectation that @left and @right are equal.
873 * @left: an arbitrary expression that evaluates to a primitive C type.
876 * Sets an expectation that the values that @left and @right evaluate to are
878 * KUNIT_EXPECT_TRUE(@test, (@left) == (@right)). See KUNIT_EXPECT_TRUE() for
881 #define KUNIT_EXPECT_EQ(test, left, right) \ argument
882 KUNIT_EXPECT_EQ_MSG(test, left, right, NULL)
884 #define KUNIT_EXPECT_EQ_MSG(test, left, right, fmt, ...) \ argument
887 left, ==, right, \
892 * KUNIT_EXPECT_PTR_EQ() - Expects that pointers @left and @right are equal.
894 * @left: an arbitrary expression that evaluates to a pointer.
897 * Sets an expectation that the values that @left and @right evaluate to are
899 * KUNIT_EXPECT_TRUE(@test, (@left) == (@right)). See KUNIT_EXPECT_TRUE() for
902 #define KUNIT_EXPECT_PTR_EQ(test, left, right) \ argument
903 KUNIT_EXPECT_PTR_EQ_MSG(test, left, right, NULL)
905 #define KUNIT_EXPECT_PTR_EQ_MSG(test, left, right, fmt, ...) \ argument
908 left, ==, right, \
913 * KUNIT_EXPECT_NE() - An expectation that @left and @right are not equal.
915 * @left: an arbitrary expression that evaluates to a primitive C type.
918 * Sets an expectation that the values that @left and @right evaluate to are not
920 * KUNIT_EXPECT_TRUE(@test, (@left) != (@right)). See KUNIT_EXPECT_TRUE() for
923 #define KUNIT_EXPECT_NE(test, left, right) \ argument
924 KUNIT_EXPECT_NE_MSG(test, left, right, NULL)
926 #define KUNIT_EXPECT_NE_MSG(test, left, right, fmt, ...) \ argument
929 left, !=, right, \
934 * KUNIT_EXPECT_PTR_NE() - Expects that pointers @left and @right are not equal.
936 * @left: an arbitrary expression that evaluates to a pointer.
939 * Sets an expectation that the values that @left and @right evaluate to are not
941 * KUNIT_EXPECT_TRUE(@test, (@left) != (@right)). See KUNIT_EXPECT_TRUE() for
944 #define KUNIT_EXPECT_PTR_NE(test, left, right) \ argument
945 KUNIT_EXPECT_PTR_NE_MSG(test, left, right, NULL)
947 #define KUNIT_EXPECT_PTR_NE_MSG(test, left, right, fmt, ...) \ argument
950 left, !=, right, \
955 * KUNIT_EXPECT_LT() - An expectation that @left is less than @right.
957 * @left: an arbitrary expression that evaluates to a primitive C type.
960 * Sets an expectation that the value that @left evaluates to is less than the
962 * KUNIT_EXPECT_TRUE(@test, (@left) < (@right)). See KUNIT_EXPECT_TRUE() for
965 #define KUNIT_EXPECT_LT(test, left, right) \ argument
966 KUNIT_EXPECT_LT_MSG(test, left, right, NULL)
968 #define KUNIT_EXPECT_LT_MSG(test, left, right, fmt, ...) \ argument
971 left, <, right, \
976 * KUNIT_EXPECT_LE() - Expects that @left is less than or equal to @right.
978 * @left: an arbitrary expression that evaluates to a primitive C type.
981 * Sets an expectation that the value that @left evaluates to is less than or
983 * to KUNIT_EXPECT_TRUE(@test, (@left) <= (@right)). See KUNIT_EXPECT_TRUE() for
986 #define KUNIT_EXPECT_LE(test, left, right) \ argument
987 KUNIT_EXPECT_LE_MSG(test, left, right, NULL)
989 #define KUNIT_EXPECT_LE_MSG(test, left, right, fmt, ...) \ argument
992 left, <=, right, \
997 * KUNIT_EXPECT_GT() - An expectation that @left is greater than @right.
999 * @left: an arbitrary expression that evaluates to a primitive C type.
1002 * Sets an expectation that the value that @left evaluates to is greater than
1004 * KUNIT_EXPECT_TRUE(@test, (@left) > (@right)). See KUNIT_EXPECT_TRUE() for
1007 #define KUNIT_EXPECT_GT(test, left, right) \ argument
1008 KUNIT_EXPECT_GT_MSG(test, left, right, NULL)
1010 #define KUNIT_EXPECT_GT_MSG(test, left, right, fmt, ...) \ argument
1013 left, >, right, \
1018 * KUNIT_EXPECT_GE() - Expects that @left is greater than or equal to @right.
1020 * @left: an arbitrary expression that evaluates to a primitive C type.
1023 * Sets an expectation that the value that @left evaluates to is greater than
1025 * KUNIT_EXPECT_TRUE(@test, (@left) >= (@right)). See KUNIT_EXPECT_TRUE() for
1028 #define KUNIT_EXPECT_GE(test, left, right) \ argument
1029 KUNIT_EXPECT_GE_MSG(test, left, right, NULL)
1031 #define KUNIT_EXPECT_GE_MSG(test, left, right, fmt, ...) \ argument
1034 left, >=, right, \
1039 * KUNIT_EXPECT_STREQ() - Expects that strings @left and @right are equal.
1041 * @left: an arbitrary expression that evaluates to a null terminated string.
1044 * Sets an expectation that the values that @left and @right evaluate to are
1046 * KUNIT_EXPECT_TRUE(@test, !strcmp((@left), (@right))). See KUNIT_EXPECT_TRUE()
1049 #define KUNIT_EXPECT_STREQ(test, left, right) \ argument
1050 KUNIT_EXPECT_STREQ_MSG(test, left, right, NULL)
1052 #define KUNIT_EXPECT_STREQ_MSG(test, left, right, fmt, ...) \ argument
1055 left, ==, right, \
1060 * KUNIT_EXPECT_STRNEQ() - Expects that strings @left and @right are not equal.
1062 * @left: an arbitrary expression that evaluates to a null terminated string.
1065 * Sets an expectation that the values that @left and @right evaluate to are
1067 * KUNIT_EXPECT_TRUE(@test, strcmp((@left), (@right))). See KUNIT_EXPECT_TRUE()
1070 #define KUNIT_EXPECT_STRNEQ(test, left, right) \ argument
1071 KUNIT_EXPECT_STRNEQ_MSG(test, left, right, NULL)
1073 #define KUNIT_EXPECT_STRNEQ_MSG(test, left, right, fmt, ...) \ argument
1076 left, !=, right, \
1081 * KUNIT_EXPECT_MEMEQ() - Expects that the first @size bytes of @left and @right are equal.
1083 * @left: An arbitrary expression that evaluates to the specified size.
1087 * Sets an expectation that the values that @left and @right evaluate to are
1089 * KUNIT_EXPECT_TRUE(@test, !memcmp((@left), (@right), (@size))). See
1096 #define KUNIT_EXPECT_MEMEQ(test, left, right, size) \ argument
1097 KUNIT_EXPECT_MEMEQ_MSG(test, left, right, size, NULL)
1099 #define KUNIT_EXPECT_MEMEQ_MSG(test, left, right, size, fmt, ...) \ argument
1102 left, ==, right, \
1108 * KUNIT_EXPECT_MEMNEQ() - Expects that the first @size bytes of @left and @right are not equal.
1110 * @left: An arbitrary expression that evaluates to the specified size.
1114 * Sets an expectation that the values that @left and @right evaluate to are
1116 * KUNIT_EXPECT_TRUE(@test, memcmp((@left), (@right), (@size))). See
1123 #define KUNIT_EXPECT_MEMNEQ(test, left, right, size) \ argument
1124 KUNIT_EXPECT_MEMNEQ_MSG(test, left, right, size, NULL)
1126 #define KUNIT_EXPECT_MEMNEQ_MSG(test, left, right, size, fmt, ...) \ argument
1129 left, !=, right, \
1240 * KUNIT_ASSERT_EQ() - Sets an assertion that @left and @right are equal.
1242 * @left: an arbitrary expression that evaluates to a primitive C type.
1245 * Sets an assertion that the values that @left and @right evaluate to are
1249 #define KUNIT_ASSERT_EQ(test, left, right) \ argument
1250 KUNIT_ASSERT_EQ_MSG(test, left, right, NULL)
1252 #define KUNIT_ASSERT_EQ_MSG(test, left, right, fmt, ...) \ argument
1255 left, ==, right, \
1260 * KUNIT_ASSERT_PTR_EQ() - Asserts that pointers @left and @right are equal.
1262 * @left: an arbitrary expression that evaluates to a pointer.
1265 * Sets an assertion that the values that @left and @right evaluate to are
1269 #define KUNIT_ASSERT_PTR_EQ(test, left, right) \ argument
1270 KUNIT_ASSERT_PTR_EQ_MSG(test, left, right, NULL)
1272 #define KUNIT_ASSERT_PTR_EQ_MSG(test, left, right, fmt, ...) \ argument
1275 left, ==, right, \
1280 * KUNIT_ASSERT_NE() - An assertion that @left and @right are not equal.
1282 * @left: an arbitrary expression that evaluates to a primitive C type.
1285 * Sets an assertion that the values that @left and @right evaluate to are not
1289 #define KUNIT_ASSERT_NE(test, left, right) \ argument
1290 KUNIT_ASSERT_NE_MSG(test, left, right, NULL)
1292 #define KUNIT_ASSERT_NE_MSG(test, left, right, fmt, ...) \ argument
1295 left, !=, right, \
1300 * KUNIT_ASSERT_PTR_NE() - Asserts that pointers @left and @right are not equal.
1301 * KUNIT_ASSERT_PTR_EQ() - Asserts that pointers @left and @right are equal.
1303 * @left: an arbitrary expression that evaluates to a pointer.
1306 * Sets an assertion that the values that @left and @right evaluate to are not
1310 #define KUNIT_ASSERT_PTR_NE(test, left, right) \ argument
1311 KUNIT_ASSERT_PTR_NE_MSG(test, left, right, NULL)
1313 #define KUNIT_ASSERT_PTR_NE_MSG(test, left, right, fmt, ...) \ argument
1316 left, !=, right, \
1320 * KUNIT_ASSERT_LT() - An assertion that @left is less than @right.
1322 * @left: an arbitrary expression that evaluates to a primitive C type.
1325 * Sets an assertion that the value that @left evaluates to is less than the
1330 #define KUNIT_ASSERT_LT(test, left, right) \ argument
1331 KUNIT_ASSERT_LT_MSG(test, left, right, NULL)
1333 #define KUNIT_ASSERT_LT_MSG(test, left, right, fmt, ...) \ argument
1336 left, <, right, \
1340 * KUNIT_ASSERT_LE() - An assertion that @left is less than or equal to @right.
1342 * @left: an arbitrary expression that evaluates to a primitive C type.
1345 * Sets an assertion that the value that @left evaluates to is less than or
1350 #define KUNIT_ASSERT_LE(test, left, right) \ argument
1351 KUNIT_ASSERT_LE_MSG(test, left, right, NULL)
1353 #define KUNIT_ASSERT_LE_MSG(test, left, right, fmt, ...) \ argument
1356 left, <=, right, \
1361 * KUNIT_ASSERT_GT() - An assertion that @left is greater than @right.
1363 * @left: an arbitrary expression that evaluates to a primitive C type.
1366 * Sets an assertion that the value that @left evaluates to is greater than the
1371 #define KUNIT_ASSERT_GT(test, left, right) \ argument
1372 KUNIT_ASSERT_GT_MSG(test, left, right, NULL)
1374 #define KUNIT_ASSERT_GT_MSG(test, left, right, fmt, ...) \ argument
1377 left, >, right, \
1382 * KUNIT_ASSERT_GE() - Assertion that @left is greater than or equal to @right.
1384 * @left: an arbitrary expression that evaluates to a primitive C type.
1387 * Sets an assertion that the value that @left evaluates to is greater than the
1392 #define KUNIT_ASSERT_GE(test, left, right) \ argument
1393 KUNIT_ASSERT_GE_MSG(test, left, right, NULL)
1395 #define KUNIT_ASSERT_GE_MSG(test, left, right, fmt, ...) \ argument
1398 left, >=, right, \
1403 * KUNIT_ASSERT_STREQ() - An assertion that strings @left and @right are equal.
1405 * @left: an arbitrary expression that evaluates to a null terminated string.
1408 * Sets an assertion that the values that @left and @right evaluate to are
1412 #define KUNIT_ASSERT_STREQ(test, left, right) \ argument
1413 KUNIT_ASSERT_STREQ_MSG(test, left, right, NULL)
1415 #define KUNIT_ASSERT_STREQ_MSG(test, left, right, fmt, ...) \ argument
1418 left, ==, right, \
1423 * KUNIT_ASSERT_STRNEQ() - Expects that strings @left and @right are not equal.
1425 * @left: an arbitrary expression that evaluates to a null terminated string.
1428 * Sets an expectation that the values that @left and @right evaluate to are
1430 * KUNIT_ASSERT_TRUE(@test, strcmp((@left), (@right))). See KUNIT_ASSERT_TRUE()
1433 #define KUNIT_ASSERT_STRNEQ(test, left, right) \ argument
1434 KUNIT_ASSERT_STRNEQ_MSG(test, left, right, NULL)
1436 #define KUNIT_ASSERT_STRNEQ_MSG(test, left, right, fmt, ...) \ argument
1439 left, !=, right, \