Lines Matching refs:passed
35 int passed; member
45 unittest_results.passed++; \
397 bool passed = true; in of_unittest_parse_phandle_with_args() local
406 passed &= !rc; in of_unittest_parse_phandle_with_args()
407 passed &= (args.args_count == 1); in of_unittest_parse_phandle_with_args()
408 passed &= (args.args[0] == (i + 1)); in of_unittest_parse_phandle_with_args()
411 passed &= !rc; in of_unittest_parse_phandle_with_args()
412 passed &= (args.args_count == 2); in of_unittest_parse_phandle_with_args()
413 passed &= (args.args[0] == (i + 1)); in of_unittest_parse_phandle_with_args()
414 passed &= (args.args[1] == 0); in of_unittest_parse_phandle_with_args()
417 passed &= (rc == -ENOENT); in of_unittest_parse_phandle_with_args()
420 passed &= !rc; in of_unittest_parse_phandle_with_args()
421 passed &= (args.args_count == 3); in of_unittest_parse_phandle_with_args()
422 passed &= (args.args[0] == (i + 1)); in of_unittest_parse_phandle_with_args()
423 passed &= (args.args[1] == 4); in of_unittest_parse_phandle_with_args()
424 passed &= (args.args[2] == 3); in of_unittest_parse_phandle_with_args()
427 passed &= !rc; in of_unittest_parse_phandle_with_args()
428 passed &= (args.args_count == 2); in of_unittest_parse_phandle_with_args()
429 passed &= (args.args[0] == (i + 1)); in of_unittest_parse_phandle_with_args()
430 passed &= (args.args[1] == 100); in of_unittest_parse_phandle_with_args()
433 passed &= !rc; in of_unittest_parse_phandle_with_args()
434 passed &= (args.args_count == 0); in of_unittest_parse_phandle_with_args()
437 passed &= !rc; in of_unittest_parse_phandle_with_args()
438 passed &= (args.args_count == 1); in of_unittest_parse_phandle_with_args()
439 passed &= (args.args[0] == (i + 1)); in of_unittest_parse_phandle_with_args()
442 passed &= (rc == -ENOENT); in of_unittest_parse_phandle_with_args()
445 passed = false; in of_unittest_parse_phandle_with_args()
448 unittest(passed, "index %i - data error on node %pOF rc=%i\n", in of_unittest_parse_phandle_with_args()
577 bool passed = true; in of_unittest_parse_phandle_with_args_map() local
586 passed &= !rc; in of_unittest_parse_phandle_with_args_map()
587 passed &= (args.np == p1); in of_unittest_parse_phandle_with_args_map()
588 passed &= (args.args_count == 1); in of_unittest_parse_phandle_with_args_map()
589 passed &= (args.args[0] == 1); in of_unittest_parse_phandle_with_args_map()
592 passed &= !rc; in of_unittest_parse_phandle_with_args_map()
593 passed &= (args.np == p3); in of_unittest_parse_phandle_with_args_map()
594 passed &= (args.args_count == 3); in of_unittest_parse_phandle_with_args_map()
595 passed &= (args.args[0] == 2); in of_unittest_parse_phandle_with_args_map()
596 passed &= (args.args[1] == 5); in of_unittest_parse_phandle_with_args_map()
597 passed &= (args.args[2] == 3); in of_unittest_parse_phandle_with_args_map()
600 passed &= (rc == -ENOENT); in of_unittest_parse_phandle_with_args_map()
603 passed &= !rc; in of_unittest_parse_phandle_with_args_map()
604 passed &= (args.np == p0); in of_unittest_parse_phandle_with_args_map()
605 passed &= (args.args_count == 0); in of_unittest_parse_phandle_with_args_map()
608 passed &= !rc; in of_unittest_parse_phandle_with_args_map()
609 passed &= (args.np == p1); in of_unittest_parse_phandle_with_args_map()
610 passed &= (args.args_count == 1); in of_unittest_parse_phandle_with_args_map()
611 passed &= (args.args[0] == 3); in of_unittest_parse_phandle_with_args_map()
614 passed &= !rc; in of_unittest_parse_phandle_with_args_map()
615 passed &= (args.np == p0); in of_unittest_parse_phandle_with_args_map()
616 passed &= (args.args_count == 0); in of_unittest_parse_phandle_with_args_map()
619 passed &= !rc; in of_unittest_parse_phandle_with_args_map()
620 passed &= (args.np == p2); in of_unittest_parse_phandle_with_args_map()
621 passed &= (args.args_count == 2); in of_unittest_parse_phandle_with_args_map()
622 passed &= (args.args[0] == 15); in of_unittest_parse_phandle_with_args_map()
623 passed &= (args.args[1] == 0x20); in of_unittest_parse_phandle_with_args_map()
626 passed &= (rc == -ENOENT); in of_unittest_parse_phandle_with_args_map()
629 passed = false; in of_unittest_parse_phandle_with_args_map()
632 unittest(passed, "index %i - data error on node %s rc=%i\n", in of_unittest_parse_phandle_with_args_map()
1019 bool passed = true; in of_unittest_parse_interrupts() local
1024 passed &= !rc; in of_unittest_parse_interrupts()
1025 passed &= (args.args_count == 1); in of_unittest_parse_interrupts()
1026 passed &= (args.args[0] == (i + 1)); in of_unittest_parse_interrupts()
1028 unittest(passed, "index %i - data error on node %pOF rc=%i\n", in of_unittest_parse_interrupts()
1040 bool passed = true; in of_unittest_parse_interrupts() local
1048 passed &= !rc; in of_unittest_parse_interrupts()
1049 passed &= (args.args_count == 1); in of_unittest_parse_interrupts()
1050 passed &= (args.args[0] == 9); in of_unittest_parse_interrupts()
1053 passed &= !rc; in of_unittest_parse_interrupts()
1054 passed &= (args.args_count == 3); in of_unittest_parse_interrupts()
1055 passed &= (args.args[0] == 10); in of_unittest_parse_interrupts()
1056 passed &= (args.args[1] == 11); in of_unittest_parse_interrupts()
1057 passed &= (args.args[2] == 12); in of_unittest_parse_interrupts()
1060 passed &= !rc; in of_unittest_parse_interrupts()
1061 passed &= (args.args_count == 2); in of_unittest_parse_interrupts()
1062 passed &= (args.args[0] == 13); in of_unittest_parse_interrupts()
1063 passed &= (args.args[1] == 14); in of_unittest_parse_interrupts()
1066 passed &= !rc; in of_unittest_parse_interrupts()
1067 passed &= (args.args_count == 2); in of_unittest_parse_interrupts()
1068 passed &= (args.args[0] == 15); in of_unittest_parse_interrupts()
1069 passed &= (args.args[1] == 16); in of_unittest_parse_interrupts()
1072 passed = false; in of_unittest_parse_interrupts()
1074 unittest(passed, "index %i - data error on node %pOF rc=%i\n", in of_unittest_parse_interrupts()
1096 bool passed = true; in of_unittest_parse_interrupts_extended() local
1104 passed &= !rc; in of_unittest_parse_interrupts_extended()
1105 passed &= (args.args_count == 1); in of_unittest_parse_interrupts_extended()
1106 passed &= (args.args[0] == 1); in of_unittest_parse_interrupts_extended()
1109 passed &= !rc; in of_unittest_parse_interrupts_extended()
1110 passed &= (args.args_count == 3); in of_unittest_parse_interrupts_extended()
1111 passed &= (args.args[0] == 2); in of_unittest_parse_interrupts_extended()
1112 passed &= (args.args[1] == 3); in of_unittest_parse_interrupts_extended()
1113 passed &= (args.args[2] == 4); in of_unittest_parse_interrupts_extended()
1116 passed &= !rc; in of_unittest_parse_interrupts_extended()
1117 passed &= (args.args_count == 2); in of_unittest_parse_interrupts_extended()
1118 passed &= (args.args[0] == 5); in of_unittest_parse_interrupts_extended()
1119 passed &= (args.args[1] == 6); in of_unittest_parse_interrupts_extended()
1122 passed &= !rc; in of_unittest_parse_interrupts_extended()
1123 passed &= (args.args_count == 1); in of_unittest_parse_interrupts_extended()
1124 passed &= (args.args[0] == 9); in of_unittest_parse_interrupts_extended()
1127 passed &= !rc; in of_unittest_parse_interrupts_extended()
1128 passed &= (args.args_count == 3); in of_unittest_parse_interrupts_extended()
1129 passed &= (args.args[0] == 10); in of_unittest_parse_interrupts_extended()
1130 passed &= (args.args[1] == 11); in of_unittest_parse_interrupts_extended()
1131 passed &= (args.args[2] == 12); in of_unittest_parse_interrupts_extended()
1134 passed &= !rc; in of_unittest_parse_interrupts_extended()
1135 passed &= (args.args_count == 2); in of_unittest_parse_interrupts_extended()
1136 passed &= (args.args[0] == 13); in of_unittest_parse_interrupts_extended()
1137 passed &= (args.args[1] == 14); in of_unittest_parse_interrupts_extended()
1140 passed &= !rc; in of_unittest_parse_interrupts_extended()
1141 passed &= (args.args_count == 1); in of_unittest_parse_interrupts_extended()
1142 passed &= (args.args[0] == 15); in of_unittest_parse_interrupts_extended()
1145 passed = false; in of_unittest_parse_interrupts_extended()
1148 unittest(passed, "index %i - data error on node %pOF rc=%i\n", in of_unittest_parse_interrupts_extended()
3311 unittest_results.passed, unittest_results.failed); in of_unittest()