/external/fio/ |
D | blktrace.c | 117 static void trace_add_open_close_event(struct thread_data *td, int fileno, enum file_log_act action) in trace_add_open_close_event() argument 125 ipo->fileno = fileno; in trace_add_open_close_event() 150 last_fileno = f->fileno; in trace_add_file() 156 int fileno; in trace_add_file() local 166 fileno = add_file_exclusive(td, dev); in trace_add_file() 168 td->files[fileno]->major = maj; in trace_add_file() 169 td->files[fileno]->minor = min; in trace_add_file() 170 trace_add_open_close_event(td, fileno, FIO_LOG_OPEN_FILE); in trace_add_file() 171 last_fileno = fileno; in trace_add_file() 182 int fileno) in store_ipo() argument [all …]
|
/external/libvorbis/examples/ |
D | frameview.pl | 12 my $fileno=0; 214 -command=>[sub{$fileno-=10;$fileno=$first_file if($fileno<$first_file); 218 -command=>[sub{$fileno+=10;$fileno=$last_file if($fileno>$last_file); 222 -command=>[sub{$fileno-=1;$fileno=$first_file if($fileno<$first_file); 226 -command=>[sub{$fileno+=1;$fileno=$last_file if($fileno>$last_file); 232 -showvalue=>'TRUE',-variable=>\$fileno,-orient=>'horizontal')-> 279 my$filename=$panel_keys[$i]."_$fileno.m"; 297 Status("Plotting $fileno"); 620 $fileno=$first_file if($fileno<$first_file); 621 $fileno=$last_file if($fileno>$last_file);
|
/external/autotest/client/tests/kvm/deps/ |
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/skia/src/ports/ |
D | SkOSFile_win.cpp | 37 int fileno = _fileno((FILE*)f); in sk_ino() local 38 if (fileno < 0) { in sk_ino() 42 HANDLE file = (HANDLE)_get_osfhandle(fileno); in sk_ino() 82 void* sk_fdmmap(int fileno, size_t* length) { in sk_fdmmap() argument 83 HANDLE file = (HANDLE)_get_osfhandle(fileno); in sk_fdmmap() 119 int fileno = sk_fileno(f); in sk_fmmap() local 120 if (fileno < 0) { in sk_fmmap() 124 return sk_fdmmap(fileno, length); in sk_fmmap()
|
/external/autotest/client/cros/cellular/wardmodem/ |
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/src/ |
D | tool_main.h | 32 # define STDIN_FILENO fileno(stdin) 36 # define STDOUT_FILENO fileno(stdout) 40 # define STDERR_FILENO fileno(stderr)
|
/external/chromium-trace/catapult/common/py_utils/py_utils/ |
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/libjpeg-turbo/ |
D | cdjpeg.c | 116 setmode(fileno(stdin), O_BINARY); in read_stdin() 119 if ((input_file = fdopen(fileno(stdin), READ_BINARY)) == NULL) { in read_stdin() 134 setmode(fileno(stdout), O_BINARY); in write_stdout() 137 if ((output_file = fdopen(fileno(stdout), WRITE_BINARY)) == NULL) { in write_stdout()
|
/external/autotest/server/site_tests/autoupdate_EndToEndTest/ |
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/toybox/toys/pending/ |
D | userdel.c | 45 if (fcntl(fileno(exfp), F_SETLK, &lock) < 0) in update_groupfiles() 52 while ((line = get_line(fileno(exfp))) != NULL){ in update_groupfiles() 78 fcntl(fileno(exfp), F_SETLK, &lock); in update_groupfiles() 82 fsync(fileno(newfp)); in update_groupfiles()
|
/external/openssh/ |
D | sshtty.c | 61 if (tcsetattr(fileno(stdin), TCSADRAIN, &_saved_tio) == -1) { in leave_raw_mode() 73 if (tcgetattr(fileno(stdin), &tio) == -1) { in enter_raw_mode() 91 if (tcsetattr(fileno(stdin), TCSADRAIN, &tio) == -1) { in enter_raw_mode()
|
D | clientloop.c | 206 unset_nonblock(fileno(stdin)); in leave_non_blocking() 217 set_nonblock(fileno(stdin)); in enter_non_blocking() 467 len = read(fileno(stdin), buf, 1); in client_check_initial_eof_on_stdin() 544 if (ioctl(fileno(stdin), TIOCGWINSZ, &ws) < 0) in client_check_window_change() 617 FD_SET(fileno(stdin), *readsetp); in client_wait_until_can_do_something() 621 FD_SET(fileno(stdout), *writesetp); in client_wait_until_can_do_something() 623 FD_SET(fileno(stderr), *writesetp); in client_wait_until_can_do_something() 705 atomicio(vwrite, fileno(stdout), buffer_ptr(bout), in client_suspend_self() 708 atomicio(vwrite, fileno(stderr), buffer_ptr(berr), in client_suspend_self() 1315 if (FD_ISSET(fileno(stdin), readset)) { in client_process_input() [all …]
|
/external/autotest/client/bin/ |
D | autotestd | 24 os.dup2(stdout.fileno(), 1) 25 os.dup2(stdout.fileno(), 2) 26 os.dup2(stderr.fileno(), 3)
|
/external/lldb/test/pexpect-2.4/examples/ |
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())
|
D | cgishell.cgi | 222 os.dup2(si.fileno(), sys.stdin.fileno()) 223 os.dup2(so.fileno(), sys.stdout.fileno()) 224 os.dup2(se.fileno(), sys.stderr.fileno())
|
/external/curl/tests/server/ |
D | sockfilt.c | 283 if(fd == fileno(stdin)) { in read_wincon() 315 if(fd == fileno(stdout)) { in write_wincon() 318 else if(fd == fileno(stderr)) { in write_wincon() 443 ssize_t nread = fullread(fileno(stdin), buffer, nbytes); in read_stdin() 460 ssize_t nwrite = fullwrite(fileno(stdout), buffer, nbytes); in write_stdout() 755 if(fds == fileno(stdin)) { in select_ws() 762 else if(fds == fileno(stdout)) { in select_ws() 765 else if(fds == fileno(stderr)) { in select_ws() 817 if(fds == fileno(stdin)) { in select_ws() 822 else if(fds == fileno(stdout) || fds == fileno(stderr)) { in select_ws() [all …]
|
/external/bison/lib/ |
D | binary-io.h | 42 # undef fileno 43 # define fileno _fileno
|
/external/toybox/lib/ |
D | password.c | 138 ret = fcntl(fileno(exfp), F_SETLK, &lock); in update_password() 153 while ((line = get_line(fileno(exfp))) != NULL) in update_password() 183 fcntl(fileno(exfp), F_SETLK, &lock); in update_password() 188 fsync(fileno(newfp)); in update_password()
|
/external/curl/tests/ |
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/client/tests/kvm/scripts/ |
D | virtio_console_guest.py | 715 p.register(sys.stdin.fileno()) 817 os.dup2(si.fileno(), sys.stdin.fileno()) 818 os.dup2(so.fileno(), sys.stdout.fileno()) 819 os.dup2(se.fileno(), sys.stderr.fileno()) 821 sys.stdout = os.fdopen(sys.stdout.fileno(), 'w', 0) 822 sys.stderr = os.fdopen(sys.stderr.fileno(), 'w', 0) 901 s_stdin = sys.stdin.fileno() 902 s_stdout = sys.stdout.fileno() 903 s_stderr = sys.stderr.fileno()
|
/external/libedit/src/ |
D | el.c | 90 return el_init_fd(prog, fin, fout, ferr, fileno(fin), fileno(fout), in el_init() 91 fileno(ferr)); in el_init() 369 el->el_infd = fileno(fp); in FUN() 373 el->el_outfd = fileno(fp); in FUN() 377 el->el_errfd = fileno(fp); in FUN()
|
/external/chromium-trace/catapult/third_party/gsutil/third_party/oauth2client/oauth2client/ |
D | locked_file.py | 209 fcntl.lockf(self._fh.fileno(), fcntl.LOCK_EX) 231 fcntl.lockf(self._fh.fileno(), fcntl.LOCK_UN) 284 hfile = win32file._get_osfhandle(self._fh.fileno()) 314 hfile = win32file._get_osfhandle(self._fh.fileno())
|
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/boto/mashups/ |
D | interactive.py | 44 tty.setraw(sys.stdin.fileno()) 45 tty.setcbreak(sys.stdin.fileno())
|
/external/zlib/src/test/ |
D | minigzip.c | 38 # define SET_BINARY_MODE(file) setmode(fileno(file), O_BINARY) 54 # define fileno(file) file->__file macro 401 int ifd = fileno(in); 608 file = gzdopen(fileno(stdin), "rb"); 612 file = gzdopen(fileno(stdout), outmode); 638 file = gzdopen(fileno(stdout), outmode);
|
/external/chromium-trace/catapult/telemetry/third_party/pyfakefs/pyfakefs/ |
D | fake_filesystem_test.py | 609 self.assertEqual(0, fake_file1.fileno()) 632 self.assertEqual(0, fake_file1.fileno()) 633 self.assertEqual(1, fake_file2.fileno()) 634 self.assertEqual(2, fake_file3.fileno()) 636 fileno2 = fake_file2.fileno() 639 self.assertEqual(0, fake_file1.fileno()) 640 self.assertEqual(2, fake_file3.fileno()) 653 self.assertEqual(0, fake_file1.fileno()) 662 fileno = self.os.open(file_path, self.os.O_CREAT) 663 self.assertEqual(0, fileno) [all …]
|