Lines Matching refs:res

115 	int res;  in test2()  local
155 res = fcntl(fd, F_SETLK, &fl); in test2()
160 FAIL(res == 0); in test2()
186 int res; in test3() local
229 res = fcntl(fd, F_SETLKW, &fl); in test3()
234 FAIL(res == 0); in test3()
338 int res; in test5() local
383 res = fcntl(fd, F_SETLKW, &fl); in test5()
387 FAIL(res == 0); in test5()
424 int res; in test6() local
487 res = fcntl(fd, F_SETLKW, &fl); in test6()
499 FAIL(res == 0); in test6()
527 int res; in test7() local
569 res = fcntl(fd, F_SETLK, &fl); in test7()
575 FAIL(res == 0); in test7()
599 int res; in test8() local
641 res = fcntl(fd, F_SETLK, &fl); in test8()
654 FAIL(res != 0); in test8()
676 int res; in test9() local
718 res = fcntl(fd, F_SETLK, &fl); in test9()
724 FAIL(res == 0); in test9()
809 int res; in test11() local
823 res = fcntl(fd, F_SETLK_REMOTE, &fl); in test11()
824 FAIL(res != 0); in test11()
827 res = fcntl(fd, F_SETLK_REMOTE, &fl); in test11()
828 FAIL(res == 0); in test11()
831 res = fcntl(fd, F_GETLK, &fl); in test11()
832 FAIL(res != 0); in test11()
840 res = fcntl(fd, F_SETLK_REMOTE, &fl); in test11()
841 FAIL(res != 0); in test11()
849 res = fcntl(fd, F_SETLK_REMOTE, &fl); in test11()
850 FAIL(res != 0); in test11()
853 res = fcntl(fd, F_SETLK_REMOTE, &fl); in test11()
854 FAIL(res != 0); in test11()
858 res = fcntl(fd, F_SETLK_REMOTE, &fl); in test11()
859 FAIL(res != 0); in test11()
862 res = fcntl(fd, F_GETLK, &fl); in test11()
863 FAIL(res != 0); in test11()
869 res = fcntl(fd, F_SETLK_REMOTE, &fl); in test11()
870 FAIL(res != 0); in test11()
895 int res; in test12() local
939 res = fcntl(fd, F_SETLKW, &fl); in test12()
944 FAIL(res != 0); in test12()
973 int res; in test13() local
1027 res = fcntl(fd, F_SETLKW, &fl); in test13()
1032 FAIL(!(res == 0 || (res == -1 && errno == EINTR))); in test13()
1256 int res; in test15() local
1314 res = fcntl(fd, F_GETLK, &fl); in test15()
1318 FAIL(res != 0); in test15()
1337 int res; in test16()
1345 res = fcntl(fd, F_SETLK, &fl); in test16()
1346 FAIL(res != 0); in test16()
1350 res = fcntl(fd, F_SETLK, &fl); in test16()
1351 FAIL(res != 0); in test16()
1355 res = fcntl(fd, F_SETLK, &fl); in test16()
1356 FAIL(res != 0); in test16()
1360 res = fcntl(fd, F_SETLK, &fl); in test16()
1361 FAIL(res != 0); in test16()
1376 int nfd, res; in test17() local
1388 res = fcntl(fd, F_SETLK, &fl); in test17()
1389 FAIL(res != 0); in test17()
1404 res = fcntl(fd, F_SETLK, &fl); in test17()
1405 FAIL(res != 0); in test17()
1412 res = fcntl(fd, F_SETLK, &fl); in test17()
1413 FAIL(res != 0); in test17()
1428 res = fcntl(fd, F_SETLK, &fl); in test17()
1429 FAIL(res != 0); in test17()
1436 res = fcntl(fd, F_SETLK, &fl); in test17()
1437 FAIL(res != 0); in test17()
1444 res = fcntl(fd, F_SETLK, &fl); in test17()
1445 FAIL(res != 0); in test17()
1462 int res; in test18() local
1469 res = fcntl(fd, F_SETLK, &fl); in test18()
1470 FAIL(res != 0); in test18()
1471 res = fcntl(fd, F_SETLK, &fl); in test18()
1472 FAIL(res != 0); in test18()
1486 int nfd, res; in test19() local
1498 res = fcntl(fd, F_SETLK, &fl); in test19()
1499 FAIL(res != 0); in test19()
1506 res = fcntl(fd, F_SETLK, &fl); in test19()
1507 FAIL(res != 0); in test19()
1522 res = fcntl(fd, F_SETLK, &fl); in test19()
1523 FAIL(res != 0); in test19()
1530 res = fcntl(fd, F_SETLK, &fl); in test19()
1531 FAIL(res != 0); in test19()
1546 res = fcntl(fd, F_SETLK, &fl); in test19()
1547 FAIL(res != 0); in test19()
1554 res = fcntl(fd, F_SETLK, &fl); in test19()
1555 FAIL(res != 0); in test19()
1572 int res; in test20() local
1579 res = fcntl(fd, F_SETLK, &fl); in test20()
1580 FAIL(res != 0); in test20()
1587 res = fcntl(fd, F_SETLK, &fl); in test20()
1588 FAIL(res != 0); in test20()
1602 int res; in test21() local
1609 res = fcntl(fd, F_SETLK, &fl); in test21()
1610 FAIL(res != 0); in test21()
1617 res = fcntl(fd, F_SETLK, &fl); in test21()
1618 FAIL(res != 0); in test21()
1632 int res; in test22() local
1639 res = fcntl(fd, F_SETLK, &fl); in test22()
1640 FAIL(res != 0); in test22()
1647 res = fcntl(fd, F_SETLK, &fl); in test22()
1648 FAIL(res != 0); in test22()
1660 int res; in test23() local
1667 res = fcntl(fd, F_SETLK, &fl); in test23()
1668 FAIL(res != -1); in test23()
1682 int res, status; in test24() local
1691 res = fcntl(fd, F_SETLK, &fl); in test24()
1692 FAIL(res != -1); in test24()
1698 res = fcntl(fd, F_SETLK, &fl); in test24()
1699 FAIL(res != 0); in test24()
1708 res = fcntl(fd, F_GETLK, &fl); in test24()
1709 FAIL(res != 0); in test24()
1728 int master, res, slave; in test25() local
1730 res = openpty(&master, &slave, NULL, NULL, NULL); in test25()
1731 FAIL(res == -1); in test25()
1739 res = fcntl(slave, F_SETLKW, &fl); in test25()
1740 FAIL(res != 0); in test25()
1747 res = fcntl(slave, F_SETLKW, &fl); in test25()
1748 FAIL(res != 0); in test25()
1755 res = fcntl(slave, F_SETLKW, &fl); in test25()
1756 FAIL(res != 0); in test25()
1774 int res, status; in test26() local
1782 res = fcntl(fd, F_SETLK, &fl); in test26()
1783 FAIL(res != 0); in test26()
1794 res = fcntl(fd, F_SETLK, &fl); in test26()
1795 FAIL(res != 0); in test26()
1806 res = fcntl(fd, F_GETLK, &fl); in test26()
1807 FAIL(res != 0); in test26()
1816 res = fcntl(fd, F_GETLK, &fl); in test26()
1817 FAIL(res != 0); in test26()
1833 res = fcntl(fd, F_SETLK, &fl); in test26()
1834 FAIL(res != 0); in test26()
1845 res = fcntl(fd, F_GETLK, &fl); in test26()
1846 FAIL(res != 0); in test26()