Home
last modified time | relevance | path

Searched refs:fileno (Results 1 – 25 of 96) sorted by relevance

1234

/external/dropbear/
Dnetbsd_getpass.c93 (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/
Ddebug.c116 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/
Dcdjpeg.c154 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()
Dwrjpgcom.c492 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()
Drdjpgcom.c478 setmode(fileno(stdin), O_BINARY); in main()
481 if ((infile = fdopen(fileno(stdin), READ_BINARY)) == NULL) { in main()
/external/zlib/
Dminigzip.c38 # 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/
Dsbcenc.c70 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.h72 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/
Dcommon.c152 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/
Dshared_memory_posix.cc207 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/
Dufile.c40 #if defined(U_WINDOWS) && !defined(fileno)
42 #define fileno _fileno macro
61 result->fFileno = fileno(f); in u_finit()
/external/v8/tools/
Dstats-viewer.py114 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/
Dufile.c40 #if defined(U_WINDOWS) && !defined(fileno)
42 #define fileno _fileno macro
63 result->fFileno = fileno(f); in finit_owner()
/external/openssl/crypto/rc4/
Drc4.c149 setmode(fileno(in),O_BINARY); in main()
150 setmode(fileno(out),O_BINARY); in main()
/external/zlib/contrib/iostream2/
Dzstream.h35 # 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/
Dwpng.c308 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/
Dnetserver.c243 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/
Ddlltest.c132 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()
Dbzip2.c107 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/
Dbuildreq.c107 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/
Dacinclude.m472 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/
Dread_pwd.c307 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/
Ddevice.c453 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/
Dnstat.c549 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/
Dbss_file.c325 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()

1234