/freebsd/contrib/capsicum-test/ |
H A D | copy_file_range.cc | 75 int fd_in = openInFile(&rights_in); in TEST_F() local 88 close(fd_in); in TEST_F() 98 int fd_in = openInFile(&rights_in); in TEST_F() local 111 close(fd_in); in TEST_F() 121 int fd_in = openInFile(&rights_in); in TEST_F() local 134 close(fd_in); in TEST_F() 144 int fd_in = openInFile(&rights_in); in TEST_F() local 157 close(fd_in); in TEST_F() 180 close(fd_in); in TEST_F() 203 close(fd_in); in TEST_F() [all …]
|
/freebsd/usr.sbin/ppp/ |
H A D | prompt.c | 143 if (p->fd_in >= 0) { in prompt_UpdateSet() 145 FD_SET(p->fd_in, r); in prompt_UpdateSet() 150 FD_SET(p->fd_in, e); in prompt_UpdateSet() 155 *n = p->fd_in + 1; in prompt_UpdateSet() 167 return p->fd_in >= 0 && FD_ISSET(p->fd_in, fdset); in prompt_IsSet() 243 n = read(p->fd_in, &ch, 1); in prompt_Read() 332 p->fd_in = STDIN_FILENO; in prompt_Create() 342 p->fd_in = p->fd_out = fd; in prompt_Create() 366 close(p->fd_in); in prompt_Destroy() 456 tcgetattr(p->fd_in, &newtio); in prompt_TtyCommandMode() [all …]
|
H A D | prompt.h | 42 int fd_in, fd_out; member
|
/freebsd/crypto/heimdal/lib/krb5/ |
H A D | store_fd.c | 89 krb5_storage_from_fd(krb5_socket_t fd_in) in krb5_storage_from_fd() argument 96 if (_get_osfhandle(fd_in) != -1) { in krb5_storage_from_fd() 97 fd = dup(fd_in); in krb5_storage_from_fd() 99 fd = _open_osfhandle(fd_in, 0); in krb5_storage_from_fd() 105 fd = dup(fd_in); in krb5_storage_from_fd()
|
/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 102 fd_in = open (fname_in, O_RDONLY); in main() 103 if (fd_in == -1) { in main() 108 fd_in = STDIN_FILENO; in main() 157 ucl_parser_add_fd (parser, fd_in); in main() 158 close (fd_in); in main()
|
/freebsd/libexec/atrun/ |
H A D | atrun.c | 126 int fd_out, fd_in; in run_file() local 201 if ((fd_in = dup(fileno(stream))) <0) in run_file() 204 if (fstat(fd_in, &buf) == -1) in run_file() 222 if ((fflags = fcntl(fd_in, F_GETFD)) <0) in run_file() 225 fcntl(fd_in, F_SETFD, fflags & ~FD_CLOEXEC); in run_file() 282 if (lseek(fd_in, (off_t) 0, SEEK_SET) < 0) in run_file() 285 if (dup(fd_in) != STDIN_FILENO) in run_file() 294 close(fd_in); in run_file() 341 close(fd_in); in run_file()
|
/freebsd/tests/sys/fs/fusefs/ |
H A D | default_permissions.cc | 517 int fd_in, fd_out; in TEST_F() local 529 fd_in = open(FULLPATH_IN, O_RDONLY); in TEST_F() 530 ASSERT_LE(0, fd_in) << strerror(errno); in TEST_F() 534 copy_file_range(fd_in, &off_in, fd_out, &off_out, len, 0)) in TEST_F() 538 ASSERT_EQ(0, fstat(fd_in, &sb)) << strerror(errno); in TEST_F() 541 leak(fd_in); in TEST_F() 561 int fd_in, fd_out; in TEST_F() local 573 fd_in = open(FULLPATH_IN, O_RDONLY); in TEST_F() 574 ASSERT_LE(0, fd_in) << strerror(errno); in TEST_F() 582 ASSERT_EQ(0, fstat(fd_in, &sb)) << strerror(errno); in TEST_F() [all …]
|
/freebsd/sys/kern/ |
H A D | sys_generic.c | 1098 select_check_badfd(fd_set *fd_in, int nd, int ndu, int abi_nfdbits) in select_check_badfd() argument 1104 if (nd >= ndu || fd_in == NULL) in select_check_badfd() 1112 addr = (char *)fd_in + b; in select_check_badfd() 1114 addr = (char *)fd_in; in select_check_badfd() 1137 kern_select(struct thread *td, int nd, fd_set *fd_in, fd_set *fd_ou, in kern_select() argument 1162 error = select_check_badfd(fd_in, nd, ndu, abi_nfdbits); in kern_select() 1180 if (fd_in != NULL) in kern_select() 1214 getbits(fd_in, 0); in kern_select() 1301 putbits(fd_in, 0); in kern_select()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/Mips/ |
H A D | Mips32r6InstrInfo.td | 601 dag InOperandList = (ins FGRCCOpnd:$fd_in, FGROpnd:$fs, FGROpnd:$ft); 603 list<dag> Pattern = [(set FGROpnd:$fd, (select FGRCCOpnd:$fd_in, 606 string Constraints = "$fd_in = $fd"; 613 dag InOperandList = (ins FGROpnd:$fd_in, FGROpnd:$fs, FGROpnd:$ft); 615 list<dag> Pattern = [(set FGROpnd:$fd, (MipsFSelect FGROpnd:$fd_in, 618 string Constraints = "$fd_in = $fd"; 642 dag InOperandList = (ins FGROpnd:$fd_in, FGROpnd:$fs, FGROpnd:$ft); 645 string Constraints = "$fd_in = $fd";
|
/freebsd/crypto/openssh/ |
H A D | sftp-client.c | 91 int fd_in; member 197 if (atomicio6(read, conn->fd_in, p, 4, sftpio, in get_msg_extended() 216 if (atomicio6(read, conn->fd_in, p, msg_len, sftpio, in get_msg_extended() 456 sftp_init(int fd_in, int fd_out, u_int transfer_buflen, u_int num_requests, in sftp_init() argument 466 ret->fd_in = fd_in; in sftp_init() 2403 pfd.fd = to->fd_in; in handle_dest_replies()
|
H A D | packet.c | 294 ssh_packet_set_connection(struct ssh *ssh, int fd_in, int fd_out) in ssh_packet_set_connection() argument 311 state->connection_in = fd_in; in ssh_packet_set_connection()
|
/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 1678 __sanitizer_syscall_pre_impl_splice((long)(fd_in), (long)(off_in), \ 1681 #define __sanitizer_syscall_post_splice(res, fd_in, off_in, fd_out, off_out, \ argument 1683 __sanitizer_syscall_post_impl_splice(res, (long)(fd_in), (long)(off_in), \ 2975 void __sanitizer_syscall_pre_impl_splice(long fd_in, long off_in, long fd_out, 2977 void __sanitizer_syscall_post_impl_splice(long res, long fd_in, long off_in,
|
/freebsd/sys/sys/ |
H A D | syscallsubr.h | 309 int kern_select(struct thread *td, int nd, fd_set *fd_in, fd_set *fd_ou,
|
/freebsd/sys/arm64/linux/ |
H A D | linux_systrace_args.c | 609 iarg[a++] = p->fd_in; /* int */ in systrace_args() 2167 iarg[a++] = p->fd_in; /* l_int */ in systrace_args()
|
H A D | linux_proto.h | 336 char fd_in_l_[PADL_(int)]; int fd_in; char fd_in_r_[PADR_(int)]; member 1091 char fd_in_l_[PADL_(l_int)]; l_int fd_in; char fd_in_r_[PADR_(l_int)]; member
|
/freebsd/sys/amd64/linux/ |
H A D | linux_systrace_args.c | 2107 iarg[a++] = p->fd_in; /* int */ in systrace_args() 2550 iarg[a++] = p->fd_in; /* l_int */ in systrace_args()
|
H A D | linux_proto.h | 1027 char fd_in_l_[PADL_(int)]; int fd_in; char fd_in_r_[PADR_(int)]; member 1284 char fd_in_l_[PADL_(l_int)]; l_int fd_in; char fd_in_r_[PADR_(l_int)]; member
|
/freebsd/sys/compat/linux/ |
H A D | linux_file.c | 1741 error = kern_copy_file_range(td, args->fd_in, inoffp, args->fd_out, in linux_copy_file_range()
|
/freebsd/sys/i386/linux/ |
H A D | linux_systrace_args.c | 2260 iarg[a++] = p->fd_in; /* int */ in systrace_args() 2822 iarg[a++] = p->fd_in; /* l_int */ in systrace_args()
|
H A D | linux_proto.h | 1094 char fd_in_l_[PADL_(int)]; int fd_in; char fd_in_r_[PADR_(int)]; member 1422 char fd_in_l_[PADL_(l_int)]; l_int fd_in; char fd_in_r_[PADR_(l_int)]; member
|
/freebsd/sys/amd64/linux32/ |
H A D | linux32_systrace_args.c | 2225 iarg[a++] = p->fd_in; /* int */ in systrace_args() 2791 iarg[a++] = p->fd_in; /* l_int */ in systrace_args()
|
H A D | linux32_proto.h | 1096 char fd_in_l_[PADL_(int)]; int fd_in; char fd_in_r_[PADR_(int)]; member 1428 char fd_in_l_[PADL_(l_int)]; l_int fd_in; char fd_in_r_[PADR_(l_int)]; member
|
/freebsd/contrib/llvm-project/compiler-rt/lib/sanitizer_common/ |
H A D | sanitizer_common_syscalls.inc | 2883 (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,
|