Searched defs:read (Results 1 - 3 of 3) sorted by relevance

/pkg/src/modules/client/transport/
H A Dfileobj.py53 # read buffer after exception. Caller should call close()
93 """flush the buffer. Since this supports read, but
97 def read(self, size=-1): member in class:StreamingFileObj
99 If size isn't specified, read all of the data from
134 specified, read to newline or size, whichever is smaller.
195 array of the lines that were read. sizehint specifies
202 read = 0
209 read += len(l)
210 if sizehint and read >= sizehint:
/pkg/src/modules/
H A Dcpiofile.py99 def read(self, size): member in class:_LowLevelFile
100 return os.read(self.fd, size)
108 needs to have a read() or write() method and is accessed
228 self.read(xlen)
254 self.read(self.bufsize)
255 self.read(remainder)
260 def read(self, size=None): member in class:_Stream
300 read another block from the stream.
305 buf = self.fileobj.read(self.bufsize)
333 def read(sel member in class:ExFileObject
[all...]
H A Dpipeutils.py118 indirectly. Any data written to or read from the pipe is actually
121 sent via the pipe. For receiving data we try to read a file
124 read. This is done to help ensure that processes don't block while
198 # read from the fd that we received over the pipe
218 def read(self, size=-1): member in class:PipeFile
223 # read from the fd that we received over the pipe
224 data = self.__readfh.read(size)
236 return self.read(size)
241 return the numbers of bytes read."""
245 data = self.read(le
[all...]

Completed in 32 milliseconds