| /xsrc/external/mit/MesaLib/dist/src/gallium/frontends/d3d10umd/ |
| H A D | DriverIncludes.h | 40 #undef fileno /* we redefine this in vm_basic_defs.h */
|
| /xsrc/external/mit/xmh/dist/ |
| H A D | command.c | 146 old_stdin = dup(fileno(stdin)); 147 (void) dup2(inputfd, fileno(stdin)); 180 old_stderr = dup(fileno(stderr)); 181 (void) dup2(status->error_pipe[1], fileno(stderr)); 191 old_stdout = dup(fileno(stdout)); 192 (void) dup2(outputfd, fileno(stdout)); 203 if (pid != 0) dup2(old_stdin, fileno(stdin)); 207 if (pid != 0) dup2(old_stdout, fileno(stdout)); 211 if (pid != 0) dup2(old_stderr, fileno(stderr)); 428 fd_in = dup(fileno(fil [all...] |
| H A D | util.c | 81 if (result) DEBUG2("# %d : %s\n", fileno(result), path) 96 int fid = fileno(file);
|
| /xsrc/external/mit/xsm/dist/ |
| H A D | auth.c | 163 fcntl(fileno(addfp), F_SETFD, FD_CLOEXEC); 170 fcntl(fileno(removefp), F_SETFD, FD_CLOEXEC); 177 fcntl(fileno(addfp), F_SETFD, FD_CLOEXEC); 184 fcntl(fileno(removefp), F_SETFD, FD_CLOEXEC);
|
| H A D | lock.c | 125 fcntl(fileno(fp), F_SETFD, FD_CLOEXEC);
|
| H A D | saveutil.c | 77 fcntl(fileno(f), F_SETFD, FD_CLOEXEC); 326 fcntl(fileno(f), F_SETFD, FD_CLOEXEC); 440 fcntl(fileno(f), F_SETFD, FD_CLOEXEC);
|
| /xsrc/external/mit/brotli/dist/python/ |
| H A D | bro.py | 34 stdio = os.fdopen(stdio.fileno(), mode, 0) 38 msvcrt.setmode(stdio.fileno(), os.O_BINARY)
|
| /xsrc/external/mit/iceauth/dist/ |
| H A D | iceauth.c | 142 verbose = (isatty(fileno(stdout)) != 0);
|
| H A D | process.c | 505 * fileno() might not be reentrant, avoid it if possible, and use 511 if (verbose && iceauth_modified) WRITES(fileno(stderr), "\r\n"); 669 * fileno() might not be reentrant, avoid it if possible, and use 677 WRITES(fileno(stderr), "\nAborting changes to authority file "); 678 WRITES(fileno(stderr), iceauth_filename); 679 WRITES(fileno(stderr), "\n"); 1561 if (verbose && used_stdin && isatty (fileno (fp))) prompt = True;
|
| /xsrc/external/mit/xauth/dist/ |
| H A D | xauth.c | 152 verbose = (isatty(fileno(stdout)) != 0);
|
| H A D | process.c | 679 * fileno() might not be reentrant, avoid it if possible, and use 685 if (verbose && xauth_modified) WRITES(fileno(stderr), "\r\n"); 891 * fileno() might not be reentrant, avoid it if possible, and use 899 WRITES(fileno(stderr), "\nAborting changes to authority file "); 900 WRITES(fileno(stderr), xauth_filename); 901 WRITES(fileno(stderr), "\n"); 1835 if (verbose && used_stdin && isatty (fileno (fp))) prompt = True;
|
| /xsrc/external/mit/MesaLib/dist/src/util/ |
| H A D | fossilize_db.c | 184 int fd = fileno(f); 251 flock(fileno(foz_db->file[file_idx]), LOCK_UN); 259 flock(fileno(foz_db->file[file_idx]), LOCK_UN); 462 flock(fileno(foz_db->file[0]), LOCK_UN); 525 flock(fileno(foz_db->file[0]), LOCK_UN); 533 flock(fileno(foz_db->file[0]), LOCK_UN);
|
| /xsrc/external/mit/xorg-server.old/dist/os/ |
| H A D | osinit.c | 233 if (err && (fileno(err) != 2)) { 234 dup2 (fileno (err), 2);
|
| H A D | log.c | 214 fsync(fileno(logFile)); 298 fsync(fileno(logFile));
|
| /xsrc/external/mit/xorg-server/dist/os/ |
| H A D | osinit.c | 253 if (err && (fileno(err) != 2)) { 254 dup2(fileno(err), 2);
|
| H A D | log.c | 272 logFileFd = fileno(logFile); 279 fsync(fileno(logFile)); 623 fsync(fileno(logFile));
|
| /xsrc/external/mit/xorgproto/dist/include/X11/ |
| H A D | Xw32defs.h | 31 # define fileno _fileno macro
|
| /xsrc/external/mit/xtrap/dist/ |
| H A D | chparse.c | 388 fdmask = 1 << fileno(stdin); 391 count = select(fileno(stdin) + 1, (fd_set *)&fdmask, NULL, NULL, &timeout); 398 count = read(fileno(stdin), buffer, count);
|
| /xsrc/external/mit/xterm/dist/ |
| H A D | print.c | 435 close(fileno(stdout)); 436 dup2(fileno(stderr), 1); 438 if (fileno(stderr) != 2) { 439 dup2(fileno(stderr), 2); 440 close(fileno(stderr));
|
| /xsrc/external/mit/ctwm/dist/ |
| H A D | parse_m4.c | 57 dup2(fileno(fraw), 0); /* stdin = fraw */
|
| /xsrc/external/mit/libXfont/dist/src/fontfile/ |
| H A D | dirfile.c | 106 if (fstat (fileno(file), &statb) == -1) 312 if (fstat (fileno (file), &statb) == -1)
|
| /xsrc/external/mit/libXfont2/dist/src/fontfile/ |
| H A D | dirfile.c | 112 if (fstat (fileno(file), &statb) == -1) 318 if (fstat (fileno (file), &statb) == -1)
|
| /xsrc/external/mit/imake/dist/ |
| H A D | imake.c | 773 dup2(fileno(outfd), 1); 796 dup2(fileno(outfd), 1); 1737 if (fstat(fileno(inFile), &st) < 0) 1854 ftruncate (fileno(tmpfd), (off_t)ftell(tmpfd)); 1959 if (fstat(fileno(tmpfd), &st) < 0) 1977 ftruncate(fileno(tmpfd), (off_t) 0);
|
| /xsrc/external/mit/MesaLib/dist/src/vulkan/overlay-layer/ |
| H A D | mesa-overlay-control.py | 47 if fd != self.sock.fileno():
|
| /xsrc/external/mit/xdm/dist/xdm/ |
| H A D | auth.c | 443 if (ftruncate(fileno(auth_file), ftell(auth_file))) 1208 if (fstat (fileno (old), &statb) != -1) 1293 if (fstat (fileno (old), &statb) != -1)
|