Home
last modified time | relevance | path

Searched refs:open (Results 1 – 25 of 1688) sorted by relevance

12345678910>>...68

/freebsd/contrib/pjdfstest/tests/open/
H A D06.t25 expect 0 -u 65534 -g 65534 open ${n1} O_RDONLY,
26 expect 0 -u 65534 -g 65534 open ${n1} O_WRONLY,
27 expect 0 -u 65534 -g 65534 open ${n1} O_RDWR,
29 expect 0 -u 65533 -g 65534 open ${n1} O_RDONLY,
30 expect 0 -u 65533 -g 65534 open ${n1} O_WRONLY,
31 expect 0 -u 65533 -g 65534 open ${n1} O_RDWR,
33 expect 0 -u 65533 -g 65533 open ${n1} O_RDONLY,
34 expect 0 -u 65533 -g 65533 open ${n1} O_WRONLY,
35 expect 0 -u 65533 -g 65533 open ${n1} O_RDWR,
38 expect 0 -u 65534 -g 65534 open ${n1} O_RDONLY,
[all …]
H A D11.t27 expect 0 open ${n0} O_WRONLY,O_APPEND
28 expect 0 open ${n0} O_RDWR,O_APPEND
29 expect EPERM open ${n0} O_WRONLY
30 expect EPERM open ${n0} O_RDWR
32 expect EPERM open ${n0} O_RDONLY,O_TRUNC
38 expect EPERM open ${n0} O_RDWR,O_APPEND,O_TRUNC
46 expect 0 open ${n0} O_WRONLY,O_APPEND
47 expect 0 open ${n0} O_RDWR,O_APPEND
48 expect EPERM open ${n0} O_WRONLY
49 expect EPERM open ${n0} O_RDWR
[all …]
H A D10.t27 expect EPERM open ${n0} O_WRONLY
28 expect EPERM open ${n0} O_RDWR
29 expect EPERM open ${n0} O_RDONLY,O_TRUNC
35 expect 0 open ${n0} O_WRONLY
36 expect 0 open ${n0} O_RDWR
37 expect 0 open ${n0} O_RDONLY,O_TRUNC
45 expect EPERM open ${n0} O_WRONLY
46 expect EPERM open ${n0} O_RDWR
53 expect 0 open ${n0} O_WRONLY
54 expect 0 open ${n0} O_RDWR
[all …]
H A D18.t17 expect 0 open ${n0} O_RDONLY,O_SHLOCK : open ${n0} O_RDONLY,O_SHLOCK,O_NONBLOCK
18 expect "EWOULDBLOCK|EAGAIN" open ${n0} O_RDONLY,O_EXLOCK : open ${n0} O_RDONLY,O_EXLOCK,O_NONBLOCK
19 expect "EWOULDBLOCK|EAGAIN" open ${n0} O_RDONLY,O_SHLOCK : open ${n0} O_RDONLY,O_EXLOCK,O_NONBLOCK
20 expect "EWOULDBLOCK|EAGAIN" open ${n0} O_RDONLY,O_EXLOCK : open ${n0} O_RDONLY,O_SHLOCK,O_NONBLOCK
H A D07.t23 expect EACCES -u 65534 -g 65534 open ${n1} O_RDONLY,O_TRUNC
25 expect EACCES -u 65533 -g 65534 open ${n1} O_RDONLY,O_TRUNC
27 expect EACCES -u 65533 -g 65533 open ${n1} O_RDONLY,O_TRUNC
30 expect EACCES -u 65534 -g 65534 open ${n1} O_RDONLY,O_TRUNC
32 expect EACCES -u 65533 -g 65534 open ${n1} O_RDONLY,O_TRUNC
34 expect EACCES -u 65533 -g 65533 open ${n1} O_RDONLY,O_TRUNC
37 expect EACCES -u 65534 -g 65534 open ${n1} O_RDONLY,O_TRUNC
39 expect EACCES -u 65533 -g 65534 open ${n1} O_RDONLY,O_TRUNC
41 expect EACCES -u 65533 -g 65533 open ${n1} O_RDONLY,O_TRUNC
H A D00.t25 expect 0 open ${n0} O_CREAT,O_WRONLY 0755
28 expect 0 open ${n0} O_CREAT,O_WRONLY 0151
31 expect 0 -U 077 open ${n0} O_CREAT,O_WRONLY 0151
34 expect 0 -U 070 open ${n0} O_CREAT,O_WRONLY 0345
37 expect 0 -U 0501 open ${n0} O_CREAT,O_WRONLY 0345
46 expect 0 -u 65535 -g 65535 open ${n0} O_CREAT,O_WRONLY 0644
49 expect 0 -u 65535 -g 65534 open ${n0} O_CREAT,O_WRONLY 0644
53 expect 0 -u 65534 -g 65533 open ${n0} O_CREAT,O_WRONLY 0644
61 expect 0 open ${n0} O_CREAT,O_WRONLY 0644
79 expect 0 open ${n0} O_CREAT,O_RDONLY 0644
[all …]
H A D13.t18 expect 0 open ${n0} O_RDONLY
19 expect EISDIR open ${n0} O_WRONLY
20 expect EISDIR open ${n0} O_RDWR
21 expect EISDIR open ${n0} O_RDONLY,O_TRUNC
22 expect EISDIR open ${n0} O_WRONLY,O_TRUNC
23 expect EISDIR open ${n0} O_RDWR,O_TRUNC
H A D09.t28 expect 0 open ${n0}/${n1} O_RDONLY,O_CREAT 0644
32 expect EPERM open ${n0}/${n1} O_RDONLY,O_CREAT 0644
34 expect 0 open ${n0}/${n1} O_RDONLY,O_CREAT 0644
38 expect 0 open ${n0}/${n1} O_RDONLY,O_CREAT 0644
43 expect 0 open ${n0}/${n1} O_RDONLY,O_CREAT 0644
50 expect EPERM open ${n0}/${n1} O_RDONLY,O_CREAT 0644
52 expect 0 open ${n0}/${n1} O_RDONLY,O_CREAT 0644
61 expect 0 open ${n0}/${n1} O_RDONLY,O_CREAT 0644
H A D14.t22 expect 0 open ${n0}/${n1} O_WRONLY
23 expect 0 open ${n0}/${n1} O_RDWR
24 expect 0 open ${n0}/${n1} O_RDONLY,O_TRUNC
26 expect EROFS open ${n0}/${n1} O_WRONLY
27 expect EROFS open ${n0}/${n1} O_RDWR
28 expect EROFS open ${n0}/${n1} O_RDONLY,O_TRUNC
/freebsd/sys/contrib/device-tree/src/arm64/nvidia/
H A Dtegra210-p2595.dtsi20 nvidia,open-drain = <TEGRA_PIN_DISABLE>;
29 nvidia,open-drain = <TEGRA_PIN_DISABLE>;
38 nvidia,open-drain = <TEGRA_PIN_DISABLE>;
47 nvidia,open-drain = <TEGRA_PIN_DISABLE>;
56 nvidia,open-drain = <TEGRA_PIN_DISABLE>;
64 nvidia,open-drain = <TEGRA_PIN_DISABLE>;
72 nvidia,open-drain = <TEGRA_PIN_DISABLE>;
80 nvidia,open-drain = <TEGRA_PIN_DISABLE>;
88 nvidia,open-drain = <TEGRA_PIN_DISABLE>;
96 nvidia,open-drain = <TEGRA_PIN_DISABLE>;
[all …]
H A Dtegra210-p2571.dts21 nvidia,open-drain = <TEGRA_PIN_DISABLE>;
30 nvidia,open-drain = <TEGRA_PIN_DISABLE>;
39 nvidia,open-drain = <TEGRA_PIN_DISABLE>;
48 nvidia,open-drain = <TEGRA_PIN_DISABLE>;
57 nvidia,open-drain = <TEGRA_PIN_DISABLE>;
65 nvidia,open-drain = <TEGRA_PIN_DISABLE>;
73 nvidia,open-drain = <TEGRA_PIN_DISABLE>;
81 nvidia,open-drain = <TEGRA_PIN_DISABLE>;
89 nvidia,open-drain = <TEGRA_PIN_DISABLE>;
97 nvidia,open-drain = <TEGRA_PIN_DISABLE>;
[all …]
H A Dtegra210-p2597.dtsi54 nvidia,open-drain = <TEGRA_PIN_DISABLE>;
63 nvidia,open-drain = <TEGRA_PIN_DISABLE>;
72 nvidia,open-drain = <TEGRA_PIN_DISABLE>;
81 nvidia,open-drain = <TEGRA_PIN_DISABLE>;
90 nvidia,open-drain = <TEGRA_PIN_DISABLE>;
98 nvidia,open-drain = <TEGRA_PIN_DISABLE>;
106 nvidia,open-drain = <TEGRA_PIN_DISABLE>;
113 nvidia,open-drain = <TEGRA_PIN_DISABLE>;
120 nvidia,open-drain = <TEGRA_PIN_DISABLE>;
127 nvidia,open-drain = <TEGRA_PIN_DISABLE>;
[all …]
H A Dtegra210-p2894.dtsi36 nvidia,open-drain = <TEGRA_PIN_DISABLE>;
45 nvidia,open-drain = <TEGRA_PIN_DISABLE>;
54 nvidia,open-drain = <TEGRA_PIN_DISABLE>;
63 nvidia,open-drain = <TEGRA_PIN_DISABLE>;
72 nvidia,open-drain = <TEGRA_PIN_DISABLE>;
80 nvidia,open-drain = <TEGRA_PIN_DISABLE>;
1393 drive-open-drain = <1>;
1400 drive-open-drain = <1>;
1808 gpio-open-drain;
1819 gpio-open-drain;
[all …]
H A Dtegra210-smaug.dts82 nvidia,open-drain = <TEGRA_PIN_DISABLE>;
91 nvidia,open-drain = <TEGRA_PIN_DISABLE>;
100 nvidia,open-drain = <TEGRA_PIN_DISABLE>;
109 nvidia,open-drain = <TEGRA_PIN_DISABLE>;
118 nvidia,open-drain = <TEGRA_PIN_DISABLE>;
127 nvidia,open-drain = <TEGRA_PIN_DISABLE>;
135 nvidia,open-drain = <TEGRA_PIN_DISABLE>;
143 nvidia,open-drain = <TEGRA_PIN_DISABLE>;
151 nvidia,open-drain = <TEGRA_PIN_DISABLE>;
159 nvidia,open-drain = <TEGRA_PIN_DISABLE>;
[all …]
/freebsd/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/java_api/
H A Dtst.StateMachine.ksh.out1 before open
2 open: false
5 java.lang.IllegalStateException: consumer not open
6 java.lang.IllegalStateException: consumer not open
7 java.lang.IllegalStateException: consumer not open
15 open: true
21 open: true
26 open: true
36 open: true
48 open: true
[all …]
/freebsd/contrib/file/magic/Magdir/
H A Dos40024 >&213 byte 0x44 \b, at least V5R4 to open
25 >&213 byte 0x43 \b, at least V5R3 to open
26 >&213 byte 0x42 \b, at least V5R2 to open
27 >&213 byte 0x41 \b, at least V5R1 to open
28 >&213 byte 0x40 \b, at least V4R5 to open
29 >&213 byte 0x3F \b, at least V4R4 to open
30 >&213 byte 0x3E \b, at least V4R3 to open
31 >&213 byte 0x3C \b, at least V4R2 to open
33 >&213 byte 0x3B \b, at least V4R1 to open
34 >&213 byte 0x3A \b, at least V3R7 to open
[all …]
/freebsd/tools/test/stress2/misc/
H A Dopen.sh38 sed '1,/^EOF/d' < $odir/$0 > $dir/open.c
39 mycc -o open -Wall -Wextra -O0 -g open.c || exit 1
40 rm -f open.c
42 wdir=/tmp/open.$$
47 /tmp/open || { echo FAIL; status=$?; }
51 rm -rf /tmp/open $wdir
75 fd = open("broken", O_CREAT | O_DIRECTORY, 0600);
79 fd = open("broken2", O_CREAT | O_DIRECTORY | O_EXCL, 0600);
/freebsd/contrib/netbsd-tests/lib/libc/c063/
H A Dt_o_search.c82 ATF_REQUIRE((fd = open(FILE, O_CREAT|O_RDWR, 0644)) != -1); in ATF_TC_BODY()
85 ATF_REQUIRE((dfd = open(DIR, O_RDONLY, 0)) != -1); in ATF_TC_BODY()
112 ATF_REQUIRE((fd = open(FILE, O_CREAT|O_RDWR, 0644)) != -1); in ATF_TC_BODY()
115 ATF_REQUIRE((dfd = open(DIR, O_RDONLY|O_SEARCH, 0)) != -1); in ATF_TC_BODY()
144 ATF_REQUIRE((fd = open(FILE, O_CREAT|O_RDWR, 0644)) != -1); in ATF_TC_BODY()
147 ATF_REQUIRE((dfd = open(DIR, O_RDONLY|O_SEARCH, 0)) != -1); in ATF_TC_BODY()
177 ATF_REQUIRE((fd = open(FILE, O_CREAT|O_RDWR, 0644)) != -1); in ATF_TC_BODY()
180 ATF_REQUIRE((dfd = open(DIR, O_RDONLY, 0)) != -1); in ATF_TC_BODY()
290 ATF_REQUIRE((dfd = open(DIR, O_SEARCH, 0)) != -1); in ATF_TC_BODY()
308 ATF_REQUIRE((dfd = open(DIR, O_SEARCH, 0)) != -1); in ATF_TC_BODY()
[all …]
H A Dt_linkat.c68 ATF_REQUIRE((fd = open(FILE, O_CREAT|O_RDWR, 0644)) != -1); in ATF_TC_BODY()
71 ATF_REQUIRE((ofd = open(ODIR, O_RDONLY, 0)) != -1); in ATF_TC_BODY()
72 ATF_REQUIRE((nfd = open(NDIR, O_RDONLY, 0)) != -1); in ATF_TC_BODY()
95 ATF_REQUIRE((fd = open(FILE, O_CREAT|O_RDWR, 0644)) != -1); in ATF_TC_BODY()
117 ATF_REQUIRE((fd = open(FILE, O_CREAT|O_RDWR, 0644)) != -1); in ATF_TC_BODY()
134 ATF_REQUIRE((fd = open(FILE, O_CREAT|O_RDWR, 0644)) != -1); in ATF_TC_BODY()
154 ATF_REQUIRE((fd = open(FILE, O_CREAT|O_RDWR, 0644)) != -1); in ATF_TC_BODY()
158 ATF_REQUIRE((ofd = open(ODIR, O_RDONLY, 0)) != -1); in ATF_TC_BODY()
159 ATF_REQUIRE((nfd = open(NDIR, O_RDONLY, 0)) != -1); in ATF_TC_BODY()
191 ATF_REQUIRE((ofd = open(ODIR, O_RDONLY, 0)) != -1); in ATF_TC_BODY()
[all …]
/freebsd/tests/sys/fs/fusefs/
H A Dopen.cc64 SET_OUT_HEADER_LEN(out, open); in test_ok()
67 fd = open(FULLPATH, os_flags); in test_ok()
186 out.body.open.fh = fh0; in TEST_F()
188 SET_OUT_HEADER_LEN(out, open); in TEST_F()
200 out.body.open.fh = fh1; in TEST_F()
202 SET_OUT_HEADER_LEN(out, open); in TEST_F()
208 fd1 = open(FULLPATH, O_RDONLY); in TEST_F()
213 fd0 = open(FULLPATH, O_RDONLY); in TEST_F()
304 fd = open(FULLPATH, O_RDONLY); in TEST_F()
333 fd = open(FULLPATH, O_RDONLY); in TEST_F()
[all …]
H A Dopendir.cc102 ASSERT_EQ(-1, open(FULLPATH, O_DIRECTORY)); in TEST_F()
122 EXPECT_EQ(-1, open(FULLPATH, O_DIRECTORY)); in TEST_F()
126 TEST_F(Opendir, open) in TEST_F() argument
136 SET_OUT_HEADER_LEN(out, open); in TEST_F()
139 fd = open(FULLPATH, O_DIRECTORY); in TEST_F()
156 SET_OUT_HEADER_LEN(out, open); in TEST_F()
159 fd = open(FULLPATH, O_EXEC | O_DIRECTORY); in TEST_F()
174 SET_OUT_HEADER_LEN(out, open); in TEST_F()
193 EXPECT_EQ(-1, open(FULLPATH, O_DIRECTORY)); in TEST_F()
212 fd = open(FULLPATH, O_DIRECTORY); in TEST_F()
[all …]
/freebsd/sys/contrib/device-tree/Bindings/i2c/
H A Di2c-gpio.yaml23 active high using open drain with (GPIO_ACTIVE_HIGH|GPIO_OPEN_DRAIN)
25 open drain.
31 active high using open drain with (GPIO_ACTIVE_HIGH|GPIO_OPEN_DRAIN)
33 open drain.
56 i2c-gpio,sda-open-drain:
63 i2c-gpio,scl-open-drain:
73 Therefore disable open-drain. This property is mutually-exclusive
74 with i2c-gpio,sda-open-drain.
80 with i2c-gpio,scl-open-drain.
86 - i2c-gpio,sda-open-drain
[all …]
/freebsd/contrib/pjdfstest/tests/utimensat/
H A D07.t29 expect EPERM -u $UID_NOBODY open . O_RDONLY : utimensat 0 ${n0} 0 UTIME_OMIT $DATE2 0 0
30 expect EPERM -u $UID_NOBODY open . O_RDONLY : utimensat 0 ${n0} $DATE1 0 0 UTIME_OMIT 0
31 expect EPERM -u $UID_NOBODY open . O_RDONLY : utimensat 0 ${n0} $DATE1 0 $DATE2 0 0
35 expect EPERM -u $UID_NOBODY open . O_RDONLY : utimensat 0 ${n0} 0 UTIME_OMIT $DATE2 0 0
36 expect EPERM -u $UID_NOBODY open . O_RDONLY : utimensat 0 ${n0} $DATE1 0 0 UTIME_OMIT 0
37 expect EPERM -u $UID_NOBODY open . O_RDONLY : utimensat 0 ${n0} $DATE1 0 $DATE2 0 0
42 expect 0 -u $UID_NOBODY open . O_RDONLY : utimensat 0 ${n0} $DATE1 0 $DATE2 0
45 expect 0 -u $UID_ROOT open . O_RDONLY : utimensat 0 ${n0} $DATE1 0 $DATE2 0 0
/freebsd/contrib/pjdfstest/tests/ftruncate/
H A D00.t20 expect 0 open ${n0} O_RDWR : ftruncate 0 1234567
22 expect 0 open ${n0} O_WRONLY : ftruncate 0 567
27 expect 0 open ${n0} O_RDWR : ftruncate 0 23456
29 expect 0 open ${n0} O_WRONLY : ftruncate 0 1
37 expect 0 open ${n0} O_RDWR : ftruncate 0 123
46 expect EINVAL -u 65534 open ${n0} O_RDONLY : ftruncate 0 123
52 expect 0 open ${n0} O_CREAT,O_RDWR 0 : ftruncate 0 0
55 expect 0 -u 65534 open ${n0} O_CREAT,O_RDWR 0 : ftruncate 0 0
/freebsd/crypto/openssh/openbsd-compat/
H A Dbsd-openpty.c87 if ((ptm = open("/dev/ptmx", O_RDWR | O_NOCTTY)) == -1) in openpty_streams()
104 if ((*aslave = open(pts, O_RDWR | O_NOCTTY)) == -1) { in openpty_streams()
146 if ((*aslave = open(slave, O_RDWR | O_NOCTTY)) == -1) { in openpty()
169 if (junk_ptyfd == -1 && (fd = open(_PATH_TTY, O_RDWR|O_NOCTTY)) >= 0) { in openpty()
185 if ((*amaster = open("/dev/ptc", O_RDWR | O_NOCTTY)) == -1) in openpty()
189 if ((*aslave = open(ttname, O_RDWR | O_NOCTTY)) == -1) { in openpty()
212 if ((*amaster = open(ptbuf, O_RDWR | O_NOCTTY)) == -1) { in openpty()
216 if ((*amaster = open(ptbuf, O_RDWR | O_NOCTTY)) == -1) in openpty()
221 if ((*aslave = open(ttbuf, O_RDWR | O_NOCTTY)) == -1) { in openpty()

12345678910>>...68