/external/dropbear/ |
D | netbsd_getpass.c | 93 (void)tcgetattr(fileno(fp), &term); 96 (void)tcsetattr(fileno(fp), TCSAFLUSH /*|TCSASOFT*/, &term); 105 (void)write(fileno(outfp), "\n", 1); 108 (void)tcsetattr(fileno(fp), TCSAFLUSH/*|TCSASOFT*/, &term);
|
/external/qemu/android/utils/ |
D | debug.c | 116 out_fd = fileno(stdout); in stdio_disable() 117 err_fd = fileno(stderr); in stdio_disable() 133 out_fd = fileno(stdout); in stdio_enable() 134 err_fd = fileno(stderr); in stdio_enable()
|
/external/jpeg/ |
D | cdjpeg.c | 154 setmode(fileno(stdin), O_BINARY); in read_stdin() 157 if ((input_file = fdopen(fileno(stdin), READ_BINARY)) == NULL) { in read_stdin() 172 setmode(fileno(stdout), O_BINARY); in write_stdout() 175 if ((output_file = fdopen(fileno(stdout), WRITE_BINARY)) == NULL) { in write_stdout()
|
D | wrjpgcom.c | 492 setmode(fileno(stdin), O_BINARY); in main() 495 if ((infile = fdopen(fileno(stdin), READ_BINARY)) == NULL) { in main() 524 setmode(fileno(stdout), O_BINARY); in main() 527 if ((outfile = fdopen(fileno(stdout), WRITE_BINARY)) == NULL) { in main()
|
D | rdjpgcom.c | 478 setmode(fileno(stdin), O_BINARY); in main() 481 if ((infile = fdopen(fileno(stdin), READ_BINARY)) == NULL) { in main()
|
/external/zlib/ |
D | minigzip.c | 38 # define SET_BINARY_MODE(file) setmode(fileno(file), O_BINARY) 50 # define fileno(file) file->__file macro 206 int ifd = fileno(in); 397 file = gzdopen(fileno(stdin), "rb"); 401 file = gzdopen(fileno(stdout), outmode); 427 file = gzdopen(fileno(stdout), outmode);
|
/external/bluetooth/bluez/sbc/ |
D | sbcenc.c | 70 fd = fileno(stdin); in encode() 74 if (fd > fileno(stderr)) in encode() 184 len = write(fileno(stdout), output, outp - output); in encode() 202 if (fd > fileno(stderr)) in encode()
|
/external/stlport/src/ |
D | _stdio_file.h | 72 inline int _FILE_fd(const FILE *__f) { return fileno(__CONST_CAST(FILE*, __f)); } 91 inline int _FILE_fd(const FILE *__f) { return ::fileno(__CONST_CAST(FILE*, __f)); }
|
/external/dhcpcd/ |
D | common.c | 152 dup2(fd, fileno(stdin)); in close_fds() 153 dup2(fd, fileno(stdout)); in close_fds() 154 dup2(fd, fileno(stderr)); in close_fds()
|
/external/chromium/base/ |
D | shared_memory_posix.cc | 207 if (fstat(fileno(fp), &stat) != 0) in CreateOrOpen() 211 if (ftruncate(fileno(fp), size) != 0) in CreateOrOpen() 218 mapped_file_ = dup(fileno(fp)); in CreateOrOpen()
|
/external/chromium/third_party/icu/source/io/ |
D | ufile.c | 40 #if defined(U_WINDOWS) && !defined(fileno) 42 #define fileno _fileno macro 61 result->fFileno = fileno(f); in u_finit()
|
/external/v8/tools/ |
D | stats-viewer.py | 114 size = os.fstat(data_file.fileno()).st_size 115 fileno = data_file.fileno() 116 self.shared_mmap = mmap.mmap(fileno, size, access=mmap.ACCESS_READ)
|
/external/icu4c/io/ |
D | ufile.c | 40 #if defined(U_WINDOWS) && !defined(fileno) 42 #define fileno _fileno macro 63 result->fFileno = fileno(f); in finit_owner()
|
/external/openssl/crypto/rc4/ |
D | rc4.c | 149 setmode(fileno(in),O_BINARY); in main() 150 setmode(fileno(out),O_BINARY); in main()
|
/external/zlib/contrib/iostream2/ |
D | zstream.h | 35 # define SET_BINARY_MODE(file) setmode(fileno(file), O_BINARY) 73 m_fp = ::gzdopen(fileno(fp), "rb"); in open() 191 m_fp = ::gzdopen(fileno(fp), mode);
|
/external/libpng/contrib/gregbook/ |
D | wpng.c | 308 setmode(fileno(stdin), O_BINARY); in main() 309 setmode(fileno(stdout), O_BINARY); in main() 311 if ((wpng_info.infile = fdopen(fileno(stdin), "rb")) == NULL) { in main() 316 if ((wpng_info.outfile = fdopen(fileno(stdout), "wb")) == NULL) { in main() 439 (keybd = fdopen(fileno(stderr), "r")) != NULL && in main()
|
/external/netperf/ |
D | netserver.c | 243 if (dup (fileno (where)) == -1) in process_requests() 589 if (dup (fileno (rd_null_fp)) == -1) in set_up_server() 601 if (dup (fileno (where)) == -1) in set_up_server() 619 if (dup (fileno (wr_null_fp)) == -1) in set_up_server()
|
/external/bzip2/ |
D | dlltest.c | 132 if((fn_r == NULL && (BZ2fp_r = BZ2_bzdopen(fileno(stdin),"rb"))==NULL) in main() 159 if((fn_w == NULL && (BZ2fp_w = BZ2_bzdopen(fileno(stdout),mode))==NULL) in main()
|
D | bzip2.c | 107 int retVal = setmode ( fileno ( fd ), \ 119 int retVal = setmode ( fileno ( fd ), \ 148 int retVal = setmode ( fileno ( fd ), \ 369 Int32 fd = fileno ( zStream ); in compressStream() 485 Int32 fd = fileno ( stream ); in uncompressStream() 1230 if ( isatty ( fileno ( stdout ) ) ) { in compress() 1244 if ( isatty ( fileno ( stdout ) ) ) { in compress() 1416 if ( isatty ( fileno ( stdin ) ) ) { in uncompress() 1557 if ( isatty ( fileno ( stdin ) ) ) { in testf()
|
/external/ppp/pppd/plugins/radius/ |
D | buildreq.c | 107 while (do_lock_exclusive(fileno(sf))!= 0) in rc_get_seqnbr() 138 ftruncate(fileno(sf),0); in rc_get_seqnbr() 143 if (do_unlock(fileno(sf)) != 0) in rc_get_seqnbr()
|
/external/strace/ |
D | acinclude.m4 | 72 if (write (fileno (ctl), &cmd, sizeof cmd) < 0) 74 if (read (fileno (status), &pstatus, sizeof pstatus) < 0) 143 if (IOCTL(fileno(pfp), PIOCSTOP, NULL) < 0) 145 pfd.fd = fileno(pfp);
|
/external/openssl/crypto/des/ |
D | read_pwd.c | 307 if (TTY_get(fileno(tty),&tty_orig) == -1) in des_read_pw() 342 if (is_a_tty && (TTY_set(fileno(tty),&tty_new) == -1)) in des_read_pw() 400 if (ps >= 2) TTY_set(fileno(tty),&tty_orig); in des_read_pw()
|
/external/grub/lib/ |
D | device.c | 453 if (ioctl (fileno (fp), CDROM_GET_CAPABILITY, 0) >= 0) in check_device() 461 if (fstat (fileno (fp), &st)) in check_device() 468 && ioctl (fileno (fp), HDIO_GETGEO, &hdg)) in check_device() 476 if (ioctl (fileno (fp), CDIOCCLRDEBUG, 0) >= 0) in check_device()
|
/external/iproute2/misc/ |
D | nstat.c | 549 if (flock(fileno(hist_fp), LOCK_EX)) { in main() 553 if (fstat(fileno(hist_fp), &stb) != 0) { in main() 571 ftruncate(fileno(hist_fp), 0); in main() 615 ftruncate(fileno(hist_fp), 0); in main()
|
/external/openssl/crypto/bio/ |
D | bss_file.c | 325 int fd = fileno((FILE*)ptr); in file_ctrl() 332 int fd = fileno((FILE*)ptr); in file_ctrl() 348 int fd = fileno((FILE*)ptr); in file_ctrl()
|