/external/qemu/distrib/ext4_utils/src/ |
ext2simg.c | 185 int infd, outfd; local 241 outfd = open(out, O_WRONLY | O_CREAT | O_TRUNC | O_BINARY, 0644); 242 if (outfd < 0) { 247 outfd = STDOUT_FILENO; 250 write_ext4_image(outfd, gzip, sparse, crc); 251 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) {
|
/system/extras/f2fs_utils/ |
f2fs_sparseblock.c | 531 int outfd; member in struct:privdata 562 ret = lseek64(d->outfd, pos*F2FS_BLKSIZE, SEEK_SET); 568 ret = write(d->outfd, d->buf, F2FS_BLKSIZE); 586 int infd, outfd; local 592 if ((outfd = open(out, O_WRONLY|O_CREAT, S_IRUSR | S_IWUSR)) < 0) { 599 d.outfd = outfd; 615 ftruncate64(outfd, info->total_blocks * F2FS_BLKSIZE); 620 close(outfd);
|
/external/compiler-rt/lib/sanitizer_common/ |
sanitizer_symbolizer_posix_libcdep.cc | 203 int *outfd = NULL; local 224 outfd = sock_pair[i]; 235 CHECK(outfd); 243 internal_close(outfd[0]); 244 internal_close(outfd[1]); 252 internal_dup2(outfd[0], STDIN_FILENO); 254 internal_close(outfd[0]); 255 internal_close(outfd[1]); 265 internal_close(outfd[0]); 268 output_fd_ = outfd[1] [all...] |
/external/elfutils/0.153/src/ |
unstrip.c | 1908 int outfd = open64 (output_file, O_RDWR | O_CREAT, local [all...] |
ld.h | 790 int outfd; member in struct:ld_state [all...] |