/external/nanopb-c/tests/common/ |
H A D | test_helpers.h | 9 #define SET_BINARY_MODE(file) setmode(fileno(file), O_BINARY)
|
/external/skia/src/ports/ |
H A D | SkOSFile_win.cpp | 23 int fileno = _fileno((FILE*)f); local 24 if (fileno < 0) { 28 HANDLE file = (HANDLE)_get_osfhandle(fileno); 68 void* sk_fdmmap(int fileno, size_t* length) { argument 69 HANDLE file = (HANDLE)_get_osfhandle(fileno); 105 int fileno = sk_fileno(f); local 106 if (fileno < 0) { 110 return sk_fdmmap(fileno, length);
|
H A D | SkOSFile_posix.cpp | 23 int fd = fileno((FILE*)a); 70 return fileno((FILE*)f);
|
/external/bison/lib/ |
H A D | binary-io.h | 24 /* The MSVC7 <stdio.h> doesn't like to be included after '#define fileno ...', 42 # undef fileno 43 # define fileno _fileno
|
H A D | fopen-safer.c | 37 int fd = fileno (fp);
|
/external/chromium_org/third_party/skia/src/ports/ |
H A D | SkOSFile_win.cpp | 34 int fileno = _fileno((FILE*)f); local 35 if (fileno < 0) { 39 HANDLE file = (HANDLE)_get_osfhandle(fileno); 79 void* sk_fdmmap(int fileno, size_t* length) { argument 80 HANDLE file = (HANDLE)_get_osfhandle(fileno); 116 int fileno = sk_fileno(f); local 117 if (fileno < 0) { 121 return sk_fdmmap(fileno, length);
|
H A D | SkOSFile_posix.cpp | 35 int fd = fileno((FILE*)a); 82 return fileno((FILE*)f);
|
/external/strace/test/ |
H A D | procpollable.c | 27 if (ioctl(fileno(pfp), PIOCSTOP, NULL) < 0) 30 pfd.fd = fileno(pfp);
|
/external/compiler-rt/test/msan/ |
H A D | getc_unlocked.c | 20 int res = dup2(fileno(stream), 0);
|
/external/compiler-rt/test/tsan/ |
H A D | user_fopen.cc | 16 extern "C" int fileno(FILE *f) { function 19 printf("user fileno\n");
|
/external/fio/ |
H A D | blktrace.c | 177 static void trace_add_open_close_event(struct thread_data *td, int fileno, enum file_log_act action) argument 185 ipo->fileno = fileno; 210 last_fileno = f->fileno; 216 int fileno; local 219 fileno = add_file_exclusive(td, dev); 221 td->files[fileno]->major = maj; 222 td->files[fileno]->minor = min; 223 trace_add_open_close_event(td, fileno, FIO_LOG_OPEN_FILE); 224 last_fileno = fileno; 233 store_ipo(struct thread_data *td, unsigned long long offset, unsigned int bytes, int rw, unsigned long long ttime, int fileno) argument 282 int fileno; local 313 int fileno; local [all...] |
/external/chromium_org/third_party/libjpeg_turbo/ |
H A D | cdjpeg.c | 154 setmode(fileno(stdin), O_BINARY); 157 if ((input_file = fdopen(fileno(stdin), READ_BINARY)) == NULL) { 172 setmode(fileno(stdout), O_BINARY); 175 if ((output_file = fdopen(fileno(stdout), WRITE_BINARY)) == NULL) {
|
/external/jpeg/ |
H A D | cdjpeg.c | 154 setmode(fileno(stdin), O_BINARY); 157 if ((input_file = fdopen(fileno(stdin), READ_BINARY)) == NULL) { 172 setmode(fileno(stdout), O_BINARY); 175 if ((output_file = fdopen(fileno(stdout), WRITE_BINARY)) == NULL) {
|
/external/lldb/test/pexpect-2.4/examples/ |
H A D | bd_client.py | 10 r,w,e = select.select([s.fileno()],[],[], 2)
|
H A D | bd_serv.py | 125 os.dup2(si.fileno(), sys.stdin.fileno()) 126 os.dup2(so.fileno(), sys.stdout.fileno()) 127 os.dup2(se.fileno(), sys.stderr.fileno())
|
/external/qemu/android/utils/ |
H A D | debug.c | 118 out_fd = fileno(stdout); 119 err_fd = fileno(stderr); 135 out_fd = fileno(stdout); 136 err_fd = fileno(stderr);
|
/external/qemu/distrib/jpeg-6b/ |
H A D | cdjpeg.c | 154 setmode(fileno(stdin), O_BINARY); 157 if ((input_file = fdopen(fileno(stdin), READ_BINARY)) == NULL) { 172 setmode(fileno(stdout), O_BINARY); 175 if ((output_file = fdopen(fileno(stdout), WRITE_BINARY)) == NULL) {
|
/external/stlport/src/ |
H A D | _stdio_file.h | 34 # include <unix.h> /* get the definition of fileno */ 72 inline int _FILE_fd(const FILE *__f) { return fileno(__CONST_CAST(FILE*, __f)); } 85 * dwa: I'm not sure they provide fileno for all OS's, but this should 91 inline int _FILE_fd(const FILE *__f) { return ::fileno(__CONST_CAST(FILE*, __f)); }
|
/external/chromium_org/third_party/ots/test/ |
H A D | ot-sanitise.cc | 61 ::setmode(fileno(stdout), O_BINARY);
|
/external/openssl/crypto/bio/ |
H A D | bio_lcl.h | 29 #define UP_fileno fileno
|
/external/openssl/crypto/rc4/ |
H A D | rc4.c | 149 setmode(fileno(in),O_BINARY); 150 setmode(fileno(out),O_BINARY);
|
/external/chromium_org/tools/relocation_packer/src/ |
H A D | elf_file_unittest.cc | 68 ASSERT_EQ(0, lseek(fileno(temporary), 0, SEEK_SET)); 131 ElfFile elf_file(fileno(relocs_so)); 152 ElfFile elf_file(fileno(packed_relocs_so));
|
/external/bzip2/ |
H A D | dlltest.c | 132 if((fn_r == NULL && (BZ2fp_r = BZ2_bzdopen(fileno(stdin),"rb"))==NULL)
159 if((fn_w == NULL && (BZ2fp_w = BZ2_bzdopen(fileno(stdout),mode))==NULL)
|
/external/chromium_org/third_party/libjingle/source/talk/examples/call/ |
H A D | console.cc | 77 close(fileno(stdin)); 106 const int fd = fileno(stdin);
|
/external/chromium_org/tools/ |
H A D | sort-headers.py | 28 fd = sys.stdin.fileno() 32 tty.setraw(sys.stdin.fileno())
|