Home | History | Annotate | Download | only in iostream2

Lines Matching refs:FILE

35 #   define SET_BINARY_MODE(file) setmode(fileno(file), O_BINARY)
37 # define SET_BINARY_MODE(file)
55 izstream(FILE* fp) : m_fp(0) { open(fp); }
59 /* Opens a gzip (.gz) file for reading.
60 * open() can be used to read a file which is not in gzip format;
61 * in this case read() will directly read from the file without
70 void open(FILE* fp) {
76 /* Flushes all pending input if necessary, closes the compressed file
85 /* Binary read the given number of bytes from the compressed file.
92 * given compressed file. errnum is set to zlib error number. If an
93 * error occurred in the file system and not in the compression library,
108 * Binary read the given (array of) object(s) from the compressed file.
109 * If the input file was not in gzip format, read() copies the objects number
112 * (0 for end of file, -1 for error).
160 ozstream(FILE* fp, int level = Z_DEFAULT_COMPRESSION)
172 /* Opens a gzip (.gz) file for writing.
184 /* open from a FILE pointer.
186 void open(FILE* fp, int level = Z_DEFAULT_COMPRESSION) {
194 /* Flushes all pending output if necessary, closes the compressed file
206 /* Binary write the given number of bytes into the compressed file.
212 /* Flushes all pending output into the compressed file. The parameter
225 * given compressed file. errnum is set to zlib error number. If an
226 * error occurred in the file system and not in the compression library,
259 * Binary write the given (array of) object(s) into the compressed file.