HomeSort by relevance Sort by last modified time
    Searched defs:outfd (Results 1 - 15 of 15) sorted by null

  /external/curl/docs/examples/
sendrecv.c 35 fd_set infd, outfd, errfd; local
42 FD_ZERO(&outfd);
51 FD_SET(sockfd, &outfd);
55 res = select(sockfd + 1, &infd, &outfd, &errfd, &tv);
  /external/elfutils/tests/
arextract.c 85 int outfd; local
98 outfd = open (argv[3], O_CREAT | O_TRUNC | O_RDWR, 0666);
99 if (outfd == -1)
114 if (write (outfd, buf, n) != n)
138 close (outfd);
ecp.c 46 int outfd = creat (argv[2], 0666); local
47 if (outfd == -1)
50 Elf *outelf = elf_begin (outfd, ELF_C_WRITE, NULL);
94 close (outfd);
  /external/selinux/policycoreutils/hll/pp/
pp.c 73 int outfd = -1; local
137 if (outfd != -1) {
138 close(outfd);
  /external/toybox/toys/other/
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);
bzcat.c 676 int outfd = 1, rename = 0, len = strlen(name); local
685 if (toys.optflags&FLAG_t) outfd = xopen("/dev/null", O_WRONLY);
694 outfd = copy_tempfile(fd, name, &tmp);
699 err = bunzipStream(fd, outfd);
705 // can't test outfd==1 because may have been called with stdin+stdout closed
714 (err ? delete_tempfile : replace_tempfile)(-1, outfd, &tmp);
  /external/toybox/toys/posix/
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);
  /system/extras/ext4_utils/
ext2simg.c 124 int infd, outfd; local
180 outfd = open(out, O_WRONLY | O_CREAT | O_TRUNC | O_BINARY, 0644);
181 if (outfd < 0) {
186 outfd = STDOUT_FILENO;
189 write_ext4_image(outfd, gzip, sparse, crc);
190 close(outfd);
  /external/e2fsprogs/misc/
logsave.c 34 static int outfd = -1; variable
105 if (outfd > 0)
106 write_all(outfd, buffer, c);
282 outfd = open(outfn, openflags, 0644);
322 while (outfd < 0) {
323 outfd = open(outfn, openflags, 0644);
326 write_all(outfd, outbuf, outbufsize);
329 if (outfd >= 0)
330 close(outfd);
  /system/core/toolbox/
nandread.c 29 int outfd = -1; local
110 outfd = creat(filename, 0666);
111 if (outfd < 0) {
242 if (outfd >= 0) {
243 ret = write(outfd, buffer, mtdinfo.writesize + spare_size);
246 close(outfd);
247 outfd = -1;
271 if (outfd >= 0) {
  /external/compiler-rt/lib/sanitizer_common/
sanitizer_symbolizer_posix_libcdep.cc 106 int *outfd = NULL; local
127 outfd = sock_pair[i];
138 CHECK(outfd);
146 internal_close(outfd[0]);
147 internal_close(outfd[1]);
155 internal_dup2(outfd[0], STDIN_FILENO);
157 internal_close(outfd[0]);
158 internal_close(outfd[1]);
170 internal_close(outfd[0]);
173 output_fd_ = outfd[1]
    [all...]
  /system/extras/f2fs_utils/
f2fs_sparseblock.c 542 int outfd; member in struct:privdata
573 ret = lseek64(d->outfd, pos * F2FS_BLKSIZE, SEEK_SET);
579 ret = write(d->outfd, d->buf, F2FS_BLKSIZE);
597 int infd, outfd; local
603 if ((outfd = open(out, O_WRONLY|O_CREAT, S_IRUSR | S_IWUSR)) < 0) {
610 d.outfd = outfd;
626 ftruncate64(outfd, info->total_blocks * F2FS_BLKSIZE);
631 close(outfd);
  /external/elfutils/src/
unstrip.c 2026 int outfd = open (output_file, O_RDWR | O_CREAT, local
    [all...]
ld.h 782 int outfd; member in struct:ld_state
    [all...]
  /external/toybox/generated/
globals.h 410 int infd, outfd; member in struct:compress_data

Completed in 2528 milliseconds