Home
last modified time | relevance | path

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

/external/compiler-rt/lib/sanitizer_common/
Dsanitizer_symbolizer_process_libcdep.cc146 int *outfd = NULL; in StartSymbolizerSubprocess() local
167 outfd = sock_pair[i]; in StartSymbolizerSubprocess()
178 CHECK(outfd); in StartSymbolizerSubprocess()
186 internal_close(outfd[0]); in StartSymbolizerSubprocess()
187 internal_close(outfd[1]); in StartSymbolizerSubprocess()
195 internal_dup2(outfd[0], STDIN_FILENO); in StartSymbolizerSubprocess()
197 internal_close(outfd[0]); in StartSymbolizerSubprocess()
198 internal_close(outfd[1]); in StartSymbolizerSubprocess()
208 internal_close(outfd[0]); in StartSymbolizerSubprocess()
211 output_fd_ = outfd[1]; in StartSymbolizerSubprocess()
/external/toybox/toys/posix/
Dsplit.c41 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/
Ddos2unix.c37 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);
/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/elfutils/src/tests/
Darextract.c85 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()
Decp.c42 int outfd = creat (argv[2], 0666); in main() local
43 if (outfd == -1) in main()
46 Elf *outelf = elf_begin (outfd, ELF_C_WRITE, NULL); in main()
90 close (outfd); in main()
/external/selinux/policycoreutils/hll/pp/
Dpp.c73 int outfd = -1; in main() local
137 if (outfd != -1) { in main()
138 close(outfd); in main()
/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/toybox/toys/pending/
Dcompress.c133 int infd, outfd;
240 xwrite(TT.outfd, TT.data, 32768); in data_crc()
410 xwrite(TT.outfd, TT.data, TT.pos & 32767); in inflate()
557 TT.outfd = 1; in do_zcat()
/external/ppp/pppd/
Dmain.c1591 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/src/
Dunstrip.c1920 int outfd = open64 (output_file, O_RDWR | O_CREAT, in handle_file() local
1922 if (outfd < 0) in handle_file()
1924 Elf *outelf = elf_begin (outfd, ELF_C_WRITE, NULL); in handle_file()
1943 close (outfd); in handle_file()
Dld.h782 int outfd; member
Dldgeneric.c2679 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/
Dglobals.h385 int infd, outfd; member