Lines Matching refs:passed
36 int passed; member
46 unittest_results.passed++; \
398 bool passed = true; in of_unittest_parse_phandle_with_args() local
407 passed &= !rc; in of_unittest_parse_phandle_with_args()
408 passed &= (args.args_count == 1); in of_unittest_parse_phandle_with_args()
409 passed &= (args.args[0] == (i + 1)); in of_unittest_parse_phandle_with_args()
412 passed &= !rc; in of_unittest_parse_phandle_with_args()
413 passed &= (args.args_count == 2); in of_unittest_parse_phandle_with_args()
414 passed &= (args.args[0] == (i + 1)); in of_unittest_parse_phandle_with_args()
415 passed &= (args.args[1] == 0); in of_unittest_parse_phandle_with_args()
418 passed &= (rc == -ENOENT); in of_unittest_parse_phandle_with_args()
421 passed &= !rc; in of_unittest_parse_phandle_with_args()
422 passed &= (args.args_count == 3); in of_unittest_parse_phandle_with_args()
423 passed &= (args.args[0] == (i + 1)); in of_unittest_parse_phandle_with_args()
424 passed &= (args.args[1] == 4); in of_unittest_parse_phandle_with_args()
425 passed &= (args.args[2] == 3); in of_unittest_parse_phandle_with_args()
428 passed &= !rc; in of_unittest_parse_phandle_with_args()
429 passed &= (args.args_count == 2); in of_unittest_parse_phandle_with_args()
430 passed &= (args.args[0] == (i + 1)); in of_unittest_parse_phandle_with_args()
431 passed &= (args.args[1] == 100); in of_unittest_parse_phandle_with_args()
434 passed &= !rc; in of_unittest_parse_phandle_with_args()
435 passed &= (args.args_count == 0); in of_unittest_parse_phandle_with_args()
438 passed &= !rc; in of_unittest_parse_phandle_with_args()
439 passed &= (args.args_count == 1); in of_unittest_parse_phandle_with_args()
440 passed &= (args.args[0] == (i + 1)); in of_unittest_parse_phandle_with_args()
443 passed &= (rc == -ENOENT); in of_unittest_parse_phandle_with_args()
446 passed = false; in of_unittest_parse_phandle_with_args()
449 unittest(passed, "index %i - data error on node %pOF rc=%i\n", in of_unittest_parse_phandle_with_args()
578 bool passed = true; in of_unittest_parse_phandle_with_args_map() local
587 passed &= !rc; in of_unittest_parse_phandle_with_args_map()
588 passed &= (args.np == p1); in of_unittest_parse_phandle_with_args_map()
589 passed &= (args.args_count == 1); in of_unittest_parse_phandle_with_args_map()
590 passed &= (args.args[0] == 1); in of_unittest_parse_phandle_with_args_map()
593 passed &= !rc; in of_unittest_parse_phandle_with_args_map()
594 passed &= (args.np == p3); in of_unittest_parse_phandle_with_args_map()
595 passed &= (args.args_count == 3); in of_unittest_parse_phandle_with_args_map()
596 passed &= (args.args[0] == 2); in of_unittest_parse_phandle_with_args_map()
597 passed &= (args.args[1] == 5); in of_unittest_parse_phandle_with_args_map()
598 passed &= (args.args[2] == 3); in of_unittest_parse_phandle_with_args_map()
601 passed &= (rc == -ENOENT); in of_unittest_parse_phandle_with_args_map()
604 passed &= !rc; in of_unittest_parse_phandle_with_args_map()
605 passed &= (args.np == p0); in of_unittest_parse_phandle_with_args_map()
606 passed &= (args.args_count == 0); in of_unittest_parse_phandle_with_args_map()
609 passed &= !rc; in of_unittest_parse_phandle_with_args_map()
610 passed &= (args.np == p1); in of_unittest_parse_phandle_with_args_map()
611 passed &= (args.args_count == 1); in of_unittest_parse_phandle_with_args_map()
612 passed &= (args.args[0] == 3); in of_unittest_parse_phandle_with_args_map()
615 passed &= !rc; in of_unittest_parse_phandle_with_args_map()
616 passed &= (args.np == p0); in of_unittest_parse_phandle_with_args_map()
617 passed &= (args.args_count == 0); in of_unittest_parse_phandle_with_args_map()
620 passed &= !rc; in of_unittest_parse_phandle_with_args_map()
621 passed &= (args.np == p2); in of_unittest_parse_phandle_with_args_map()
622 passed &= (args.args_count == 2); in of_unittest_parse_phandle_with_args_map()
623 passed &= (args.args[0] == 15); in of_unittest_parse_phandle_with_args_map()
624 passed &= (args.args[1] == 0x20); in of_unittest_parse_phandle_with_args_map()
627 passed &= (rc == -ENOENT); in of_unittest_parse_phandle_with_args_map()
630 passed = false; in of_unittest_parse_phandle_with_args_map()
633 unittest(passed, "index %i - data error on node %s rc=%i\n", in of_unittest_parse_phandle_with_args_map()
1011 bool passed = true; in of_unittest_parse_interrupts() local
1016 passed &= !rc; in of_unittest_parse_interrupts()
1017 passed &= (args.args_count == 1); in of_unittest_parse_interrupts()
1018 passed &= (args.args[0] == (i + 1)); in of_unittest_parse_interrupts()
1020 unittest(passed, "index %i - data error on node %pOF rc=%i\n", in of_unittest_parse_interrupts()
1032 bool passed = true; in of_unittest_parse_interrupts() local
1040 passed &= !rc; in of_unittest_parse_interrupts()
1041 passed &= (args.args_count == 1); in of_unittest_parse_interrupts()
1042 passed &= (args.args[0] == 9); in of_unittest_parse_interrupts()
1045 passed &= !rc; in of_unittest_parse_interrupts()
1046 passed &= (args.args_count == 3); in of_unittest_parse_interrupts()
1047 passed &= (args.args[0] == 10); in of_unittest_parse_interrupts()
1048 passed &= (args.args[1] == 11); in of_unittest_parse_interrupts()
1049 passed &= (args.args[2] == 12); in of_unittest_parse_interrupts()
1052 passed &= !rc; in of_unittest_parse_interrupts()
1053 passed &= (args.args_count == 2); in of_unittest_parse_interrupts()
1054 passed &= (args.args[0] == 13); in of_unittest_parse_interrupts()
1055 passed &= (args.args[1] == 14); in of_unittest_parse_interrupts()
1058 passed &= !rc; in of_unittest_parse_interrupts()
1059 passed &= (args.args_count == 2); in of_unittest_parse_interrupts()
1060 passed &= (args.args[0] == 15); in of_unittest_parse_interrupts()
1061 passed &= (args.args[1] == 16); in of_unittest_parse_interrupts()
1064 passed = false; in of_unittest_parse_interrupts()
1066 unittest(passed, "index %i - data error on node %pOF rc=%i\n", in of_unittest_parse_interrupts()
1088 bool passed = true; in of_unittest_parse_interrupts_extended() local
1096 passed &= !rc; in of_unittest_parse_interrupts_extended()
1097 passed &= (args.args_count == 1); in of_unittest_parse_interrupts_extended()
1098 passed &= (args.args[0] == 1); in of_unittest_parse_interrupts_extended()
1101 passed &= !rc; in of_unittest_parse_interrupts_extended()
1102 passed &= (args.args_count == 3); in of_unittest_parse_interrupts_extended()
1103 passed &= (args.args[0] == 2); in of_unittest_parse_interrupts_extended()
1104 passed &= (args.args[1] == 3); in of_unittest_parse_interrupts_extended()
1105 passed &= (args.args[2] == 4); in of_unittest_parse_interrupts_extended()
1108 passed &= !rc; in of_unittest_parse_interrupts_extended()
1109 passed &= (args.args_count == 2); in of_unittest_parse_interrupts_extended()
1110 passed &= (args.args[0] == 5); in of_unittest_parse_interrupts_extended()
1111 passed &= (args.args[1] == 6); in of_unittest_parse_interrupts_extended()
1114 passed &= !rc; in of_unittest_parse_interrupts_extended()
1115 passed &= (args.args_count == 1); in of_unittest_parse_interrupts_extended()
1116 passed &= (args.args[0] == 9); in of_unittest_parse_interrupts_extended()
1119 passed &= !rc; in of_unittest_parse_interrupts_extended()
1120 passed &= (args.args_count == 3); in of_unittest_parse_interrupts_extended()
1121 passed &= (args.args[0] == 10); in of_unittest_parse_interrupts_extended()
1122 passed &= (args.args[1] == 11); in of_unittest_parse_interrupts_extended()
1123 passed &= (args.args[2] == 12); in of_unittest_parse_interrupts_extended()
1126 passed &= !rc; in of_unittest_parse_interrupts_extended()
1127 passed &= (args.args_count == 2); in of_unittest_parse_interrupts_extended()
1128 passed &= (args.args[0] == 13); in of_unittest_parse_interrupts_extended()
1129 passed &= (args.args[1] == 14); in of_unittest_parse_interrupts_extended()
1138 passed &= !rc; in of_unittest_parse_interrupts_extended()
1139 passed &= (args.args_count == 1); in of_unittest_parse_interrupts_extended()
1140 passed &= (args.args[0] == 15); in of_unittest_parse_interrupts_extended()
1143 passed = false; in of_unittest_parse_interrupts_extended()
1146 unittest(passed, "index %i - data error on node %pOF rc=%i\n", in of_unittest_parse_interrupts_extended()
3316 unittest_results.passed, unittest_results.failed); in of_unittest()