| /netbsd-src/crypto/external/bsd/heimdal/dist/lib/roken/ |
| H A D | simple_exec.c | 150 int out_fd[2] = {-1, -1}; in pipe_execv() local 160 ret = pipe(out_fd); in pipe_execv() 167 close(out_fd[0]); in pipe_execv() 168 close(out_fd[1]); in pipe_execv() 187 close(out_fd[0]); in pipe_execv() 195 out_fd[1] = open(_PATH_DEVNULL, O_WRONLY); in pipe_execv() 204 if(out_fd[1] != STDOUT_FILENO) { in pipe_execv() 205 dup2(out_fd[1], STDOUT_FILENO); in pipe_execv() 206 close(out_fd[1]); in pipe_execv() 223 close(out_fd[0]); in pipe_execv() [all …]
|
| /netbsd-src/dist/pf/libexec/tftp-proxy/ |
| H A D | tftp-proxy.c | 84 int c, fd = 0, on = 1, out_fd = 0, peer, reqsize = 0; in main() local 259 if ((out_fd = socket(((struct sockaddr *)&from)->sa_family, in main() 268 if (bind(out_fd, (struct sockaddr *)&sock_out, sizeof(sock_out)) < 0) { in main() 273 if (connect(out_fd, (struct sockaddr *)&server, in main() 280 if ((getsockname(out_fd, (struct sockaddr *)&proxy_to_server, in main() 347 if (send(out_fd, tp, reqsize, 0) < 0) { in main()
|
| /netbsd-src/external/mit/libuv/dist/src/unix/ |
| H A D | fs.c | 806 int out_fd; in uv__fs_sendfile_emul() local 811 out_fd = req->file; in uv__fs_sendfile_emul() 869 n = write(out_fd, buf + nwritten, nread - nwritten); in uv__fs_sendfile_emul() 882 pfd.fd = out_fd; in uv__fs_sendfile_emul() 970 int out_fd, size_t len) { in uv__fs_try_copy_file_range() argument 979 r = uv__fs_copy_file_range(in_fd, off, out_fd, NULL, len, 0); in uv__fs_try_copy_file_range() 999 if (uv__is_cifs_or_smb(out_fd)) in uv__fs_try_copy_file_range() 1020 int out_fd; in uv__fs_sendfile() local 1023 out_fd = req->file; in uv__fs_sendfile() 1037 r = uv__fs_try_copy_file_range(in_fd, &off, out_fd, len); in uv__fs_sendfile() [all …]
|
| /netbsd-src/external/bsd/tmux/dist/ |
| H A D | control.c | 764 close(c->out_fd); in control_start() 765 c->out_fd = -1; in control_start() 767 setblocking(c->out_fd, 0); in control_start() 784 cs->write_event = bufferevent_new(c->out_fd, NULL, in control_start()
|
| /netbsd-src/external/gpl3/gcc.old/dist/libsanitizer/include/sanitizer/ |
| H A D | linux_syscall_hooks.h | 781 #define __sanitizer_syscall_pre_sendfile(out_fd, in_fd, offset, count) \ argument 782 __sanitizer_syscall_pre_impl_sendfile((long)(out_fd), (long)(in_fd), \ 784 #define __sanitizer_syscall_post_sendfile(res, out_fd, in_fd, offset, count) \ argument 785 __sanitizer_syscall_post_impl_sendfile(res, (long)(out_fd), (long)(in_fd), \ 787 #define __sanitizer_syscall_pre_sendfile64(out_fd, in_fd, offset, count) \ argument 788 __sanitizer_syscall_pre_impl_sendfile64((long)(out_fd), (long)(in_fd), \ 790 #define __sanitizer_syscall_post_sendfile64(res, out_fd, in_fd, offset, count) \ argument 791 __sanitizer_syscall_post_impl_sendfile64(res, (long)(out_fd), (long)(in_fd), \ 2442 void __sanitizer_syscall_pre_impl_sendfile(long out_fd, long in_fd, long offset, 2444 void __sanitizer_syscall_post_impl_sendfile(long res, long out_fd, long in_fd, [all …]
|
| /netbsd-src/sys/external/bsd/compiler_rt/dist/include/sanitizer/ |
| H A D | linux_syscall_hooks.h | 783 #define __sanitizer_syscall_pre_sendfile(out_fd, in_fd, offset, count) \ argument 784 __sanitizer_syscall_pre_impl_sendfile((long)(out_fd), (long)(in_fd), \ 786 #define __sanitizer_syscall_post_sendfile(res, out_fd, in_fd, offset, count) \ argument 787 __sanitizer_syscall_post_impl_sendfile(res, (long)(out_fd), (long)(in_fd), \ 789 #define __sanitizer_syscall_pre_sendfile64(out_fd, in_fd, offset, count) \ argument 790 __sanitizer_syscall_pre_impl_sendfile64((long)(out_fd), (long)(in_fd), \ 792 #define __sanitizer_syscall_post_sendfile64(res, out_fd, in_fd, offset, count) \ argument 793 __sanitizer_syscall_post_impl_sendfile64(res, (long)(out_fd), (long)(in_fd), \ 2444 void __sanitizer_syscall_pre_impl_sendfile(long out_fd, long in_fd, long offset, 2446 void __sanitizer_syscall_post_impl_sendfile(long res, long out_fd, long in_fd, [all …]
|
| /netbsd-src/external/gpl3/gcc/dist/libsanitizer/include/sanitizer/ |
| H A D | linux_syscall_hooks.h | 782 #define __sanitizer_syscall_pre_sendfile(out_fd, in_fd, offset, count) \ argument 783 __sanitizer_syscall_pre_impl_sendfile((long)(out_fd), (long)(in_fd), \ 785 #define __sanitizer_syscall_post_sendfile(res, out_fd, in_fd, offset, count) \ argument 786 __sanitizer_syscall_post_impl_sendfile(res, (long)(out_fd), (long)(in_fd), \ 788 #define __sanitizer_syscall_pre_sendfile64(out_fd, in_fd, offset, count) \ argument 789 __sanitizer_syscall_pre_impl_sendfile64((long)(out_fd), (long)(in_fd), \ 791 #define __sanitizer_syscall_post_sendfile64(res, out_fd, in_fd, offset, count) \ argument 792 __sanitizer_syscall_post_impl_sendfile64(res, (long)(out_fd), (long)(in_fd), \ 2452 void __sanitizer_syscall_pre_impl_sendfile(long out_fd, long in_fd, long offset, 2454 void __sanitizer_syscall_post_impl_sendfile(long res, long out_fd, long in_fd, [all …]
|
| /netbsd-src/usr.bin/vndcompress/ |
| H A D | vndcompress.c | 762 compress_block(int in_fd, int out_fd, uint32_t blkno, uint32_t blocksize, in compress_block() argument 792 const ssize_t n_written = write(out_fd, compbuf, complen); in compress_block()
|
| /netbsd-src/external/mit/libuv/dist/docs/src/guide/ |
| H A D | filesystem.rst | 148 …int uv_fs_sendfile(uv_loop_t* loop, uv_fs_t* req, uv_file out_fd, uv_file in_fd, int64_t in_offset…
|
| /netbsd-src/sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/ |
| H A D | sanitizer_common_syscalls.inc | 1360 PRE_SYSCALL(sendfile)(long out_fd, long in_fd, void *offset, long count) {} 1362 POST_SYSCALL(sendfile)(long res, long out_fd, long in_fd, 1369 PRE_SYSCALL(sendfile64)(long out_fd, long in_fd, void *offset, long count) {} 1371 POST_SYSCALL(sendfile64)(long res, long out_fd, long in_fd,
|
| /netbsd-src/external/gpl3/gcc.old/dist/libsanitizer/sanitizer_common/ |
| H A D | sanitizer_common_syscalls.inc | 1358 PRE_SYSCALL(sendfile)(long out_fd, long in_fd, void *offset, long count) {} 1360 POST_SYSCALL(sendfile)(long res, long out_fd, long in_fd, 1367 PRE_SYSCALL(sendfile64)(long out_fd, long in_fd, void *offset, long count) {} 1369 POST_SYSCALL(sendfile64)(long res, long out_fd, long in_fd,
|
| /netbsd-src/external/gpl3/gcc/dist/libsanitizer/sanitizer_common/ |
| H A D | sanitizer_common_syscalls.inc | 1461 PRE_SYSCALL(sendfile)(long out_fd, long in_fd, void *offset, long count) {} 1464 (long res, long out_fd, long in_fd, __sanitizer___kernel_off_t *offset, 1472 PRE_SYSCALL(sendfile64)(long out_fd, long in_fd, void *offset, long count) {} 1475 (long res, long out_fd, long in_fd, __sanitizer___kernel_loff_t *offset,
|
| /netbsd-src/external/mit/libuv/dist/include/ |
| H A D | uv.h | 1467 uv_file out_fd,
|
| /netbsd-src/external/mit/libuv/dist/docs/src/ |
| H A D | fs.rst | 391 .. c:function:: int uv_fs_sendfile(uv_loop_t* loop, uv_fs_t* req, uv_file out_fd, uv_file in_fd, in…
|