Searched refs:fileno (Results 26 - 50 of 95) sorted by relevance

1234

/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Modules/zlib/
H A Dminigzip.c38 # 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.c451 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 Dmboxconvert.py93 t = os.fstat(f.fileno())[stat.ST_MTIME]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/
H A Dgetpass.py53 fd = sys.stdin.fileno()
H A Dpy_compile.py108 timestamp = long(os.fstat(f.fileno()).st_mtime)
H A Dtelnetlib.py266 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 DSimpleHTTPServer.py93 fs = os.fstat(f.fileno())
H A Dasyncore.py301 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 DCGIHTTPServer.py249 os.dup2(self.rfile.fileno(), 0)
250 os.dup2(self.wfile.fileno(), 1)
H A DSocketServer.py160 - 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.py201 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 DSimpleXMLRPCServer.py596 flags = fcntl.fcntl(self.fileno(), fcntl.F_GETFD)
598 fcntl.fcntl(self.fileno(), fcntl.F_SETFD, flags)
H A Dgzip.py377 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 Dsocket.py151 'bind', 'connect', 'connect_ex', 'fileno', 'listen',
312 def fileno(self): member in class:_fileobject
313 return self._sock.fileno()
H A Dtempfile.py489 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 Dtest_linuxaudiodev.py30 self.dev.fileno()
H A Dtest_ossaudiodev.py58 dsp.fileno()
H A Dtest_urllibnet.py63 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 Dtest_curses.py192 curses.typeahead(sys.__stdin__.fileno())
284 curses.setupterm(fd=sys.__stdout__.fileno())
H A Dtest_gzip.py39 # 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.c449 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 Ddynload_shlib.c90 fstat(fileno(fp), &statb);
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Tools/scripts/
H A Dtreesync.py166 st = os.fstat(f.fileno())
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Lib/
H A DSocketServer.py170 - fileno() -> int # for select()
370 - fileno() -> int # for select()
453 def fileno(self): member in class:TCPServer
459 return self.socket.fileno()
H A Dsocket.py155 'bind', 'connect', 'connect_ex', 'fileno', 'listen',
316 def fileno(self): member in class:_fileobject
317 return self._sock.fileno()

Completed in 418 milliseconds

1234