Home | History | Annotate | Download | only in iostream2

Lines Matching refs:fp

55         izstream(FILE* fp) : m_fp(0) { open(fp); }
70 void open(FILE* fp) {
71 SET_BINARY_MODE(fp);
73 m_fp = ::gzdopen(fileno(fp), "rb");
101 gzFile fp() { return m_fp; }
116 return ::gzread(zs.fp(), x, items*sizeof(T));
124 ::gzread(zs.fp(), &x, sizeof(T));
140 ::gzread(zs.fp(), x, len.value());
148 ::gzread(zs.fp(), x, len.value());
160 ozstream(FILE* fp, int level = Z_DEFAULT_COMPRESSION)
162 open(fp, level);
186 void open(FILE* fp, int level = Z_DEFAULT_COMPRESSION) {
187 SET_BINARY_MODE(fp);
191 m_fp = ::gzdopen(fileno(fp), mode);
234 gzFile fp() { return m_fp; }
265 return ::gzwrite(zs.fp(), (voidp) x, items*sizeof(T));
273 ::gzwrite(zs.fp(), (voidp) &x, sizeof(T));
288 ::gzwrite(zs.fp(), (voidp) x, len.value());