Home
last modified time | relevance | path

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

/freebsd/contrib/capsicum-test/
H A Dcopy_file_range.cc76 int fd_out = openOutFile(&rights_out); in TEST_F() local
89 close(fd_out); in TEST_F()
99 int fd_out = openOutFile(&rights_out); in TEST_F() local
112 close(fd_out); in TEST_F()
122 int fd_out = openOutFile(&rights_out); in TEST_F() local
135 close(fd_out); in TEST_F()
145 int fd_out = openOutFile(&rights_out); in TEST_F() local
158 close(fd_out); in TEST_F()
181 close(fd_out); in TEST_F()
204 close(fd_out); in TEST_F()
[all …]
/freebsd/usr.sbin/ppp/
H A Dexec.c90 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()
147 int fd = dev->fd_out == -1 ? p->fd : dev->fd_out; in exec_Write()
191 dev->fd_out = -1; in exec_iov2device()
224 *n = dev->fd_out + 1; in exec_UpdateSet()
234 int result = dev->fd_out >= 0 && FD_ISSET(dev->fd_out, fdset); in exec_IsSet()
255 dev->fd_out = -1; in exec_Create()
[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()
580 ASSERT_EQ(0, fstat(fd_out, &sb)) << strerror(errno); 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), \
2975 void __sanitizer_syscall_pre_impl_splice(long fd_in, long off_in, long fd_out,
2978 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.c611 iarg[a++] = p->fd_out; /* int */ in systrace_args()
2169 iarg[a++] = p->fd_out; /* l_int */ in systrace_args()
H A Dlinux_proto.h338 char fd_out_l_[PADL_(int)]; int fd_out; char fd_out_r_[PADR_(int)]; member
1093 char fd_out_l_[PADL_(l_int)]; l_int fd_out; char fd_out_r_[PADR_(l_int)]; member
/freebsd/sys/amd64/linux/
H A Dlinux_systrace_args.c2109 iarg[a++] = p->fd_out; /* int */ in systrace_args()
2552 iarg[a++] = p->fd_out; /* l_int */ in systrace_args()
H A Dlinux_proto.h1029 char fd_out_l_[PADL_(int)]; int fd_out; char fd_out_r_[PADR_(int)]; member
1286 char fd_out_l_[PADL_(l_int)]; l_int fd_out; char fd_out_r_[PADR_(l_int)]; member
/freebsd/sys/compat/linux/
H A Dlinux_file.c1741 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.c2262 iarg[a++] = p->fd_out; /* int */ in systrace_args()
2824 iarg[a++] = p->fd_out; /* l_int */ in systrace_args()
H A Dlinux_proto.h1096 char fd_out_l_[PADL_(int)]; int fd_out; char fd_out_r_[PADR_(int)]; member
1424 char fd_out_l_[PADL_(l_int)]; l_int fd_out; char fd_out_r_[PADR_(l_int)]; member
/freebsd/sys/amd64/linux32/
H A Dlinux32_systrace_args.c2227 iarg[a++] = p->fd_out; /* int */ in systrace_args()
2793 iarg[a++] = p->fd_out; /* l_int */ in systrace_args()
H A Dlinux32_proto.h1098 char fd_out_l_[PADL_(int)]; int fd_out; char fd_out_r_[PADR_(int)]; member
1430 char fd_out_l_[PADL_(l_int)]; l_int fd_out; char fd_out_r_[PADR_(l_int)]; member
/freebsd/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_common_syscalls.inc2883 (long fd_in, void *off_in, long fd_out, void *off_out, long len, long flags) {}
2886 (long res, long fd_in, void *off_in, long fd_out, void *off_out, long len,