/external/bluetooth/glib/tests/ |
spawn-test-win32-gui.c | 46 int outfd = atoi (__argv[3]); local 49 if (infd < 0 || outfd < 0) 60 if (write (outfd, &n, sizeof (n)) == -1 || 61 write (outfd, "Hello there", n) == -1) 96 if (write (outfd, &n, sizeof (n)) == -1 || 97 write (outfd, "See ya", n) == -1)
|
/external/elfutils/tests/ |
arextract.c | 81 int outfd; local 94 outfd = open (argv[3], O_CREAT | O_TRUNC | O_RDWR, 0666); 95 if (outfd == -1) 110 if (write (outfd, buf, n) != n) 134 close (outfd);
|
ecp.c | 38 int outfd = creat (argv[2], 0666); local 39 if (outfd == -1) 42 Elf *outelf = elf_begin (outfd, ELF_C_WRITE, NULL); 85 close (outfd);
|
/external/e2fsprogs/misc/ |
logsave.c | 34 int outfd = -1; variable 105 if (outfd > 0) 106 write_all(outfd, buffer, c); 281 outfd = open(outfn, openflags, 0644); 321 while (outfd < 0) { 322 outfd = open(outfn, openflags, 0644); 325 write_all(outfd, outbuf, outbufsize); 328 close(outfd);
|
/system/core/toolbox/ |
nandread.c | 28 int outfd = -1; local 109 outfd = creat(filename, 0666); 110 if (outfd < 0) { 241 if (outfd >= 0) { 242 ret = write(outfd, buffer, mtdinfo.writesize + spare_size); 245 close(outfd); 246 outfd = -1; 270 if (outfd >= 0) {
|
/external/elfutils/src/ |
ld.h | 757 int outfd; member in struct:ld_state
|