/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 | 39 int outfd = -1; local 68 if (outfd != -1) close(outfd); 69 outfd = xcreate(TT.outfile, O_RDWR|O_CREAT|O_TRUNC, st.st_mode & 0777); 84 xwrite(outfd, toybuf+pos, j); 89 if (outfd != -1) close(outfd);
|
/external/libnfnetlink/src/ |
iftable.h | 10 int iftable_dump(FILE *outfd);
|
/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/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/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/iproute2/misc/ |
lnstat.h | 41 int lnstat_dump(FILE *outfd, struct lnstat_file *lnstat_files);
|
lnstat_util.c | 280 int lnstat_dump(FILE *outfd, struct lnstat_file *lnstat_files) 287 fprintf(outfd, "%s:\n", lf->path); 290 fprintf(outfd, "\t%2u: %s\n", i+1, lf->fields[i].name);
|
/external/syzkaller/vendor/golang.org/x/sys/unix/ |
syscall_dragonfly_amd64.go | 40 func sendfile(outfd int, infd int, offset *int64, count int) (written int, err error) { 42 _, _, e1 := Syscall9(SYS_SENDFILE, uintptr(infd), uintptr(outfd), uintptr(*offset), uintptr(count), 0, uintptr(unsafe.Pointer(&writtenOut)), 0, 0, 0)
|
syscall_freebsd_amd64.go | 40 func sendfile(outfd int, infd int, offset *int64, count int) (written int, err error) { 42 _, _, e1 := Syscall9(SYS_SENDFILE, uintptr(infd), uintptr(outfd), uintptr(*offset), uintptr(count), 0, uintptr(unsafe.Pointer(&writtenOut)), 0, 0, 0)
|
syscall_darwin_386.go | 51 func sendfile(outfd int, infd int, offset *int64, count int) (written int, err error) { 54 _, _, e1 := Syscall9(SYS_SENDFILE, uintptr(infd), uintptr(outfd), uintptr(*offset), uintptr(*offset>>32), uintptr(unsafe.Pointer(&length)), 0, 0, 0, 0)
|
syscall_darwin_amd64.go | 51 func sendfile(outfd int, infd int, offset *int64, count int) (written int, err error) { 54 _, _, e1 := Syscall6(SYS_SENDFILE, uintptr(infd), uintptr(outfd), uintptr(*offset), uintptr(unsafe.Pointer(&length)), 0, 0)
|
syscall_darwin_arm.go | 49 func sendfile(outfd int, infd int, offset *int64, count int) (written int, err error) { 52 _, _, e1 := Syscall9(SYS_SENDFILE, uintptr(infd), uintptr(outfd), uintptr(*offset), uintptr(*offset>>32), uintptr(unsafe.Pointer(&length)), 0, 0, 0, 0)
|
syscall_darwin_arm64.go | 51 func sendfile(outfd int, infd int, offset *int64, count int) (written int, err error) { 54 _, _, e1 := Syscall6(SYS_SENDFILE, uintptr(infd), uintptr(outfd), uintptr(*offset), uintptr(unsafe.Pointer(&length)), 0, 0)
|
syscall_freebsd_386.go | 40 func sendfile(outfd int, infd int, offset *int64, count int) (written int, err error) { 42 _, _, e1 := Syscall9(SYS_SENDFILE, uintptr(infd), uintptr(outfd), uintptr(*offset), uintptr((*offset)>>32), uintptr(count), 0, uintptr(unsafe.Pointer(&writtenOut)), 0, 0)
|
syscall_freebsd_arm.go | 40 func sendfile(outfd int, infd int, offset *int64, count int) (written int, err error) { 42 _, _, e1 := Syscall9(SYS_SENDFILE, uintptr(infd), uintptr(outfd), uintptr(*offset), uintptr((*offset)>>32), uintptr(count), 0, uintptr(unsafe.Pointer(&writtenOut)), 0, 0)
|
/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/toybox/lib/ |
deflate.c | 29 int infd, outfd; member in struct:deflate 137 xwrite(dd->outfd, dd->data, 32768); 193 // Decompress deflated data from bitbuf to dd->outfd. 308 xwrite(dd->outfd, dd->data, dd->pos&32767); 425 long long gzip_fd(int infd, int outfd) 427 struct bitbuf *bb = bitbuf_init(outfd, 4096); 459 long long gunzip_fd(int infd, int outfd) 466 dd->outfd = outfd;
|
/external/u-boot/tools/ |
mxsboot.c | 464 static int mx28_create_nand_image(int infd, int outfd) 513 wr_size = write(outfd, buf, size); 531 static int mx28_create_sd_image(int infd, int outfd) 568 wr_size = write(outfd, buf, size); 639 int infd, outfd; local 657 outfd = open(argv[offset + 2], O_CREAT | O_TRUNC | O_WRONLY, 659 if (outfd < 0) { 666 ret = mx28_create_sd_image(infd, outfd); 668 ret = mx28_create_nand_image(infd, outfd); 670 close(outfd); [all...] |
/external/u-boot/tools/patman/ |
patchstream.py | 348 def ProcessStream(self, infd, outfd): 349 """Copy a stream from infd to outfd, filtering out unwanting things. 355 outfd: Output stream file object 379 outfd.write('+\n' * self.blank_count) 380 outfd.write(line + '\n') 455 outfd = os.fdopen(handle, 'w') 459 ps.ProcessStream(infd, outfd) 461 outfd.close()
|
/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/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);
|
/external/ppp/pppd/ |
main.c | [all...] |