/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 …]
|
D | iolog.c | 106 f = td->files[ipo->fileno]; in ipo_special() 154 io_u->file = td->files[ipo->fileno]; in read_iolog_get() 334 int reads, writes, waits, fileno = 0, file_action = 0; /* stupid gcc */ in read_iolog2() local 377 fileno = get_fileno(td, fname); in read_iolog2() 381 fileno = add_file(td, fname, 0, 1); in read_iolog2() 385 fileno = get_fileno(td, fname); in read_iolog2() 388 fileno = get_fileno(td, fname); in read_iolog2() 430 ipo->fileno = fileno; in read_iolog2()
|
/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/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/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/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/catapult_base/catapult_base/ |
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/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/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()
|
D | wrjpgcom.c | 500 setmode(fileno(stdin), O_BINARY); in main() 503 if ((infile = fdopen(fileno(stdin), READ_BINARY)) == NULL) { in main() 532 setmode(fileno(stdout), O_BINARY); in main() 535 if ((outfile = fdopen(fileno(stdout), WRITE_BINARY)) == NULL) { in main()
|
/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/autotest/client/bin/ |
D | autotestd | 24 os.dup2(stdout.fileno(), 1) 25 os.dup2(stdout.fileno(), 2) 26 os.dup2(stderr.fileno(), 3)
|
/external/curl/tests/server/ |
D | sockfilt.c | 280 if(fd == fileno(stdin)) { in read_wincon() 312 if(fd == fileno(stdout)) { in write_wincon() 315 else if(fd == fileno(stderr)) { in write_wincon() 440 ssize_t nread = fullread(fileno(stdin), buffer, nbytes); in read_stdin() 457 ssize_t nwrite = fullwrite(fileno(stdout), buffer, nbytes); in write_stdout() 745 if(fds == fileno(stdin)) { in select_ws() 752 else if(fds == fileno(stdout)) { in select_ws() 755 else if(fds == fileno(stderr)) { in select_ws() 807 if(fds == fileno(stdin)) { in select_ws() 812 else if(fds == fileno(stdout) || fds == fileno(stderr)) { in select_ws() [all …]
|
/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/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/bison/lib/ |
D | binary-io.h | 42 # undef fileno 43 # define fileno _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/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 …]
|
/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/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/contrib/iostream2/ |
D | zstream.h | 35 # define SET_BINARY_MODE(file) setmode(fileno(file), O_BINARY) 73 m_fp = ::gzdopen(fileno(fp), "rb"); in open() 191 m_fp = ::gzdopen(fileno(fp), mode);
|
/external/v8/tools/ |
D | stats-viewer.py | 118 size = os.fstat(data_file.fileno()).st_size 119 fileno = data_file.fileno() 120 self.shared_mmap = mmap.mmap(fileno, size, access=mmap.ACCESS_READ)
|