Home | History | Annotate | Download | only in Lib

Lines Matching refs:written

128     * On output, if newline is None, any '\n' characters written are
131 other legal values, any '\n' characters written are translated to
288 represent a file that cannot be read, written or seeked.
296 The basic type used for binary data read from or written to a file is
360 # XXX Should this return the number of bytes written???
613 Returns the number of bytes written, which may be less than the
709 Return the number of bytes written, which is always the length of b
1119 written = 0
1121 while written < len(buf):
1126 buf[written:written+avail] = \
1129 written += avail
1130 if written == len(buf):
1135 if len(buf) - written > self.buffer_size:
1136 n = self.raw.readinto(buf[written:])
1139 written += n
1143 elif not (read1 and written):
1148 if read1 and written:
1151 return written
1203 written = len(self._write_buf) - before
1212 written -= overage
1214 raise BlockingIOError(e.errno, e.strerror, written)
1215 return written
1636 """Write bytes b to file, return number written.
1638 Only makes one system call, so not all of the data may be written.
1639 The number of bytes actually written is returned. In non-blocking mode,