Lines Matching refs:tempfd

88       tempfd = fd = mkstemp (fname);  in tf_read()
120 tempfd = fd = mkstemp (fname); in tf_readv()
153 tempfd = fd = mkstemp (fname); in tf_write()
190 tempfd = fd = mkstemp (fname); in tf_writev()
279 tempfd = fd = mkstemp (fname); in tf_select()
314 tempfd = fd = mkstemp (fname); in tf_pselect()
349 tempfd = fd = mkstemp (fname); in tf_poll()
382 tempfd = fd = mkstemp (fname); in tf_ppoll()
686 tempfd = socket (AF_UNIX, pf, 0); in tf_accept()
687 if (tempfd == -1) in tf_accept()
701 while (bind (tempfd, (struct sockaddr *) &sun, in tf_accept()
707 listen (tempfd, 5); in tf_accept()
718 accept (tempfd, (struct sockaddr *) &sun, &len); in tf_accept()
731 tempfd = socket (AF_UNIX, SOCK_STREAM, 0); in tf_send()
732 if (tempfd == -1) in tf_send()
745 while (bind (tempfd, (struct sockaddr *) &sun, in tf_send()
749 listen (tempfd, 5); in tf_send()
789 tempfd = socket (AF_UNIX, SOCK_STREAM, 0); in tf_recv()
790 if (tempfd == -1) in tf_recv()
803 while (bind (tempfd, (struct sockaddr *) &sun, in tf_recv()
807 listen (tempfd, 5); in tf_recv()
840 tempfd = socket (AF_UNIX, SOCK_DGRAM, 0); in tf_recvfrom()
841 if (tempfd == -1) in tf_recvfrom()
854 while (bind (tempfd, (struct sockaddr *) &sun, in tf_recvfrom()
888 tempfd = socket (AF_UNIX, SOCK_DGRAM, 0); in tf_recvmsg()
889 if (tempfd == -1) in tf_recvmsg()
902 while (bind (tempfd, (struct sockaddr *) &sun, in tf_recvmsg()
974 tempfd = mkstemp (fname); in tf_close()
975 if (tempfd == -1) in tf_close()
985 close (tempfd); in tf_close()
1001 tempfd = open ("Makefile", O_RDONLY); in tf_pread()
1002 if (tempfd == -1) in tf_pread()
1012 pread (tempfd, mem, sizeof (mem), 0); in tf_pread()
1029 tempfd = mkstemp (fname); in tf_pwrite()
1030 if (tempfd == -1) in tf_pwrite()
1041 pwrite (tempfd, mem, sizeof (mem), 0); in tf_pwrite()
1059 tempfd = fd = mkstemp (fname); in tf_preadv()
1091 tempfd = fd = mkstemp (fname); in tf_pwritev()
1126 tempfd = fd = mkstemp (fname); in tf_pwritev2()
1161 tempfd = fd = mkstemp (fname); in tf_preadv2()
1190 tempfd = open ("Makefile", O_RDONLY); in tf_fsync()
1191 if (tempfd == -1) in tf_fsync()
1200 fsync (tempfd); in tf_fsync()
1216 tempfd = open ("Makefile", O_RDONLY); in tf_fdatasync()
1217 if (tempfd == -1) in tf_fdatasync()
1226 fdatasync (tempfd); in tf_fdatasync()
1242 tempfd = open ("Makefile", O_RDONLY); in tf_msync()
1243 if (tempfd == -1) in tf_msync()
1246 void *p = xmmap (NULL, 10, PROT_READ, MAP_SHARED, tempfd); in tf_msync()
1267 tempfd = socket (AF_UNIX, SOCK_STREAM, 0); in tf_sendto()
1268 if (tempfd == -1) in tf_sendto()
1281 while (bind (tempfd, (struct sockaddr *) &sun, in tf_sendto()
1285 listen (tempfd, 5); in tf_sendto()
1325 tempfd = socket (AF_UNIX, SOCK_DGRAM, 0); in tf_sendmsg()
1326 if (tempfd == -1) in tf_sendmsg()
1339 while (bind (tempfd, (struct sockaddr *) &sun, in tf_sendmsg()
1408 tempfd = socket (AF_UNIX, SOCK_STREAM, 0); in tf_connect()
1409 if (tempfd == -1) in tf_connect()
1422 while (bind (tempfd, (struct sockaddr *) &sun, in tf_connect()
1427 listen (tempfd, 5); in tf_connect()