Searched refs:isatty (Results 126 - 150 of 195) sorted by relevance

12345678

/external/mksh/src/
H A Dfuncs.c1693 if (isatty(fd)) {
1709 else if (isatty(fd)) {
1821 if (Flag(FTALKING_I) && isatty(fd)) {
2932 i = isatty(opnd1 ? i : 0);
/external/nos/test/system-test-harness/src/
H A Dutil.cc435 if (!isatty(tty_fd)) {
/external/python/cpython2/Lib/test/
H A Dtest_curses.py45 if not sys.__stdout__.isatty():
H A Dtest_io.py1565 def __init__(self, isatty):
1567 self._isatty = isatty
1569 def isatty(self): member in class:BufferedRWPairTest.test_isatty.SelectableIsAtty
1573 self.assertFalse(pair.isatty())
1576 self.assertTrue(pair.isatty())
1579 self.assertTrue(pair.isatty())
1582 self.assertTrue(pair.isatty())
2923 self.assertRaises(ValueError, f.isatty)
H A Dtest_memoryio.py328 self.assertEqual(memio.isatty(), False)
334 self.assertRaises(ValueError, memio.isatty)
/external/python/cpython2/Modules/
H A Dreadline.c968 if (!isatty(STDOUT_FILENO)) {
/external/python/cpython3/Lib/test/
H A Dtest_curses.py47 if not sys.__stdout__.isatty():
H A Dtest_io.py1912 def __init__(self, isatty):
1914 self._isatty = isatty
1916 def isatty(self): member in class:BufferedRWPairTest.test_isatty.SelectableIsAtty
1920 self.assertFalse(pair.isatty())
1923 self.assertTrue(pair.isatty())
1926 self.assertTrue(pair.isatty())
1929 self.assertTrue(pair.isatty())
3466 self.assertRaises(ValueError, f.isatty)
H A Dtest_memoryio.py332 self.assertEqual(memio.isatty(), False)
338 self.assertRaises(ValueError, memio.isatty)
/external/python/cpython3/Modules/_io/
H A Dfileio.c1094 _io.FileIO.isatty
1109 res = isatty(self->fd);
/external/python/cpython3/Modules/
H A Dmain.c736 isatty(fileno(stdin)) &&
/external/selinux/policycoreutils/secon/
H A Dsecon.c330 && !isatty(STDIN_FILENO))
/external/skia/
H A DPRESUBMIT.py302 os.isatty(sys.stdout.fileno())):
/external/swiftshader/third_party/llvm-subzero/lib/Support/
H A Draw_ostream.cpp632 if (S_ISCHR(statbuf.st_mode) && isatty(FD))
/external/toybox/toys/posix/
H A Dls.c548 if (isatty(1)) {
/external/autotest/client/common_lib/
H A Dpexpect.py678 def isatty (self): # File-like object. member in class:spawn
683 return os.isatty(self.child_fd)
/external/googletest/googletest/include/gtest/internal/
H A Dgtest-port.h397 // namespace (read, write, close, chdir, isatty, stat). We do not currently
2355 inline int IsATTY(int fd) { return isatty(fd); }
2390 inline int IsATTY(int fd) { return isatty(fd); }
/external/libvpx/libvpx/third_party/googletest/src/include/gtest/internal/
H A Dgtest-port.h391 // namespace (read, write, close, chdir, isatty, stat). We do not currently
2319 inline int IsATTY(int fd) { return isatty(fd); }
2354 inline int IsATTY(int fd) { return isatty(fd); }
/external/v8/testing/gtest/include/gtest/internal/
H A Dgtest-port.h390 // namespace (read, write, close, chdir, isatty, stat). We do not currently
2310 inline int IsATTY(int fd) { return isatty(fd); }
2345 inline int IsATTY(int fd) { return isatty(fd); }
/external/e2fsprogs/misc/
H A Dmke2fs.c76 extern int isatty(int);
1895 /* The isatty() test is so we don't break existing scripts */
1897 if (isatty(0) && isatty(1) && !offset)
/external/minijail/
H A Dlibminijail.c2725 if (isatty(STDIN_FILENO) || isatty(STDOUT_FILENO) ||
2726 isatty(STDERR_FILENO)) {
/external/squashfs-tools/squashfs-tools/
H A Dunsquashfs.c141 if(isatty(STDOUT_FILENO))
2137 if(isatty(STDOUT_FILENO))
2421 tty = isatty(STDOUT_FILENO);
/external/e2fsprogs/e2fsck/
H A Dunix.c788 if (getenv("E2FSCK_FORCE_INTERACTIVE") || (isatty(0) && isatty(1))) {
/external/python/cpython2/Lib/idlelib/
H A DPyShell.py1098 def isatty(self): member in class:PyShell
1334 def isatty(self): member in class:PseudoFile
/external/python/cpython3/Python/
H A Dbltinmodule.c1902 tty = fd == fileno(stdin) && isatty(fd);
1915 tty = fd == fileno(stdout) && isatty(fd);

Completed in 915 milliseconds

12345678