Searched refs:fileno (Results 1 - 25 of 196) sorted by relevance

12345678

/external/nanopb-c/tests/common/
H A Dtest_helpers.h9 #define SET_BINARY_MODE(file) setmode(fileno(file), O_BINARY)
/external/skia/src/ports/
H A DSkOSFile_win.cpp23 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 DSkOSFile_posix.cpp23 int fd = fileno((FILE*)a);
70 return fileno((FILE*)f);
/external/bison/lib/
H A Dbinary-io.h24 /* The MSVC7 <stdio.h> doesn't like to be included after '#define fileno ...',
42 # undef fileno
43 # define fileno _fileno
H A Dfopen-safer.c37 int fd = fileno (fp);
/external/chromium_org/third_party/skia/src/ports/
H A DSkOSFile_win.cpp34 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 DSkOSFile_posix.cpp35 int fd = fileno((FILE*)a);
82 return fileno((FILE*)f);
/external/strace/test/
H A Dprocpollable.c27 if (ioctl(fileno(pfp), PIOCSTOP, NULL) < 0)
30 pfd.fd = fileno(pfp);
/external/compiler-rt/test/msan/
H A Dgetc_unlocked.c20 int res = dup2(fileno(stream), 0);
/external/compiler-rt/test/tsan/
H A Duser_fopen.cc16 extern "C" int fileno(FILE *f) { function
19 printf("user fileno\n");
/external/fio/
H A Dblktrace.c177 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 Dcdjpeg.c154 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 Dcdjpeg.c154 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 Dbd_client.py10 r,w,e = select.select([s.fileno()],[],[], 2)
H A Dbd_serv.py125 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 Ddebug.c118 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 Dcdjpeg.c154 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.h34 # 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 Dot-sanitise.cc61 ::setmode(fileno(stdout), O_BINARY);
/external/openssl/crypto/bio/
H A Dbio_lcl.h29 #define UP_fileno fileno
/external/openssl/crypto/rc4/
H A Drc4.c149 setmode(fileno(in),O_BINARY);
150 setmode(fileno(out),O_BINARY);
/external/chromium_org/tools/relocation_packer/src/
H A Delf_file_unittest.cc68 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 Ddlltest.c132 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 Dconsole.cc77 close(fileno(stdin));
106 const int fd = fileno(stdin);
/external/chromium_org/tools/
H A Dsort-headers.py28 fd = sys.stdin.fileno()
32 tty.setraw(sys.stdin.fileno())

Completed in 691 milliseconds

12345678