/freebsd/tools/regression/sockets/unix_bindconnect/ |
H A D | unix_bindconnect.c | 98 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/tools/regression/sockets/listen_backlog/ |
H A D | listen_backlog.c | 109 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/capsicum-test/ |
H A D | capability-fd-pair.cc | 40 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 D | capability-fd.cc | 235 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/libxo/tests/core/saved/ |
H A D | test_08.E.err | 1 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 D | test_08.H.err | 1 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 D | test_08.HIPx.err | 1 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 D | test_08.HP.err | 1 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 D | test_08.J.err | 1 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 D | test_08.JP.err | 1 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 D | test_08.JPu.err | 1 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 D | test_08.T.err | 1 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 D | test_08.X.err | 1 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 D | test_08.XP.err | 1 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/one-true-awk/testdir/ |
H A D | T.close | 1 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/lib/libfigpar/ |
H A D | figpar.c | 158 close(fd); in parse_config() 164 close(fd); in parse_config() 184 close(fd); in parse_config() 190 close(fd); in parse_config() 197 close(fd); in parse_config() 239 close(fd); in parse_config() 248 close(fd); in parse_config() 270 close(fd); in parse_config() 281 close(fd); in parse_config() 293 close(fd); in parse_config() [all …]
|
/freebsd/crypto/openssl/apps/lib/ |
H A D | vms_term_sock.c | 184 close (TerminalSocketPair[0]); in TerminalSocket() 186 close (TerminalSocketPair[1]); in TerminalSocket() 198 close (TerminalSocketPair[0]); in TerminalSocket() 199 close (TerminalSocketPair[1]); in TerminalSocket() 217 close (TerminalSocketPair[0]); in TerminalSocket() 218 close (TerminalSocketPair[1]); in TerminalSocket() 235 close (TerminalSocketPair[0]); in TerminalSocket() 236 close (TerminalSocketPair[1]); in TerminalSocket() 246 close (TerminalSocketPair[0]); in TerminalSocket() 247 close (TerminalSocketPair[1]); in TerminalSocket() [all …]
|
/freebsd/contrib/netbsd-tests/lib/libc/c063/ |
H A D | t_o_search.c | 83 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/tools/regression/sockets/rtsocket/ |
H A D | rtsocket.c | 48 close(sock); in main() 58 close(sock); in main() 69 close(sock); in main() 72 close(socks[0]); in main() 73 close(socks[1]); in main() 82 close(socks[0]); in main() 83 close(socks[1]); in main() 92 close(socks[0]); in main() 93 close(socks[1]); in main()
|
/freebsd/tools/test/stress2/testcases/pty/ |
H A D | pty.c | 67 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() 84 if (close(slave) == -1) in test() 87 if (close(slave) == -1) in test() 89 if (close(master) == -1) in test() 108 close(master); in test() 109 close(slave); in test()
|
/freebsd/contrib/nvi/ex/ |
H A D | ex_filter.c | 99 (void)close(input[0]); in ex_filter() 101 (void)close(input[1]); in ex_filter() 105 (void)close(output[0]); in ex_filter() 107 (void)close(output[1]); in ex_filter() 127 (void)close(input[0]); in ex_filter() 129 (void)close(input[1]); in ex_filter() 130 (void)close(output[0]); in ex_filter() 131 (void)close(output[1]); in ex_filter() 146 (void)close(input[0]); in ex_filter() 147 (void)close(output[1]); in ex_filter() [all …]
|
/freebsd/contrib/dialog/ |
H A D | prgbox.c | 46 (void) close(fd[0]); in dlg_popen() 47 (void) close(fd[1]); in dlg_popen() 53 (void) close(fd[1]); in dlg_popen() 56 (void) close(fd[0]); in dlg_popen() 60 (void) close(fd[0]); in dlg_popen() 62 (void) close(fd[1]); in dlg_popen() 63 (void) close(STDERR_FILENO); in dlg_popen() 81 (void) close(fd[1]); in dlg_popen() 84 (void) close(fd[0]); in dlg_popen()
|
/freebsd/crypto/heimdal/lib/roken/ |
H A D | simple_exec.c | 169 close(in_fd[1]); in pipe_execv() 171 close(out_fd[0]); in pipe_execv() 173 close(err_fd[0]); in pipe_execv() 186 close(in_fd[0]); in pipe_execv() 190 close(out_fd[1]); in pipe_execv() 194 close(err_fd[1]); in pipe_execv() 203 close(in_fd[0]); in pipe_execv() 204 close(in_fd[1]); in pipe_execv() 207 close(out_fd[0]); in pipe_execv() 208 close(out_fd[1]); in pipe_execv() [all …]
|
/freebsd/usr.sbin/mfiutil/ |
H A D | mfi_foreign.c | 63 close(fd); in foreign_clear() 71 close(fd); in foreign_clear() 76 close(fd); in foreign_clear() 98 close(fd); in foreign_scan() 104 close(fd); in foreign_scan() 122 close(fd); in foreign_show_cfg() 234 close(fd); in display_format() 240 close(fd); in display_format() 249 close(fd); in display_format() 259 close(fd); in display_format() [all …]
|
/freebsd/usr.sbin/mpsutil/ |
H A D | mps_flash.c | 85 close(fd); in flash_save() 89 close(fd); in flash_save() 103 close(fd); in flash_save() 108 close(fd); in flash_save() 167 close(fd); in flash_update() 170 close(fd); in flash_update() 183 close(fd); in flash_update() 192 close(fd); in flash_update() 199 close(fd); in flash_update() 211 close(fd); in flash_update() [all …]
|