Home
last modified time | relevance | path

Searched refs:tempfd (Results 1 – 6 of 6) sorted by relevance

/glibc-2.36/sysdeps/pthread/
Dtst-cancel4.c88 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()
[all …]
Dtst-cancel4-common.c117 if (tempfd != -1) in do_test()
119 close (tempfd); in do_test()
120 tempfd = -1; in do_test()
219 if (tempfd != -1) in do_test()
221 close (tempfd); in do_test()
222 tempfd = -1; in do_test()
Dtst-cancel4-common.h30 static int tempfd = -1; variable
/glibc-2.36/posix/
Dtst-_Fork.c41 int tempfd = create_temp_file ("tst-_Fork", NULL); in singlethread_test() local
45 xwrite (tempfd, testdata1, testdatalen1); in singlethread_test()
46 off_t off = xlseek (tempfd, 0, SEEK_CUR); in singlethread_test()
56 TEST_COMPARE (xlseek (tempfd, 0, SEEK_CUR), testdatalen1); in singlethread_test()
58 xlseek (tempfd, 0, SEEK_SET); in singlethread_test()
60 TEST_COMPARE (read (tempfd, buf, sizeof (buf)), testdatalen1); in singlethread_test()
63 xlseek (tempfd, 0, SEEK_SET); in singlethread_test()
64 xwrite (tempfd, testdata2, testdatalen2); in singlethread_test()
66 xclose (tempfd); in singlethread_test()
76 TEST_COMPARE (xlseek (tempfd, 0, SEEK_CUR), testdatalen2); in singlethread_test()
[all …]
/glibc-2.36/nptl/
Dtst-cancel4_1.c45 tempfd = socket (AF_UNIX, SOCK_DGRAM, 0); in tf_sendmmsg()
46 if (tempfd == -1) in tf_sendmmsg()
61 while (bind (tempfd, (struct sockaddr *) &sun, in tf_sendmmsg()
Dtst-cancel4_2.c40 tempfd = socket (AF_UNIX, SOCK_DGRAM, 0); in tf_recvmmsg()
41 if (tempfd == -1) in tf_recvmmsg()
56 while (bind (tempfd, (struct sockaddr *) &sun, in tf_recvmmsg()