Home
last modified time | relevance | path

Searched refs:outfd (Results 1 – 9 of 9) sorted by relevance

/external/e2fsprogs/misc/
Dlogsave.c34 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/
Dext2simg.c185 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/
Dsanitizer_symbolizer_posix_libcdep.cc203 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/
Dlnstat_util.c278 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()
Dlnstat.h40 int lnstat_dump(FILE *outfd, struct lnstat_file *lnstat_files);
/external/ppp/pppd/
Dmain.c1510 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/
Dld.h790 int outfd; member
Dunstrip.c1908 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()
Dldgeneric.c2687 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()