Lines Matching defs:expect

105 	 * case, we'd expect tests to fail.
144 /* Report information we expect in a report. */
162 typeof(*observed.lines) *expect;
171 expect = kmalloc(sizeof(observed.lines), GFP_KERNEL);
172 if (WARN_ON(!expect))
178 cur = expect[0];
179 end = &expect[0][sizeof(expect[0]) - 1];
196 cur = strchr(expect[0], '+');
202 cur = expect[1];
203 end = &expect[1][sizeof(expect[1]) - 1];
229 cur = expect[2];
230 end = &expect[2][sizeof(expect[2]) - 1];
252 ret = strstr(observed.lines[0], expect[0]) &&
254 ((strstr(observed.lines[1], expect[1]) &&
255 strstr(observed.lines[2], expect[2])) ||
256 (strstr(observed.lines[1], expect[2]) &&
257 strstr(observed.lines[2], expect[1])));
260 kfree(expect);
715 struct expect_report expect = {
732 match_expect |= report_matches(&expect);
746 struct expect_report expect = {
764 match_expect |= report_matches(&expect);
833 struct expect_report expect = {
843 match_expect = report_matches(&expect);
855 struct expect_report expect = {
866 match_expect = report_matches(&expect);
881 struct expect_report expect = {
891 match_expect = report_matches(&expect);
903 struct expect_report expect = {
913 match_expect = report_matches(&expect);
935 struct expect_report expect = {
947 match_expect = report_matches(&expect);
956 struct expect_report expect = {
969 match_expect = report_matches(&expect);
978 struct expect_report expect = {
995 match_expect |= report_matches(&expect);
1031 struct expect_report expect = {
1041 match_expect = report_matches(&expect);
1049 struct expect_report expect = {
1059 match_expect = report_matches(&expect);
1103 struct expect_report expect = {
1114 match_expect = report_matches(&expect);
1222 * test_kernel_atomic_builtins(), and expect no reports.
1275 struct expect_report expect = {
1287 : report_matches(&expect);
1298 struct expect_report expect = {
1309 match_expect = report_matches_any_reordered(&expect);
1317 struct expect_report expect = {
1328 match_expect = report_matches_any_reordered(&expect);
1339 struct expect_report expect = {
1351 match_expect = report_matches_any_reordered(&expect);
1359 struct expect_report expect = {
1371 match_expect = report_matches_any_reordered(&expect);