Searched refs:outfd (Results 1 – 9 of 9) sorted by relevance
/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/qemu/distrib/ext4_utils/src/ |
D | ext2simg.c | 185 int infd, outfd; in main() local 241 outfd = open(out, O_WRONLY | O_CREAT | O_TRUNC | O_BINARY, 0644); in main() 242 if (outfd < 0) { in main() 247 outfd = STDOUT_FILENO; in main() 250 write_ext4_image(outfd, gzip, sparse, crc); in main() 251 close(outfd); in main()
|
/external/compiler-rt/lib/sanitizer_common/ |
D | sanitizer_symbolizer_posix_libcdep.cc | 203 int *outfd = NULL; in StartSymbolizerSubprocess() local 224 outfd = sock_pair[i]; in StartSymbolizerSubprocess() 235 CHECK(outfd); in StartSymbolizerSubprocess() 243 internal_close(outfd[0]); in StartSymbolizerSubprocess() 244 internal_close(outfd[1]); in StartSymbolizerSubprocess() 252 internal_dup2(outfd[0], STDIN_FILENO); in StartSymbolizerSubprocess() 254 internal_close(outfd[0]); in StartSymbolizerSubprocess() 255 internal_close(outfd[1]); in StartSymbolizerSubprocess() 265 internal_close(outfd[0]); in StartSymbolizerSubprocess() 268 output_fd_ = outfd[1]; in StartSymbolizerSubprocess()
|
/external/iproute2/misc/ |
D | lnstat_util.c | 278 int lnstat_dump(FILE *outfd, struct lnstat_file *lnstat_files) in lnstat_dump() argument 285 fprintf(outfd, "%s:\n", lf->path); in lnstat_dump() 288 fprintf(outfd, "\t%2u: %s\n", i+1, lf->fields[i].name); in lnstat_dump()
|
D | lnstat.h | 40 int lnstat_dump(FILE *outfd, struct lnstat_file *lnstat_files);
|
/external/ppp/pppd/ |
D | main.c | 1510 safe_fork(int infd, int outfd, int errfd) in safe_fork() argument 1549 if (outfd == 0 || outfd == 2) in safe_fork() 1550 outfd = dup(outfd); in safe_fork() 1557 if (outfd != 1) in safe_fork() 1558 dup2(outfd, 1); in safe_fork() 1575 if (outfd != 1) in safe_fork() 1576 close(outfd); in safe_fork()
|
/external/elfutils/0.153/src/ |
D | ld.h | 790 int outfd; member
|
D | unstrip.c | 1908 int outfd = open64 (output_file, O_RDWR | O_CREAT, in handle_file() local 1910 if (outfd < 0) in handle_file() 1912 Elf *outelf = elf_begin (outfd, ELF_C_WRITE, NULL); in handle_file() 1931 close (outfd); in handle_file()
|
D | ldgeneric.c | 2687 ld_state.outfd = fd; in ld_generic_open_outfile() 6991 if (fstat (ld_state.outfd, &temp_st) != 0) in ld_generic_finalize() 7013 (void) close (ld_state.outfd); in ld_generic_finalize()
|