Home
last modified time | relevance | path

Searched refs:isatty (Results 1 – 25 of 254) sorted by relevance

1234567891011

/external/honggfuzz/libhfcommon/
Dlog.c61 log_fd_isatty = isatty(log_fd); in log_init()
82 log_fd_isatty = (isatty(log_fd) == 1 ? true : false); in logInitLogFile()
156 log_fd_isatty = isatty(log_fd); in logRedirectLogFD()
/external/toybox/toys/posix/
Dnohup.c26 if (isatty(1)) { in nohup_main()
38 if (isatty(0)) { in nohup_main()
/external/python/cpython3/Modules/_io/
D_iomodule.c244 long isatty; in _io_open_impl() local
249 _Py_IDENTIFIER(isatty); in _io_open_impl()
395 isatty = PyLong_AsLong(res); in _io_open_impl()
397 if (isatty == -1 && PyErr_Occurred()) in _io_open_impl()
401 if (buffering == 1 || (buffering < 0 && isatty)) { in _io_open_impl()
742 ADD_INTERNED(isatty) in PyInit__io()
/external/squashfs-tools/squashfs-tools/
Dprogressbar.c60 if(isatty(STDOUT_FILENO)) in sigwinch_handler()
111 tty = isatty(STDOUT_FILENO); in progress_bar()
186 if(isatty(STDOUT_FILENO)) in progress_thrd()
/external/mksh/src/
DBuild.sh419 int main(void) { return (isatty(0)); }
1190 int main(void) { return (isatty(0)); }
1381 int main(void) { return (isatty(0)); }
1388 int main(void) { return (isatty(0)); }
1493 int main(void) { return (isatty(0)); }
1736 int main(int ac, char **av) { return (foo(av[ac - 1]) + isatty(0)); }
1749 __attribute__((__unused__))) { return (isatty(0)); }
1761 int main(void) { return (isatty(0)); }
1814 int main(void) { struct tm tm; return ((int)sizeof(tm) + isatty(0)); }
1898 int main(void) { return (((int)(rlim_t)0) + isatty(0)); }
[all …]
Dos2.c179 if (!isatty(STDIN_FILENO)) in os2_init()
181 if (!isatty(STDOUT_FILENO)) in os2_init()
183 if (!isatty(STDERR_FILENO)) in os2_init()
/external/python/cpython2/Tools/freeze/
Dbkfile.py20 self.isatty = self.__file.isatty
/external/python/cpython2/Parser/
Dmyreadline.c204 if (!isatty (fileno (sys_stdin)) || !isatty (fileno (sys_stdout))) in PyOS_Readline()
/external/python/cpython2/Modules/_io/
D_iomodule.c304 long isatty; in io_open() local
430 isatty = PyLong_AsLong(res); in io_open()
432 if (isatty == -1 && PyErr_Occurred()) in io_open()
436 if (buffering == 1 || (buffering < 0 && isatty)) { in io_open()
/external/python/cpython2/Lib/test/
Dtest_StringIO.py86 self.assertRaises(TypeError, f.isatty, None)
87 self.assertEqual(f.isatty(), False)
89 self.assertRaises(ValueError, f.isatty)
Dtest_openpty.py15 if not os.isatty(slave):
Dtest_fileio.py115 self.assertFalse(f.isatty())
245 self.assertEqual(f.isatty(), False)
292 self.assertEqual(f.isatty(), False)
314 self.assertEqual(f.isatty(), True)
/external/curl/src/
Dtool_cb_wrt.c81 bool is_tty = config->global->isatty; in tool_write_cb()
162 if(isatty(fileno(outs->stream)) && in tool_write_cb()
/external/toybox/lib/
Dtty.c12 for (i = 0; i<3; i++) if (isatty(j = (i+1)%3)) return j; in tty_fd()
30 if (isatty(i) && !ioctl(i, TIOCGWINSZ, &ws)) { in terminal_size()
/external/python/cpython2/RISCOS/
Dunixstuff.h7 int isatty(int fn);
/external/toolchain-utils/automation/common/
Dcommand_executer_test.py177 return sys.stdout.isatty()
180 return sys.stderr.isatty()
/external/mesa3d/src/intel/tools/
Daubinator_error_decode.c614 if (!isatty(1)) in setup_pager()
701 if (isatty(0)) { in main()
733 option_color = isatty(1) ? COLOR_ALWAYS : COLOR_NEVER; in main()
735 if (isatty(1) && pager) in main()
/external/python/cpython2/Lib/
D_pyio.py199 if buffering == 1 or buffering < 0 and raw.isatty():
452 def isatty(self): member in IOBase
788 def isatty(self): member in _BufferedIOMixin
789 return self.raw.isatty()
1224 def isatty(self): member in BufferedRWPair
1225 return self.reader.isatty() or self.writer.isatty()
1603 def isatty(self): member in TextIOWrapper
1604 return self.buffer.isatty()
/external/ltp/lib/
Dtst_ansi_color.c70 if (isatty(fd) == 0) in tst_color_enabled()
/external/python/cpython3/Lib/test/
Dtest_openpty.py14 if not os.isatty(slave):
/external/ImageMagick/MagickCore/
Dnt-base.h149 #if !defined(isatty)
150 # define isatty _isatty macro
/external/python/cpython3/Lib/
D_pyio.py211 if buffering == 1 or buffering < 0 and raw.isatty():
469 def isatty(self): member in IOBase
830 def isatty(self): member in _BufferedIOMixin
831 return self.raw.isatty()
1336 def isatty(self): member in BufferedRWPair
1337 return self.reader.isatty() or self.writer.isatty()
1725 def isatty(self): member in FileIO
1728 return os.isatty(self._fd)
2132 def isatty(self): member in TextIOWrapper
2133 return self.buffer.isatty()
/external/toybox/kconfig/
Dconf.c506 valid_stdin = isatty(0) && isatty(1) && isatty(2); in main()
/external/e2fsprogs/include/nonunix/
Dunistd.h31 #define isatty _isatty macro
/external/python/cpython2/Python/
Dfrozenmain.c61 if (inspect && isatty((int)fileno(stdin))) in Py_FrozenMain()

1234567891011