Searched refs:isatty (Results 1 - 25 of 46) sorted by relevance

12

/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/
H A Dtest_openpty.py13 if not os.isatty(slave):
H A Dtest_pty.py52 # isatty() and close() can hang on some platforms. Set an alarm
63 self.fail("isatty hung")
78 self.assertTrue(os.isatty(slave_fd), 'slave_fd is not a tty')
117 if not os.isatty(1):
H A Dtest_StringIO.py83 self.assertRaises(TypeError, f.isatty, None)
84 self.assertEqual(f.isatty(), False)
86 self.assertRaises(ValueError, f.isatty)
H A Dtest_fileio.py94 self.assertTrue(not f.isatty())
107 methods = ['fileno', 'isatty', 'read', 'readinto',
207 self.assertEqual(f.isatty(), False)
254 self.assertEqual(f.isatty(), False)
273 self.assertEqual(f.isatty(), True)
H A Dtest_file2k.py98 self.assertTrue(not f.isatty())
106 methods = ['fileno', 'flush', 'isatty', 'next', 'read', 'readinto',
537 self.f.isatty()
H A Dtest_curses.py280 if not sys.__stdout__.isatty():
H A Dtest_file.py91 self.assertTrue(not f.isatty())
102 ('isatty', ()),
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Python/
H A Dfrozenmain.c60 if (inspect && isatty((int)fileno(stdin)))
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Tools/framer/
H A Dexample.py63 def isatty(self): member in class:cStringIO.InputType
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Tools/freeze/
H A Dbkfile.py20 self.isatty = self.__file.isatty
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Parser/
H A Dmyreadline.c204 if (!isatty (fileno (sys_stdin)) || !isatty (fileno (sys_stdout)))
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Parser/
H A Dmyreadline.c207 if (!isatty (fileno (sys_stdin)) || !isatty (fileno (sys_stdout)))
/device/linaro/bootloader/edk2/StdLib/Include/sys/
H A DEfiSysCall.h31 int isatty (int);
205 int isatty (int fd);
/device/linaro/bootloader/edk2/StdLib/LibC/Stdio/
H A Dmakebuf.c95 if (couldbetty || isatty(fp->_file))
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Modules/_io/
H A D_iomodule.c236 "* \"Interactive\" text files (files for which isatty() returns True)\n"
307 long isatty;
430 PyObject *res = PyObject_CallMethod(raw, "isatty", NULL);
433 isatty = PyLong_AsLong(res);
435 if (isatty == -1 && PyErr_Occurred())
439 if (buffering == 1 || (buffering < 0 && isatty)) {
735 if (!(_PyIO_str_isatty = PyString_InternFromString("isatty")))
304 long isatty; local
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Demo/scripts/
H A Dmarkov.py72 if f.isatty():
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/
H A Dchunk.py41 read, close, seek, tell, isatty.
91 def isatty(self): member in class:Chunk
H A D_pyio.py100 * "Interactive" text files (files for which isatty() returns True)
195 if buffering == 1 or buffering < 0 and raw.isatty():
440 def isatty(self): member in class:IOBase
775 def isatty(self): member in class:_BufferedIOMixin
776 return self.raw.isatty()
1208 def isatty(self): member in class:BufferedRWPair
1209 return self.reader.isatty() or self.writer.isatty()
1578 def isatty(self): member in class:TextIOWrapper
1579 return self.buffer.isatty()
[all...]
H A Dtempfile.py553 def isatty(self): member in class:SpooledTemporaryFile
554 return self._file.isatty()
H A DStringIO.py8 flag = f.isatty() # always false
88 def isatty(self): member in class:StringIO
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/_io/
H A D_iomodule.c236 "* \"Interactive\" text files (files for which isatty() returns True)\n"
306 int line_buffering, isatty;
428 PyObject *res = PyObject_CallMethod(raw, "isatty", NULL);
431 isatty = PyLong_AsLong(res);
433 if (isatty == -1 && PyErr_Occurred())
437 if (buffering == 1 || (buffering < 0 && isatty)) {
726 if (!(_PyIO_str_isatty = PyString_InternFromString("isatty")))
303 int line_buffering, isatty; local
/device/linaro/bootloader/edk2/StdLib/LibC/Uefi/
H A DSysCalls.c119 /** The isatty() function tests whether fd, an open file descriptor,
129 isatty (int fd) function
1196 if(isatty(fildes) && (IIO != NULL)) {
1221 If fildes refers to a terminal device, isatty() returns TRUE, a partial write
1261 if(isatty(fd) && (IIO != NULL)) {
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Lib/
H A DStringIO.py8 flag = f.isatty() # always false
88 def isatty(self): member in class:StringIO
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/PyMod-2.7.2/Modules/
H A Dmain.c548 isatty(fileno(stdin))) {
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/PyMod-2.7.10/Modules/
H A Dmain.c571 isatty(fileno(stdin))) {

Completed in 494 milliseconds

12