Home
last modified time | relevance | path

Searched full:close (Results 1 – 25 of 2672) sorted by relevance

12345678910>>...107

/freebsd/contrib/ntp/sntp/libevent/
H A Depolltable-internal.h97 common than "close and reopen", so we'll usually wind up doing 1
102 epfd, then close it, then re-create it with the same fd (via dup2 or an
113 Bit 0: close change is add
114 Bit 1: close change is del
140 /* old= 0, write: 0, read: 0, close: 0 */
142 /* old= 0, write: 0, read: 0, close:add */
144 /* old= 0, write: 0, read: 0, close:del */
146 /* old= 0, write: 0, read: 0, close:xxx */
148 /* old= 0, write: 0, read:add, close: 0 */
150 /* old= 0, write: 0, read:add, close:add */
[all …]
/freebsd/contrib/libevent/
H A Depolltable-internal.h97 common than "close and reopen", so we'll usually wind up doing 1
102 epfd, then close it, then re-create it with the same fd (via dup2 or an
113 Bit 0: close change is add
114 Bit 1: close change is del
140 /* old= 0, write: 0, read: 0, close: 0 */
142 /* old= 0, write: 0, read: 0, close:add */
144 /* old= 0, write: 0, read: 0, close:del */
146 /* old= 0, write: 0, read: 0, close:xxx */
148 /* old= 0, write: 0, read:add, close: 0 */
150 /* old= 0, write: 0, read:add, close:add */
[all …]
/freebsd/contrib/libxo/tests/core/saved/
H A Dtest_08.E.err1 test: close (xo_close_container) fails at marker 'm1'; not found 'data3'
2 test: close (xo_close_container) fails at marker 'm2'; not found 'data4'
3 test: close (xo_close_container) fails at marker 'm2'; not found 'data4'
4 test: close (xo_close_container) fails at marker 'm2'; not found 'data4'
5 test: close (xo_close_container) fails at marker 'm2'; not found 'data4'
6 test: close (xo_close_container) fails at marker 'm2'; not found 'data4'
7 test: close (xo_close_container) fails at marker 'm2'; not found 'data4'
8 test: close (xo_close_container) fails at marker 'm2'; not found 'data4'
9 test: close (xo_close_container) fails at marker 'm2'; not found 'data4'
10 test: close (xo_close_container) fails at marker 'm2'; not found 'data4'
[all …]
H A Dtest_08.H.err1 test: close (xo_close_container) fails at marker 'm1'; not found 'data3'
2 test: close (xo_close_container) fails at marker 'm2'; not found 'data4'
3 test: close (xo_close_container) fails at marker 'm2'; not found 'data4'
4 test: close (xo_close_container) fails at marker 'm2'; not found 'data4'
5 test: close (xo_close_container) fails at marker 'm2'; not found 'data4'
6 test: close (xo_close_container) fails at marker 'm2'; not found 'data4'
7 test: close (xo_close_container) fails at marker 'm2'; not found 'data4'
8 test: close (xo_close_container) fails at marker 'm2'; not found 'data4'
9 test: close (xo_close_container) fails at marker 'm2'; not found 'data4'
10 test: close (xo_close_container) fails at marker 'm2'; not found 'data4'
[all …]
H A Dtest_08.HIPx.err1 test: close (xo_close_container) fails at marker 'm1'; not found 'data3'
2 test: close (xo_close_container) fails at marker 'm2'; not found 'data4'
3 test: close (xo_close_container) fails at marker 'm2'; not found 'data4'
4 test: close (xo_close_container) fails at marker 'm2'; not found 'data4'
5 test: close (xo_close_container) fails at marker 'm2'; not found 'data4'
6 test: close (xo_close_container) fails at marker 'm2'; not found 'data4'
7 test: close (xo_close_container) fails at marker 'm2'; not found 'data4'
8 test: close (xo_close_container) fails at marker 'm2'; not found 'data4'
9 test: close (xo_close_container) fails at marker 'm2'; not found 'data4'
10 test: close (xo_close_container) fails at marker 'm2'; not found 'data4'
[all …]
H A Dtest_08.HP.err1 test: close (xo_close_container) fails at marker 'm1'; not found 'data3'
2 test: close (xo_close_container) fails at marker 'm2'; not found 'data4'
3 test: close (xo_close_container) fails at marker 'm2'; not found 'data4'
4 test: close (xo_close_container) fails at marker 'm2'; not found 'data4'
5 test: close (xo_close_container) fails at marker 'm2'; not found 'data4'
6 test: close (xo_close_container) fails at marker 'm2'; not found 'data4'
7 test: close (xo_close_container) fails at marker 'm2'; not found 'data4'
8 test: close (xo_close_container) fails at marker 'm2'; not found 'data4'
9 test: close (xo_close_container) fails at marker 'm2'; not found 'data4'
10 test: close (xo_close_container) fails at marker 'm2'; not found 'data4'
[all …]
H A Dtest_08.J.err1 test: close (xo_close_container) fails at marker 'm1'; not found 'data3'
2 test: close (xo_close_container) fails at marker 'm2'; not found 'data4'
3 test: close (xo_close_container) fails at marker 'm2'; not found 'data4'
4 test: close (xo_close_container) fails at marker 'm2'; not found 'data4'
5 test: close (xo_close_container) fails at marker 'm2'; not found 'data4'
6 test: close (xo_close_container) fails at marker 'm2'; not found 'data4'
7 test: close (xo_close_container) fails at marker 'm2'; not found 'data4'
8 test: close (xo_close_container) fails at marker 'm2'; not found 'data4'
9 test: close (xo_close_container) fails at marker 'm2'; not found 'data4'
10 test: close (xo_close_container) fails at marker 'm2'; not found 'data4'
[all …]
H A Dtest_08.JP.err1 test: close (xo_close_container) fails at marker 'm1'; not found 'data3'
2 test: close (xo_close_container) fails at marker 'm2'; not found 'data4'
3 test: close (xo_close_container) fails at marker 'm2'; not found 'data4'
4 test: close (xo_close_container) fails at marker 'm2'; not found 'data4'
5 test: close (xo_close_container) fails at marker 'm2'; not found 'data4'
6 test: close (xo_close_container) fails at marker 'm2'; not found 'data4'
7 test: close (xo_close_container) fails at marker 'm2'; not found 'data4'
8 test: close (xo_close_container) fails at marker 'm2'; not found 'data4'
9 test: close (xo_close_container) fails at marker 'm2'; not found 'data4'
10 test: close (xo_close_container) fails at marker 'm2'; not found 'data4'
[all …]
H A Dtest_08.JPu.err1 test: close (xo_close_container) fails at marker 'm1'; not found 'data3'
2 test: close (xo_close_container) fails at marker 'm2'; not found 'data4'
3 test: close (xo_close_container) fails at marker 'm2'; not found 'data4'
4 test: close (xo_close_container) fails at marker 'm2'; not found 'data4'
5 test: close (xo_close_container) fails at marker 'm2'; not found 'data4'
6 test: close (xo_close_container) fails at marker 'm2'; not found 'data4'
7 test: close (xo_close_container) fails at marker 'm2'; not found 'data4'
8 test: close (xo_close_container) fails at marker 'm2'; not found 'data4'
9 test: close (xo_close_container) fails at marker 'm2'; not found 'data4'
10 test: close (xo_close_container) fails at marker 'm2'; not found 'data4'
[all …]
H A Dtest_08.T.err1 test: close (xo_close_container) fails at marker 'm1'; not found 'data3'
2 test: close (xo_close_container) fails at marker 'm2'; not found 'data4'
3 test: close (xo_close_container) fails at marker 'm2'; not found 'data4'
4 test: close (xo_close_container) fails at marker 'm2'; not found 'data4'
5 test: close (xo_close_container) fails at marker 'm2'; not found 'data4'
6 test: close (xo_close_container) fails at marker 'm2'; not found 'data4'
7 test: close (xo_close_container) fails at marker 'm2'; not found 'data4'
8 test: close (xo_close_container) fails at marker 'm2'; not found 'data4'
9 test: close (xo_close_container) fails at marker 'm2'; not found 'data4'
10 test: close (xo_close_container) fails at marker 'm2'; not found 'data4'
[all …]
H A Dtest_08.X.err1 test: close (xo_close_container) fails at marker 'm1'; not found 'data3'
2 test: close (xo_close_container) fails at marker 'm2'; not found 'data4'
3 test: close (xo_close_container) fails at marker 'm2'; not found 'data4'
4 test: close (xo_close_container) fails at marker 'm2'; not found 'data4'
5 test: close (xo_close_container) fails at marker 'm2'; not found 'data4'
6 test: close (xo_close_container) fails at marker 'm2'; not found 'data4'
7 test: close (xo_close_container) fails at marker 'm2'; not found 'data4'
8 test: close (xo_close_container) fails at marker 'm2'; not found 'data4'
9 test: close (xo_close_container) fails at marker 'm2'; not found 'data4'
10 test: close (xo_close_container) fails at marker 'm2'; not found 'data4'
[all …]
H A Dtest_08.XP.err1 test: close (xo_close_container) fails at marker 'm1'; not found 'data3'
2 test: close (xo_close_container) fails at marker 'm2'; not found 'data4'
3 test: close (xo_close_container) fails at marker 'm2'; not found 'data4'
4 test: close (xo_close_container) fails at marker 'm2'; not found 'data4'
5 test: close (xo_close_container) fails at marker 'm2'; not found 'data4'
6 test: close (xo_close_container) fails at marker 'm2'; not found 'data4'
7 test: close (xo_close_container) fails at marker 'm2'; not found 'data4'
8 test: close (xo_close_container) fails at marker 'm2'; not found 'data4'
9 test: close (xo_close_container) fails at marker 'm2'; not found 'data4'
10 test: close (xo_close_container) fails at marker 'm2'; not found 'data4'
[all …]
/freebsd/contrib/capsicum-test/
H A Dcapability-fd-pair.cc40 close(cap_in_ro); in TEST()
41 close(cap_in_wo); in TEST()
42 close(cap_out_ro); in TEST()
43 close(cap_out_wo); in TEST()
44 close(in_fd); in TEST()
45 close(sock_fds[0]); in TEST()
46 close(sock_fds[1]); in TEST()
86 close(cap_in_wo); in TEST()
87 close(cap_in_rw); in TEST()
88 close(cap_out_ro); in TEST()
[all …]
H A Dcapability-fd.cc235 close(cap_dup); in FORK_TEST()
239 close(cap_dup); in FORK_TEST()
244 close(cap_dup); in FORK_TEST()
260 EXPECT_OK(close(cap_fd)); in FORK_TEST()
289 if (cap_fd >= 0) close(cap_fd); in FORK_TEST()
290 if (cap_fd2 >= 0) close(cap_fd2); in FORK_TEST()
317 close(file);
318 close(dir);
353 close(cap_cap_fd);
354 close(cap_fd);
[all …]
/freebsd/contrib/one-true-awk/testdir/
H A DT.close1 echo T.close: test close built-in
6 $awk '{ print >>"foo"; close("foo") }' /etc/passwd
7 diff /etc/passwd foo || echo 'BAD: T.close (1)'
11 $awk '{ print >"foo2"; close("foo2") }' foo
12 diff foo1 foo2 || echo 'BAD: T.close (2)'
16 BEGIN { getline <"/etc/passwd"; print close("/etc/passwd"); }
18 diff foo1 foo2 || echo 'BAD: T.close (3)'
22 BEGIN { print close("glotch"); }
24 diff foo1 foo2 || echo 'BAD: T.close (4)'
27 $awk ' # normal close
[all …]
/freebsd/tools/regression/sockets/unix_bindconnect/
H A Dunix_bindconnect.c98 close(sock1); in bind_test()
108 close(sock1); in bind_test()
114 close(sock1); in bind_test()
126 close(sock1); in bind_test()
131 close(sock1); in bind_test()
138 close(sock1); in bind_test()
148 close(sock1); in bind_test()
149 close(sock2); in bind_test()
154 close(sock1); in bind_test()
155 close(sock2); in bind_test()
[all …]
/freebsd/tests/sys/file/
H A Ddup_test.c13 * Test #4: check if dup2(2) cleared close-on-exec flag for duped fd.
16 * Test #7: check if dup2(2) did not clear close-on-exec flag for duped fd.
18 * Test #9: check if fcntl(F_DUPFD) cleared close-on-exec flag for duped fd.
23 * Test #13: check if fcntl(F_DUP2FD) cleared close-on-exec flag for duped fd.
26 * Test #16: check if fcntl(F_DUP2FD) did not clear close-on-exec flag for
31 * Test #19: check if fcntl(F_DUPFD_CLOEXEC) set close-on-exec flag for duped
35 * Test #22: check if fcntl(F_DUP2FD_CLOEXEC) set close-on-exec flag for duped
41 * Test #26: check if dup3(O_CLOEXEC) set close-on-exec flag for duped fd.
44 * Test #29: check if dup3(0) cleared close-on-exec flag for duped fd.
92 /* Set close-on-exec */ in main()
[all …]
/freebsd/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/java_api/src/
H A DTestStateMachine.java34 * and close() to verify that the calls succeed as expected or fail with
413 System.out.println("after close"); in afterClose()
419 exit(1, "open after close"); in afterClose()
424 exit(1, "open after close"); in afterClose()
430 exit(1, "compile after close"); in afterClose()
435 exit(1, "compile after close"); in afterClose()
441 exit(1, "enable after close"); in afterClose()
446 exit(1, "enable after close"); in afterClose()
452 exit(1, "getOption after close"); in afterClose()
457 exit(1, "getOption after close"); in afterClose()
[all …]
/freebsd/lib/libsys/
H A Dclose.232 .Nm close
39 .Fn close "int fd"
42 .Fn close
47 For example, on the last close of a file
51 on the last close of a
54 on the last close of a file holding an advisory lock
69 .Fn close
84 .Fn close
97 which is to not close the descriptor.
99 .Rv -std close
[all …]
/freebsd/tools/regression/sockets/listen_backlog/
H A Dlisten_backlog.c109 close(sock); in socket_listen()
115 close(sock); in socket_listen()
123 close(sock); in socket_listen()
130 close(sock); in socket_listen()
136 close(sock); in socket_listen()
144 close(sock); in socket_listen()
171 close(sock); in test_defaults()
181 close(sock); in test_defaults()
190 close(sock); in test_defaults()
200 close(sock); in test_defaults()
[all …]
/freebsd/contrib/bearssl/src/x509/
H A Dx509_decoder.t0141 skip-close-elt
168 close-elt
176 read-sequence-open skip-close-elt
179 read-sequence-open skip-close-elt
185 close-elt
189 read-sequence-open skip-close-elt
202 skip-close-elt
215 close-elt
216 close-elt
226 close-elt
[all …]
/freebsd/tools/test/stress2/testcases/pty/
H A Dpty.c67 close(m[i]); in test()
68 close(s[i]); in test()
74 close(m[0]); in test()
75 close(s[0]); in test()
82 if (close(master) == -1) in test()
83 err(1, "close(master)"); in test()
84 if (close(slave) == -1) in test()
85 err(1, "close(%s)", slname); in test()
87 if (close(slave) == -1) in test()
88 err(1, "close(%s)", slname); in test()
[all …]
/freebsd/contrib/netbsd-tests/lib/libc/c063/
H A Dt_o_search.c83 ATF_REQUIRE(close(fd) == 0); in ATF_TC_BODY()
88 ATF_REQUIRE(close(fd) == 0); in ATF_TC_BODY()
95 ATF_REQUIRE(close(dfd) == 0); in ATF_TC_BODY()
113 ATF_REQUIRE(close(fd) == 0); in ATF_TC_BODY()
118 ATF_REQUIRE(close(fd) == 0); in ATF_TC_BODY()
123 ATF_REQUIRE(close(fd) == 0); in ATF_TC_BODY()
129 ATF_REQUIRE(close(dfd) == 0); in ATF_TC_BODY()
145 ATF_REQUIRE(close(fd) == 0); in ATF_TC_BODY()
150 ATF_REQUIRE(close(fd) == 0); in ATF_TC_BODY()
155 ATF_REQUIRE(close(fd) == 0); in ATF_TC_BODY()
[all …]
/freebsd/contrib/libxo/doc/
H A Dxo.rst70 The `--open $path` and `--close $path` can be used to emit
71 hierarchical information without the matching close and open
73 then close tags. The `--depth` option may be used to set the
81 xo --close top/data
116 xo --top-wrap --close top/data
154 open and close the list, while a distinct call is needed to open and
155 close each instance of the list.
158 instances. Use the `--close-list` and `--close-instances` to close
171 xo $opts --depth 1 --close-instance machine
174 xo $opts $NF --close-list machine
[all …]
/freebsd/tools/regression/sockets/kqueue/
H A Dkqueue.c279 if (close(sv[0]) == -1) in main()
280 fail(errno, "close", "PF_UNIX/SOCK_DGRAM", "sv[0]"); in main()
281 OK("close() 1"); in main()
282 if (close(sv[1]) == -1) in main()
283 fail(errno, "close", "PF_UNIX/SOCK_DGRAM", "sv[1]"); in main()
284 OK("close() 2"); in main()
307 if (close(sv[0]) == -1) in main()
308 fail(errno, "close", "PF_UNIX/SOCK_DGRAM", "sv[0]"); in main()
309 if (close(sv[1]) == -1) in main()
310 fail(errno, "close", "PF_UNIX/SOCK_DGRAM", "sv[1]"); in main()
[all …]

12345678910>>...107