| /freebsd-13.1/contrib/subversion/subversion/libsvn_subr/ |
| H A D | prompt.c | 79 terminal->outfd = outfd; in terminal_handle_init() 107 apr_file_t *const outfd = terminal->outfd; in terminal_cleanup_handler() local 115 if (!status && outfd && outfd != infd) in terminal_cleanup_handler() 117 terminal->outfd = NULL; in terminal_cleanup_handler() 193 apr_file_t *outfd; in terminal_open() local 249 if (!terminal->outfd) in terminal_puts() 277 apr_file_putc('^', outfd); in echo_control_char() 278 apr_file_putc(substitute, outfd); in echo_control_char() 283 apr_file_putc(ch, outfd); in echo_control_char() 288 apr_file_putc('^', outfd); in echo_control_char() [all …]
|
| /freebsd-13.1/usr.sbin/daemon/ |
| H A D | daemon.c | 63 int outfd; member 180 outfd = open_log(outfn); in main() 181 if (outfd == -1) in main() 263 logpar.outfd = outfd; in main() 393 close(outfd); in main() 546 if (logpar->outfd != -1) { in do_output() 599 int outfd; in reopen_log() local 602 outfd = open_log(lpp->outfn); in reopen_log() 603 if (lpp->outfd >= 0) in reopen_log() 604 close(lpp->outfd); in reopen_log() [all …]
|
| /freebsd-13.1/tests/sys/cddl/zfs/tests/txg_integrity/ |
| H A D | txg_integrity.c | 309 static int outfd = 0; variable 406 pwrite(outfd, (void*)buf, size, chunk_start); in write_chunk() 432 my_sync(outfd); in follower() 461 my_sync(outfd); in leader() 501 outfd = open(argv[1], O_RDWR | O_CREAT | O_TRUNC, 0644); in main() 502 if (outfd == -1){ in main() 508 if ( ftruncate(outfd, FSIZE)){ in main() 517 if ( -1 == write(outfd, buffer, CLUSTERSIZE)){ in main() 523 if (-1 == lseek(outfd, 0, SEEK_SET)){ in main() 594 if (verify_file(outfd, patterns[pat])) { in main() [all …]
|
| H A D | fsync_integrity.c | 280 static int outfd = 0; variable 365 pwrite(outfd, (void*)buf, size, chunk_start); in write_chunk() 401 my_sync(outfd); in worker() 436 outfd = open(argv[1], O_RDWR | O_CREAT | O_TRUNC, 0644); in main() 437 if (outfd == -1){ in main() 443 if ( ftruncate(outfd, FSIZE)){ in main() 452 if ( -1 == write(outfd, buffer, CLUSTERSIZE)){ in main() 458 if (-1 == lseek(outfd, 0, SEEK_SET)){ in main() 503 if (verify_file(outfd, patterns[pat])) { in main() 509 if (close(outfd)){ in main()
|
| /freebsd-13.1/usr.bin/mail/ |
| H A D | popen.c | 216 start_commandv(char *cmd, sigset_t *nset, int infd, int outfd, va_list args) in start_commandv() argument 231 prepare_child(nset, infd, outfd); in start_commandv() 240 run_command(char *cmd, sigset_t *nset, int infd, int outfd, ...) in run_command() argument 245 va_start(args, outfd); in run_command() 246 pid = start_commandv(cmd, nset, infd, outfd, args); in run_command() 254 start_command(char *cmd, sigset_t *nset, int infd, int outfd, ...) in start_command() argument 259 va_start(args, outfd); in start_command() 260 r = start_commandv(cmd, nset, infd, outfd, args); in start_command() 266 prepare_child(sigset_t *nset, int infd, int outfd) in prepare_child() argument 277 if (outfd >= 0) in prepare_child() [all …]
|
| /freebsd-13.1/sys/contrib/openzfs/tests/zfs-tests/cmd/threadsappend/ |
| H A D | threadsappend.c | 61 static int outfd = 0; variable 71 ret = write(outfd, buf, sizeof (buf)); in go() 111 outfd = open(argv[optind++], O_RDWR|O_CREAT|O_APPEND|O_TRUNC, 0777); in main() 112 if (outfd == -1) { in main()
|
| /freebsd-13.1/tests/sys/cddl/zfs/tests/threadsappend/ |
| H A D | threadsappend.c | 60 static int outfd = 0; variable 71 ret = write(outfd, buf, sizeof (buf)); in go() 109 outfd = open(argv[optind++], O_RDWR|O_CREAT|O_APPEND|O_TRUNC, 0777); in main() 110 if (outfd == -1) { in main()
|
| /freebsd-13.1/contrib/llvm-project/compiler-rt/lib/sanitizer_common/ |
| H A D | sanitizer_symbolizer_posix_libcdep.cpp | 96 int *outfd = NULL; in CreateTwoHighNumberedPipes() local 115 outfd = sock_pair[i]; in CreateTwoHighNumberedPipes() 126 CHECK(outfd); in CreateTwoHighNumberedPipes() 129 outfd_[0] = outfd[0]; in CreateTwoHighNumberedPipes() 130 outfd_[1] = outfd[1]; in CreateTwoHighNumberedPipes() 172 fd_t infd[2] = {}, outfd[2] = {}; in StartSymbolizerSubprocess() local 173 if (!CreateTwoHighNumberedPipes(infd, outfd)) { in StartSymbolizerSubprocess() 179 pid = StartSubprocess(path_, argv, GetEnvP(), /* stdin */ outfd[0], in StartSymbolizerSubprocess() 183 internal_close(outfd[1]); in StartSymbolizerSubprocess() 188 output_fd_ = outfd[1]; in StartSymbolizerSubprocess()
|
| /freebsd-13.1/usr.sbin/nghook/ |
| H A D | main.c | 67 static int outfd = STDOUT_FILENO; variable 114 outfd = STDIN_FILENO; in main() 215 else if ((wl = write(outfd, buf, rl)) != rl) { in main() 280 (void) write(outfd, sbuf, strlen(sbuf)); in WriteAscii() 283 write(outfd, &ch, 1); in WriteAscii()
|
| /freebsd-13.1/usr.sbin/dconschat/ |
| H A D | dconschat.c | 119 int outfd; member 169 write(p->outfd, buf, strlen(buf)); in dconschat_reset_target() 201 write(p->outfd, buf, strlen(buf)); in dconschat_sigchld() 220 write(p->outfd, buf, strlen(buf)); in dconschat_fork_gdb() 637 p->infd = p->outfd = -1; in dconschat_init_socket() 646 p->outfd = STDOUT_FILENO; in dconschat_init_socket() 739 p->infd = p->outfd = ns; in dconschat_accept_socket() 817 write(p->outfd, sp, 1); in dconschat_read_filter() 818 write(p->outfd, "\r\n", 2); in dconschat_read_filter() 879 close(p->outfd); in dconschat_read_socket() [all …]
|
| /freebsd-13.1/sys/contrib/openzfs/include/sys/ |
| H A D | dmu_send.h | 54 const char *redactbook, int outfd, offset_t *off, 61 boolean_t rawok, boolean_t savedok, int outfd, offset_t *off,
|
| /freebsd-13.1/sys/contrib/openzfs/cmd/zstream/ |
| H A D | zstream_redup.c | 118 zio_cksum_t *zc, int outfd) in dump_record() argument 131 if (write(outfd, drr, sizeof (*drr)) == -1) in dump_record() 135 if (write(outfd, payload, payload_len) == -1) in dump_record() 187 zfs_redup_stream(int infd, int outfd, boolean_t verbose) in zfs_redup_stream() argument 388 &stream_cksum, outfd) != 0) in zfs_redup_stream()
|
| /freebsd-13.1/usr.sbin/edquota/ |
| H A D | edquota.c | 476 writeprivs(struct quotause *quplist, int outfd, char *name, int quotatype) in writeprivs() argument 481 ftruncate(outfd, 0); in writeprivs() 482 lseek(outfd, 0, L_SET); in writeprivs() 483 if ((fd = fdopen(dup(outfd), "w")) == NULL) in writeprivs() 690 writetimes(struct quotause *quplist, int outfd, int quotatype) in writetimes() argument 695 ftruncate(outfd, 0); in writetimes() 696 lseek(outfd, 0, L_SET); in writetimes() 697 if ((fd = fdopen(dup(outfd), "w")) == NULL) in writetimes()
|
| /freebsd-13.1/contrib/bmake/ |
| H A D | meta.c | 1677 int outfd, metafd, maxfd, nfds; in meta_compat_parent() local 1683 outfd = childPipe[0]; in meta_compat_parent() 1690 if (outfd > maxfd) in meta_compat_parent() 1691 maxfd = outfd; in meta_compat_parent() 1695 while (outfd != -1 || metafd != -1) { in meta_compat_parent() 1697 if (outfd != -1) { in meta_compat_parent() 1698 FD_SET(outfd, &readfds); in meta_compat_parent() 1710 if (outfd != -1 && FD_ISSET(outfd, &readfds) != 0) do { in meta_compat_parent() 1712 ssize_t nread = read(outfd, buf, sizeof buf - 1); in meta_compat_parent() 1716 close(outfd); in meta_compat_parent() [all …]
|
| /freebsd-13.1/usr.bin/mkimg/ |
| H A D | mkimg.c | 561 int bcfd, outfd; in main() local 565 outfd = 1; /* Write to stdout by default */ in main() 599 if (outfd != 1) in main() 601 outfd = open(optarg, O_WRONLY | O_CREAT | O_TRUNC, in main() 603 if (outfd == -1) in main() 730 error = format_write(outfd); in main()
|
| /freebsd-13.1/usr.sbin/pmc/ |
| H A D | cmd_pmc_filter.cc | 202 int outfd) in pmc_filter_handler() argument 257 pmc_log_event(outfd, &ev, json); in pmc_filter_handler() 297 pmc_log_event(outfd, &ev, json); in pmc_filter_handler()
|
| /freebsd-13.1/contrib/less/ |
| H A D | output.c | 84 static int outfd = 2; /* stderr */ variable 393 if (write(outfd, obuf, n) != n) in flush() 405 outfd = fd;
|
| /freebsd-13.1/sys/contrib/openzfs/lib/libzfs/ |
| H A D | libzfs_sendrecv.c | 90 zio_cksum_t *zc, int outfd) in dump_record() argument 103 if (write(outfd, drr, sizeof (*drr)) == -1) in dump_record() 107 if (write(outfd, payload, payload_len) == -1) in dump_record() 715 int outfd; member 799 zc.zc_cookie = outfd; in dump_ioctl() 1119 pa.pa_fd = sdd->outfd; in dump_snapshot() 1132 fromorigin, sdd->outfd, flags, sdd->debugnv); in dump_snapshot() 1763 pa.pa_fd = outfd; in zfs_send_resume_impl() 2174 err = send_prelim_records(tosnap, fromsnap, outfd, in zfs_send() 2188 sdd.outfd = outfd; in zfs_send() [all …]
|
| H A D | libzfs_diff.c | 728 zfs_show_diffs(zfs_handle_t *zhp, int outfd, const char *fromsnap, in zfs_show_diffs() argument 756 di.outputfd = outfd; in zfs_show_diffs()
|
| /freebsd-13.1/contrib/elftoolchain/elfcopy/ |
| H A D | main.c | 219 int infd, int *outfd, int in_place); 596 copy_from_tempfile(const char *src, const char *dst, int infd, int *outfd, in copy_from_tempfile() argument 606 *outfd = infd; in copy_from_tempfile() 643 *outfd = tmpfd; in copy_from_tempfile()
|
| /freebsd-13.1/sys/contrib/openzfs/module/zfs/ |
| H A D | dmu_send.c | 1942 int outfd; member 2214 dssp->dss_outfd = dspp->outfd; in setup_send_progress() 2640 boolean_t rawok, boolean_t savedok, int outfd, offset_t *off, in dmu_send_obj() argument 2650 dspp.outfd = outfd; in dmu_send_obj() 2727 const char *redactbook, int outfd, offset_t *off, in dmu_send() argument 2742 dspp.outfd = outfd; in dmu_send()
|
| /freebsd-13.1/sys/contrib/openzfs/include/ |
| H A D | libzfs.h | 723 extern int zfs_send_resume(libzfs_handle_t *, sendflags_t *, int outfd,
|
| /freebsd-13.1/usr.sbin/lpr/lpd/ |
| H A D | printjob.c | 1353 execfilter(struct printer *pp, char *f_cmd, char *f_av[], int infd, int outfd) in execfilter() argument 1419 dup2(outfd, STDOUT_FILENO); in execfilter()
|
| /freebsd-13.1/contrib/tnftp/src/ |
| H A D | ftp.c | 584 copy_bytes(int infd, int outfd, char *buf, size_t bufsize, in copy_bytes() argument 616 outc = write(outfd, bufp, inc); in copy_bytes()
|
| /freebsd-13.1/sys/sys/ |
| H A D | syscallsubr.h | 116 int outfd, off_t *outoffp, size_t len, unsigned int flags);
|