/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/nanopb-c/tests/common/ |
H A D | test_helpers.h | 9 #define SET_BINARY_MODE(file) setmode(fileno(file), O_BINARY)
|
/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/catapult_base/catapult_base/ |
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 | 116 setmode(fileno(stdin), O_BINARY); 119 if ((input_file = fdopen(fileno(stdin), READ_BINARY)) == NULL) { 134 setmode(fileno(stdout), O_BINARY); 137 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/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/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/autotest/client/tests/kvm/deps/ |
H A D | heartbeat_slu.py | 26 sys.stdout = os.fdopen(sys.stdout.fileno(), 'w', 0) 27 sys.stderr = os.fdopen(sys.stderr.fileno(), 'w', 0) 32 os.dup2(output_handle.fileno(), sys.stdout.fileno()) 33 os.dup2(output_handle.fileno(), sys.stderr.fileno()) 34 os.dup2(stdin_handle.fileno(), sys.stdin.fileno())
|
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/boto/mashups/ |
H A D | interactive.py | 44 tty.setraw(sys.stdin.fileno()) 45 tty.setcbreak(sys.stdin.fileno())
|
/external/skia/src/ports/ |
H A D | SkOSFile_win.cpp | 37 int fileno = _fileno((FILE*)f); local 38 if (fileno < 0) { 42 HANDLE file = (HANDLE)_get_osfhandle(fileno); 82 void* sk_fdmmap(int fileno, size_t* length) { argument 83 HANDLE file = (HANDLE)_get_osfhandle(fileno); 119 int fileno = sk_fileno(f); local 120 if (fileno < 0) { 124 return sk_fdmmap(fileno, length);
|
/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/curl/docs/examples/ |
H A D | fileupload.c | 42 if(fstat(fileno(fd), &file_info) != 0) {
|
/external/autotest/server/site_tests/autoupdate_EndToEndTest/ |
H A D | update_engine_performance_monitor.py | 201 os.dup2(si.fileno(), sys.stdin.fileno()) 202 os.dup2(so.fileno(), sys.stdout.fileno()) 203 os.dup2(se.fileno(), sys.stderr.fileno())
|
/external/curl/tests/ |
H A D | http_pipe.py | 365 fileno = self.request.fileno() 367 rlist.append(fileno) 369 wlist.append(fileno) 380 if fileno in rlist: 391 elif fileno in wlist:
|
/external/autotest/scheduler/ |
H A D | status_server.py | 106 old_flags = fcntl.fcntl(self.fileno(), fcntl.F_GETFD) 107 fcntl.fcntl(self.fileno(), fcntl.F_SETFD, old_flags | fcntl.FD_CLOEXEC)
|
/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/autotest/client/site_tests/firmware_TouchMTB/ |
H A D | common_util.py | 48 tty.setraw(fin.fileno())
|