| /f-stack/freebsd/contrib/openzfs/contrib/pyzfs/libzfs_core/test/ |
| H A D | test_libzfs_core.py | 1637 fd = output.fileno() 1658 fd = output.fileno() 1685 fd = output.fileno() 1697 fd = output.fileno() 1709 fd = output.fileno() 1721 fd = output.fileno() 1732 fd = output.fileno() 1752 fd = output.fileno() 1774 fd = output.fileno() 1785 fd = output.fileno() [all …]
|
| /f-stack/freebsd/contrib/zlib/test/ |
| H A 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);
|
| /f-stack/freebsd/contrib/zstd/zlibWrapper/examples/ |
| H A D | minigzip.c | 43 # define SET_BINARY_MODE(file) setmode(fileno(file), O_BINARY) 59 # define fileno(file) file->__file macro 406 int ifd = fileno(in); 597 file = gzdopen(fileno(stdin), "rb"); 601 file = gzdopen(fileno(stdout), outmode); 627 file = gzdopen(fileno(stdout), outmode);
|
| /f-stack/freebsd/contrib/zstd/programs/ |
| H A D | platform.h | 135 # define IS_CONSOLE(stdStream) isatty(fileno(stdStream)) 164 # define SET_BINARY_MODE(file) setmode(fileno(file), O_BINARY)
|
| /f-stack/app/redis-5.0.5/src/ |
| H A D | redis-check-aof.c | 172 if (redis_fstat(fileno(fp),&sb) == -1) { in redis_check_aof_main() 216 if (ftruncate(fileno(fp), pos) == -1) { in redis_check_aof_main()
|
| H A D | rio.c | 119 redis_fsync(fileno(r->io.file.fp)); in rioFileWrite()
|
| H A D | aof.c | 716 if (fp && redis_fstat(fileno(fp),&sb) != -1 && sb.st_size == 0) { in loadAppendOnlyFile() 1405 if (fsync(fileno(fp)) == -1) goto werr; in rewriteAppendOnlyFile() 1449 if (fsync(fileno(fp)) == -1) goto werr; in rewriteAppendOnlyFile()
|
| H A D | redis-cli.c | 1454 int nread = read(fileno(stdin),buf,1024); in readArgFromStdin() 1564 int nread = read(fileno(stdin),buf,4); in confirmWithYes() 1688 if (isatty(fileno(stdin))) { in repl() 5069 int nread = read(fileno(stdin),buf,6); in clusterManagerCommandReshard() 5086 int nread = read(fileno(stdin),buf,255); in clusterManagerCommandReshard() 5110 int nread = read(fileno(stdin),buf,255); in clusterManagerCommandReshard() 5205 int nread = read(fileno(stdin),buf,4); in clusterManagerCommandReshard() 7050 if (!isatty(fileno(stdout)) && (getenv("FAKETTY") == NULL)) in main()
|
| H A D | rdb.c | 1251 if (fsync(fileno(fp)) == -1) goto werr; in rdbSave() 1811 if (fstat(fileno(fp), &sb) == -1) { in startLoading()
|
| H A D | server.c | 3801 isatty(fileno(stdout))) || in redisAsciiArt()
|
| H A D | cluster.c | 109 if (fstat(fileno(fp),&sb) != -1 && sb.st_size == 0) { in clusterLoadConfig()
|
| /f-stack/freebsd/contrib/openzfs/lib/libspl/os/freebsd/ |
| H A D | mnttab.c | 201 nfs = (int)lseek(fileno(fp), 0, SEEK_CUR); in getmntent() 213 if (lseek(fileno(fp), 1, SEEK_CUR) == -1) in getmntent()
|
| /f-stack/tools/libutil/ |
| H A D | login_auth.c | 104 (void)write(fileno(stdout), buf, count); in auth_cat()
|
| /f-stack/dpdk/lib/librte_cmdline/ |
| H A D | cmdline_os_unix.c | 28 tcsetattr(fileno(stdin), TCSANOW, &cl->oldterm); in terminal_restore()
|
| /f-stack/freebsd/contrib/openzfs/tests/test-runner/bin/ |
| H A D | test-runner.py.in | 121 def fileno(self): member in Output 122 return self.stream.fileno() 139 fd = self.fileno() 356 os.write(out.fileno(), b'%s\n' % line) 360 os.write(err.fileno(), b'%s\n' % line) 364 os.write(merged.fileno(), b'%s\n' % line) 870 os.write(sys.stdout.fileno(), bytearray(msg, encoding='utf-8')) 872 os.write(sys.stderr.fileno(), bytearray(msg, encoding='utf-8')) 874 os.write(LOG_FILE_OBJ.fileno(), msg)
|
| /f-stack/dpdk/examples/ipsec-secgw/test/ |
| H A D | pkttest.py | 59 …info = fcntl.ioctl(self.s.fileno(), Interface.IOCTL_GET_INFO, struct.pack('256s', bytes(ifname[:1…
|
| /f-stack/freebsd/contrib/openzfs/lib/libzfs/ |
| H A D | libzfs_crypto.c | 301 (void) tcgetattr(fileno(f), &old_term); in libzfs_getpassphrase() 306 ret = tcsetattr(fileno(f), TCSAFLUSH, &new_term); in libzfs_getpassphrase() 330 (void) tcsetattr(fileno(f), TCSAFLUSH, &old_term); in libzfs_getpassphrase() 353 ASSERT(isatty(fileno(stdin))); in get_key_interactive() 520 if (isatty(fileno(stdin))) { in get_key_material()
|
| /f-stack/freebsd/kern/ |
| H A D | vfs_default.c | 831 ino_t fileno; in vop_stdvptocnp() local 878 fileno = va.va_fileid; in vop_stdvptocnp() 900 (dp->d_fileno == fileno)) { in vop_stdvptocnp()
|
| /f-stack/tools/ipfw/ |
| H A D | main.c | 597 if (dup2(fileno(f), 0) == -1
|
| /f-stack/freebsd/contrib/openzfs/cmd/arcstat/ |
| H A D | arcstat.in | 300 data = fcntl.ioctl(sys.stdout.fileno(), termios.TIOCGWINSZ, '1234')
|
| /f-stack/dpdk/buildtools/pmdinfogen/ |
| H A D | pmdinfogen.c | 56 fd = dup(fileno(infile)); in grab_file()
|
| /f-stack/freebsd/contrib/libnv/ |
| H A D | nvlist.c | 633 nvlist_dump(nvl, fileno(fp)); in nvlist_fdump()
|
| /f-stack/freebsd/contrib/zlib/ |
| H A D | ChangeLog | 244 - Add comment to gzdopen() in zlib.h to use dup() when using fileno() 1285 - port to RISCOS (no fdopen, no multiple dots, no unlink, no fileno)
|
| /f-stack/tools/libxo/libxo/ |
| H A D | libxo.c | 597 if (isatty(fileno(stream))) in xo_is_line_buffered()
|
| /f-stack/freebsd/contrib/openzfs/cmd/zdb/ |
| H A D | zdb.c | 7600 VERIFY(write(fileno(stdout), buf, size) == size); in zdb_dump_block_raw()
|