/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Modules/zlib/ |
H A D | minigzip.c | 38 # define SET_BINARY_MODE(file) setmode(fileno(file), O_BINARY)
54 # define fileno(file) file->__file
macro 57 # include <unix.h> /* for fileno */
401 int ifd = fileno(in);
608 file = gzdopen(fileno(stdin), "rb");
612 file = gzdopen(fileno(stdout), outmode);
638 file = gzdopen(fileno(stdout), outmode);
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Modules/_io/ |
H A D | _iomodule.c | 451 int fileno;
452 PyObject *res = PyObject_CallMethod(raw, "fileno", NULL);
456 fileno = _PyInt_AsInt(res);
458 if (fileno == -1 && PyErr_Occurred())
461 if (fstat(fileno, &st) >= 0 && st.st_blksize > 1)
729 if (!(_PyIO_str_fileno = PyString_InternFromString("fileno")))
448 int fileno; local
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Demo/scripts/ |
H A D | mboxconvert.py | 93 t = os.fstat(f.fileno())[stat.ST_MTIME]
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/ |
H A D | getpass.py | 53 fd = sys.stdin.fileno()
|
H A D | py_compile.py | 108 timestamp = long(os.fstat(f.fileno()).st_mtime)
|
H A D | telnetlib.py | 266 def fileno(self):
member in class:Telnet 267 """Return the fileno() of the socket object used internally."""
268 return self.sock.fileno()
617 s_args = ([self.fileno()], [], [], timeout-elapsed)
|
H A D | SimpleHTTPServer.py | 93 fs = os.fstat(f.fileno())
|
H A D | asyncore.py | 301 self._fileno = sock.fileno()
634 def fileno(self):
member in class:.file_wrapper 643 fd = fd.fileno()
654 self._fileno = self.socket.fileno()
|
H A D | CGIHTTPServer.py | 249 os.dup2(self.rfile.fileno(), 0)
250 os.dup2(self.wfile.fileno(), 1)
|
H A D | SocketServer.py | 160 - fileno() -> int # for select()
359 - fileno() -> int # for select()
438 def fileno(self):
member in class:TCPServer 444 return self.socket.fileno()
|
H A D | _pyio.py | 201 bs = os.fstat(raw.fileno()).st_blksize
433 def fileno(self):
member in class:IOBase 438 self._unsupported("fileno")
772 def fileno(self):
member in class:_BufferedIOMixin 773 return self.raw.fileno()
1575 def fileno(self):
member in class:TextIOWrapper 1576 return self.buffer.fileno()
|
H A D | SimpleXMLRPCServer.py | 596 flags = fcntl.fcntl(self.fileno(), fcntl.F_GETFD)
598 fcntl.fcntl(self.fileno(), fcntl.F_SETFD, flags)
|
H A D | gzip.py | 377 def fileno(self):
member in class:GzipFile 378 """Invoke the underlying file object's fileno() method.
381 doesn't support fileno().
383 return self.fileobj.fileno()
|
H A D | socket.py | 151 'bind', 'connect', 'connect_ex', 'fileno', 'listen',
312 def fileno(self):
member in class:_fileobject 313 return self._sock.fileno()
|
H A D | tempfile.py | 489 when a fileno is needed.
546 def fileno(self):
member in class:SpooledTemporaryFile 548 return self._file.fileno()
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/ |
H A D | test_linuxaudiodev.py | 30 self.dev.fileno()
|
H A D | test_ossaudiodev.py | 58 dsp.fileno()
|
H A D | test_urllibnet.py | 63 for attr in ("read", "readline", "readlines", "fileno", "close",
121 # Make sure fd returned by fileno is valid.
123 fd = open_url.fileno()
127 "returned by fileno failed")
|
H A D | test_curses.py | 192 curses.typeahead(sys.__stdin__.fileno())
284 curses.setupterm(fd=sys.__stdout__.fileno())
|
H A D | test_gzip.py | 39 # Try flush and fileno.
41 f.fileno()
43 os.fsync(f.fileno())
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/_io/ |
H A D | _iomodule.c | 449 long fileno;
450 PyObject *res = PyObject_CallMethod(raw, "fileno", NULL);
454 fileno = PyInt_AsLong(res);
456 if (fileno == -1 && PyErr_Occurred())
459 if (fstat(fileno, &st) >= 0 && st.st_blksize > 1)
720 if (!(_PyIO_str_fileno = PyString_InternFromString("fileno")))
446 long fileno; local
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Python/ |
H A D | dynload_shlib.c | 90 fstat(fileno(fp), &statb);
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Tools/scripts/ |
H A D | treesync.py | 166 st = os.fstat(f.fileno())
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Lib/ |
H A D | SocketServer.py | 170 - fileno() -> int # for select()
370 - fileno() -> int # for select()
453 def fileno(self):
member in class:TCPServer 459 return self.socket.fileno()
|
H A D | socket.py | 155 'bind', 'connect', 'connect_ex', 'fileno', 'listen',
316 def fileno(self):
member in class:_fileobject 317 return self._sock.fileno()
|