Home
last modified time | relevance | path

Searched refs:fd_out (Results 1 – 21 of 21) sorted by relevance

/freebsd/contrib/capsicum-test/
H A Dcopy_file_range.cc76 int fd_out = openOutFile(&rights_out); in TEST_F() local
79 EXPECT_NOTCAPABLE(copy_file_range(fd_in, NULL, fd_out, NULL, 8, 0)); in TEST_F()
80 EXPECT_NOTCAPABLE(copy_file_range(fd_in, &off_in, fd_out, NULL, 8, 0)); in TEST_F()
81 EXPECT_NOTCAPABLE(copy_file_range(fd_in, NULL, fd_out, &off_out, 8, 0)); in TEST_F()
82 EXPECT_NOTCAPABLE(copy_file_range(fd_in, &off_in, fd_out, &off_out, 8, 0)); in TEST_F()
85 EXPECT_NOTCAPABLE(copy_file_range(fd_in, &off_in, fd_out, NULL, 8, 0)); in TEST_F()
86 EXPECT_NOTCAPABLE(copy_file_range(fd_in, NULL, fd_out, &off_out, 8, 0)); in TEST_F()
87 EXPECT_NOTCAPABLE(copy_file_range(fd_in, &off_in, fd_out, &off_out, 8, 0)); in TEST_F()
89 close(fd_out); in TEST_F()
99 int fd_out = openOutFile(&rights_out); in TEST_F() local
[all …]
/freebsd/usr.sbin/ppp/
H A Dexec.c74 int fd_out; /* output descriptor */ member
90 if (dev->fd_out != -1) in exec_Free()
91 close(dev->fd_out); in exec_Free()
111 if (dev->fd_out >= 0) { in exec_device2iov()
112 *auxfd = dev->fd_out; in exec_device2iov()
127 if (dev->fd_out >= 0) { in exec_RemoveFromSet()
128 if (w && FD_ISSET(dev->fd_out, w)) { in exec_RemoveFromSet()
129 FD_CLR(dev->fd_out, w); in exec_RemoveFromSet()
130 log_Printf(LogTIMER, "%s: fdunset(w) %d\n", p->link.name, dev->fd_out); in exec_RemoveFromSet()
133 if (e && FD_ISSET(dev->fd_out, e)) { in exec_RemoveFromSet()
[all …]
H A Dprompt.c333 p->fd_out = STDOUT_FILENO; in prompt_Create()
342 p->fd_in = p->fd_out = fd; in prompt_Create()
367 if (p->fd_out != p->fd_in) in prompt_Destroy()
368 close(p->fd_out); in prompt_Destroy()
H A Dprompt.h42 int fd_in, fd_out; member
H A Dcommand.c660 fd = arg->prompt->fd_out; in ShellCommand()
/freebsd/contrib/libucl/tests/
H A Dtest_basic.c43 flags, fd_out, fd_in, use_fd = 0, msgpack_input = 0; in main() local
174 fd_out = open (fname_out, O_WRONLY | O_CREAT, 00644); in main()
175 if (fd_out == -1) { in main()
180 fd_out = STDOUT_FILENO; in main()
254 func = ucl_object_emit_fd_funcs (fd_out); in main()
285 write (fd_out, "\n", 1); in main()
286 close (fd_out); in main()
/freebsd/libexec/atrun/
H A Datrun.c126 int fd_out, fd_in; in run_file() local
255 if((fd_out=open(filename, in run_file()
259 write_string(fd_out, "Subject: Output from your job "); in run_file()
260 write_string(fd_out, filename); in run_file()
261 write_string(fd_out, "\n\n"); in run_file()
262 fstat(fd_out, &buf); in run_file()
288 if (dup(fd_out) != STDOUT_FILENO) in run_file()
291 if (dup(fd_out) != STDERR_FILENO) in run_file()
295 close(fd_out); in run_file()
342 close(fd_out); in run_file()
/freebsd/tests/sys/fs/fusefs/
H A Ddefault_permissions.cc517 int fd_in, fd_out; in TEST_F() local
531 fd_out = open(FULLPATH_OUT, O_WRONLY); in TEST_F()
532 ASSERT_LE(0, fd_out) << strerror(errno); in TEST_F()
534 copy_file_range(fd_in, &off_in, fd_out, &off_out, len, 0)) in TEST_F()
536 ASSERT_EQ(0, fstat(fd_out, &sb)) << strerror(errno); in TEST_F()
542 leak(fd_out); in TEST_F()
561 int fd_in, fd_out; in TEST_F() local
575 fd_out = open(FULLPATH_OUT, O_WRONLY); in TEST_F()
576 ASSERT_LE(0, fd_out) << strerror(errno); in TEST_F()
578 copy_file_range(fd_in, &off_in, fd_out, &off_out, len, 0)) in TEST_F()
[all …]
/freebsd/contrib/ntp/sntp/libevent/include/event2/
H A Devent.h1388 struct event_base **base_out, evutil_socket_t *fd_out, short *events_out,
/freebsd/contrib/libevent/include/event2/
H A Devent.h1388 struct event_base **base_out, evutil_socket_t *fd_out, short *events_out,
/freebsd/crypto/openssh/
H A Dsftp-client.c92 int fd_out; member
179 if (atomiciov6(writev, conn->fd_out, iov, 2, sftpio, in send_msg()
246 debug3("Sent message fd %d T:%u I:%u", conn->fd_out, code, id); in send_string_request()
266 conn->fd_out, code, id, a->flags, a->perm); in send_string_attrs_request()
456 sftp_init(int fd_in, int fd_out, u_int transfer_buflen, u_int num_requests, in sftp_init() argument
467 ret->fd_out = fd_out; in sftp_init()
H A Dpacket.c294 ssh_packet_set_connection(struct ssh *ssh, int fd_in, int fd_out) in ssh_packet_set_connection() argument
312 state->connection_out = fd_out; in ssh_packet_set_connection()
/freebsd/contrib/llvm-project/compiler-rt/include/sanitizer/
H A Dlinux_syscall_hooks.h1676 #define __sanitizer_syscall_pre_splice(fd_in, off_in, fd_out, off_out, len, \ argument
1679 (long)(fd_out), (long)(off_out), \
1681 #define __sanitizer_syscall_post_splice(res, fd_in, off_in, fd_out, off_out, \ argument
1684 (long)(fd_out), (long)(off_out), \
2982 void __sanitizer_syscall_pre_impl_splice(long fd_in, long off_in, long fd_out,
2985 long fd_out, long off_out, long len,
/freebsd/contrib/ntp/sntp/libevent/
H A Devent.c2419 …onst struct event *event, struct event_base **base_out, evutil_socket_t *fd_out, short *events_out… in event_get_assignment() argument
2425 if (fd_out) in event_get_assignment()
2426 *fd_out = event->ev_fd; in event_get_assignment()
/freebsd/contrib/libevent/
H A Devent.c2419 …onst struct event *event, struct event_base **base_out, evutil_socket_t *fd_out, short *events_out… in event_get_assignment() argument
2425 if (fd_out) in event_get_assignment()
2426 *fd_out = event->ev_fd; in event_get_assignment()
/freebsd/sys/arm64/linux/
H A Dlinux_systrace_args.c612 iarg[a++] = p->fd_out; /* int */ in systrace_args()
2170 iarg[a++] = p->fd_out; /* l_int */ in systrace_args()
/freebsd/sys/amd64/linux/
H A Dlinux_systrace_args.c2110 iarg[a++] = p->fd_out; /* int */ in systrace_args()
2553 iarg[a++] = p->fd_out; /* l_int */ in systrace_args()
/freebsd/sys/compat/linux/
H A Dlinux_file.c1743 error = kern_copy_file_range(td, args->fd_in, inoffp, args->fd_out, in linux_copy_file_range()
/freebsd/sys/i386/linux/
H A Dlinux_systrace_args.c2263 iarg[a++] = p->fd_out; /* int */ in systrace_args()
2825 iarg[a++] = p->fd_out; /* l_int */ in systrace_args()
/freebsd/sys/amd64/linux32/
H A Dlinux32_systrace_args.c2228 iarg[a++] = p->fd_out; /* int */ in systrace_args()
2794 iarg[a++] = p->fd_out; /* l_int */ in systrace_args()
/freebsd/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_common_syscalls.inc2906 (long fd_in, void *off_in, long fd_out, void *off_out, long len, long flags) {}
2909 (long res, long fd_in, void *off_in, long fd_out, void *off_out, long len,