/external/curl/src/ |
H A D | tool_main.h | 32 # define STDIN_FILENO fileno(stdin) 36 # define STDOUT_FILENO fileno(stdout) 40 # define STDERR_FILENO fileno(stderr)
|
H A D | tool_binmode.c | 44 (void)setmode(fileno(stream), O_BINARY);
|
/external/syslinux/com32/lib/ |
H A D | fclose.c | 10 return close(fileno(__f));
|
H A D | fread.c | 16 rv = read(fileno(f), p, count);
|
H A D | fwrite.c | 16 rv = write(fileno(f), p, count);
|
/external/nanopb-c/tests/common/ |
H A D | test_helpers.h | 9 #define SET_BINARY_MODE(file) setmode(fileno(file), O_BINARY)
|
/external/syslinux/com32/lib/sys/ |
H A D | ftell.c | 12 int fd = fileno(stream);
|
/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/google-breakpad/src/tools/solaris/dump_syms/ |
H A D | dump_syms.cc | 48 if (!dumper.WriteSymbolFile(binary, fileno(stdout))) {
|
/external/chromium-trace/catapult/common/py_utils/py_utils/ |
H A D | lock.py | 80 hfile = win32file._get_osfhandle(target_file.fileno()) 92 hfile = win32file._get_osfhandle(target_file.fileno()) 107 fcntl.flock(target_file.fileno(), flags) 117 fcntl.flock(target_file.fileno(), fcntl.LOCK_UN)
|
/external/compiler-rt/test/msan/ |
H A D | getc_unlocked.c | 20 int res = dup2(fileno(stream), 0);
|
/external/compiler-rt/test/tsan/Linux/ |
H A D | user_fopen.cc | 16 extern "C" int fileno(FILE *f) { function 19 printf("user fileno\n");
|
/external/libjpeg-turbo/ |
H A D | cdjpeg.c | 117 setmode(fileno(stdin), O_BINARY); 120 if ((input_file = fdopen(fileno(stdin), READ_BINARY)) == NULL) { 135 setmode(fileno(stdout), O_BINARY); 138 if ((output_file = fdopen(fileno(stdout), WRITE_BINARY)) == NULL) {
|
/external/autotest/client/bin/ |
H A D | autotestd | 24 os.dup2(stdout.fileno(), 1) 25 os.dup2(stdout.fileno(), 2) 26 os.dup2(stderr.fileno(), 3)
|
/external/ltp/lib/tests/ |
H A D | trerrno.c | 50 stdout_fd = dup(fileno(stdout)); 52 TEST(dup2(fd, fileno(stdout))); 63 TEST(dup2(stdout_fd, fileno(stdout)));
|
/external/openssh/ |
H A D | sshtty.c | 61 if (tcsetattr(fileno(stdin), TCSADRAIN, &_saved_tio) == -1) { 73 if (tcgetattr(fileno(stdin), &tio) == -1) { 91 if (tcsetattr(fileno(stdin), TCSADRAIN, &tio) == -1) {
|
/external/fio/ |
H A D | blktrace.c | 117 static void trace_add_open_close_event(struct thread_data *td, int fileno, enum file_log_act action) argument 125 ipo->fileno = fileno; 150 last_fileno = f->fileno; 156 int fileno; local 166 fileno = add_file_exclusive(td, dev); 168 td->files[fileno]->major = maj; 169 td->files[fileno]->minor = min; 170 trace_add_open_close_event(td, fileno, FIO_LOG_OPEN_FILE); 171 last_fileno = fileno; 180 store_ipo(struct thread_data *td, unsigned long long offset, unsigned int bytes, int rw, unsigned long long ttime, int fileno) argument 231 int fileno; local 265 int fileno; local [all...] |
/external/skia/src/ports/ |
H A D | SkOSFile_win.cpp | 38 int fileno = _fileno((FILE*)f); local 39 if (fileno < 0) { 43 HANDLE file = (HANDLE)_get_osfhandle(fileno); 83 void* sk_fdmmap(int fileno, size_t* length) { argument 84 HANDLE file = (HANDLE)_get_osfhandle(fileno); 120 int fileno = sk_fileno(f); local 121 if (fileno < 0) { 125 return sk_fdmmap(fileno, length); 129 int fileno = sk_fileno(file); local 130 HANDLE fileHandle = (HANDLE)_get_osfhandle(fileno); [all...] |
/external/autotest/client/site_tests/network_WlanHasIP/ |
H A D | network_WlanHasIP.py | 35 s.fileno(),
|
/external/toybox/toys/pending/ |
H A D | userdel.c | 45 if (fcntl(fileno(exfp), F_SETLK, &lock) < 0) 52 while ((line = get_line(fileno(exfp))) != NULL){ 78 fcntl(fileno(exfp), F_SETLK, &lock); 82 fsync(fileno(newfp));
|
/external/ltp/testcases/kernel/fs/fs_di/ |
H A D | frag.c | 96 fd1 = fileno(fp_frag1); 97 fd2 = fileno(fp_frag2);
|
/external/valgrind/coregrind/ |
H A D | link_tool_exe_solaris.in | 67 my $cmd="$cc -Wl,-M/proc/$$/fd/" . fileno($fh);
|
/external/autotest/client/cros/cellular/wardmodem/ |
H A D | at_channel_unittest.py | 40 flags = fcntl.fcntl(self._channel_file.fileno(), fcntl.F_GETFL) 42 fcntl.fcntl(self._channel_file.fileno(), fcntl.F_SETFL, flags) 43 self._at_channel._channel = self._channel_file.fileno() 93 self._at_channel._handle_channel_cb(self._channel_file.fileno(), 117 self._at_channel._handle_channel_cb(self._channel_file.fileno(), 138 self._at_channel._handle_channel_cb(self._channel_file.fileno(), 162 self._at_channel._handle_channel_cb(self._channel_file.fileno(),
|
/external/fmtlib/test/ |
H A D | posix-test.cc | 35 #ifdef fileno 36 # undef fileno macro 107 int old_fd = bf2.fileno(); 127 int old_fd = f.fileno(); 136 fd = f.fileno(); 148 FMT_POSIX(close(f->fileno())); 155 int fd = f.fileno(); 163 FMT_POSIX(close(f.fileno())); 171 // fileno on a null FILE pointer either crashes or returns an error. 175 f.fileno(); [all...] |