/external/toybox/toys/posix/ |
D | split.c | 41 int outfd = -1; local 70 if (outfd != -1) close(outfd); 71 outfd = xcreate(TT.outfile, O_RDWR|O_CREAT|O_TRUNC, st.st_mode & 0777); 86 xwrite(outfd, toybuf+pos, j); 91 if (outfd != -1) close(outfd);
|
/external/toybox/toys/other/ |
D | dos2unix.c | 37 int outfd = 1, catch = 0; local 39 if (fd) outfd = copy_tempfile(fd, name, &TT.tempfile); 61 xwrite(outfd, toybuf, out); 63 if (catch) xwrite(outfd, "\r", 1); 65 if (fd) replace_tempfile(-1, outfd, &TT.tempfile);
|
D | bzcat.c | 676 int outfd = 1, rename = 0, len = strlen(name); in do_bunzip2() local 685 if (toys.optflags&FLAG_t) outfd = xopen("/dev/null", O_WRONLY); in do_bunzip2() 694 outfd = copy_tempfile(fd, name, &tmp); in do_bunzip2() 699 err = bunzipStream(fd, outfd); in do_bunzip2() 714 (err ? delete_tempfile : replace_tempfile)(-1, outfd, &tmp); in do_bunzip2()
|
/external/e2fsprogs/misc/ |
D | logsave.c | 34 static int outfd = -1; variable 105 if (outfd > 0) in send_output() 106 write_all(outfd, buffer, c); in send_output() 282 outfd = open(outfn, openflags, 0644); in main() 322 while (outfd < 0) { in main() 323 outfd = open(outfn, openflags, 0644); in main() 326 write_all(outfd, outbuf, outbufsize); in main() 329 if (outfd >= 0) in main() 330 close(outfd); in main()
|
/external/elfutils/tests/ |
D | arextract.c | 85 int outfd; in main() local 98 outfd = open (argv[3], O_CREAT | O_TRUNC | O_RDWR, 0666); in main() 99 if (outfd == -1) in main() 114 if (write (outfd, buf, n) != n) in main() 138 close (outfd); in main()
|
D | ecp.c | 46 int outfd = creat (argv[2], 0666); in main() local 47 if (outfd == -1) in main() 50 Elf *outelf = elf_begin (outfd, ELF_C_WRITE, NULL); in main() 94 close (outfd); in main()
|
/external/compiler-rt/lib/sanitizer_common/ |
D | sanitizer_symbolizer_posix_libcdep.cc | 106 int *outfd = NULL; in StartSymbolizerSubprocess() local 127 outfd = sock_pair[i]; in StartSymbolizerSubprocess() 138 CHECK(outfd); in StartSymbolizerSubprocess() 146 internal_close(outfd[0]); in StartSymbolizerSubprocess() 147 internal_close(outfd[1]); in StartSymbolizerSubprocess() 155 internal_dup2(outfd[0], STDIN_FILENO); in StartSymbolizerSubprocess() 157 internal_close(outfd[0]); in StartSymbolizerSubprocess() 158 internal_close(outfd[1]); in StartSymbolizerSubprocess() 170 internal_close(outfd[0]); in StartSymbolizerSubprocess() 173 output_fd_ = outfd[1]; in StartSymbolizerSubprocess()
|
/external/curl/docs/examples/ |
D | sendrecv.c | 32 fd_set infd, outfd, errfd; in wait_on_socket() local 39 FD_ZERO(&outfd); in wait_on_socket() 50 FD_SET(sockfd, &outfd); in wait_on_socket() 54 res = select(sockfd + 1, &infd, &outfd, &errfd, &tv); in wait_on_socket()
|
/external/selinux/policycoreutils/hll/pp/ |
D | pp.c | 73 int outfd = -1; in main() local 137 if (outfd != -1) { in main() 138 close(outfd); in main()
|
/external/iproute2/misc/ |
D | lnstat_util.c | 282 int lnstat_dump(FILE *outfd, struct lnstat_file *lnstat_files) in lnstat_dump() argument 289 fprintf(outfd, "%s:\n", lf->path); in lnstat_dump() 292 fprintf(outfd, "\t%2u: %s\n", i+1, lf->fields[i].name); in lnstat_dump()
|
D | lnstat.h | 41 int lnstat_dump(FILE *outfd, struct lnstat_file *lnstat_files);
|
/external/toybox/toys/pending/ |
D | compress.c | 133 int infd, outfd; 242 xwrite(TT.outfd, TT.data, 32768); in output_byte() 412 xwrite(TT.outfd, TT.data, TT.pos & 32767); in inflate() 559 TT.outfd = 1; in do_zcat()
|
/external/ppp/pppd/ |
D | main.c | 1591 safe_fork(int infd, int outfd, int errfd) in safe_fork() argument 1630 if (outfd == 0 || outfd == 2) in safe_fork() 1631 outfd = dup(outfd); in safe_fork() 1640 if (outfd != 1) in safe_fork() 1641 dup2(outfd, 1); in safe_fork() 1655 if (outfd != 1) in safe_fork() 1656 close(outfd); in safe_fork()
|
/external/elfutils/src/ |
D | unstrip.c | 2026 int outfd = open (output_file, O_RDWR | O_CREAT, in handle_file() local 2028 if (outfd < 0) in handle_file() 2030 Elf *outelf = elf_begin (outfd, ELF_C_WRITE, NULL); in handle_file() 2049 close (outfd); in handle_file()
|
D | ld.h | 782 int outfd; member
|
D | ldgeneric.c | 2679 ld_state.outfd = fd; in ld_generic_open_outfile() 6983 if (fstat (ld_state.outfd, &temp_st) != 0) in ld_generic_finalize() 7005 (void) close (ld_state.outfd); in ld_generic_finalize()
|
/external/toybox/generated/ |
D | globals.h | 410 int infd, outfd; member
|