Home
last modified time | relevance | path

Searched refs:fcntl (Results 1 – 25 of 7746) sorted by relevance

12345678910>>...310

/dports/lang/tclX/tclx8.4/tests/
H A Dfcntl.test33 test fcntl-1.1 {fcntl tests} {
37 test fcntl-1.2 {fcntl tests} {
41 test fcntl-1.3 {fcntl tests} {
45 test fcntl-1.4 {fcntl tests} {
49 test fcntl-1.5 {fcntl tests} {
54 test fcntl-1.6 {fcntl tests} {
58 test fcntl-1.7 {fcntl tests} {
62 test fcntl-1.8 {fcntl tests} {
66 test fcntl-1.9 {fcntl tests} {
96 test fcntl-2.1 {fcntl tests} {
[all …]
/dports/lang/python310/Python-3.10.1/Lib/test/
H A Dtest_fcntl.py68 fcntl.lockf(f, fcntl.LOCK_UN)
84 rv = fcntl.fcntl(self.f.fileno(), fcntl.F_SETFL, os.O_NONBLOCK)
87 rv = fcntl.fcntl(self.f.fileno(), fcntl.F_SETLKW, lockdata)
95 rv = fcntl.fcntl(self.f, fcntl.F_SETFL, os.O_NONBLOCK)
98 rv = fcntl.fcntl(self.f, fcntl.F_SETLKW, lockdata)
105 fcntl.fcntl(-1, fcntl.F_SETFL, os.O_NONBLOCK)
107 fcntl.fcntl(BadFile(-1), fcntl.F_SETFL, os.O_NONBLOCK)
109 fcntl.fcntl('spam', fcntl.F_SETFL, os.O_NONBLOCK)
118 fcntl.fcntl(INT_MAX + 1, fcntl.F_SETFL, os.O_NONBLOCK)
122 fcntl.fcntl(INT_MIN - 1, fcntl.F_SETFL, os.O_NONBLOCK)
[all …]
/dports/lang/python311/Python-3.11.0a3/Lib/test/
H A Dtest_fcntl.py68 fcntl.lockf(f, fcntl.LOCK_UN)
84 rv = fcntl.fcntl(self.f.fileno(), fcntl.F_SETFL, os.O_NONBLOCK)
87 rv = fcntl.fcntl(self.f.fileno(), fcntl.F_SETLKW, lockdata)
95 rv = fcntl.fcntl(self.f, fcntl.F_SETFL, os.O_NONBLOCK)
98 rv = fcntl.fcntl(self.f, fcntl.F_SETLKW, lockdata)
105 fcntl.fcntl(-1, fcntl.F_SETFL, os.O_NONBLOCK)
107 fcntl.fcntl(BadFile(-1), fcntl.F_SETFL, os.O_NONBLOCK)
109 fcntl.fcntl('spam', fcntl.F_SETFL, os.O_NONBLOCK)
118 fcntl.fcntl(INT_MAX + 1, fcntl.F_SETFL, os.O_NONBLOCK)
122 fcntl.fcntl(INT_MIN - 1, fcntl.F_SETFL, os.O_NONBLOCK)
[all …]
/dports/databases/py-sqlite3/Python-3.8.12/Lib/test/
H A Dtest_fcntl.py66 fcntl.lockf(f, fcntl.LOCK_UN)
82 rv = fcntl.fcntl(self.f.fileno(), fcntl.F_SETFL, os.O_NONBLOCK)
85 rv = fcntl.fcntl(self.f.fileno(), fcntl.F_SETLKW, lockdata)
93 rv = fcntl.fcntl(self.f, fcntl.F_SETFL, os.O_NONBLOCK)
96 rv = fcntl.fcntl(self.f, fcntl.F_SETLKW, lockdata)
103 fcntl.fcntl(-1, fcntl.F_SETFL, os.O_NONBLOCK)
105 fcntl.fcntl(BadFile(-1), fcntl.F_SETFL, os.O_NONBLOCK)
107 fcntl.fcntl('spam', fcntl.F_SETFL, os.O_NONBLOCK)
116 fcntl.fcntl(INT_MAX + 1, fcntl.F_SETFL, os.O_NONBLOCK)
120 fcntl.fcntl(INT_MIN - 1, fcntl.F_SETFL, os.O_NONBLOCK)
[all …]
/dports/databases/py-gdbm/Python-3.8.12/Lib/test/
H A Dtest_fcntl.py66 fcntl.lockf(f, fcntl.LOCK_UN)
82 rv = fcntl.fcntl(self.f.fileno(), fcntl.F_SETFL, os.O_NONBLOCK)
85 rv = fcntl.fcntl(self.f.fileno(), fcntl.F_SETLKW, lockdata)
93 rv = fcntl.fcntl(self.f, fcntl.F_SETFL, os.O_NONBLOCK)
96 rv = fcntl.fcntl(self.f, fcntl.F_SETLKW, lockdata)
103 fcntl.fcntl(-1, fcntl.F_SETFL, os.O_NONBLOCK)
105 fcntl.fcntl(BadFile(-1), fcntl.F_SETFL, os.O_NONBLOCK)
107 fcntl.fcntl('spam', fcntl.F_SETFL, os.O_NONBLOCK)
116 fcntl.fcntl(INT_MAX + 1, fcntl.F_SETFL, os.O_NONBLOCK)
120 fcntl.fcntl(INT_MIN - 1, fcntl.F_SETFL, os.O_NONBLOCK)
[all …]
/dports/lang/python-tools/Python-3.8.12/Lib/test/
H A Dtest_fcntl.py66 fcntl.lockf(f, fcntl.LOCK_UN)
82 rv = fcntl.fcntl(self.f.fileno(), fcntl.F_SETFL, os.O_NONBLOCK)
85 rv = fcntl.fcntl(self.f.fileno(), fcntl.F_SETLKW, lockdata)
93 rv = fcntl.fcntl(self.f, fcntl.F_SETFL, os.O_NONBLOCK)
96 rv = fcntl.fcntl(self.f, fcntl.F_SETLKW, lockdata)
103 fcntl.fcntl(-1, fcntl.F_SETFL, os.O_NONBLOCK)
105 fcntl.fcntl(BadFile(-1), fcntl.F_SETFL, os.O_NONBLOCK)
107 fcntl.fcntl('spam', fcntl.F_SETFL, os.O_NONBLOCK)
116 fcntl.fcntl(INT_MAX + 1, fcntl.F_SETFL, os.O_NONBLOCK)
120 fcntl.fcntl(INT_MIN - 1, fcntl.F_SETFL, os.O_NONBLOCK)
[all …]
/dports/lang/python38/Python-3.8.12/Lib/test/
H A Dtest_fcntl.py66 fcntl.lockf(f, fcntl.LOCK_UN)
82 rv = fcntl.fcntl(self.f.fileno(), fcntl.F_SETFL, os.O_NONBLOCK)
85 rv = fcntl.fcntl(self.f.fileno(), fcntl.F_SETLKW, lockdata)
93 rv = fcntl.fcntl(self.f, fcntl.F_SETFL, os.O_NONBLOCK)
96 rv = fcntl.fcntl(self.f, fcntl.F_SETLKW, lockdata)
103 fcntl.fcntl(-1, fcntl.F_SETFL, os.O_NONBLOCK)
105 fcntl.fcntl(BadFile(-1), fcntl.F_SETFL, os.O_NONBLOCK)
107 fcntl.fcntl('spam', fcntl.F_SETFL, os.O_NONBLOCK)
116 fcntl.fcntl(INT_MAX + 1, fcntl.F_SETFL, os.O_NONBLOCK)
120 fcntl.fcntl(INT_MIN - 1, fcntl.F_SETFL, os.O_NONBLOCK)
[all …]
/dports/lang/python37/Python-3.7.12/Lib/test/
H A Dtest_fcntl.py66 fcntl.lockf(f, fcntl.LOCK_UN)
82 rv = fcntl.fcntl(self.f.fileno(), fcntl.F_SETFL, os.O_NONBLOCK)
85 rv = fcntl.fcntl(self.f.fileno(), fcntl.F_SETLKW, lockdata)
93 rv = fcntl.fcntl(self.f, fcntl.F_SETFL, os.O_NONBLOCK)
96 rv = fcntl.fcntl(self.f, fcntl.F_SETLKW, lockdata)
103 fcntl.fcntl(-1, fcntl.F_SETFL, os.O_NONBLOCK)
105 fcntl.fcntl(BadFile(-1), fcntl.F_SETFL, os.O_NONBLOCK)
107 fcntl.fcntl('spam', fcntl.F_SETFL, os.O_NONBLOCK)
116 fcntl.fcntl(INT_MAX + 1, fcntl.F_SETFL, os.O_NONBLOCK)
120 fcntl.fcntl(INT_MIN - 1, fcntl.F_SETFL, os.O_NONBLOCK)
[all …]
/dports/x11-toolkits/py-tkinter/Python-3.8.12/Lib/test/
H A Dtest_fcntl.py66 fcntl.lockf(f, fcntl.LOCK_UN)
82 rv = fcntl.fcntl(self.f.fileno(), fcntl.F_SETFL, os.O_NONBLOCK)
85 rv = fcntl.fcntl(self.f.fileno(), fcntl.F_SETLKW, lockdata)
93 rv = fcntl.fcntl(self.f, fcntl.F_SETFL, os.O_NONBLOCK)
96 rv = fcntl.fcntl(self.f, fcntl.F_SETLKW, lockdata)
103 fcntl.fcntl(-1, fcntl.F_SETFL, os.O_NONBLOCK)
105 fcntl.fcntl(BadFile(-1), fcntl.F_SETFL, os.O_NONBLOCK)
107 fcntl.fcntl('spam', fcntl.F_SETFL, os.O_NONBLOCK)
116 fcntl.fcntl(INT_MAX + 1, fcntl.F_SETFL, os.O_NONBLOCK)
120 fcntl.fcntl(INT_MIN - 1, fcntl.F_SETFL, os.O_NONBLOCK)
[all …]
/dports/lang/python39/Python-3.9.9/Lib/test/
H A Dtest_fcntl.py66 fcntl.lockf(f, fcntl.LOCK_UN)
82 rv = fcntl.fcntl(self.f.fileno(), fcntl.F_SETFL, os.O_NONBLOCK)
85 rv = fcntl.fcntl(self.f.fileno(), fcntl.F_SETLKW, lockdata)
93 rv = fcntl.fcntl(self.f, fcntl.F_SETFL, os.O_NONBLOCK)
96 rv = fcntl.fcntl(self.f, fcntl.F_SETLKW, lockdata)
103 fcntl.fcntl(-1, fcntl.F_SETFL, os.O_NONBLOCK)
105 fcntl.fcntl(BadFile(-1), fcntl.F_SETFL, os.O_NONBLOCK)
107 fcntl.fcntl('spam', fcntl.F_SETFL, os.O_NONBLOCK)
116 fcntl.fcntl(INT_MAX + 1, fcntl.F_SETFL, os.O_NONBLOCK)
120 fcntl.fcntl(INT_MIN - 1, fcntl.F_SETFL, os.O_NONBLOCK)
[all …]
/dports/lang/python-legacy/Python-2.7.18/Lib/test/
H A Dtest_fcntl.py73 rv = fcntl.fcntl(self.f.fileno(), fcntl.F_SETFL, os.O_NONBLOCK)
77 rv = fcntl.fcntl(self.f.fileno(), fcntl.F_SETLKW, lockdata)
85 rv = fcntl.fcntl(self.f, fcntl.F_SETFL, os.O_NONBLOCK)
87 rv = fcntl.fcntl(self.f, fcntl.F_SETLKW, lockdata)
92 fcntl.fcntl(-1, fcntl.F_SETFL, os.O_NONBLOCK)
94 fcntl.fcntl(BadFile(-1), fcntl.F_SETFL, os.O_NONBLOCK)
96 fcntl.fcntl('spam', fcntl.F_SETFL, os.O_NONBLOCK)
98 fcntl.fcntl(BadFile('spam'), fcntl.F_SETFL, os.O_NONBLOCK)
105 fcntl.fcntl(INT_MAX + 1, fcntl.F_SETFL, os.O_NONBLOCK)
109 fcntl.fcntl(INT_MIN - 1, fcntl.F_SETFL, os.O_NONBLOCK)
[all …]
/dports/lang/python27/Python-2.7.18/Lib/test/
H A Dtest_fcntl.py73 rv = fcntl.fcntl(self.f.fileno(), fcntl.F_SETFL, os.O_NONBLOCK)
77 rv = fcntl.fcntl(self.f.fileno(), fcntl.F_SETLKW, lockdata)
85 rv = fcntl.fcntl(self.f, fcntl.F_SETFL, os.O_NONBLOCK)
87 rv = fcntl.fcntl(self.f, fcntl.F_SETLKW, lockdata)
92 fcntl.fcntl(-1, fcntl.F_SETFL, os.O_NONBLOCK)
94 fcntl.fcntl(BadFile(-1), fcntl.F_SETFL, os.O_NONBLOCK)
96 fcntl.fcntl('spam', fcntl.F_SETFL, os.O_NONBLOCK)
98 fcntl.fcntl(BadFile('spam'), fcntl.F_SETFL, os.O_NONBLOCK)
105 fcntl.fcntl(INT_MAX + 1, fcntl.F_SETFL, os.O_NONBLOCK)
109 fcntl.fcntl(INT_MIN - 1, fcntl.F_SETFL, os.O_NONBLOCK)
[all …]
/dports/devel/py-twisted/Twisted-22.1.0/src/twisted/internet/
H A Dfdesc.py16 fcntl = None variable
18 fcntl = _fcntl
28 flags = fcntl.fcntl(fd, fcntl.F_GETFL)
30 fcntl.fcntl(fd, fcntl.F_SETFL, flags)
37 flags = fcntl.fcntl(fd, fcntl.F_GETFL)
39 fcntl.fcntl(fd, fcntl.F_SETFL, flags)
42 if fcntl is None:
52 flags = fcntl.fcntl(fd, fcntl.F_GETFD)
54 fcntl.fcntl(fd, fcntl.F_SETFD, flags)
60 flags = fcntl.fcntl(fd, fcntl.F_GETFD)
[all …]
/dports/math/vtk6/VTK-6.2.0/ThirdParty/Twisted/twisted/internet/
H A Dfdesc.py13 import fcntl
15 fcntl = None variable
25 flags = fcntl.fcntl(fd, fcntl.F_GETFL)
27 fcntl.fcntl(fd, fcntl.F_SETFL, flags)
34 flags = fcntl.fcntl(fd, fcntl.F_GETFL)
36 fcntl.fcntl(fd, fcntl.F_SETFL, flags)
39 if fcntl is None:
48 flags = fcntl.fcntl(fd, fcntl.F_GETFD)
50 fcntl.fcntl(fd, fcntl.F_SETFD, flags)
57 flags = fcntl.fcntl(fd, fcntl.F_GETFD)
[all …]
/dports/devel/z88dk/z88dk/libsrc/_DEVELOPMENT/fcntl/
H A Dfcntl_asm.lst10 fcntl/z80/asm__exit
11 fcntl/z80/asm_close
12 fcntl/z80/asm_creat
13 fcntl/z80/asm_dup
14 fcntl/z80/asm_dup2
15 fcntl/z80/asm_ioctl
16 fcntl/z80/asm_lseek
17 fcntl/z80/asm_open
18 fcntl/z80/asm_read
20 fcntl/z80/asm_vopen
[all …]
H A Dfcntl_sdcc_ix.lst1 fcntl/c/sdcc_ix/close
3 fcntl/c/sdcc_ix/creat
5 fcntl/c/sdcc_ix/dup
7 fcntl/c/sdcc_ix/dup2
9 fcntl/c/sdcc_ix/ioctl
10 fcntl/c/sdcc_ix/lseek
12 fcntl/c/sdcc_ix/open
13 fcntl/c/sdcc_ix/read
17 fcntl/c/sdcc_ix/vopen
19 fcntl/c/sdcc_ix/write
[all …]
H A Dfcntl_sdcc_iy.lst1 fcntl/c/sdcc_iy/close
3 fcntl/c/sdcc_iy/creat
5 fcntl/c/sdcc_iy/dup
7 fcntl/c/sdcc_iy/dup2
9 fcntl/c/sdcc_iy/ioctl
10 fcntl/c/sdcc_iy/lseek
12 fcntl/c/sdcc_iy/open
13 fcntl/c/sdcc_iy/read
17 fcntl/c/sdcc_iy/vopen
19 fcntl/c/sdcc_iy/write
[all …]
H A Dfcntl_sccz80.lst1 fcntl/c/sccz80/_exit
2 fcntl/c/sccz80/close
3 fcntl/c/sccz80/creat
5 fcntl/c/sccz80/dup
6 fcntl/c/sccz80/dup2
8 fcntl/c/sccz80/ioctl
9 fcntl/c/sccz80/lseek
11 fcntl/c/sccz80/open
12 fcntl/c/sccz80/read
16 fcntl/c/sccz80/vopen
[all …]
/dports/devel/z88dk/z88dk/libsrc/target/cpm/fcntl/
H A Dfcntl.lst1 target/cpm/fcntl/obj/${TYPE}/${DEVICE}/bios
2 target/cpm/fcntl/obj/${TYPE}/${DEVICE}/bdos
3 target/cpm/fcntl/obj/${TYPE}/${DEVICE}/close
4 target/cpm/fcntl/obj/${TYPE}/${DEVICE}/creat
11 target/cpm/fcntl/obj/${TYPE}/${DEVICE}/execv
15 target/cpm/fcntl/obj/${TYPE}/${DEVICE}/fdtell
16 target/cpm/fcntl/obj/${TYPE}/${DEVICE}/getfcb
17 target/cpm/fcntl/obj/${TYPE}/${DEVICE}/lseek
18 target/cpm/fcntl/obj/${TYPE}/${DEVICE}/open
21 target/cpm/fcntl/obj/${TYPE}/${DEVICE}/read
[all …]
/dports/dns/adns/adns-1.6.0/regress/
H A Dcase-arf-text.sys4 fcntl fd=0 cmd=F_GETFL
5 fcntl=~O_NONBLOCK&...
8 fcntl=OK
10 fcntl fd=1 cmd=F_GETFL
11 fcntl=~O_NONBLOCK&...
14 fcntl=OK
19 fcntl fd=6 cmd=F_GETFL
20 fcntl=~O_NONBLOCK&...
23 fcntl=OK
53 fcntl=OK
[all …]
/dports/astro/gnuastro/gnuastro-0.16/bootstrapped/tests/
H A Dtest-fcntl.c64 # error Please port fcntl to your platform in is_open()
66 return 0 <= fcntl (fd, F_GETFL); in is_open()
87 int i = fcntl (fd, F_GETFD); in is_inheritable()
244 ASSERT (fcntl (-1, F_DUPFD, 0) == -1); in main()
328 ASSERT (fcntl (-1, F_GETFD) == -1); in main()
339 int result = fcntl (fd, F_GETFD); in main()
343 result = fcntl (fd + 1, F_GETFD); in main()
352 ASSERT (fcntl (-1, F_SETFD, 0) == -1); in main()
365 ASSERT (fcntl (-1, F_GETFL) == -1); in main()
378 ASSERT (fcntl (-1, F_SETFL, 0) == -1); in main()
[all …]
/dports/security/libgsasl/gsasl-1.10.0/lib/gltests/
H A Dtest-fcntl.c64 # error Please port fcntl to your platform in is_open()
66 return 0 <= fcntl (fd, F_GETFL); in is_open()
87 int i = fcntl (fd, F_GETFD); in is_inheritable()
244 ASSERT (fcntl (-1, F_DUPFD, 0) == -1); in main()
328 ASSERT (fcntl (-1, F_GETFD) == -1); in main()
339 int result = fcntl (fd, F_GETFD); in main()
343 result = fcntl (fd + 1, F_GETFD); in main()
352 ASSERT (fcntl (-1, F_SETFD, 0) == -1); in main()
365 ASSERT (fcntl (-1, F_GETFL) == -1); in main()
378 ASSERT (fcntl (-1, F_SETFL, 0) == -1); in main()
[all …]
/dports/security/libgsasl/gsasl-1.10.0/gltests/
H A Dtest-fcntl.c64 # error Please port fcntl to your platform in is_open()
66 return 0 <= fcntl (fd, F_GETFL); in is_open()
87 int i = fcntl (fd, F_GETFD); in is_inheritable()
244 ASSERT (fcntl (-1, F_DUPFD, 0) == -1); in main()
328 ASSERT (fcntl (-1, F_GETFD) == -1); in main()
339 int result = fcntl (fd, F_GETFD); in main()
343 result = fcntl (fd + 1, F_GETFD); in main()
352 ASSERT (fcntl (-1, F_SETFD, 0) == -1); in main()
365 ASSERT (fcntl (-1, F_GETFL) == -1); in main()
378 ASSERT (fcntl (-1, F_SETFL, 0) == -1); in main()
[all …]
/dports/devel/m4/m4-1.4.19/tests/
H A Dtest-fcntl.c64 # error Please port fcntl to your platform in is_open()
66 return 0 <= fcntl (fd, F_GETFL); in is_open()
87 int i = fcntl (fd, F_GETFD); in is_inheritable()
244 ASSERT (fcntl (-1, F_DUPFD, 0) == -1); in main()
328 ASSERT (fcntl (-1, F_GETFD) == -1); in main()
339 int result = fcntl (fd, F_GETFD); in main()
343 result = fcntl (fd + 1, F_GETFD); in main()
352 ASSERT (fcntl (-1, F_SETFD, 0) == -1); in main()
365 ASSERT (fcntl (-1, F_GETFL) == -1); in main()
378 ASSERT (fcntl (-1, F_SETFL, 0) == -1); in main()
[all …]
/dports/security/gsasl/gsasl-1.10.0/gltests/
H A Dtest-fcntl.c64 # error Please port fcntl to your platform in is_open()
66 return 0 <= fcntl (fd, F_GETFL); in is_open()
87 int i = fcntl (fd, F_GETFD); in is_inheritable()
244 ASSERT (fcntl (-1, F_DUPFD, 0) == -1); in main()
328 ASSERT (fcntl (-1, F_GETFD) == -1); in main()
339 int result = fcntl (fd, F_GETFD); in main()
343 result = fcntl (fd + 1, F_GETFD); in main()
352 ASSERT (fcntl (-1, F_SETFD, 0) == -1); in main()
365 ASSERT (fcntl (-1, F_GETFL) == -1); in main()
378 ASSERT (fcntl (-1, F_SETFL, 0) == -1); in main()
[all …]

12345678910>>...310