| /freebsd/tests/sys/capsicum/ |
| H A D | copy_file_range.cc | 76 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 D | exec.c | 74 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 D | prompt.c | 333 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 D | prompt.h | 42 int fd_in, fd_out; member
|
| /freebsd/crypto/krb5/src/lib/krb5/rcache/ |
| H A D | rc_dfl.c | 51 open_file(krb5_context context, int *fd_out) in open_file() argument 57 *fd_out = -1; in open_file() 70 *fd_out = open(fname, O_CREAT | O_RDWR | O_BINARY, 0600); in open_file() 71 ret = (*fd_out < 0) ? errno : 0; in open_file() 83 open_file(krb5_context context, int *fd_out) in open_file() argument 92 *fd_out = -1; in open_file() 118 *fd_out = fd; in open_file()
|
| /freebsd/contrib/libucl/tests/ |
| H A D | test_basic.c | 43 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 D | atrun.c | 126 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 D | default_permissions.cc | 517 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/crypto/krb5/src/kprop/ |
| H A D | kprop.c | 70 static void open_connection(krb5_context context, char *host, int *fd_out); 217 open_connection(krb5_context context, char *host, int *fd_out) in open_connection() argument 226 *fd_out = -1; in open_connection() 254 *fd_out = s; in open_connection()
|
| H A D | kproplog.c | 403 map_ulog(const char *filename, int *fd_out) in map_ulog() argument 409 *fd_out = -1; in map_ulog() 423 *fd_out = fd; in map_ulog()
|
| /freebsd/contrib/ntp/sntp/libevent/include/event2/ |
| H A D | event.h | 1388 struct event_base **base_out, evutil_socket_t *fd_out, short *events_out,
|
| /freebsd/contrib/libevent/include/event2/ |
| H A D | event.h | 1388 struct event_base **base_out, evutil_socket_t *fd_out, short *events_out,
|
| /freebsd/crypto/openssh/ |
| H A D | sftp-client.c | 80 int fd_out; member 167 if (atomiciov6(writev, conn->fd_out, iov, 2, sftpio, in send_msg() 234 debug3("Sent message fd %d T:%u I:%u", conn->fd_out, code, id); in send_string_request() 254 conn->fd_out, code, id, a->flags, a->perm); in send_string_attrs_request() 444 sftp_init(int fd_in, int fd_out, u_int transfer_buflen, u_int num_requests, in sftp_init() argument 455 ret->fd_out = fd_out; in sftp_init()
|
| H A D | packet.c | 298 ssh_packet_set_connection(struct ssh *ssh, int fd_in, int fd_out) in ssh_packet_set_connection() argument 316 state->connection_out = fd_out; in ssh_packet_set_connection()
|
| /freebsd/crypto/krb5/src/lib/apputils/ |
| H A D | net-server.c | 616 int *fd_out) in create_server_socket() argument 621 *fd_out = -1; in create_server_socket() 668 *fd_out = sock; in create_server_socket()
|
| /freebsd/crypto/krb5/src/kadmin/dbutil/ |
| H A D | dump.c | 171 prep_ok_file(krb5_context context, char *file_name, int *fd_out) in prep_ok_file() argument 179 *fd_out = -1; in prep_ok_file() 197 *fd_out = fd; in prep_ok_file()
|
| /freebsd/contrib/llvm-project/compiler-rt/include/sanitizer/ |
| H A D | linux_syscall_hooks.h | 1676 #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 D | event.c | 2419 …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 D | event.c | 2419 …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 D | linux_systrace_args.c | 619 iarg[a++] = p->fd_out; /* int */ in systrace_args() 2178 iarg[a++] = p->fd_out; /* l_int */ in systrace_args()
|
| H A D | linux_proto.h | 341 char fd_out_l_[PADL_(int)]; int fd_out; char fd_out_r_[PADR_(int)]; member 1097 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 D | linux_systrace_args.c | 2117 iarg[a++] = p->fd_out; /* int */ in systrace_args() 2561 iarg[a++] = p->fd_out; /* l_int */ in systrace_args()
|
| H A D | linux_proto.h | 1032 char fd_out_l_[PADL_(int)]; int fd_out; char fd_out_r_[PADR_(int)]; member 1290 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 D | linux_file.c | 1806 error = kern_copy_file_range(td, args->fd_in, inoffp, args->fd_out, in linux_copy_file_range()
|
| /freebsd/sys/amd64/linux32/ |
| H A D | linux32_systrace_args.c | 2235 iarg[a++] = p->fd_out; /* int */ in systrace_args() 2804 iarg[a++] = p->fd_out; /* l_int */ in systrace_args()
|