/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((int)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/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 | 678 int outfd = 1, rename = 0, len = strlen(name); local 687 if (toys.optflags&FLAG_t) outfd = xopen("/dev/null", O_WRONLY); 696 outfd = copy_tempfile(fd, name, &tmp); 701 err = bunzipStream(fd, outfd); 707 // can't test outfd==1 because may have been called with stdin+stdout closed 716 (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);
|
/external/selinux/policycoreutils/hll/pp/ |
pp.c | 76 int outfd = -1; local 162 if (outfd != -1) { 163 close(outfd);
|
/external/e2fsprogs/misc/ |
logsave.c | 35 static int outfd = -1; variable 106 if (outfd > 0) 107 write_all(outfd, buffer, c); 283 outfd = open(outfn, openflags, 0644); 323 while (outfd < 0) { 324 outfd = open(outfn, openflags, 0644); 327 write_all(outfd, outbuf, outbufsize); 330 if (outfd >= 0) 331 close(outfd);
|
/external/toolchain-utils/cros_utils/ |
command_executer.py | 612 outfd = pobject.stdout.fileno() variable in class:CommandExecuter.RunCommand2.StreamHandler 613 poll.register(outfd, select.POLLIN | select.POLLPRI) 615 outfd: StreamHandler(pobject, outfd, 'stdout', line_consumer)
|
/external/compiler-rt/lib/sanitizer_common/ |
sanitizer_symbolizer_posix_libcdep.cc | 160 int *outfd = NULL; local 181 outfd = sock_pair[i]; 192 CHECK(outfd); 196 pid = StartSubprocess(path_, argv, /* stdin */ outfd[0], 200 internal_close(outfd[1]); 205 output_fd_ = outfd[1];
|
/external/libgsm/src/ |
toast.c | 505 int outfd = -1; local 510 if ((outfd = open(o, O_WRITE_EXCL, 0666)) >= 0) 511 out = fdopen(outfd, WRITE); 521 if (outfd >= 0) (void)close(outfd);
|
/system/extras/f2fs_utils/ |
f2fs_sparseblock.c | 545 int outfd; member in struct:privdata 576 ret = lseek64(d->outfd, pos * F2FS_BLKSIZE, SEEK_SET); 582 ret = write(d->outfd, d->buf, F2FS_BLKSIZE); 600 int infd, outfd; local 606 if ((outfd = open(out, O_WRONLY|O_CREAT, S_IRUSR | S_IWUSR)) < 0) { 613 d.outfd = outfd; 629 ftruncate64(outfd, info->total_blocks * F2FS_BLKSIZE); 634 close(outfd);
|
/external/ltp/testcases/kernel/fs/doio/ |
iogen.c | 382 int rseed, outfd, infinite; local 401 outfd = 1; 403 outfd = init_output(); 439 if (write(outfd, (char *)&req, sizeof(req)) == -1) 533 int outfd; local 559 if ((outfd = open(Outpipe, O_RDWR)) == -1) { 566 return (outfd); [all...] |
/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/ltp/testcases/kernel/fs/scsi/ltpscsi/ |
scsimain.c | 223 int outfd; member in struct:request_collection 248 int outfd; member in struct:request_element 2212 int infd, outfd, blocks; local 6285 int infd, outfd, blocks; local [all...] |
/external/toybox/generated/ |
globals.h | 482 int infd, outfd; member in struct:compress_data
|