/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);
|
/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/compiler-rt/lib/sanitizer_common/ |
sanitizer_symbolizer_process_libcdep.cc | 146 int *outfd = NULL; local 167 outfd = sock_pair[i]; 178 CHECK(outfd); 186 internal_close(outfd[0]); 187 internal_close(outfd[1]); 195 internal_dup2(outfd[0], STDIN_FILENO); 197 internal_close(outfd[0]); 198 internal_close(outfd[1]); 208 internal_close(outfd[0]); 211 output_fd_ = outfd[1] [all...] |
/external/elfutils/src/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 | 42 int outfd = creat (argv[2], 0666); local 43 if (outfd == -1) 46 Elf *outelf = elf_begin (outfd, ELF_C_WRITE, NULL); 90 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);
|
/external/iproute2/misc/ |
lnstat.h | 40 int lnstat_dump(FILE *outfd, struct lnstat_file *lnstat_files);
|
lnstat_util.c | 278 int lnstat_dump(FILE *outfd, struct lnstat_file *lnstat_files) 285 fprintf(outfd, "%s:\n", lf->path); 288 fprintf(outfd, "\t%2u: %s\n", i+1, lf->fields[i].name);
|
/external/selinux/policycoreutils/hll/pp/ |
pp.c | 73 int outfd = -1; local 137 if (outfd != -1) { 138 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 | 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/toybox/toys/pending/ |
compress.c | 133 int infd, outfd; 240 xwrite(TT.outfd, TT.data, 32768); 295 // Decompress deflated data from bitbuf to TT.outfd. 410 xwrite(TT.outfd, TT.data, TT.pos & 32767); 557 TT.outfd = 1;
|
/external/ppp/pppd/ |
main.c | [all...] |
/cts/tests/tests/media/libmediandkjni/ |
native-media-jni.cpp | 459 jclass /*clazz*/, int infd, jlong inoffset, jlong insize, int outfd, jboolean webm) { 462 AMediaMuxer *muxer = AMediaMuxer_new(outfd,
|
/external/elfutils/src/src/ |
ld.h | 782 int outfd; member in struct:ld_state [all...] |
unstrip.c | 1920 int outfd = open64 (output_file, O_RDWR | O_CREAT, local [all...] |
ldgeneric.c | [all...] |
/external/toybox/generated/ |
globals.h | 385 int infd, outfd; member in struct:compress_data
|