Lines Matching refs:writing
33 "separation between reading and writing to streams; implementations are\n"
37 "writing of raw bytes to a stream. FileIO subclasses RawIOBase to provide\n"
91 mode. Other common values are 'w' for writing (truncating the file if
92 it already exists), 'x' for creating and writing to a new file, and
97 (For reading and writing raw bytes use binary mode and leave encoding
104 'w' open for writing, truncating the file first
105 'x' create a new file and open it for writing
106 'a' open for writing, appending to the end of the file if it exists
109 '+' open a disk file for updating (reading and writing)
182 through which the standard file operations such as reading and writing
191 reading and writing. For strings StringIO can be used like a file
204 int creating = 0, reading = 0, writing = 0, appending = 0, updating = 0;
244 writing = 1;
274 if (writing) *(m++) = 'w';
286 if (creating + reading + writing + appending > 1) {
398 else if (creating || writing || appending)